Bug#851143: systemd: doesn't use all the mount options from /etc/fstab when mounting on boot

2017-05-23 Thread Michael Biebl
systemd simply calls the /bin/mount utility. Russel, could you use the attached wrapper script to get a log of what systemd is doing mv /bin/mount /bin/mount.orig cp attached script to /bin/mount chmod +x /bin/mount reboot, then attach /run/log.mount -- Why is it that all of the instruments

Bug#851143: systemd: doesn't use all the mount options from /etc/fstab when mounting on boot

2017-05-22 Thread Russell Coker
On Tue, 23 May 2017 02:49:21 AM Michael Biebl wrote: > > Sorry for the delay in responding. I've attached those files. > > The configuration you attached doesn't seem to match up. > E.g. the original fstab didn't have x-systemd.automount. I've set the system to not use automount, rebooted it,

Bug#851143: systemd: doesn't use all the mount options from /etc/fstab when mounting on boot

2017-05-22 Thread Michael Biebl
Am 22.05.2017 um 18:49 schrieb Michael Biebl: > The ExecMount shows that mount has apparently been called as > /bin/mount 10.10.10.1:/mailstore /mail -t nfs -o > context=system_u:object_r:mail_spool_t:s0,x-systemd.automount What happens, if you run umount /mail mount 10.10.10.1:/mailstore /mail

Bug#851143: systemd: doesn't use all the mount options from /etc/fstab when mounting on boot

2017-05-22 Thread Michael Biebl
Am 22.05.2017 um 16:35 schrieb Russell Coker: > reopen 851143 > thanks > >>> Could you attach the output of >>> systemctl status mail.mount >>> systemctl show mail.mount >> >> Since I don't have a selinux enabled system so I could try and reproduce >> this and no further information was provided,

Bug#851143: systemd: doesn't use all the mount options from /etc/fstab when mounting on boot

2017-05-22 Thread Russell Coker
reopen 851143 thanks > > Could you attach the output of > > systemctl status mail.mount > > systemctl show mail.mount > > Since I don't have a selinux enabled system so I could try and reproduce > this and no further information was provided, I'm closing this bug report. > > Please reopen if

Bug#851143: systemd: doesn't use all the mount options from /etc/fstab when mounting on boot

2017-01-12 Thread Michael Biebl
Am 12.01.2017 um 12:43 schrieb Russell Coker: > Package: systemd > Version: 232-8 > Severity: normal > > When I boot a server that mounts a filesystem via NFS it ignores the context= > mount option to set a SE Linux context of the files. > > What I want is to use the type mail_spool_t for a NFS

Bug#851143: systemd: doesn't use all the mount options from /etc/fstab when mounting on boot

2017-01-12 Thread Russell Coker
Package: systemd Version: 232-8 Severity: normal When I boot a server that mounts a filesystem via NFS it ignores the context= mount option to set a SE Linux context of the files. What I want is to use the type mail_spool_t for a NFS mounted mail spool instead of the default nfsd_rw_t (a generic