Bug 646398 - luserdel -r does not remove user's mailbox
Summary: luserdel -r does not remove user's mailbox
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: libuser
Version: 5.6
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Miloslav Trmač
QA Contact: BaseOS QE Security Team
URL:
Whiteboard:
Depends On: 454091
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-10-25 10:05 UTC by Miroslav Vadkerti
Modified: 2010-10-25 17:44 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 454091
Environment:
Last Closed: 2010-10-25 17:44:09 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Miroslav Vadkerti 2010-10-25 10:05:27 UTC
+++ This bug was initially created as a clone of Bug #454091 +++

From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.14) Gecko/20080416 Fedora/2.0.0.14-1.fc8 Firefox/2.0.0.14

Description of problem:
luserdel -r removes the user and his/her home directory but it leaves his/her mailbox in /var/spool/mail. 

Proposal:
1) Enhance the implementation of "-r" parameter so that luserdel will remove the mailbox too.
2) Implement a new parameter so that the home directory removal is independent on the mailbox removal.

Version-Release number of selected component (if applicable):
libuser-0.56.6-2

How reproducible:
Always


Steps to Reproduce:
1. luseradd testuser
2. luserdel -r testuser
3. ls -l /var/spool/mail/testuser

Actual Results:
Mailbox file in /var/spool/mail is present.

Expected Results:
Mailbox file in /var/spool/mail is not present.

Additional info:

--- Additional comment from mmalik on 2008-07-16 09:29:07 EDT ---

RHTS test for this bug is available (
/CoreOS/libuser/Regression/bz454091-luserdel--r-ignores-users-mailbox ).

--- Additional comment from fedora-triage-list on 2008-11-26 05:57:19 EST ---


This message is a reminder that Fedora 8 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 8.  It is Fedora's policy to close all
bug reports from releases that are no longer maintained.  At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '8'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 8's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 8 is end of life.  If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora please change the 'version' of this 
bug to the applicable version.  If you are unable to change the version, 
please add a comment here and someone will do it for you.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

--- Additional comment from mitr on 2009-05-23 04:49:19 EDT ---

Fixed in hg tip.

--- Additional comment from mitr on 2009-09-14 13:18:29 EDT ---

Fixed in rawhide libuser-0.56.11-1.  Thanks for your report.

Comment 1 Miroslav Vadkerti 2010-10-25 10:05:52 UTC
libuser-0.54.7-2.1.el5_4.1

Comment 2 Miloslav Trmač 2010-10-25 17:44:09 UTC
Thanks for your report.  This would be an incompatible change that is not suitable for an RHEL5 update release.


Note You need to log in before you can comment on or make changes to this bug.