spufs mount requires getent and groupadd from /usr

Bug #145460 reported by Colin Watson
4
Affects Status Importance Assigned to Milestone
sysvinit (Ubuntu)
Fix Released
Low
Colin Watson
user-setup (Ubuntu)
Fix Released
Undecided
Colin Watson

Bug Description

Binary package hint: sysvinit

At boot on a Cell system:

  /etc/rcS.d/S01mountkernfs.sh: 72: getent: not found
  /etc/rcS.d/S01mountkernfs.sh: 72: groupadd: not found

This is because those binaries are in /usr/bin and /usr/sbin respectively, neither of which is in the PATH explicitly set at the top of mountkernfs.sh. However, setting the PATH may be the wrong approach; surely we shouldn't be relying on binaries in /usr at that point. Can we create the group at some other time?

Revision history for this message
Colin Watson (cjwatson) wrote :
Revision history for this message
Colin Watson (cjwatson) wrote :

I've changed user-setup to create the spu group in the installer. This warning will still be visible at boot unless the initscript is changed (I recommend just removing the getent/groupadd block), but it will be harmless assuming that you're using a new enough installer.

Revision history for this message
Colin Watson (cjwatson) wrote :

user-setup (1.14ubuntu3) gutsy; urgency=low

  * Create the spu group on powerpc/ps3 and powerpc/cell (LP: #145460).

 -- Colin Watson <email address hidden> Fri, 28 Sep 2007 11:14:56 +0100

Changed in user-setup:
status: New → Fix Released
Revision history for this message
Colin Watson (cjwatson) wrote :

I should clean this up for RC.

Changed in user-setup:
assignee: nobody → kamion
Changed in sysvinit:
assignee: nobody → kamion
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Colin Watson (cjwatson) wrote :

sysvinit (2.86.ds1-14.1ubuntu31) gutsy; urgency=low

  * Use 'mkdir -p' rather than more awkward test-then-create constructions.
  * Don't use getent/groupadd in mountkernfs (LP: #145460).

 -- Colin Watson <email address hidden> Thu, 04 Oct 2007 11:42:16 +0100

Changed in sysvinit:
status: Confirmed → 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.