[systemd-devel] Possible approach for warning about needing persistent data

David Strauss david at davidstrauss.net
Tue Jul 10 12:49:53 PDT 2012


Right now, there's a warning to unprivileged users that they can only
see their own logs. This is a misleading out of the box because such
users can never see logs until they create /var/log/journal and
entries exist for the user log. I would especially like feedback on
whether it's going too far to use -ENODATA (or if a different error
related to access would be better) for inability to find readable
logs.

-- 
David Strauss
   | david at davidstrauss.net
   | +1 512 577 5827 [mobile]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-a-SD_JOURNAL_PERSISTENT_ONLY-for-loading-journal.patch
Type: application/octet-stream
Size: 6378 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20120710/de38951e/attachment.obj>


More information about the systemd-devel mailing list