On 23/09/2015 01:04, Walter L. wrote:
Hi,
I've just performed a fresh install of the latest (2.2.1) Cygwin on 64-bit
Windows 7 and noticed 2 issues with the new version that I'd like to verify
whether or not they are bugs:
1) The symlink to protocol file seems incorrect
[user@hostname /etc]$ ls -l | grep protocol
lrwxrwxrwx 1 user Domain Users 50 Sep 22 17:03 protocols ->
/cygdrive/c/Windows/System32/drivers/etc/protocols
[user@hostname /etc]$ ls -l /cygdrive/c/Windows/System32/drivers/etc | grep
protocol
-rwxrwx---+ 1 SYSTEM SYSTEM 1358 Jun 10 2009 protocol
I believe the target of the symlink should be "protocol" (i.e. singular)
Corinna,
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.
Regards
Marco
--
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