[systemd-bugs] [Bug 87602] New: systemd-user not working with .mount's

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Dec 22 09:43:46 PST 2014


https://bugs.freedesktop.org/show_bug.cgi?id=87602

            Bug ID: 87602
           Summary: systemd-user not working with .mount's
           Product: systemd
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: general
          Assignee: systemd-bugs at lists.freedesktop.org
          Reporter: devkid at devkid.net
        QA Contact: systemd-bugs at lists.freedesktop.org

systemctl --user start <unit>.mount won't work because it uses the -n
(--no-mtab) for mount, which is not permitted for non-root users.

Example:

$ cat ~/.config/systemd/user/home-devkid-Mounts-eeets.mount
[Mount]
What=sshfs#eeets:
Where=/home/devkid/Mounts/eeets
Type=fuse
Options=idmap=user,workaround=rename
$ systemctl --user start home-devkid-Mounts-eeets.mount
Job for home-devkid-Mounts-eeets.mount failed. See "systemctl status
home-devkid-Mounts-eeets.mount" and "journalctl -xe" for details.
$ journalctl -xe
Dez 22 18:41:32 desktop systemd[1887]: Mounting /home/devkid/Mounts/eeets...
-- Subject: Unit UNIT has begun with start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit UNIT has begun starting up.
Dez 22 18:41:32 desktop systemd[1887]: home-devkid-Mounts-eeets.mount mount
process exited, code=exited status=1
Dez 22 18:41:32 desktop systemd[1887]: Failed to mount
/home/devkid/Mounts/eeets.
-- Subject: Unit UNIT has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit UNIT has failed.
-- 
-- The result is failed.
Dez 22 18:41:32 desktop systemd[1887]: Unit home-devkid-Mounts-eeets.mount
entered failed state.
Dez 22 18:41:32 desktop mount[5648]: mount: nur »root« kann die Option
»--no-mtab« verwenden

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20141222/5a7f4f91/attachment.html>


More information about the systemd-bugs mailing list