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

johnw johnw.mail at gmail.com
Fri Dec 29 01:14:25 GMT 2017


Forget to CC bug(#885325) tracker  :)


Michael Biebl 於 2017-12-29 04:33 寫到:
> 
> Can you please break that down into a minimal test case which would
> allow to reproduce the problem.

OK, create mount point /disk, in my case is encrypted by luks,
and not mount on boot.

After the system boot up, ssh login the system, and mount /disk,

Use systemctl to start service/daemon need to access /disk,
(eg: systemctl (re)start smbd.service)
the service/daemon (smbd) will NOT access/stat /disk,

But if I NOT use systemctl to start service/daemon,
(eg: /usr/sbin/smbd -D)
smbd can access/stat /disk normally

And this problem only appear, after upgrade systemd* to 236-1,
It work well before upgrade.

Please help, and thank you.

-- 
Key fingerprint: CDB3 6C62 254B C088 1E5D DD32 182C 97DB CF2C 80AC




More information about the Pkg-systemd-maintainers mailing list