Re: [systemd-devel] Setting mount option `sync` for root parition in fstab causes umount to fail during shutdown

2018-08-08 Thread Isaac Nickaein
On Wed, Aug 8, 2018 at 8:37 PM Lennart Poettering wrote: > I figure 3bc341bee9fc7dfb41a131246b6fb0afd6ff4407 should fix your > issue. Does your version include that already? Good catch! I'm on systemd v234. That's exactly the fix that could resolve the issue. I will switch to systemd v239 to test

Re: [systemd-devel] Setting mount option `sync` for root parition in fstab causes umount to fail during shutdown

2018-08-08 Thread Isaac Nickaein
On Wed, Aug 8, 2018 at 1:16 PM Lennart Poettering wrote: > > > systemd-shutdown[1]: Unmounting file systems. > > systemd-shutdown[1]: Remounting '/' read-only with options > > 'sync,data=ordered'. > > EXT4-fs (mmcblk2p1): Unrecognized mount option "sync" or missing value > > systemd-shutdown[1]:

[systemd-devel] Setting mount option `sync` for root parition in fstab causes umount to fail during shutdown

2018-08-07 Thread Isaac Nickaein
I have enabled the `sync` option in `/etc/fstab` for the root partition among other options. During boot systemd correctly re-mounts the partition with given options, but cannot umount it during shutdown. However, it complains that `sync` is unrecognized: ... systemd-shutdown[1]: Unmounting file s