GNU bug report logs -
#25043
mount is unable to locate mount helpers
Previous Next
Reported by: Tomáš Čech <sleep_walker <at> gnu.org>
Date: Sun, 27 Nov 2016 14:19:01 UTC
Severity: normal
Done: ludo <at> gnu.org (Ludovic Courtès)
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 25043 in the body.
You can then email your comments to 25043 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#25043
; Package
guix
.
(Sun, 27 Nov 2016 14:19:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Tomáš Čech <sleep_walker <at> gnu.org>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Sun, 27 Nov 2016 14:19:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
mount command from util-linux is expecting helpers in /sbin/
directory, which is not available on GuixSD.
If found it when I tried to mount manully NFS:
# mount -t nfs server:/some/path /mnt
Manual page of `mount' - section EXTERNAL HELPERS and strace seems to agree:
...
stat("/sbin/mount.nfs", 0x7ffe421e9080) = -1 ENOENT (No such file or directory)
stat("/sbin/fs.d/mount.nfs", 0x7ffe421e9080) = -1 ENOENT (No such file or directory)
stat("/sbin/fs/mount.nfs", 0x7ffe421e9080) = -1 ENOENT (No such file or directory)
getuid() = 0
geteuid() = 0
getgid() = 0
getegid() = 0
prctl(PR_GET_DUMPABLE) = 1
getuid() = 0
geteuid() = 0
getgid() = 0
getegid() = 0
prctl(PR_GET_DUMPABLE) = 1
stat("/run", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/etc/mtab", {st_mode=S_IFLNK|0777, st_size=17, ...}) = 0
lstat("/run/mount/utab", {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
open("/run/mount/utab", O_RDWR|O_CREAT|O_CLOEXEC, 0644) = 3
close(3) = 0
mount("disk:/", "/mnt", "nfs", MS_MGC_VAL, NULL) = -1 EINVAL (Invalid argument)
write(2, "mount: ", 7mount: ) = 7
write(2, "wrong fs type, bad option, bad s"..., 110wrong fs type, bad option, bad superblock on disk:/,
missing codepage or helper program, or other error) = 110
write(2, "\n", 1
) = 1
write(2, " (for several filesystems "..., 108 (for several filesystems (e.g. nfs, cifs) you might
need a /sbin/mount.<type> helper program)
) = 108
write(2, "\n In some cases useful inf"..., 86
In some cases useful info is found in syslog - try
dmesg | tail or so.
) = 86
close(1) = 0
close(2) = 0
exit_group(32) = ?
+++ exited with 32 +++
The best approach to me seems to patch mount so it search PATH or
introduce some other environment variable to search helpers in.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#25043
; Package
guix
.
(Tue, 29 Nov 2016 11:17:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 25043 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
This was recently fixed in the core-updates branch.
J'
On Sun, Nov 27, 2016 at 03:18:41PM +0100, Tom???? ??ech wrote:
mount command from util-linux is expecting helpers in /sbin/
directory, which is not available on GuixSD.
If found it when I tried to mount manully NFS:
# mount -t nfs server:/some/path /mnt
Manual page of `mount' - section EXTERNAL HELPERS and strace seems to agree:
...
stat("/sbin/mount.nfs", 0x7ffe421e9080) = -1 ENOENT (No such file or directory)
stat("/sbin/fs.d/mount.nfs", 0x7ffe421e9080) = -1 ENOENT (No such file or directory)
stat("/sbin/fs/mount.nfs", 0x7ffe421e9080) = -1 ENOENT (No such file or directory)
getuid() = 0
geteuid() = 0
getgid() = 0
getegid() = 0
prctl(PR_GET_DUMPABLE) = 1
getuid() = 0
geteuid() = 0
getgid() = 0
getegid() = 0
prctl(PR_GET_DUMPABLE) = 1
stat("/run", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/etc/mtab", {st_mode=S_IFLNK|0777, st_size=17, ...}) = 0
lstat("/run/mount/utab", {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
open("/run/mount/utab", O_RDWR|O_CREAT|O_CLOEXEC, 0644) = 3
close(3) = 0
mount("disk:/", "/mnt", "nfs", MS_MGC_VAL, NULL) = -1 EINVAL (Invalid argument)
write(2, "mount: ", 7mount: ) = 7
write(2, "wrong fs type, bad option, bad s"..., 110wrong fs type, bad option, bad superblock on disk:/,
missing codepage or helper program, or other error) = 110
write(2, "\n", 1
) = 1
write(2, " (for several filesystems "..., 108 (for several filesystems (e.g. nfs, cifs) you might
need a /sbin/mount.<type> helper program)
) = 108
write(2, "\n In some cases useful inf"..., 86
In some cases useful info is found in syslog - try
dmesg | tail or so.
) = 86
close(1) = 0
close(2) = 0
exit_group(32) = ?
+++ exited with 32 +++
The best approach to me seems to patch mount so it search PATH or
introduce some other environment variable to search helpers in.
--
Avoid eavesdropping. Send strong encrypted email.
PGP Public key ID: 1024D/2DE827B3
fingerprint = 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3
See http://sks-keyservers.net or any PGP keyserver for public key.
[signature.asc (application/pgp-signature, inline)]
Reply sent
to
ludo <at> gnu.org (Ludovic Courtès)
:
You have taken responsibility.
(Mon, 23 Jan 2017 22:14:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Tomáš Čech <sleep_walker <at> gnu.org>
:
bug acknowledged by developer.
(Mon, 23 Jan 2017 22:14:02 GMT)
Full text and
rfc822 format available.
Message #13 received at 25043-done <at> debbugs.gnu.org (full text, mbox):
John Darrington <john <at> darrington.wattle.id.au> skribis:
> This was recently fixed in the core-updates branch.
Commit d9804e5011a58341aafbf4fadd00947f3e5f436e specifically.
Ludo’.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Tue, 21 Feb 2017 12:24:03 GMT)
Full text and
rfc822 format available.
This bug report was last modified 8 years and 122 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.