Previously udevproperty() function was called, which would lead to setting not intended properties instead of actually adjusting logging priority, e.g.: udevadm control --property=--log-priority=info Now, udevadm is called directly from the init script. Signed-off-by: Michal Soltys <soltys@xxxxxxxx> --- modules.d/99base/init | 10 ++++------ 1 files changed, 4 insertions(+), 6 deletions(-) diff --git a/modules.d/99base/init b/modules.d/99base/init index ae834be..34a8aef 100755 --- a/modules.d/99base/init +++ b/modules.d/99base/init @@ -189,16 +189,14 @@ source_hook pre-udev # start up udev and trigger cold plugs udevd --daemon --resolve-names=never -UDEV_LOG_PRIO_ARG=--log-priority -UDEV_QUEUE_EMPTY="udevadm settle --timeout=0" - if [ $UDEVVERSION -lt 140 ]; then - UDEV_LOG_PRIO_ARG=--log_priority UDEV_QUEUE_EMPTY="udevadm settle --timeout=1" +else + UDEV_QUEUE_EMPTY="udevadm settle --timeout=0" fi -getargbool 0 rd.udev.info -y rdudevinfo && udevproperty "$UDEV_LOG_PRIO_ARG=info" -getargbool 0 rd.udev.debug -y rdudevdebug && udevproperty "$UDEV_LOG_PRIO_ARG=debug" +getargbool 0 rd.udev.info -y rdudevinfo && udevadm control --log-priority=info +getargbool 0 rd.udev.debug -y rdudevdebug && udevadm control --log-priority=debug udevproperty "hookdir=$hookdir" getarg 'rd.break=pre-trigger' 'rdbreak=pre-trigger' && emergency_shell -n pre-trigger "Break before pre-trigger" -- 1.7.5.2 -- To unsubscribe from this list: send the line "unsubscribe initramfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html