| Summary: | samba-common: %pre assumes samba package installed | ||
|---|---|---|---|
| Product: | Sisyphus | Reporter: | Michael Shigorin <mike> |
| Component: | samba-common | Assignee: | Dmitry V. Levin <ldv> |
| Status: | CLOSED FIXED | QA Contact: | qa-sisyphus |
| Severity: | minor | ||
| Priority: | P2 | CC: | sin |
| Version: | unstable | ||
| Hardware: | all | ||
| OS: | Linux | ||
my Fixed in 3.0.24-alt2 |
Preparing... ################################################################################################### [100%] service: smb: Unrecognized service service: smb: Unrecognized service 1: samba-common ################################################################################################### [ 25%] $ rpm -q --scripts samba-common | grep service 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 /usr/sbin/post_service winbind /usr/sbin/preun_service winbind $ rpm -q samba warning: package samba is not installed --- Might make sense to [ -x /etc/init.d/smb ] first and if absent, skip any attempted actions. A patch sir? :)