Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 118186 Details for
Bug 177100
sys-apps/baselayout-2 no longer loads dm-crypt volumes
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
/lib/rcscripts/addons/dm-crypt-stop.sh
dm-crypt-stop.sh (text/plain), 1021 bytes, created by
Mike Auty (RETIRED)
on 2007-05-04 22:44:13 UTC
(
hide
)
Description:
/lib/rcscripts/addons/dm-crypt-stop.sh
Filename:
MIME Type:
Creator:
Mike Auty (RETIRED)
Created:
2007-05-04 22:44:13 UTC
Size:
1021 bytes
patch
obsolete
># /lib/rcscripts/addons/dm-crypt-stop.sh > ># Try to remove any dm-crypt mappings >csetup=/bin/cryptsetup >if [ -f /etc/conf.d/dmcrypt ] && [ -x "$csetup" ] >then > einfo "Removing dm-crypt mappings" > > /bin/egrep "^(target|swap)" /etc/conf.d/dmcrypt | \ > while read targetline > do > target= > swap= > > eval ${targetline} > > [ -n "${swap}" ] && target=${swap} > [ -z "${target}" ] && ewarn "Invalid line in /etc/conf.d/dmcrypt: ${targetline}" > > ebegin "Removing dm-crypt mapping for: ${target}" > ${csetup} remove ${target} > eend $? "Failed to remove dm-crypt mapping for: ${target}" > done > > if [[ -n $(/bin/egrep -e "^(source=)./dev/loop*" /etc/conf.d/dmcrypt) ]] ; then > einfo "Taking down any dm-crypt loop devices" > /bin/egrep -e "^(source)" /etc/conf.d/dmcrypt | while read sourceline > do > source= > eval ${sourceline} > if [[ -n $(echo ${source} | grep /dev/loop) ]] ; then > ebegin " Taking down ${source}" > /sbin/losetup -d ${source} > eend $? " Failed to remove loop" > fi > done > fi >fi > ># vim:ts=4
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 Raw
Actions:
View
Attachments on
bug 177100
:
118184
|
118185
| 118186 |
118221
|
119463