Hi, I was installing clamav on a Linux domU (Slackware 10.2 / 2.6.11.12-xenU) from pkgsrc-2006Q2. Compilation and installation wen't OK but when I started the rc.d script I got: ######################################################################## # sudo bash -x /usr/pkg/share/examples/rc.d/freshclamd start <...> Starting freshclamd. + '[' -n '' ']' + _doit='/usr/pkg/bin/freshclam -c 2 -d' + '[' -n vscan ']' + _doit='/usr/bin/su -m vscan -c '\''/bin/sh -c "/usr/pkg/bin/freshclam -c 2 -d"'\''' + eval /usr/bin/su -m vscan -c ''\''/bin/sh' -c '"/usr/pkg/bin/freshclam' -c 2 '-d"'\''' ++ /usr/bin/su -m vscan -c '/bin/sh -c "/usr/pkg/bin/freshclam -c 2 -d"' /bin/bash: vscan: No such file or directory + '[' -z '' ']' + return 1 + '[' start '!=' stop ']' <...> ######################################################################## I checked the "su" manpage and this Linux version has no "-m" flag. I see mine is part of the 'shadow 4.0.3' package. It is still the case in the bleeding-edge branch (meaning upgrade has to be manual). I read the su.1.xml from the '4.0.17' version, and there seem to be "-m" option. I didn't check when it appears though. Anybody has such a shadow version on his Linux ? Meaning I would have to manually upgrade the 'shadow' version rather that tweak the rc.d script. TIA, Jo
Attachment:
pgpkURB89no5n.pgp
Description: PGP signature