Bug#885325: systemd: Daemon start with systemctl start daemon can not find mount point not mounted by boot

Michael Biebl biebl at debian.org
Thu Dec 28 20:33:27 GMT 2017


Control: tags -1 + moreinfo

Am 26.12.2017 um 09:30 schrieb John Wong:
> Package: systemd
> Version: 236-1
> Severity: important
> 
> Dear Maintainer,
> 
> 	After upgrade systemd* to 236-1, I noticed nfsd/smbd can not share some mount point,
> 	which is not mounted on boot (eg: luks disk, mounted by manually after boot, I mean "ssh login and then type password to mount it")
> 	
> 	I have /disk mount point, which is encrypted by luks, I usually ssh login the system, then cryptsetup luksOpen (type password),
> 	and mount it, after that I will systemctl restart smbd/nmbd/nfs-server/etc .. service
> 	I noticed after upgrade systemd* to 236-1, those service report error can not find or can not stat the /disk mount point.
> 
> 	It (systemctl restart daemon/service) work before upgrade systemd* to 236-1.
> 
> 	If I manually start those daemon/service (eg: /usr/sbin/smbd -D), it work. (smbd can share/stat the /disk mount point) 
> 
> 	I think daemon/service start with systemctl start daemon/service, is not updated the mount point (namespace?),
> 	which is mounted by manually, not mounted on boot.
> 
> 	If I manually start smbd, I can see all (including /disk) the mount point with this command "cat /proc/pid-of-smbd/{mountinfo,mountstats,mounts}",
> 	But if I start smbd with systemctl (re)start smbd.service, I CAN NOT see /disk mount point with this command "cat /proc/pid-of-smbd/{mountinfo,mountstats,mounts}",
> 
> 	Sorry for my bad english, and please let me know, if need any/more information.
> 
> 	Please help, and thank you.

Can you please break that down into a minimal test case which would
allow to reproduce the problem.



-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-systemd-maintainers/attachments/20171228/d7b0e834/attachment.sig>


More information about the Pkg-systemd-maintainers mailing list