Reboot fails when amavis installed non-HDD
On the reboot, it tries to install the amavis package, and it fails because the amavis group and user already exist in the overlay.
amavisd-new-2.6.4-r0
Here’s the error:
* Loading user settings from /media/usb/a.apkovl.tar.gz: ok.
* Installing packages to root filesystem: addgroup: group amavis
already exists
adduser: login ‘amavis’ is in use
ERROR: amavisd-new-2.6.4-r0: Failed to execute pre-install/upgrade
script
ERROR: amavisd-new-2.6.4-r0: Operation not permitted
[####################] failed.
initramfs emergency recovery shell launched. Type ‘exit’ to continue
boot
sh: can’t access tty; job control turned off
To reproduce, install amavisd-new, lbu commit, and reboot
(from redmine: issue id 175, created on 2009-09-30, closed on 2009-10-09)
- Changesets:
- Revision 169ed56e on 2009-10-02T08:38:13Z:
main/amavisd-new: pre-install and existing user
pre-install script should not fail if user and group exists.
fixes #175
- Revision f7008283 on 2009-10-02T09:00:09Z:
main/amavisd-new: pre-install and existing user
pre-install script should not fail if user and group exists.
fixes #175