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-ipv6 | |
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-ipv6')
-rw-r--r-- | sysconfig/network-scripts/network-functions-ipv6 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sysconfig/network-scripts/network-functions-ipv6 b/sysconfig/network-scripts/network-functions-ipv6 index 2db8248c..33f8c59d 100644 --- a/sysconfig/network-scripts/network-functions-ipv6 +++ b/sysconfig/network-scripts/network-functions-ipv6 @@ -138,14 +138,14 @@ ipv6_log() { ;; 'syslog') # note: logger resides in /usr/bin, but not used by default - if ! [ -x logger ]; then + if ! [ -x /usr/bin/logger ]; then echo $"ERROR: [ipv6_log] Syslog is chosen, but binary 'logger' doesn't exist or isn't executable" >/dev/stderr return 3 fi if [ -z "$txt_name" ]; then - logger -p $facility.$priority $message + /usr/bin/logger -p $facility.$priority $message else - logger -p $facility.$priority -t "$txt_name" "$message" + /usr/bin/logger -p $facility.$priority -t "$txt_name" "$message" fi ;; *) |