Debian Bug report logs - #545024
adduser: deluser does not delete pipes or sockets

version graph

Package: adduser; Maintainer for adduser is Debian Adduser Developers <adduser@packages.debian.org>; Source for adduser is src:adduser (PTS, buildd, popcon).

Reported by: Christian Sievers <c.sievers@tu-bs.de>

Date: Fri, 4 Sep 2009 14:24:01 UTC

Severity: normal

Found in version adduser/3.110

Fixed in version adduser/3.111

Done: Stephen Gran <sgran@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian Adduser Developers <adduser-devel@lists.alioth.debian.org>:
Bug#545024; Package adduser. (Fri, 04 Sep 2009 14:24:04 GMT) (full text, mbox, link).


Acknowledgement sent to Christian Sievers <c.sievers@tu-bs.de>:
New Bug report received and forwarded. Copy sent to Debian Adduser Developers <adduser-devel@lists.alioth.debian.org>. (Fri, 04 Sep 2009 14:24:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Christian Sievers <c.sievers@tu-bs.de>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: adduser: deluser does not delete pipes or sockets
Date: Fri, 04 Sep 2009 16:18:03 +0200
Package: adduser
Version: 3.110
Severity: important

This is related to bug #430640, but I couldn't mail to
430640@bugs.debian.org.
There it was reported and finally fixed for the case one
does a backup, but just trying
  deluser --remove-home <user>
still won't delete pipes or sockets, and therefore also
the whole home directory will not be deleted.

-- System Information:
Debian Release: 5.0.2
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-686-bigmem (SMP w/2 CPU cores)
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash

Versions of packages adduser depends on:
ii  debconf [debconf-2.0]         1.5.24     Debian configuration management sy
ii  passwd                        1:4.1.1-6  change and administer password and
ii  perl-base                     5.10.0-19  minimal Perl system

adduser recommends no packages.

Versions of packages adduser suggests:
ii  liblocale-gettext-perl        1.05-4     Using libc functions for internati
ii  perl-modules                  5.10.0-19  Core Perl modules

-- debconf-show failed




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Adduser Developers <adduser-devel@lists.alioth.debian.org>:
Bug#545024; Package adduser. (Mon, 07 Sep 2009 21:15:08 GMT) (full text, mbox, link).


Acknowledgement sent to Joerg Hoh <joerg@joerghoh.de>:
Extra info received and forwarded to list. Copy sent to Debian Adduser Developers <adduser-devel@lists.alioth.debian.org>. (Mon, 07 Sep 2009 21:15:08 GMT) (full text, mbox, link).


Message #10 received at submit@bugs.debian.org (full text, mbox, reply):

From: Joerg Hoh <joerg@joerghoh.de>
To: Debian Bug Tracking System <submit@bugs.debian.org>, control@bugs.debian.org
Subject: Re: Bug#545024: adduser: deluser does not delete pipes or sockets
Date: Mon, 7 Sep 2009 23:13:47 +0200
[Message part 1 (text/plain, inline)]
severity 545024 normal
thanks

Hi 

On Fri, Sep 04, 2009 at 04:18:03PM +0200, Christian Sievers wrote:
> Package: adduser
> Version: 3.110
> Severity: important
> 
> This is related to bug #430640, but I couldn't mail to
> 430640@bugs.debian.org.
> There it was reported and finally fixed for the case one
> does a backup, but just trying
>   deluser --remove-home <user>
> still won't delete pipes or sockets, and therefore also
> the whole home directory will not be deleted.

I can confirm that, sockets are not removed.

/usr/sbin/deluser, line 299

> (-s $File::Find::name && push(@dirs, $File::Find::name)) ||

that should be a capital "S", I will fix that. But I cannot confirm it for
named pipes/fifos.


But deluser still does not remove block or character devices then. I will
add a warning if deluser encounters such a "file".

Joerg

-- 
What did you do to the cat? It looks half-dead. -Schroedinger's wife
[Message part 2 (application/pgp-signature, inline)]

Severity set to 'normal' from 'important' Request was from Joerg Hoh <joerg@joerghoh.de> to control@bugs.debian.org. (Mon, 07 Sep 2009 21:15:17 GMT) (full text, mbox, link).


Reply sent to Stephen Gran <sgran@debian.org>:
You have taken responsibility. (Sun, 20 Sep 2009 22:48:30 GMT) (full text, mbox, link).


Notification sent to Christian Sievers <c.sievers@tu-bs.de>:
Bug acknowledged by developer. (Sun, 20 Sep 2009 22:48:30 GMT) (full text, mbox, link).


Message #17 received at 545024-close@bugs.debian.org (full text, mbox, reply):

From: Stephen Gran <sgran@debian.org>
To: 545024-close@bugs.debian.org
Subject: Bug#545024: fixed in adduser 3.111
Date: Sun, 20 Sep 2009 22:19:17 +0000
Source: adduser
Source-Version: 3.111

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

adduser_3.111.dsc
  to pool/main/a/adduser/adduser_3.111.dsc
adduser_3.111.tar.gz
  to pool/main/a/adduser/adduser_3.111.tar.gz
adduser_3.111_all.deb
  to pool/main/a/adduser/adduser_3.111_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 545024@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Stephen Gran <sgran@debian.org> (supplier of updated adduser 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: Sun, 20 Sep 2009 22:09:53 +0100
Source: adduser
Binary: adduser
Architecture: source all
Version: 3.111
Distribution: unstable
Urgency: low
Maintainer: Debian Adduser Developers <adduser-devel@lists.alioth.debian.org>
Changed-By: Stephen Gran <sgran@debian.org>
Description: 
 adduser    - add and remove users and groups
Closes: 502150 515909 515909 517505 520586 535857 544504 545024 545475
Changes: 
 adduser (3.111) unstable; urgency=low
 .
   [ Joerg Hoh ]
   * deluser: --backup-to implies --backup; thanks Zak Wilcox (closes: #535857)
   * deluser: sockets should also be backupped and removed (closes: #545024),
     thanks Christian Sievers for spotting.
   * allow underscores again in usernames (closes: #520586)
   * remove the "games" group from the EXTRA_GROUPS example (closes: #502150)
   * really warn if a user is already present when creating a new system user
     (closes: 515909)
   * document the interaction between --system and --close (closes: #515909)
 .
   [ Stephen Gran ]
   * Update po4a calls
   * Translations:
     - fr (thanks Nicolas FRANCOIS (Nekral) <nicolas.francois@centraliens.net>
       closes: #545475)
     - sv (thanks Daniel Nylander <yeager@ubuntu.com> closes: #517505)
     - zh_CN (thanks Aron Xu <happyaron.xu@gmail.com> closes: #544504)
   * update standards version - no changes
Checksums-Sha1: 
 a88675596f20799582560d96bd2843a5733ca553 1029 adduser_3.111.dsc
 4b874463cc33770a487e8ee29610db30607f7c63 279519 adduser_3.111.tar.gz
 8b44de5811c120eb2e349fc3e796d8b06d22ff7f 156872 adduser_3.111_all.deb
Checksums-Sha256: 
 09e2c5f4cf5ef68e0f279ea967a9ff887fd7f90bf9b2b7763fac61f76bf5e944 1029 adduser_3.111.dsc
 1c16ab1dec3159423e25ce5519aff24c52243ff2f0998d317815d281f979e8e6 279519 adduser_3.111.tar.gz
 0b416e8d1a0bc949754138843589bd00e64682ad8638b024d7475ae70ede1259 156872 adduser_3.111_all.deb
Files: 
 d37ba5f0d4307433f4a3827fe497e153 1029 admin important adduser_3.111.dsc
 d02c8a84893db6f76f9a75c3c4d11b8a 279519 admin important adduser_3.111.tar.gz
 a5196425ad59794274bd0132a5f7a53c 156872 admin important adduser_3.111_all.deb

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

iEYEARECAAYFAkq2nGoACgkQSYIMHOpZA47HQQCfSDR6SOM0yvJV6SnGTvxwczHv
S/AAoN93FbRam+1ytod5UTvBJCNQssKN
=1lfv
-----END PGP SIGNATURE-----





Information forwarded to debian-bugs-dist@lists.debian.org, Debian Adduser Developers <adduser-devel@lists.alioth.debian.org>:
Bug#545024; Package adduser. (Mon, 21 Sep 2009 12:51:04 GMT) (full text, mbox, link).


Acknowledgement sent to sievers@math2.nat.tu-bs.de:
Extra info received and forwarded to list. Copy sent to Debian Adduser Developers <adduser-devel@lists.alioth.debian.org>. (Mon, 21 Sep 2009 12:51:04 GMT) (full text, mbox, link).


Message #22 received at 545024@bugs.debian.org (full text, mbox, reply):

From: sievers@math2.nat.tu-bs.de
To: 545024@bugs.debian.org
Subject: Bug#545024: still bad for pipes in adduser 3.111
Date: Mon, 21 Sep 2009 14:39:45 +0200
Hello,

I tried in a debootstrap'ed sid chroot, and there
  deluser --remove-home <user>
still didn't delete named pipes.


All the best,
Christian Sievers




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Thu, 29 Oct 2009 08:01:38 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sat Jul 1 21:23:18 2023; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.