1 |
robbat2 14/02/02 05:56:20 |
2 |
|
3 |
Modified: lvm.rc-2.02.105 |
4 |
Log: |
5 |
Bug #334125: Ignore an error shutting down last LVs, if they are /usr or / we will not be able to shut them down as we are running from them. |
6 |
|
7 |
(Portage version: 2.2.7/cvs/Linux x86_64, unsigned Manifest commit) |
8 |
|
9 |
Revision Changes Path |
10 |
1.2 sys-fs/lvm2/files/lvm.rc-2.02.105 |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/lvm2/files/lvm.rc-2.02.105?rev=1.2&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/lvm2/files/lvm.rc-2.02.105?rev=1.2&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/lvm2/files/lvm.rc-2.02.105?r1=1.1&r2=1.2 |
15 |
|
16 |
Index: lvm.rc-2.02.105 |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/sys-fs/lvm2/files/lvm.rc-2.02.105,v |
19 |
retrieving revision 1.1 |
20 |
retrieving revision 1.2 |
21 |
diff -p -w -b -B -u -u -r1.1 -r1.2 |
22 |
--- lvm.rc-2.02.105 2 Feb 2014 05:52:01 -0000 1.1 |
23 |
+++ lvm.rc-2.02.105 2 Feb 2014 05:56:20 -0000 1.2 |
24 |
@@ -1,7 +1,7 @@ |
25 |
#!/sbin/runscript |
26 |
# Copyright 1999-2014 Gentoo Foundation |
27 |
# Distributed under the terms of the GNU General Public License v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/lvm2/files/lvm.rc-2.02.105,v 1.1 2014/02/02 05:52:01 robbat2 Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/lvm2/files/lvm.rc-2.02.105,v 1.2 2014/02/02 05:56:20 robbat2 Exp $ |
30 |
|
31 |
depend() { |
32 |
before checkfs fsck |
33 |
@@ -86,10 +86,11 @@ then |
34 |
lvm_commands="${lvm_commands}vgchange --sysinit -a ln ${VGS}\n" |
35 |
# Order of this is important, have to work around dash and LVM readline |
36 |
printf "%b\n" "${lvm_commands}" | $lvm_path /proc/self/fd/0 --config "${config}" >/dev/null |
37 |
- eend $? "Failed" |
38 |
+ eend $? "Failed (possibly some LVs still needed for /usr or root)" |
39 |
fi |
40 |
|
41 |
- einfo "Finished Shutting down the Logical Volume Manager" |
42 |
+ einfo "Finished shutting down the Logical Volume Manager" |
43 |
+ return 0 |
44 |
fi |
45 |
} |