[systemd-devel] Is StandardOutput in systemd.mount units ignored?

Miklos Vajna vmiklos at frugalware.org
Wed Sep 14 10:17:03 PDT 2011


On Tue, Sep 13, 2011 at 05:44:40PM +0200, Lennart Poettering <lennart at poettering.net> wrote:
> > The later, systemd uses mount() directly, not via /bin/mount. See
> > src/mount-setup.c.
> 
> Nah, this is not entirely true.
> 
> We mount the virtual API file systems such as as /proc or /sys with
> mount() system calls, but normal file systems via /bin/mount, since that
> is part of the FS mounting API. (i.e. think smbfs and others with mount
> "plugins" via /sbin/mount.smbfs and so on).
> 
> In fact, the default of StandardOutput= should already by syslog for all
> mount units, and it should work. If it doesn't work, it's a bug that
> should be fixed.

Ah, true, thanks for the correction.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20110914/9d3fba70/attachment.pgp>


More information about the systemd-devel mailing list