1 |
-----BEGIN PGP SIGNED MESSAGE----- |
2 |
Hash: SHA256 |
3 |
|
4 |
On 02/16/2016 10:05 AM, William Hubbs wrote: |
5 |
> All, |
6 |
> |
7 |
> I have a bug that points out a significant issue with |
8 |
> /etc/init.d/mount-ro in OpenRC. |
9 |
> |
10 |
> Apparently, there are issues that cause it to not work properly for |
11 |
> file systems which happen to be pre-mounted from an initramfs [1]. |
12 |
> |
13 |
> This service only exists in the Linux world; there is no equivalent |
14 |
> in OpenRC for any other operating systems we support. |
15 |
> |
16 |
> The reason it exists is very vague to me; I think it has something |
17 |
> to do with claims of data loss in the past. |
18 |
> |
19 |
> I'm asking for more specific information, and if there is none, due |
20 |
> to the bug I lincluded in this message, I am considering removing |
21 |
> this service in 0.21 since I can't find an equivalent anywhere |
22 |
> else. |
23 |
> |
24 |
> Thanks, |
25 |
> |
26 |
> William |
27 |
> |
28 |
> [1] https://bugs.gentoo.org/show_bug.cgi?id=573760 |
29 |
> |
30 |
|
31 |
I have a LUKS-encrypted / with LVM volumes within it, and they |
32 |
(apparently?) need to be remounted read-only upon shutdown. I've not |
33 |
found an easy way to take a picture of the process so I can indicate |
34 |
*why*, but I've seen it scroll by. |
35 |
|
36 |
I use an initramfs to decrypt the LUKS partition and discover the LVM |
37 |
volumes. I can only assume it goes read-only before shutdown/reboot |
38 |
because it needs to. |
39 |
|
40 |
Just my two cents. |
41 |
|
42 |
- -- |
43 |
Daniel Campbell - Gentoo Developer |
44 |
OpenPGP Key: 0x1EA055D6 @ hkp://keys.gnupg.net |
45 |
fpr: AE03 9064 AE00 053C 270C 1DE4 6F7A 9091 1EA0 55D6 |
46 |
-----BEGIN PGP SIGNATURE----- |
47 |
Version: GnuPG v2 |
48 |
|
49 |
iQIcBAEBCAAGBQJWw4CkAAoJEAEkDpRQOeFwrUoP+wR1Poxssa29MNQOGo0INPKW |
50 |
7lKTDIDYuLFHqsKbgwBClaDQSNMEDyeZxmcpw7WXYxykftJ7IXlOYP55WDK/65kQ |
51 |
QvcF+p7WhsG41kmcmKWrZpaL6Qo8wI58Bo/y3i62/lsecQiuuX8bPlTwTCLBvBxW |
52 |
iDlMPPMRkHoTheTZK6BPJ4F7jkHKD6LjWKSH1cTigKOtX1Sl+ZYWw6RPgAvS3TPW |
53 |
9rP6v6QBxYaeM9qiEr4OPyKwiDtm0QOfLswWSxwCmRvZriED8to1n2/CQsSee29L |
54 |
C04j9nfj5Ez+O8q0hDaiuTZxVZ5AJm3obGQtKpcTDdtHxAQvKvG71AY6wuOfSDh1 |
55 |
kWHfUSSCGv8dB+bglb1beFGyUdZYNt3baVYhmiRqtAUGCXCSOm1Vpj8XCPOGcyPc |
56 |
FOZaj6iqBfSwZGn5Ah3PwTMiwH+qgPOsYzuhb1okts99DVtNQZ28IGHvOzhYpqvZ |
57 |
D/loe++/Y05HTmY9S+BhaePe0yU1BKjfO4BtMSsBHcm9cOPjni6KZRa6mGRN4fZS |
58 |
X7XThXuv9WoD14FLvTMf2DbLJuNivvoyHBZ5qVuSfSachDII6LxaM4Mdvm3bbT67 |
59 |
Bt3jPua39eRBYm0EBNKrM7wOpE2NfLtjZ7bwoaX67EvvG1TuiYYLkXHrB9arFm09 |
60 |
rKNCGZvRDqwDx/PgJkFd |
61 |
=wWjL |
62 |
-----END PGP SIGNATURE----- |