Bug #5504
closed
/etc/hosts and /etc/syslog.conf are being overwritten by the base pkg, breaking their symlinks
Added by Jim Pingle about 9 years ago.
Updated almost 9 years ago.
Category:
Operating System
Description
/etc/hosts is being overwritten by the base pkg, which breaks hosts setup by DNS forwarder/resolver since it expects a symlink to /var/etc/hosts
Similar story for /etc/syslog.conf which should be a link to /var/etc/syslog.conf
If you reboot again post upgrade /etc/rc will fix them both and make them links again, but we should probably exclude them from the base package.
- Status changed from Confirmed to Feedback
- % Done changed from 0 to 100
Even though this is in 'Feedback', we should probably figure out how to get rid of the symlinks from /etc/hosts -> /var/etc/hosts, /etc/syslog.conf -> /var/etc/syslog.conf, etc.
Consider this a 2.4 TODO.
I seem to recall the reason for hosts being a symlink is because it gets updated frequently by processes like the DHCP host registration, so it's fairly volatile and on NanoBSD it would be impractical to switch that often.
The syslog.conf file should be static enough to eliminate the symlink fairly easily though.
The original problem as described on this ticket is fixed, I haven't had any issues with it since the fix went in. Should we keep this open or close it and move that other task to a new TODO for 2.4?
- Status changed from Feedback to Resolved
- Affected Architecture added
- Affected Architecture deleted (
amd64)
this is fixed, opened todo #5538 for removal in 2.4.
Also available in: Atom
PDF