error (bashism?) in postinst
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
samba (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Binary package hint: samba
With a probably "non standard" /etc/passwd et al:
Adding group `sambashare' (GID 113) ...
Done.
Adding user `root' to group `sambashare' ...
Adding user root to group sambashare
Done.
adduser: The user `rootsh' does not exist.
/var/lib/
dpkg: error processing samba (--configure):
subprocess installed post-installation script returned error exit status 127
This change seems to fix the error:
--- samba.postinst.old 2010-05-06 11:14:40.056375778 +0200
+++ samba.postinst 2010-05-06 11:15:03.826382587 +0200
@@ -111,7 +111,7 @@
for USER in `getent group admin | cut -f4 -d:`; do
- || !getent passwd "$USER" >/dev/null
+ || ! getent passwd "$USER" >/dev/null
fi
samba version: 2:3.4.7~
Thanks, ill get this fixed for maverick and try to backport for lucid.