Summary: | gpg error on booting while using /etc/conf.d/cryptfs (when /usr is on diff partition from /) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Christian Häßler <christian> |
Component: | [OLD] baselayout | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | lars, pupeno, sascha-gentoo-bugzilla, wschlich |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Christian Häßler
2005-04-26 04:34:07 UTC
is your /usr mounted on a diff partition ? yes my /usr is mountet on a different partition (/dev/hda6) y? is this a Problem? yes it's a problem ... gpg installs to /usr/bin/ and cryptfs uses gpg i think we should update the conf.d file with a note about this and call it a day we can mount /usr befor we mounting crypfs isn't this a idea? added notes to the files about using /usr on different partitions and cryptfs/gpg Okay i have solved the problem (okay it was not really fast) You have to make a init-script like this: pcjunior ~ # cat /etc/init.d/usr #!/sbin/runscript # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ depend() { before checkfs } start() { einfo "Mounting /usr bevor mouting others" mount /dev/hda6 } And then you have to edit this file: pcjunior ~ # cat /etc/runlevels/boot/.critical usr checkroot hostname modules checkfs localmount splash Add usr (the name for my init-script) on first. Now it will work *** Bug 144879 has been marked as a duplicate of this bug. *** |