Your message dated Fri, 10 Jan 2014 00:48:34 +0000
with message-id <e1w1qh4-00064o...@franck.debian.org>
and subject line Bug#734710: fixed in libsys-hostname-long-perl 1.4-3
has caused the Debian Bug report #734710,
regarding libsys-hostname-long-perl: fails as root due to change in nobody's 
shell
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
734710: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=734710
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: libsys-hostname-long-perl
Version: 1.4-2
Severity: normal
Tags: patch
User: base-pas...@packages.debian.org
Usertags: shell-fallout

In base-passwd 3.5.30, I changed nobody's shell to /usr/sbin/nologin (a
change that I really should have made about ten years ago).  This has
unfortunately had a bit of collateral damage:

  # perl -le 'use Sys::Hostname::Long; print hostname_long'
  This account is currently not available.

Note that this only fails when run as root.

  * Use "su -s /bin/sh nobody" to cope with the change of nobody's shell in
    base-passwd 3.5.30.

--- libsys-hostname-long-perl-1.4.orig/lib/Sys/Hostname/Long.pm
+++ libsys-hostname-long-perl-1.4/lib/Sys/Hostname/Long.pm
@@ -75,7 +75,7 @@
                        # Skip for Solaris, and only run as non-root
                        my $tmp;
                        if ($< == 0) {
-                               $tmp = `su nobody -c "hostname --fqdn"`;
+                               $tmp = `su -s /bin/sh nobody -c "hostname 
--fqdn"`;
                        } else {
                                $tmp = `hostname --fqdn`;
                        }

Sorry,

-- 
Colin Watson                                       [cjwat...@debian.org]

--- End Message ---
--- Begin Message ---
Source: libsys-hostname-long-perl
Source-Version: 1.4-3

We believe that the bug you reported is fixed in the latest version of
libsys-hostname-long-perl, which is due to be installed in the Debian FTP 
archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 734...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Axel Beckert <a...@debian.org> (supplier of updated libsys-hostname-long-perl 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Fri, 10 Jan 2014 01:34:09 +0100
Source: libsys-hostname-long-perl
Binary: libsys-hostname-long-perl
Architecture: source all
Version: 1.4-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Perl Group <pkg-perl-maintain...@lists.alioth.debian.org>
Changed-By: Axel Beckert <a...@debian.org>
Description: 
 libsys-hostname-long-perl - Figure out the long (fully-qualified) hostname
Closes: 734710
Changes: 
 libsys-hostname-long-perl (1.4-3) unstable; urgency=medium
 .
   * Team upload
 .
   [ gregor herrmann ]
   * debian/control: Changed: Switched Vcs-Browser field to ViewSVN
     (source stanza).
 .
   [ Nathan Handler ]
   * debian/watch: Update to ignore development releases.
 .
   [ Fabrizio Regalli ]
   * Bump to 3.9.2 Standard-Version.
   * Switch to DEP5 license format.
   * Add myself to Uploaders.
   * Switch d/compat to 8.
   * Build-Depends: switch to debhelper (>= 8).
   * Bump to 3.0 quilt format.
   * Email change: gregor herrmann -> gre...@debian.org
 .
   [ Ansgar Burchardt ]
   * debian/control: Convert Vcs-* fields to Git.
 .
   [ Salvatore Bonaccorso ]
   * debian/copyright: Replace DEP5 Format-Specification URL from
     svn.debian.org to anonscm.debian.org URL.
   * Change Vcs-Git to canonical URI (git://anonscm.debian.org)
   * Change search.cpan.org based URIs to metacpan.org based URIs
 .
   [ Axel Beckert ]
   * debian/copyright: migrate pre-1.0 format to 1.0 using "cme fix dpkg-
     copyright"
   * Use "su -s /bin/sh nobody" to cope with the change of nobody's shell in
     base-passwd 3.5.30. (Closes: #734710) Patch by Colin Watson.
   * Apply wrap-and-sort
   * Bump debhelper compatibility to 9
     + Gets rid of the dh_pysupport deprecation warning
     + Update versioned debhelper build-dependency accordingly
   * Bump Standard-Version to 3.9.5 (no changes)
Checksums-Sha1: 
 cce6664bc39ed01eccc0b0bb873ff5dd352817d3 1560 
libsys-hostname-long-perl_1.4-3.dsc
 b3ded54d9a004ce8aa6d5b090bbc94fdd5bb9a46 2908 
libsys-hostname-long-perl_1.4-3.debian.tar.gz
 5b5f571df80c47e7faa2cca60a565169c2cac593 11570 
libsys-hostname-long-perl_1.4-3_all.deb
Checksums-Sha256: 
 8032498fa70ce92aa04f64fb885c3880b6c38184216d822216f9032b5ace8ab6 1560 
libsys-hostname-long-perl_1.4-3.dsc
 72e56ffee07ac9f6c8cff755ec099855d84ada4988f6fc015755de0bc7f10cca 2908 
libsys-hostname-long-perl_1.4-3.debian.tar.gz
 519fbb5d34596c2fdf4ad1831ef024f0947bacee64b69f6ef3f1a99fff70821e 11570 
libsys-hostname-long-perl_1.4-3_all.deb
Files: 
 4d0af9c7a0f1e36f1352dc97d638257d 1560 perl optional 
libsys-hostname-long-perl_1.4-3.dsc
 d5c9b0daa5192461cc3e937c682760f1 2908 perl optional 
libsys-hostname-long-perl_1.4-3.debian.tar.gz
 196109926d9d23d0284e201f5beb3dca 11570 perl optional 
libsys-hostname-long-perl_1.4-3_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iEYEARECAAYFAlLPQOIACgkQwJ4diZWTDt4H2QCfb8/eBIKHLZVBIM+zaM6UByiR
Z8sAmgM2l6T4S57IvMqfgBMMMqjbRYwZ
=xGrT
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to