[prev in list] [next in list] [prev in thread] [next in thread] 

List:       systemd-bugs
Subject:    [systemd-bugs] [Bug 81529] New: systemd x-systemd.device-timeout option breaks automount
From:       bugzilla-daemon () freedesktop ! org
Date:       2014-07-19 10:40:39
Message-ID: bug-81529-30410 () http ! bugs ! freedesktop ! org/
[Download RAW message or body]

--1405766439.f2B50.15752
Date: Sat, 19 Jul 2014 10:40:38 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"

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

          Priority: medium
            Bug ID: 81529
          Assignee: systemd-bugs@lists.freedesktop.org
           Summary: systemd x-systemd.device-timeout option breaks
                    automount
        QA Contact: systemd-bugs@lists.freedesktop.org
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: blondie85@mail.ru
          Hardware: Other
            Status: NEW
           Version: unspecified
         Component: general
           Product: systemd

I try to set automount for sshfs.
The problem is if x-systemd.device-timeout=x is in the middle of option list in
fstab systemd automount is not working (can't mount that filesystem)

/etc/fstab
user@192.168.1.101:/var/cache/pacman/pkg /var/cache/pacman/pkg fuse.sshfs
defaults,port=2222,allow_root,reconnect,_netdev,noauto,x-systemd.device-timeout=10,Ide \
ntityFile=/home/user/.ssh/sshfs/sshfs,UserKnownHostsFile=/home/user/.ssh/known_hosts,x-systemd.automount
 0 0

systemctl status var-cache-pacman-pkg.mount
(...)
Process: 2490 ExecMount=/bin/mount -n user@192.168.1.101:/var/cache/pacman/pkg
/var/cache/pacman/pkg -t fuse.sshfs -o
defaults,port=2222,allow_root,reconnect,_netdev,noautoIdentityFile=/home/user/.ssh/sshfs/sshfs,UserKnownHostsFile=/home/user/.ssh/known_hosts,x-systemd.automount
 (code=exited, status=1/FAILURE)


^systemd can't parse it right, 'noautoIdentityFile' x-systemd.device-timeout
disappears and no comma


If I move x-systemd.device-timeout at the end of option list in /etc/fstab:
user@192.168.1.101:/var/cache/pacman/pkg /var/cache/pacman/pkg fuse.sshfs
defaults,port=2222,allow_root,reconnect,_netdev,noauto,IdentityFile=/home/user/.ssh/ss \
hfs/sshfs,UserKnownHostsFile=/home/user/.ssh/known_hosts,x-systemd.automount,x-systemd.device-timeout=10
 0 0

everything is working fine


Archlinux
systemd 215-4

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.

--1405766439.f2B50.15752
Date: Sat, 19 Jul 2014 10:40:39 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"

<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - systemd x-systemd.device-timeout option breaks automount"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=81529">81529</a>
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>systemd-bugs&#64;lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>systemd x-systemd.device-timeout option breaks automount
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>systemd-bugs&#64;lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>blondie85&#64;mail.ru
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>general
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>systemd
          </td>
        </tr></table>
      <p>
        <div>
        <pre>I try to set automount for sshfs.
The problem is if x-systemd.device-timeout=x is in the middle of option list in
fstab systemd automount is not working (can't mount that filesystem)

/etc/fstab
<a href="mailto:user&#64;192.168.1.101">user&#64;192.168.1.101</a>:/var/cache/pacman/pkg \
/var/cache/pacman/pkg fuse.sshfs \
defaults,port=2222,allow_root,reconnect,_netdev,noauto,x-systemd.device-timeout=10,Ide \
ntityFile=/home/user/.ssh/sshfs/sshfs,UserKnownHostsFile=/home/user/.ssh/known_hosts,x-systemd.automount
 0 0

systemctl status var-cache-pacman-pkg.mount
(...)
Process: 2490 ExecMount=/bin/mount -n <a \
                href="mailto:user&#64;192.168.1.101">user&#64;192.168.1.101</a>:/var/cache/pacman/pkg
                
/var/cache/pacman/pkg -t fuse.sshfs -o
defaults,port=2222,allow_root,reconnect,_netdev,noautoIdentityFile=/home/user/.ssh/sshfs/sshfs,UserKnownHostsFile=/home/user/.ssh/known_hosts,x-systemd.automount
 (code=exited, status=1/FAILURE)


^systemd can't parse it right, 'noautoIdentityFile' x-systemd.device-timeout
disappears and no comma


If I move x-systemd.device-timeout at the end of option list in /etc/fstab:
<a href="mailto:user&#64;192.168.1.101">user&#64;192.168.1.101</a>:/var/cache/pacman/pkg \
/var/cache/pacman/pkg fuse.sshfs \
defaults,port=2222,allow_root,reconnect,_netdev,noauto,IdentityFile=/home/user/.ssh/ss \
hfs/sshfs,UserKnownHostsFile=/home/user/.ssh/known_hosts,x-systemd.automount,x-systemd.device-timeout=10
 0 0

everything is working fine


Archlinux
systemd 215-4</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>

--1405766439.f2B50.15752--



_______________________________________________
systemd-bugs mailing list
systemd-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-bugs


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic