diff options
author | Harald Hoyer <harald@redhat.com> | 2008-09-16 10:02:51 +0200 |
---|---|---|
committer | Harald Hoyer <harald@redhat.com> | 2008-09-16 10:38:10 +0200 |
commit | a31538409a960560f35494ff30a6181f16d1d6de (patch) | |
tree | 0dfd042d96d1a68d294497f6e857741cc6b4b084 /sysconfig/network-scripts/network-functions | |
parent | cefaaa0dd6b2d60f674875cc8b86d5846e8033f7 (diff) | |
download | initscripts-a31538409a960560f35494ff30a6181f16d1d6de.tar initscripts-a31538409a960560f35494ff30a6181f16d1d6de.tar.gz initscripts-a31538409a960560f35494ff30a6181f16d1d6de.tar.bz2 initscripts-a31538409a960560f35494ff30a6181f16d1d6de.tar.xz initscripts-a31538409a960560f35494ff30a6181f16d1d6de.zip |
https://bugzilla.redhat.com/show_bug.cgi?id=447928
All networking scripts from /etc/sysconfig/network-scripts call logger without
full path. This can prevent system from booting if let's say dcc is installed
when compiled with wrong parameters and installs /usr/sbin/logger (see bellow)
It's not really a bug but this can be easily prevented. All /etc/init.d scripts
use full path for logger network-scripts should use it also
Diffstat (limited to 'sysconfig/network-scripts/network-functions')
-rw-r--r-- | sysconfig/network-scripts/network-functions | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/network-functions b/sysconfig/network-scripts/network-functions index 9ef2134c..6aa85833 100644 --- a/sysconfig/network-scripts/network-functions +++ b/sysconfig/network-scripts/network-functions @@ -434,7 +434,7 @@ change_resolv_conf () (echo "$s" > /etc/resolv.conf;) >/dev/null 2>&1; r=$? if [ $r -eq 0 ]; then - logger -p local7.notice -t "NET" -i "$0 : updated /etc/resolv.conf"; + /usr/bin/logger -p local7.notice -t "NET" -i "$0 : updated /etc/resolv.conf"; [ -e /var/lock/subsys/nscd ] && /usr/sbin/nscd -i hosts; # invalidate cache fi; return $r; |