package aiccu
tag 680861 + wontfix
stop

Hi Roger,

On 7/5/2012 8:14 PM, Roger Leigh wrote:
> I have deliberately commented out some of the fields in aiccu.conf.
> This means that the service fails to start.
> However, this is not a reason to completely break
> apt-get upgrade|dist-upgrade.  Please continue if "invoke-rc.d start" fails
> by using || true or a similar construct.

This is not a aiccu-bug, it happens to other packages also. I borked the
sshd config and tried to upgrade:
###
root@debpack:~# /etc/init.d/ssh restart; echo "RC: $?"
ignoring bad proto spec: '3'.
/etc/ssh/sshd_config line 9: Bad protocol spec '3'.
RC: 1

root@debpack:~# aptitude dist-upgrade
The following packages will be upgraded:
  openssh-client openssh-server
2 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/1363 kB of archives. After unpacking 30.7 kB will be freed.
Do you want to continue? [Y/n/?]
Reading changelogs... Done
Preconfiguring packages ...
(Reading database ... 36458 files and directories currently installed.)
Preparing to replace openssh-server 1:5.5p1-6+squeeze2 (using
.../openssh-server_1%3a6.0p1-2_amd64.deb) ...
Unpacking replacement openssh-server ...
Preparing to replace openssh-client 1:5.5p1-6+squeeze2 (using
.../openssh-client_1%3a6.0p1-2_amd64.deb) ...
Unpacking replacement openssh-client ...
Processing triggers for man-db ...
Setting up openssh-client (1:6.0p1-2) ...
Installing new version of config file /etc/ssh/moduli ...
Setting up openssh-server (1:6.0p1-2) ...
Installing new version of config file /etc/init.d/ssh ...
Installing new version of config file /etc/pam.d/sshd ...
ignoring bad proto spec: '3'.
/etc/ssh/sshd_config line 9: Bad protocol spec '3'.
invoke-rc.d: initscript ssh, action "restart" failed.
dpkg: error processing openssh-server (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 openssh-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up openssh-server (1:6.0p1-2) ...
ignoring bad proto spec: '3'.
/etc/ssh/sshd_config line 9: Bad protocol spec '3'.
invoke-rc.d: initscript ssh, action "restart" failed.
dpkg: error processing openssh-server (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 openssh-server

Current status: 0 broken [-1], 0 updates [-2].
###

As you can see this also happens to openssh-server (and probably a lot
of other packages).
If you really think this is a bug you should report the bug against
debhelper because this package add the line "invoke-rc.d aiccu start ||
exit $?".

Personaly I think you shouldn't bork the config to not get the service
started but use something like: "update-rc.d disable aiccu"

> 
> Also, please don't ask debconf questions for the username and password,
> when these are trivially editable in the configuration file.  It serves
> no purpose other than to annoy, because it interrupts upgrading by
> requiring interactive prompting.  It's annoying because it's entirely
> unnecessary and wastes everyone's time.  We have dpkg conffile
> handling to deal with configuration file updates; please don't add
> additional work on top of that.

This will be handled in #680593.

I will leave this bug open for now if somebody want to comment on this,
but I will close it in a few days.

Best regards,

Reinier


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to