This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: base-files-4.2-3 : attention maintainer


On 9/24/2015 1:29 PM, Achim Gratz wrote:
Marco Atzeri writes:
the bug is in the
   /etc/postinstall/base-files-mketc.sh
of base-files-4.2-3

--------------------------------------------
FILES="hosts protocols services networks"
OSNAME="$(/usr/bin/uname -s)"
WINETC="$(/usr/bin/cygpath -S -u)/drivers/etc"

[cut]

for mketc in ${FILES}
do
   if [ ! -e "/etc/${mketc}" -a ! -L "/etc/${mketc}" ]
   then
     /usr/bin/ln -s -v "${WINETC}/${mketc}" "/etc/${mketc}"
   fi
done
--------------------------------------------

As on my systems the bug is not present,
it can be a relative recent introduction.

I've introduced this bug inadvertently when releasing base-files-4.1.
I'll fix it towards the weekend.

As long as you're updating base-files anyway, maybe you could implement one of the previously-discussed proposals for showing a prompt of "#" instead of "$" in shells with sufficient privileges. Unfortunately, I don't remember if there was ever a consensus reached on exactly how that should be done.

Ken


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]