deluser: missing linebreak in output

Bug #613204 reported by knopwob
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
adduser
Fix Released
Unknown
adduser (Ubuntu)
Fix Released
Low
Unassigned
Lucid
Won't Fix
Low
Unassigned
Maverick
Won't Fix
Low
Unassigned

Bug Description

Binary package hint: adduser

Ubuntu version: Ubuntu 10.04.1 LTS
package version: 3.112ubuntu1

The output of this command is missing a linebreak. This is what i get:
knopwob@ubuntu:~$ sudo deluser --remove-home --backup-to /home/old_homes testuser
Looking for files to backup/remove ...
Backing up files to be removed to /home/old_homes ...
backup_name = /home/old_homes/testuser.tar/bin/tar: Removing leading `/' from member names <---- Ugly line
Removing files ...
Removing user `testuser' ...
Warning: group `testuser' has no more members.
Done.

I'm attaching a patch for this.

Related branches

Revision history for this message
knopwob (knopwob) wrote :
Revision history for this message
knopwob (knopwob) wrote :

I just noticed, that the line is cropped in the bug description. "backup_name = /home... from member names" is one line of output.

tags: added: patch
Changed in adduser (Ubuntu):
status: New → Confirmed
Revision history for this message
Mohamed Amine Ilidrissi (ilidrissi.amine) wrote :
tags: added: patch-forwarded-upstream
removed: patch
Revision history for this message
Charlie Kravetz (cjkgeek) wrote :

Since this bug has enough information provided for a developer to begin work, I'm going to mark it as confirmed and let them handle it from here. Thanks for taking the time to make Ubuntu better!

Changed in adduser (Ubuntu):
importance: Undecided → Low
status: Confirmed → Triaged
Changed in adduser:
status: Unknown → New
Michael Terry (mterry)
Changed in adduser (Ubuntu):
assignee: nobody → Michael Terry (mterry)
assignee: Michael Terry (mterry) → nobody
Revision history for this message
Oliver Grawert (ogra) wrote :

@mohamed, it seems there went something wrong with your debdiff creation, it seems to remove the deluser.conf file, could you update it without removing this file for an SRU ?

i uploaded the same fix to natty

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package adduser - 3.112+nmu1ubuntu2

---------------
adduser (3.112+nmu1ubuntu2) natty; urgency=low

  * deluser: added missing linebreak at line 338 (LP: #613204)
    thanks to <email address hidden> and Mohamed Amine IL Idrissi for the
    patch
 -- Oliver Grawert <email address hidden> Tue, 23 Nov 2010 12:40:28 +0100

Changed in adduser (Ubuntu):
status: Triaged → Fix Released
Oliver Grawert (ogra)
Changed in adduser (Ubuntu Lucid):
status: New → Incomplete
Changed in adduser (Ubuntu Maverick):
status: New → Incomplete
Changed in adduser (Ubuntu Lucid):
importance: Undecided → Low
Changed in adduser (Ubuntu Maverick):
importance: Undecided → Low
Revision history for this message
Martin Pitt (pitti) wrote :

This is not a patch appropriate for an SRU, so I'm closing the stable tasks. It was fixed in natty and properly sent to Debian, thanks!

Changed in adduser (Ubuntu Lucid):
status: Incomplete → Won't Fix
Changed in adduser (Ubuntu Maverick):
status: Incomplete → Won't Fix
Changed in adduser:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.