[pulseaudio-tickets] [Bug 44680] New: "Daemon startup failed" due to "Failed to remove stale UNIX socket" and NFS-mounted homes

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Jan 11 07:28:38 PST 2012


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

             Bug #: 44680
           Summary: "Daemon startup failed" due to "Failed to remove stale
                    UNIX socket" and NFS-mounted homes
    Classification: Unclassified
           Product: PulseAudio
           Version: unspecified
          Platform: x86-64 (AMD64)
        OS/Version: Linux (All)
            Status: NEW
          Severity: critical
          Priority: medium
         Component: daemon
        AssignedTo: pulseaudio-bugs at lists.freedesktop.org
        ReportedBy: schwenk at math.udel.edu
         QAContact: pulseaudio-bugs at lists.freedesktop.org
                CC: lennart at poettering.net


When a user that has an NFS-mounted home directory logs into a Linux machine
(tried Ubuntu 11.10 and Fedora 13, both x86 and x86_64), PulseAudio will not
start.  Users with homes on the local disk filesystem are not affected.

Looking in the syslog, we early on see the following:

Jan 10 12:38:28 mars pulseaudio[2052]: [pulseaudio] module-dbus-protocol.c:
dbus_server_listen() failed: org.freedesktop.DBus.Error.BadAddress: Abstract
socket name too long
Jan 10 12:38:28 mars pulseaudio[2052]: [pulseaudio] module-dbus-protocol.c:
Starting the local D-Bus server failed.

Looking in the logs, after the above, we see repeated the following related
messages:

Jan 10 12:38:58 mars pulseaudio[2260]: [pulseaudio] module-protocol-stub.c:
Failed to remove stale UNIX socket '/Network/Servers/<fqdn of
server>/Volumes/Homes/jdoe/.pulse/e735d8c8be6377c9aa3f7b4c000005f9-runtime/native':
No such file or directory
Jan 10 12:38:58 mars pulseaudio[2260]: [pulseaudio] module.c: Failed to load
module "module-native-protocol-unix" (argument: ""): initialization failed.
Jan 10 12:38:58 mars pulseaudio[2260]: [pulseaudio] main.c: Module load failed.
Jan 10 12:38:58 mars pulseaudio[2260]: [pulseaudio] main.c: Failed to
initialize daemon.
Jan 10 12:38:58 mars pulseaudio[2257]: [pulseaudio] main.c: Daemon startup
failed.

If we look in the user's home directory, we see that ~/.pulse/###-runtime is a
symlink to a random directory in /tmp, e.g. /tmp/pulse-2L9K88eMlGn7.  In that
random local directory, there is a socket named 'nati', not 'native' like the
error messages indicate is expected.  It seems that the socket doesn't get
created with the expected name.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the pulseaudio-bugs mailing list