[Pkg-samba-maint] Bug#532153: smbfs: fsetxattr fails with smbmount from Debian/amd64 to Debian/i386

Arthur Marsh arthur.marsh at internode.on.net
Sun Jun 7 06:24:19 UTC 2009


Package: smbfs
Version: 2:3.3.4-2
Severity: normal


I attempted to run make-kpkg on a filesystem mounted with
smbmount.

The server settings are:

smb.conf:

[global]
        workgroup = MSHOME
        server string = %h server (Samba %v)
        passdb backend = tdbsam
        passwd program = /usr/bin/passwd %u
        passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spas
sword:* %n\n .
        syslog = 0
        log file = /var/log/samba/log.%m
        max log size = 1000
        printcap name = cups
        dns proxy = No
        ldap ssl = no
        panic action = /usr/share/samba/panic-action %d
        use client driver = Yes

[src]
        comment = source directory on victoria
        path = /usr/src
        valid users = root
        admin users = root
        read list = root
        write list = root
        read only = No
        hosts allow = 192.168.1.101

The client settings are:

//192.168.1.100/src /vicsrc     cifs    rw,user=root,password=secret,serverino 0 0

The strace of the error was:

open("/usr/share/kernel-package/rules", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0755, st_size=3484, ...}) = 0
open("debian/rules", O_WRONLY|O_CREAT|O_EXCL, 0755) = 4
fstat(4, {st_mode=S_IFREG|0744, st_size=0, ...}) = 0
read(3, "#! /usr/bin/make -f\n############"..., 32768) = 3484
write(4, "#! /usr/bin/make -f\n############"..., 3484) = 3484
read(3, "", 32768)                      = 0
utimensat(4, NULL, {{1244348633, 0}, {1242242365, 0}}, 0) = 0
fsetxattr(4, "system.posix_acl_access", "\x02\x00\x00\x00\x01\x00\x06\x00\xff\xff\xff\xff\x04\x00\x00\x00\xff\xff\xff\xff \x00\x00\x00\xff\xff\xff\xff", 28, 0) = -1 EACCES (Permission denied)



-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.30-rc8 (SMP w/1 CPU core; PREEMPT)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages smbfs depends on:
ii  libc6                    2.9-13          GNU C Library: Shared libraries
ii  libcap2                  1:2.16-5        support for getting/setting POSIX.
ii  libcomerr2               1.41.6-1        common error description library
ii  libgssapi-krb5-2         1.7dfsg~beta3-1 MIT Kerberos runtime libraries - k
ii  libk5crypto3             1.7dfsg~beta3-1 MIT Kerberos runtime libraries - C
ii  libkeyutils1             1.2-10          Linux Key Management Utilities (li
ii  libkrb5-3                1.7dfsg~beta3-1 MIT Kerberos runtime libraries
ii  libldap-2.4-2            2.4.15-1.1      OpenLDAP libraries
ii  libpopt0                 1.14-4          lib for parsing cmdline parameters
ii  libtalloc1               1.3.0-1         hierarchical pool based memory all
ii  libwbclient0             2:3.3.4-2       Samba winbind client library
ii  netbase                  4.34            Basic TCP/IP networking system
ii  samba-common             2:3.3.4-2       common files used by both the Samb

smbfs recommends no packages.

Versions of packages smbfs suggests:
ii  smbclient                     2:3.3.4-2  command-line SMB/CIFS clients for 

-- debconf-show failed





More information about the Pkg-samba-maint mailing list