Bug 6573 - samba-common broken dependencies on shadow-utils
Summary: samba-common broken dependencies on shadow-utils
Status: CLOSED FIXED
Alias: None
Product: ALT Linux 2.4
Classification: Archive
Component: samba-common (show other bugs)
Version: 2.4
Hardware: all Linux
: P2 normal
Assignee: Dmitry V. Levin
QA Contact: Andrey Cherepanov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-19 17:51 MSD by Alexey V. Novikov
Modified: 2005-09-04 23:37 MSD (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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