https://bugzilla.novell.com/show_bug.cgi?id=735146
https://bugzilla.novell.com/show_bug.cgi?id=735146#c1
Lars Müller changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|Normal |Minor
--- Comment #1 from Lars Müller 2011-12-06 21:00:50 CET ---
On a system with enabled ntp service the missing sym link gets created by the
ntp init script on startup of the service.
# Create if /var/run is on tmpfs
test -e /var/run/ntp || ln -s ../lib/ntp/var/run/ntp /var/run
We might package /etc/dhcpcd.sh executing the test check and calling ln if
/var/run doesn't exist and set 0754 permissions.
But this only works half way. The sym link /var/run/ntp is created. While no
servers. file gets created inside.
As soon as the sym link exists before we call dhcpcd all works well.
I've considered to create the missing sym link as part of one of the boot
scripts.
Then we would have the sym link set up before dhcpcd could even get called.
The only disadvantage I see if that we would create a symbolic link even in
the case it later isn't needed.
We might check if /sbin/dhcpcd is an executable and if /var/run/ntp exits.
The same check might make sense in the %post of the dhcpcd package.
Setting Importance to Minor as this only hits a user if the ntp service is
disabled.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.