Bug#742048: systemd-remount-fs.service fails for split-usr

2015-01-07 Thread Martin Pitt
Hey Michael, Michael Biebl [2015-01-07 13:17 +0100]: > Updated patch attached (tested with a split-usr setup and with both > initramfs-tools 0.116 and 0.118) Looks great to me, thanks! Will you commit yourself? (I figure there's no point trying to send that upstream, even with #ifdef HAVE_SPLIT_U

Bug#742048: systemd-remount-fs.service fails for split-usr

2015-01-07 Thread Michael Biebl
control: tags -1 + patch Am 06.01.2015 um 10:37 schrieb Michael Biebl: > Am 06.01.2015 um 08:23 schrieb Martin Pitt: >> Also, I think there is a simpler way to check if a dir is a >> mountpoint: s1 = stat(dir), s2 = stat(parent(dir)) >> (i. e. dir + "/.."), and check >> >> is_mount = (st.st_dev !

Processed: Re: Bug#742048: systemd-remount-fs.service fails for split-usr

2015-01-07 Thread Debian Bug Tracking System
Processing control commands: > tags -1 + patch Bug #742048 [systemd] systemd-remount-fs.service fails for split-usr Bug #763327 [systemd] [systemd] FAILED to remount / Added tag(s) patch. Added tag(s) patch. -- 742048: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=742048 763327: http://bugs.d

Bug#742048: systemd-remount-fs.service fails for split-usr

2015-01-06 Thread Michael Biebl
Hi Martin, thanks for the review! Am 06.01.2015 um 08:23 schrieb Martin Pitt: > Michael Biebl [2015-01-06 1:34 +0100]: >> +static bool is_mounted(const char *dev_path) { >> +_cleanup_endmntent_ FILE *mtab = NULL; >> +struct mntent *me = NULL; >> + >> +mtab = setmntent("/e

Bug#742048: systemd-remount-fs.service fails for split-usr

2015-01-05 Thread Martin Pitt
Hey Michael, thanks for dealing with this! Michael Biebl [2015-01-06 1:34 +0100]: > +static bool is_mounted(const char *dev_path) { > +_cleanup_endmntent_ FILE *mtab = NULL; > +struct mntent *me = NULL; > + > +mtab = setmntent("/etc/mtab", "r"); Can we rely on /etc/mtab

Bug#742048: systemd-remount-fs.service fails for split-usr

2015-01-05 Thread Michael Biebl
Am 27.12.2014 um 11:20 schrieb Michael Biebl: > Am 27. Dezember 2014 09:33:21 MEZ, schrieb Sven Joachim : >> I haven't looked at dracut, but with initramfs-tools 0.118 /usr is >> going >> to end up being mounted readonly. > > Hmm, good point. We'll need a more elaborate patch then which deals wit

Bug#742048: systemd-remount-fs.service fails for split-usr

2014-12-27 Thread Michael Biebl
Am 27. Dezember 2014 09:33:21 MEZ, schrieb Sven Joachim : >On 2014-12-27 02:44 +0100, Michael Biebl wrote: > >> It looks like we won't get initramfs-tools 0.118 with usr-mount >support >> in the initramfs, as this created quite a few regressions which need >to >> be dealt with first. >> >> I ther

Bug#742048: systemd-remount-fs.service fails for split-usr

2014-12-27 Thread Sven Joachim
On 2014-12-27 02:44 +0100, Michael Biebl wrote: > It looks like we won't get initramfs-tools 0.118 with usr-mount support > in the initramfs, as this created quite a few regressions which need to > be dealt with first. > > I therefore think we need to workaround this issue in systemd and make > su

Bug#742048: systemd-remount-fs.service fails for split-usr

2014-12-26 Thread Michael Biebl
Am 27.12.2014 um 02:44 schrieb Michael Biebl: > It looks like we won't get initramfs-tools 0.118 with usr-mount support > in the initramfs, as this created quite a few regressions which need to > be dealt with first. ... for jessie, I meant to say. > > I therefore think we need to workaround thi

Processed: Re: Bug#742048: systemd-remount-fs.service fails for split-usr

2014-09-15 Thread Debian Bug Tracking System
Processing control commands: > severity -1 normal Bug #742048 [systemd] systemd-remount-fs.service fails for split-usr Severity set to 'normal' from 'serious' -- 742048: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=742048 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems

Bug#742048: systemd-remount-fs.service fails for split-usr

2014-09-15 Thread Sjoerd Simons
Control: severity -1 normal thanks On Mon, Sep 15, 2014 at 08:27:41PM +0200, Didier 'OdyX' Raboud wrote: > > Hi Michael, hi dear systemd maintainers, > > Le mardi, 18 mars 2014, 17.11:37 Michael Biebl a écrit : > > I've setup a jessie test VM with a LVM/split-partition configuration, > > i.e. a

Processed: Re: Bug#742048: systemd-remount-fs.service fails for split-usr

2014-09-15 Thread Debian Bug Tracking System
Processing control commands: > found -1 215-3 Bug #742048 [systemd] systemd-remount-fs.service fails for split-usr Marked as found in versions systemd/215-3. > severity -1 serious Bug #742048 [systemd] systemd-remount-fs.service fails for split-usr Severity set to 'serious' from 'normal' -- 7420