Bug 6573

Summary: samba-common broken dependencies on shadow-utils
Product: ALT Linux 2.4 Reporter: Alexey V. Novikov <shader>
Component: samba-commonAssignee: Dmitry V. Levin <ldv>
Status: CLOSED FIXED QA Contact: Andrey Cherepanov <cas>
Severity: normal    
Priority: P2 CC: ab
Version: 2.4   
Hardware: all   
OS: Linux   

Description Alexey V. Novikov 2005-04-19 17:51:55 MSD
[novikov@novikov novikov]$ rpm -q samba-common
samba-common-3.0.10-alt0.M24.1

[novikov@novikov novikov]$ rpm -q --scripts samba-common
preinstall scriptlet (through /bin/sh):
if [ $1 -gt 1 ] ; then
    smbstopped=$(/sbin/service smb status|grep stopped)
    wnbstopped=$(/sbin/service winbind status|grep stopped)
    [ -n "$smbstopped" ] || /sbin/service smb stop
    [ -n "$wnbstopped" ] || /sbin/service winbind stop
    [ -n "$smbstopped" ] || touch /var/lib/samba/smbstopped
    [ -n "$wnbstopped" ] || touch /var/lib/samba/wnbstopped
fi
/usr/sbin/groupadd -r -f winbind &>/dev/null
^^^^^^^^^^^^^^^^^^
Comment 1 Dmitry V. Levin 2005-04-19 17:58:57 MSD
Да и "&>/dev/null" лишний.
Comment 2 Alexander Bokovoy 2005-04-20 18:51:44 MSD
Fixed in 3.0.14a-alt2