Is it realy necessarily: %post init (...) if [ -f /var/lock/subsys/alsasound ]; then /etc/rc.d/init.d/alsasound restart >&2 else (...) ? BTW: it's fail when alsa is in use.