[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#597241: marked as done (libpam-mklocaluser: report error to stdout if /usr/sbin/nscd is missing)



Your message dated Sat, 18 Sep 2010 17:53:23 +0000
with message-id <E1Ox1bH-0006r1-36@franck.debian.org>
and subject line Bug#597241: fixed in libpam-mklocaluser 0.6
has caused the Debian Bug report #597241,
regarding libpam-mklocaluser: report error to stdout if /usr/sbin/nscd is missing
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 owner@bugs.debian.org
immediately.)


-- 
597241: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=597241
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: libpam-mklocaluser
Version: 0.5
Severity: important
Tags: patch

The code in the python module to call /usr/sbin/nscd to flush the nscd
passwd cache is executed also when the program is missing.  This
causes a error message during first time login, which confuses and
worries users.  This patch get rid of it.

Index: debian/pam-python.py
===================================================================
--- debian/pam-python.py        (revision 69427)
+++ debian/pam-python.py        (working copy)
@@ -97,7 +97,7 @@
       runcmd(pamh, "/bin/chown -R %d:%d '%s'" % (uid, gid, newhomedir))

       # Flush nscd cache to get rid of original user entry
-      runcmd(pamh, "/usr/sbin/nscd -i passwd")
+      runcmd(pamh, "if [ -x /usr/sbin/nscd ] ; then /usr/sbin/nscd -i passwd; fi")

       # Hook for adjusting the freshly created home directory
       # XXX Should be rewritten in python, I guess

Happy hacking,
-- 
Petter Reinholdtsen



--- End Message ---
--- Begin Message ---
Source: libpam-mklocaluser
Source-Version: 0.6

We believe that the bug you reported is fixed in the latest version of
libpam-mklocaluser, which is due to be installed in the Debian FTP archive:

libpam-mklocaluser_0.6.dsc
  to main/libp/libpam-mklocaluser/libpam-mklocaluser_0.6.dsc
libpam-mklocaluser_0.6.tar.gz
  to main/libp/libpam-mklocaluser/libpam-mklocaluser_0.6.tar.gz
libpam-mklocaluser_0.6_all.deb
  to main/libp/libpam-mklocaluser/libpam-mklocaluser_0.6_all.deb



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 597241@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Petter Reinholdtsen <pere@debian.org> (supplier of updated libpam-mklocaluser 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 ftpmaster@debian.org)


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

Format: 1.8
Date: Sat, 18 Sep 2010 16:55:27 +0200
Source: libpam-mklocaluser
Binary: libpam-mklocaluser
Architecture: source all
Version: 0.6
Distribution: unstable
Urgency: low
Maintainer: Debian Edu Developers <debian-edu@lists.debian.org>
Changed-By: Petter Reinholdtsen <pere@debian.org>
Description: 
 libpam-mklocaluser - Configure PAM to create a local user if it do not exist already
Closes: 597174 597241
Changes: 
 libpam-mklocaluser (0.6) unstable; urgency=low
 .
   * Make module more robust.  Move group lookup into the code path
     where it is used, to avoid failing if the group is missing when
     the user is already available locally (Closes: #597174).
   * Add code to handle missing primary group information when creating
     the local user.
   * Change module to only run /usr/sbin/nscd if it exist (Closes: #597241).
   * Update standards-version from 3.8.4 to 3.9.1.  No changes needed.
Checksums-Sha1: 
 bae8183032682e526b9682742fa8576bdb6983d2 1056 libpam-mklocaluser_0.6.dsc
 52d2bb5b4001828b70fe5546f1fb0b9b8d48c3c3 4813 libpam-mklocaluser_0.6.tar.gz
 4773fa386d73230f26efeb5ab93642d52d1d1b41 5360 libpam-mklocaluser_0.6_all.deb
Checksums-Sha256: 
 ff425eebbab081c583a5417b180aa80bea2e3ed1c6fd3b5d71742e28e80a57f1 1056 libpam-mklocaluser_0.6.dsc
 0314bf93680afd41b8424479ccef5d1615f09ec3795df3e8e8cab398d8ed313b 4813 libpam-mklocaluser_0.6.tar.gz
 3cd62a602c9fa74d9b65adaefd92ca0a29b4a28e2f1d3c29a1195987bca5aad5 5360 libpam-mklocaluser_0.6_all.deb
Files: 
 27acab4a4974d96fb76b5fc62cad86a0 1056 misc optional libpam-mklocaluser_0.6.dsc
 156bb67f6090f847a6b1c25a95afa7bb 4813 misc optional libpam-mklocaluser_0.6.tar.gz
 6f538309d465f82ce5e415fff80e626c 5360 misc optional libpam-mklocaluser_0.6_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iD8DBQFMlNMn20zMSyow1ykRAl2PAKDGbgtwfCQtnCr60Mobljdb7Fn5ZQCcDOj5
+URjsULslFYs0NVIbLxPgFQ=
=dEna
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: