[tinysofa-devel] Problem with devlabel on a extra /var partition

Dominik Schips mail-lists at s235.de
Wed Jan 12 16:48:18 UTC 2005


Hello,

I set up a new Tinysofa 2.0 server.
For this I want to have the following partitions each on a different
partition:

/boot
SWAP
/var
/usr
/
/tmp
/home
/srv

After the installation I saw some error messages on the screen:

/sbin/devlabel: line 895: /var/lib/devlabel/ignore_list: No such file
or directory
/sbin/devlabel: line 896: /var/lib/devlabel/proc_partitions: No such file
or directory
grep: /var/lib/devlabel/ignore_list: No such file or directory
/sbin/devlabel: line 920: [: -eq: unary operator expected
....

and so on.
After some searching on the net I found that this is a problem, when
the /var "directory" is on a extra partition. It causes a problem at
boot time, because it isn't mounted when the check for de ignore_list
file is made.
When /var is on the / partition, then there is no problem with
devlabel.

Did someone else had this problem or is my partitioning not the
best?
Should this error be fixed in the devlabel package?

Information:
http://www.redhat.com/archives/fedora-test-list/2004-July/msg00600.html

Old question (no answer) with this problem on the Tinysofa list:
http://lists.tinysofa.org/pipermail/tinysofa-discuss/2004-October/000344.html



Maybe this is a solution: http://www.lerhaupt.com/foo/archives/cat_linux.html

The ignore_list is now kept in /etc/sysconfig/devlabel.d and not
/var/lib/devlabel. Though /var/lib is generically a more appropriate
place for application state information to live, it was necessary
to have these files located on the root partition. This is to make
sure that these files are available during boot after the root
partition has been mounted but before any other partition has
been mounted (such as /var).

#----

Best regards,

 Dominik Schips




More information about the Tinysofa-devel mailing list