Bug#758600: shibboleth-sp2-utils: postinst fails on initial installation
Luca Bruno lu...@debian.org writes: As I didn't see much reaction, I went ahead and did some testing with a patched postinst. It seems to be ok in both cases (apache2 and nginx), I'm attaching the patch here. I've recently rotated my key, and my new one is not yet included in the bpo keyring. Can anybody please double-check the attached patch and upload it to bpo? Hi Luca, Thanks for taking care of this, and sorry about the delay. I see that this is waiting backports processing. I committed your upload to the packaging repository and then also added a patch that I think is a bit cleaner should a later backport be done, but I think your change will work fine. Sorry about that oversight! -- Russ Allbery (r...@debian.org) http://www.eyrie.org/~eagle/ -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#758600: shibboleth-sp2-utils: postinst fails on initial installation
severity 758600 serious thanks On Tue, 19 Aug 2014 09:58:47 +0300 Mika Tiainen mi...@iki.fi wrote: Installing libapache2-mod-shib2 from wheezy backports. shibboleth-sp2-utils postinst fails on initial installation, because it tries to enable the apache module, but libapache2-mod-shib2 is not yet configured so /etc/apache2/mods-available/ contains only shib2.load.dpkg-new. It also looks like it is missing some dependencies. In short, I'm trying to use shibboleth without apache (via nginx), but the backported package assumes that apache2 is installed (thus a2enmod available). Installation then fails as follow: apt-get install -t wheezy-backports shibboleth-sp2-common shibboleth-sp2-utils libshibsp6 liblog4shib1 libsaml8 opensaml2-schemas libshibsp-plugins [...] /var/lib/dpkg/info/shibboleth-sp2-utils.postinst: 24: /var/lib/dpkg/info/shibboleth-sp2-utils.postinst: a2enmod: not found dpkg: error processing shibboleth-sp2-utils (--configure): subprocess installed post-installation script returned error exit status 127 Errors were encountered while processing: shibboleth-sp2-utils E: Sub-process /usr/bin/dpkg returned an error code (1) I'm raising the severity of this, since the backported package is currently unusable in this case, due to the hard-coupled implicit dependency on Apache. Russ, can you please revert/modify your a2enmod changes for the ~bpo revision? I'd like to use the daemon part of shibboleth-sp2-utils in a standalone way, and vanilla package from jessie seems to be better in that regard. Cheers, Luca -- .''`. ** Debian GNU/Linux ** | Luca Bruno (kaeso) : :' : The Universal O.S.| lucab (AT) debian.org `. `'` | GPG Key ID: 0x4F3BBEBF `- http://www.debian.org | Debian GNU/Linux Developer signature.asc Description: This is a digitally signed message part.
Bug#758600: shibboleth-sp2-utils: postinst fails on initial installation
Luca Bruno lu...@debian.org writes: I'm raising the severity of this, since the backported package is currently unusable in this case, due to the hard-coupled implicit dependency on Apache. Russ, can you please revert/modify your a2enmod changes for the ~bpo revision? I'll try to take a look, but I no longer use Shibboleth and handed the package maintenance off. Copying the general mailing list. -- Russ Allbery (r...@debian.org) http://www.eyrie.org/~eagle/ -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#758600: shibboleth-sp2-utils: postinst fails on initial installation
I'd like to better understand the severity issue. Are you saying that there's no order I can install shibboleth and apache in wheezy that will work? I.E. even if I manually install the module first? -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#758600: shibboleth-sp2-utils: postinst fails on initial installation
On Monday 10 November 2014 09:06:34 Russ wrote: I'll try to take a look, but I no longer use Shibboleth and handed the package maintenance off. Copying the general mailing list. Sorry then, I CC'd you explicitly as you did the backport, with additional changes over the plain jessie package, and are still listed as an Uploader. On Monday 10 November 2014 13:38:35 Sam Hartman wrote: I'd like to better understand the severity issue. Are you saying that there's no order I can install shibboleth and apache in wheezy that will work? I.E. even if I manually install the module first? No, I suspect there clearly are ways to express the dependency and some install-order to satisfy it. I've raised the severity because this package's postinst fails due to a non- declared dependency. Additionally, this package is not providing the apache module and the daemon should not require apache2 to be installed at all. So IMHO the missing/hypothetical dependency is also incorrect. While I see the benefit of autoloading the apache module, I think that this package SHOULD NOT gain a hard-dependency on apache2+mod_shib2, but opt instead for a conditional a2enmod in postinst. As I said, I'm exploring a nginx+shibboleth path, which I expect to be supported by the split-packaging setup currently in backport. Just my 2c, though, as I'm still new to the shibboleth world. Cheers, Luca -- .''`. ** Debian GNU/Linux ** | Luca Bruno (kaeso) : :' : The Universal O.S.| lucab (AT) debian.org `. `'` | GPG Key ID: 0x4F3BBEBF `- http://www.debian.org | Debian GNU/Linux Developer -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#758600: shibboleth-sp2-utils: postinst fails on initial installation
Package: shibboleth-sp2-utils Version: 2.5.3+dfsg-1~bpo70+1 Severity: normal Hi, Installing libapache2-mod-shib2 from wheezy backports. shibboleth-sp2-utils postinst fails on initial installation, because it tries to enable the apache module, but libapache2-mod-shib2 is not yet configured so /etc/apache2/mods-available/ contains only shib2.load.dpkg-new. Attached is a log of the install. -- System Information: Debian Release: 7.6 APT prefers stable APT policy: (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores) Locale: LANG=fi_FI.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages shibboleth-sp2-utils depends on: ii adduser3.113+nmu3 ii libc6 2.13-38+deb7u3 ii libfcgi0ldbl 2.4.0-8.1 ii libgcc11:4.7.2-5 ii liblog4shib1 1.0.4-1 ii libsaml8 2.5.3-2~bpo70+1 ii libshibsp-plugins 2.5.3+dfsg-1~bpo70+1 ii libshibsp6 2.5.3+dfsg-1~bpo70+1 ii libstdc++6 4.7.2-5 ii libxerces-c3.1 3.1.1-3 ii libxmltooling6 1.5.3-2~bpo70+1 Versions of packages shibboleth-sp2-utils recommends: ii openssl 1.0.1e-2+deb7u12 shibboleth-sp2-utils suggests no packages. -- no debconf information mika@y-moodle:~$ sudo aptitude install -t wheezy-backports libapache2-mod-shib2 The following NEW packages will be installed: libapache2-mod-shib2 libfcgi0ldbl{a} liblog4shib1{a} libmemcached10{a} libodbc1{a} libsaml8{a} libshibsp-plugins{a} libshibsp6{a} libxerces-c3.1{a} libxml-security-c17{a} libxmltooling6{a} opensaml2-schemas{a} shibboleth-sp2-common{a} shibboleth-sp2-utils{a} xmltooling-schemas{a} 0 packages upgraded, 15 newly installed, 0 to remove and 34 not upgraded. Need to get 5 547 kB of archives. After unpacking 28,8 MB will be used. Do you want to continue? [Y/n/?] Get: 1 http://ftp.fi.debian.org/debian/ wheezy/main libmemcached10 amd64 1.0.8-1 [117 kB] Get: 2 http://ftp.fi.debian.org/debian/ wheezy/main libodbc1 amd64 2.2.14p2-5 [2 52 kB] Get: 3 http://ftp.fi.debian.org/debian/ wheezy/main libxerces-c3.1 amd64 3.1.1-3 [1 139 kB] Get: 4 http://ftp.fi.debian.org/debian/ wheezy/main liblog4shib1 amd64 1.0.4-1 [ 95,7 kB] Get: 5 http://ftp.fi.debian.org/debian/ wheezy-backports/main libxml-security-c1 7 amd64 1.7.2-2~bpo70+1 [290 kB] Get: 6 http://ftp.fi.debian.org/debian/ wheezy-backports/main libxmltooling6 amd 64 1.5.3-2~bpo70+1 [613 kB] Get: 7 http://ftp.fi.debian.org/debian/ wheezy-backports/main libsaml8 amd64 2.5 .3-2~bpo70+1 [940 kB] Get: 8 http://ftp.fi.debian.org/debian/ wheezy-backports/main opensaml2-schemas all 2.5.3-2~bpo70+1 [25,8 kB] Get: 9 http://ftp.fi.debian.org/debian/ wheezy-backports/main shibboleth-sp2-com mon all 2.5.3+dfsg-1~bpo70+1 [48,8 kB] Get: 10 http://ftp.fi.debian.org/debian/ wheezy-backports/main xmltooling-schema s all 1.5.3-2~bpo70+1 [15,9 kB] Get: 11 http://ftp.fi.debian.org/debian/ wheezy-backports/main libshibsp6 amd64 2.5.3+dfsg-1~bpo70+1 [1 307 kB] Get: 12 http://ftp.fi.debian.org/debian/ wheezy/main libfcgi0ldbl amd64 2.4.0-8. 1 [281 kB] Get: 13 http://ftp.fi.debian.org/debian/ wheezy-backports/main libshibsp-plugins amd64 2.5.3+dfsg-1~bpo70+1 [247 kB] Get: 14 http://ftp.fi.debian.org/debian/ wheezy-backports/main shibboleth-sp2-ut ils amd64 2.5.3+dfsg-1~bpo70+1 [103 kB] Get: 15 http://ftp.fi.debian.org/debian/ wheezy-backports/main libapache2-mod-sh ib2 amd64 2.5.3+dfsg-1~bpo70+1 [72,2 kB] Fetched 5 547 kB in 0s (6 051 kB/s) Selecting previously unselected package libmemcached10:amd64. (Reading database ... 34023 files and directories currently installed.) Unpacking libmemcached10:amd64 (from .../libmemcached10_1.0.8-1_amd64.deb) ... Selecting previously unselected package libodbc1:amd64. Unpacking libodbc1:amd64 (from .../libodbc1_2.2.14p2-5_amd64.deb) ... Selecting previously unselected package libxerces-c3.1:amd64. Unpacking libxerces-c3.1:amd64 (from .../libxerces-c3.1_3.1.1-3_amd64.deb) ... Selecting previously unselected package liblog4shib1:amd64. Unpacking liblog4shib1:amd64 (from .../liblog4shib1_1.0.4-1_amd64.deb) ... Selecting previously unselected package libxml-security-c17:amd64. Unpacking libxml-security-c17:amd64 (from .../libxml-security-c17_1.7.2-2~bpo70+ 1_amd64.deb) ... Selecting previously unselected package libxmltooling6:amd64. Unpacking libxmltooling6:amd64 (from .../libxmltooling6_1.5.3-2~bpo70+1_amd64.de b) ... Selecting previously unselected package libsaml8:amd64. Unpacking libsaml8:amd64 (from .../libsaml8_2.5.3-2~bpo70+1_amd64.deb) ... Selecting previously unselected package opensaml2-schemas. Unpacking opensaml2-schemas (from .../opensaml2-schemas_2.5.3-2~bpo70+1_all.deb) ... Selecting previously unselected package shibboleth-sp2-common. Unpacking shibboleth-sp2-common (from .../shibboleth-sp2-common_2.5.3+dfsg-1~bpo 70+1_all.deb) ... Selecting previously unselected package xmltooling-schemas. Unpacking xmltooling-schemas (from