* sys-apps/hotplug Latest version available: 20040401 Latest version installed: 20040401 * sys-apps/hotplug-base Latest version available: 20040401 Latest version installed: 20040401 in /etc/hotplug/hotplug.function is bug "-t" allows not parameter "1" after this, hotplug cannot logging into /var/log/messages in my gentoo box # # for diagnostics # if [ -t 1 -o -z "$LOGGER" ]; then mesg () { echo "$@" } and in /etc/hotplug/net.agent cannot write debug messages # Gentoo elif [ -f /etc/gentoo-release ]; then script=/etc/init.d/net.$INTERFACE if [ -x "$script" ]; then debug_mesg invoke "$script" --quiet start exec "$script" --quiet start fi else mesg "how do I bring interfaces up on this distro?" fi ;; must be written as: debug_mesg "invoke \"$script\" --quiet start" Reproducible: Always Steps to Reproduce: 1. 2. 3.
Ok, I've fixed the second issue. How should the first one be fixed?
# # for diagnostics # if [ -t -o -z "$LOGGER" ]; then mesg () { echo "$@" } else mesg () { $LOGGER -t $(basename $0)"[$$]" "$@" } fi
Thanks, this is now fixed upstream and will show up in the release later today.
Closed.