Activity log for bug #312449

Date Who What changed Old value New value Message
2008-12-30 14:30:47 Akdo bug added bug
2008-12-30 14:30:47 Akdo bug added attachment 'Dependencies.txt' (Dependencies.txt)
2008-12-30 14:30:47 Akdo bug added attachment 'DpkgTerminalLog.gz' (DpkgTerminalLog.gz)
2009-01-17 14:21:21 Thierry Carrez title package samba-common 2:3.2.3-1ubuntu3.3 failed to install/upgrade: subprocess post-installation script returned error exit status 1 samba-common fails to upgrade if smb.conf is deleted
2009-03-02 16:46:02 Thierry Carrez samba: status New Confirmed
2009-03-02 16:46:02 Thierry Carrez samba: importance Undecided Medium
2009-03-02 16:46:02 Thierry Carrez samba: statusexplanation Yes, the following in samba-common.postinst: ucf --three-way --debconf-ok "$NEWFILE" "$CONFIG" ucfr samba-common "$CONFIG" chmod a+r "$CONFIG" results in: Not replacing deleted config file /etc/samba/smb.conf chmod: cannot access `/etc/samba/smb.conf': No such file or directory If the file is deleted, it should probably reinstall a pristine version, rather than just "Not replacing" it and letting chmod fail :) It's still something that shouldn't happen (/etc conffiles should be removed by purge, not manually) but given the number of updates that fail for this reason a more graceful handling of this corner case is definitely wanted.
2009-03-03 13:39:54 Thierry Carrez bug added attachment 'samba_3.3.0-4ubuntu3.debdiff' (samba_3.3.0-4ubuntu3.debdiff)
2009-03-04 11:06:22 Thierry Carrez bug added attachment 'samba_3.3.1-1ubuntu2.debdiff' (samba_3.3.1-1ubuntu2.debdiff)
2009-03-04 16:44:18 Thierry Carrez samba: importance Medium Wishlist
2009-03-04 16:44:18 Thierry Carrez samba: statusexplanation Yes, the following in samba-common.postinst: ucf --three-way --debconf-ok "$NEWFILE" "$CONFIG" ucfr samba-common "$CONFIG" chmod a+r "$CONFIG" results in: Not replacing deleted config file /etc/samba/smb.conf chmod: cannot access `/etc/samba/smb.conf': No such file or directory If the file is deleted, it should probably reinstall a pristine version, rather than just "Not replacing" it and letting chmod fail :) It's still something that shouldn't happen (/etc conffiles should be removed by purge, not manually) but given the number of updates that fail for this reason a more graceful handling of this corner case is definitely wanted. slangasek once said: "the reasons for not regenerating the config file whenever it's missing or empty are rooted in the Debian and Ubuntu policy on config files, and this can't be changed without causing more problems than it solves." so we should rather have a more informative error message. Something like: Not replacing deleted config file /etc/samba/smb.conf Install/upgrade will fail. To recover, please try: sudo cp /usr/share/samba/smb.conf /etc/samba/smb.conf sudo dpkg --configure -a
2009-03-23 14:14:09 Thierry Carrez samba: status Confirmed In Progress
2009-03-23 14:14:09 Thierry Carrez samba: assignee ttx
2009-03-23 14:14:09 Thierry Carrez samba: statusexplanation slangasek once said: "the reasons for not regenerating the config file whenever it's missing or empty are rooted in the Debian and Ubuntu policy on config files, and this can't be changed without causing more problems than it solves." so we should rather have a more informative error message. Something like: Not replacing deleted config file /etc/samba/smb.conf Install/upgrade will fail. To recover, please try: sudo cp /usr/share/samba/smb.conf /etc/samba/smb.conf sudo dpkg --configure -a
2009-03-23 15:58:29 Thierry Carrez bug added attachment 'samba_3.3.2-1ubuntu2.debdiff' (samba_3.3.2-1ubuntu2.debdiff)
2009-03-23 15:58:46 Thierry Carrez samba: status In Progress Confirmed
2009-03-23 15:58:46 Thierry Carrez samba: assignee ttx
2009-03-23 16:01:11 Thierry Carrez bug added subscriber Ubuntu Sponsors for main
2009-03-27 15:30:06 Launchpad Janitor samba: status Confirmed Fix Released
2010-02-19 22:05:21 Launchpad Janitor branch linked lp:ubuntu/samba
2011-02-17 10:35:08 Daniel Holbach bug added subscriber Ubuntu Sponsors Team
2011-02-17 10:35:15 Daniel Holbach removed subscriber [DEPRECATED] Ubuntu Sponsors for main
2011-02-21 23:43:17 Benjamin Drung removed subscriber Ubuntu Sponsors Team