error in login preinst script: grep: ^UID_MIN 1000$: No such file or directory

Bug #354887 reported by Michael Elkins
4
Affects Status Importance Assigned to Milestone
shadow (Ubuntu)
Fix Released
High
Kees Cook

Bug Description

Binary package hint: login

Description: Ubuntu jaunty (development branch)
Release: 9.04

login:
  Installed: 1:4.1.1-6ubuntu5
  Candidate: 1:4.1.1-6ubuntu5
  Version table:
 *** 1:4.1.1-6ubuntu5 0
        500 http://us.archive.ubuntu.com jaunty/main Packages
        100 /var/lib/dpkg/status

When performing a routing "apt-get upgrade" just now, I noticed the following unexpected error:

Preparing to replace login 1:4.1.1-6ubuntu3 (using .../login_1%3a4.1.1-6ubuntu5_i386.deb) ...
grep: ^UID_MIN 1000$: No such file or directory
grep: ^UID_MAX 60000$: No such file or directory
Unpacking replacement login ...

Related branches

Revision history for this message
Max Bowsher (maxb) wrote :

Confirmed.

The arguments to grep are the wrong way around!

summary: - error in login install script: grep no such file or directory
+ error in login preinst script: grep: ^UID_MIN 1000$: No such file or
+ directory
Changed in shadow (Ubuntu):
status: New → Confirmed
Revision history for this message
Kees Cook (kees) wrote :

Embarrassing typo in the grep. :P

Changed in shadow (Ubuntu):
assignee: nobody → kees
importance: Undecided → High
status: Confirmed → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package shadow - 1:4.1.1-6ubuntu6

---------------
shadow (1:4.1.1-6ubuntu6) jaunty; urgency=low

  * debian/login.preinst: fix typo in grep (LP: #354887).

 -- Kees Cook <email address hidden> Fri, 03 Apr 2009 22:12:07 -0700

Changed in shadow (Ubuntu):
status: Fix Committed → 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.