Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 36322 Details for
Bug 43146
Support for dm-crypt in baselayout
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
halt.sh patch
halt.sh.patch (text/plain), 921 bytes, created by
rob holland (RETIRED)
on 2004-07-28 06:59:35 UTC
(
hide
)
Description:
halt.sh patch
Filename:
MIME Type:
Creator:
rob holland (RETIRED)
Created:
2004-07-28 06:59:35 UTC
Size:
921 bytes
patch
obsolete
>--- halt.sh.orig 2004-07-28 14:16:05.000000000 +0000 >+++ halt.sh 2004-07-28 14:40:43.000000000 +0000 >@@ -123,6 +123,39 @@ > done > eend 0 > >+# Try to remove any dm-crypt mappings >+ >+if [ -f /etc/conf.d/cryptomount ] >+then >+ ebegin "Removing dm-crypt mappings" >+ >+ /bin/egrep "^(mount|swap)" /etc/conf.d/cryptomount | \ >+ while read mountline >+ do >+ mount= >+ swap= >+ target= >+ >+ eval ${mountline} >+ >+ if [ -n "${mount}" ] >+ then >+ target=${mount} >+ elif [ -n "${swap}" ] >+ then >+ target=${swap} >+ else >+ ewarn "Invalid line in /etc/conf.d/cryptomount: ${mountline}" >+ fi >+ >+ einfo "Removing dm-crypt mapping for: ${target}" >+ if ! /bin/cryptsetup remove ${target} >+ then >+ ewarn "Failed to remove dm-crypt mapping for: ${target}" >+ fi >+ done >+fi >+ > # Stop LVM > if [ -x /sbin/vgchange ] && [ -f /etc/lvmtab -o -d /etc/lvm ] && \ > [ -d /proc/lvm -o "`grep device-mapper /proc/misc 2>/dev/null`" ]
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 43146
:
26492
|
26567
|
26568
|
26578
|
26953
|
27067
|
27268
|
36320
|
36321
|
36322
|
36323
|
36463
|
36464
|
37800
|
40036
|
40037
|
40114