Bug#211400: Bug#380336: amanda-common removes user backup from group cdrom
tags 380336 +pending thanks On Sat, 2006-07-29 at 13:20 +0200, Geert Uytterhoeven wrote: Installing amanda-common removes user `backup' from the `cdrom' group. The amanda postinst was previously using 'usermod -G disk,tape backup' to add user backup to those groups, which had the side-effect of removing user backup from any other groups. There was also no logic to clean up those group memberships on package purge. I've switched amanda to using addgroup/delgroup instead, which should solve the problem and actually makes amanda better behaved all around. Thanks for the bug report providing the impetus to review this! In my CVS now for the next upload of amanda packages. By the way, the -a option to usermod is currently broken, I've just filed a bug about that. Bdale -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#380336: amanda-common removes user backup from group cdrom
Package: amanda-common Version: 1:2.5.0p2-1 Installing amanda-common removes user `backup' from the `cdrom' group. If cdrw-taper is installed[*], this causes the backup to fail with | driver: FATAL reading result from taper: Connection reset by peer in the emailed report and with | FATAL: Can't find system command 'cdrecord' on search path ('/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin')! | Can't use string (0) as a HASH ref while strict refs in use at /usr/lib/amanda/taper line 48. | driver: reading result from taper: Connection reset by peer in /var/log/amanda/DailySet1/amdump.1. [*] Also see #211400 cdrw-taper: user backup should be added to group cdrom Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [EMAIL PROTECTED] In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say programmer or something like that. -- Linus Torvalds -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]