From 0e44773240e01476b2709f9d206b86d5dfecffcf Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Tue, 16 Sep 2008 10:02:51 +0200 Subject: 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 --- sysconfig/network-scripts/network-functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sysconfig/network-scripts/network-functions') diff --git a/sysconfig/network-scripts/network-functions b/sysconfig/network-scripts/network-functions index 5ff58089..f28831a6 100644 --- a/sysconfig/network-scripts/network-functions +++ b/sysconfig/network-scripts/network-functions @@ -405,7 +405,7 @@ change_resolv_conf () r=$? if [ $r -eq 0 ]; then [ -x /sbin/restorecon ] && /sbin/restorecon /etc/resolv.conf >/dev/null 2>&1 # reset the correct context - 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; -- cgit v1.2.1