sorry the attached patch earlier was the wrong file. Reattaching correct patch.
On Fri, Sep 26, 2014 at 2:36 PM, Ritesh Raj Sarraf <r...@researchut.com> wrote: > Hi, > > Thank you for reporting this. > > On Friday 26 September 2014 03:31 PM, Ilan Cohen wrote: > > Hi, > > I have applied your patch changing the last line of /lib/udev/lmt-udev > and my system still boots with / in read only mode. > > > > Matthew: Can you please confirm your results ?? > > > > running: > systemd 215 > udevd 215 > > I have the same symptoms as you describe: > > # systemctl status systemd-remount-fs.service > ● systemd-remount-fs.service - Remount Root and Kernel File Systems > Loaded: loaded (/lib/systemd/system/systemd-remount-fs.service; static) > Active: failed (Result: exit-code) since Fri 2014-09-26 12:54:16 IDT; > 1min 32s ago > Docs: man:systemd-remount-fs.service(8) > http://www.freedesktop.org/wiki/Software/systemd/APIFileSystems > Process: 510 ExecStart=/lib/systemd/systemd-remount-fs (code=exited, > status=1/FAILURE) > Main PID: 510 (code=exited, status=1/FAILURE) > > Sep 26 12:54:16 thinkpad systemd-remount-fs[510]: mount: /usr not > mounted or bad option > Sep 26 12:54:16 thinkpad systemd-remount-fs[510]: /bin/mount for /usr > exited with exit status 32. > Sep 26 12:54:16 thinkpad systemd[1]: systemd-remount-fs.service: main > process exited, code=exited, status=1/FAILURE > Sep 26 12:54:16 thinkpad systemd[1]: Failed to start Remount Root and > Kernel File Systems. > Sep 26 12:54:16 thinkpad systemd[1]: Unit systemd-remount-fs.service > entered failed state. > > and in syslog from boot: > > [ 2.345523] systemd[1]: /usr appears to be on its own filesytem and > is not already mounted. This is not a supported setup. Some things will > probably break (sometimes even silently) in mysterious ways. Consult > http://freedesktop.org/wiki/Software/systemd/separate-usr-is-broken for > more information. > > -- > Ilan Cohen > > > I don't know how I should interpret this last statement. When systemd > itself reports it as a setup not supported, what should we expect out of it > ? > > > What lmt-udev currently does, and with Matt's patch, it should work. Can > you capture the output from the initial boot to confirm _if_ it is an LMT > problem ? I do not have a setup where /usr is on a separate partition. > > -- > Ritesh Raj Sarraf > RESEARCHUT - http://www.researchut.com > "Necessity is the mother of invention." > > -- Ilan Cohen
--- /usr/share/initramfs-tools/scripts/local-top/lvm2 2014-09-26 14:53:20.648542077 +0300 +++ /usr/share/initramfs-tools/scripts/local-top/lvm2.new 2014-09-26 15:00:22.752532840 +0300 @@ -62,5 +62,6 @@ activate_vg "$ROOT" activate_vg "$resume" +lvm vgchange -ay exit 0