[OmniOS-discuss] Who alters /etc/profile or /etc/.login on their boxes?

Jorge Schrauwen sjorge+ml at blackdot.be
Fri Feb 27 23:02:12 UTC 2015


Add a note to the release notes when the time comes, should be good 
enough?



On 2015-02-28 00:00, Dan McDonald wrote:
>> On Feb 27, 2015, at 4:27 PM, Dan McDonald <danmcd at omniti.com> wrote:
>> 
>> The next bloody update (and r151014) will alter the default file, and 
>> because of IPS, it won't be replaced IF the file was altered from the 
>> stock configuration.  Fortunately for OmniOS, it's mostly a 
>> don't-care.
>> 
>> I appreciate your feedback!
> 
> The change, BTW, is that upstream has ALSO removed machid(1) from
> illumos.  Since we already had done it, our diffs are  functionally
> the same, but I chose to inherit upstream's (modulo one copyright
> line) for future goodness:
> 
> bloody(~)[1]% diff -u /mnt/etc/profile /etc
> --- /mnt/etc/profile    Tue Feb  3 15:01:21 2015
> +++ /etc/profile        Thu Feb 26 23:24:53 2015
> @@ -21,6 +21,7 @@
>  # Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
>  # Use is subject to license terms.
>  # Copyright 2012 OmniTI Computer Consulting, Inc.  All rights 
> reserved.
> +# Copyright 2015 Nexenta Systems, Inc. All rights reserved.
>  #
> 
>  # The profile that all logins get before using their own .profile.
> @@ -30,9 +31,7 @@
> 
>  if [ "$TERM" = "" ]
>  then
> -       CAN_I386=`/usr/bin/isalist | grep i386`
> -       if [ -n "$CAN_I386" ]
> -       then
> +       if [ `uname -p` = "i386" ]; then
>                 TERM=sun-color
>         else
>                 TERM=sun
> bloody(~)[1]%
> 
> 
> So those of you with altered /etc/profile or /etc/.login files will
> need to be aware you'll be getting .new ones installed on the next
> bloody, or with r151014 if you don't do bloody.
> 
> FYI!
> Dan
> 
> _______________________________________________
> OmniOS-discuss mailing list
> OmniOS-discuss at lists.omniti.com
> http://lists.omniti.com/mailman/listinfo/omnios-discuss


More information about the OmniOS-discuss mailing list