Package: mount
Version: 2.13-8
Severity: important
The relevant line in my /etc/fstab looks like this:
//ipmfas/ofm-projekte /ipmfas/ofm-projekte cifs
user,noauto,credentials=/home/sts/.credentials,uid=1001,gid=1000,exec 0 1
On an etch system with mount-2.12 the command 'mount /ipmfas/ofm-projekte'
works without complaints
On my testing-laptop I get
[EMAIL PROTECTED]:~$ mount /ipmfas/ofm-projekte
mount error: improperly formatted UNC name. /ipmfas/ofm-projekte does not begin
with \\ or //
No ip address specified and hostname not found
If I pass the arguments to mount.cifs (1.10-3.0.26a) by hand, the mount
succeeds (as root).
Here are the last lines of strace mount /ipmfas/ofm-projekte
read(3, "# /etc/fstab: static file system"..., 4096) = 1097
read(3, "", 4096) = 0
close(3) = 0
munmap(0xb7b15000, 4096) = 0
readlink("/ipmfas", 0xbf8255fb, 4096) = -1 EINVAL (Invalid argument)
readlink("/ipmfas/ofm-projekte", 0xbf8255fb, 4096) = -1 EINVAL (Invalid
argument)
readlink("/ipmfas", 0xbf82551b, 4096) = -1 EINVAL (Invalid argument)
readlink("/ipmfas/ofm-projekte", 0xbf82551b, 4096) = -1 EINVAL (Invalid
argument)
stat64("/sbin/mount.cifs", {st_mode=S_IFREG|S_ISUID|0755, st_size=22628, ...})
= 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD,
child_tidptr=0xb7d4e6f8) = 4992
mount error: improperly formatted UNC name. /ipmfas/ofm-projekte does not begin
with \\ or //
No ip address specified and hostname not found
--- SIGCHLD (Child exited) @ 0 (0) ---
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 255}], 0, NULL) = 4992
exit_group(255) = ?
Process 4991 detached
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (900, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.22-2-686 (SMP w/1 CPU core)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash
Versions of packages mount depends on:
ii libblkid1 1.40.2-1 block device id library
ii libc6 2.6.1-1+b1 GNU C Library: Shared libraries
ii libselinux1 2.0.15-2+b1 SELinux shared libraries
ii libuuid1 1.40.2-1 universally unique id library
mount recommends no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]