Red Hat Bugzilla – Bug 144907
devlabel fails on boot if /usr is a seperate partition
Last modified: 2007-11-30 17:07:06 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.2)
Description of problem:
If /usr is on a seperate partition from root it fails to properly
start and create the symlinks. The error message is that it cannot
find program 'head'. The head program is located in the /usr/bin
directory, but devlabel is only run before any partitions but / are
I can work around the problem by adding a call to devlabel in rc.local
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Install with /usr on a separate partition
2. Setup devlabel
Actual Results: Devlabel gives an error message and does not create
Expected Results: Devlabel creates the links
Created attachment 109678 [details]
patch for this and other issues
Please try the attached patch.
I tried the patch. It did get rid of the error with head, and worked
with /usr mounted, but it did not fix the main problem.
Looking at things more devlabel calls (at least for my setup) 3 other
programs in /usr/bin:
The first two are part of the devlabel package. The 'raw' program is
from the util-linux package.
Devlabel works properly if these three file are copied to /bin
So, that has *never* worked, it's not something that failed in U4,
I have only started using devlabel it in the last couple weeks, but
the devlabel package in the install U3 does not work either. This may
mean it never worked.
Cc'ing util-linux maintainer.
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.