[pulseaudio-tickets] [PulseAudio] #539: pulseaudio doesn't work on ntfs $HOME (was: pulseaudio hangs, prevents login, home as ntfs)

PulseAudio trac-noreply at tango.0pointer.de
Mon Apr 13 18:04:34 PDT 2009


#539: pulseaudio doesn't work on ntfs $HOME
------------------------+---------------------------------------------------
  Reporter:  joshsmith  |       Owner:  lennart
      Type:  defect     |      Status:  closed 
  Priority:  normal     |   Milestone:         
 Component:  daemon     |    Severity:  normal 
Resolution:  wontfix    |    Keywords:         
------------------------+---------------------------------------------------
Changes (by lennart):

  * status:  new => closed
  * resolution:  => wontfix


Old description:

> I have my home directory on an ntfs drive. fstab line for the ntfs drive
> is
> UUID=DA103AC5103AA901 /windows ntfs defaults,umask=022,uid=1001,gid=1001
> 0 1
>
> Log in as user 1001
>
> Login screen disappears, goes to ubuntu brown background, and just waits.
> Can still move mouse, but no visual progress on screen (waited several
> times more than one minute). Then run
> $ killall pulseaudio
> from tty or from ssh from another computer, and then gnome loads, the
> panel appears, and everything (except for pulseaudio) works fine
>
> Note that uninstalling pulseaudio (and everything related) lets me log in
> fine
> Note that having my home directory on an ext3 drive works fine (sound
> works properly from pulseaudio too).
> I also used an empty home folder for testing.
>
> This kind of setup previously worked. On ubuntu hardy and intrepid,
> pulseaudio performed fine on a home directory on an ntfs drive. Does not
> work on jaunty
>
> The .xsessions-errors give the following information about pulseaudio
>
> I: caps.c: Limited capabilities successfully to CAP_SYS_NICE.
> I: caps.c: Dropping root privileges.
> I: caps.c: Limited capabilities successfully to CAP_SYS_NICE.
> N: main.c: Called SUID root and real-time and/or high-priority scheduling
> was requested in the configuration. However, we lack the necessary
> privileges:
> N: main.c: We are not in group 'pulse-rt', PolicyKit refuse to grant us
> the requested privileges and we have no increase
> RLIMIT_NICE/RLIMIT_RTPRIO resource limits.
> N: main.c: For enabling real-time/high-priority scheduling please acquire
> the appropriate PolicyKit privileges, or become a member of 'pulse-rt',
> or increase the RLIMIT_NICE/RLIMIT_RTPRIO resource limits for this user.
> E: core-util.c: Failed to create secure directory: Permission denied
> W: lock-autospawn.c: Cannot access autospawn lock.
> Terminated
>
> The terminated is where I killed it, and everything else in the
> .xsessions-errors file looks fine
>
> I have tried this setup on two laptops.
> Happy to give more info.
>
> $ lsb_release -rd
> Description: Ubuntu jaunty (development branch)
> Release: 9.04
>
> $ apt-cache policy pulseaudio
> pulseaudio:
>   Installed: 0.9.14-0ubuntu6
>   Candidate: 0.9.14-0ubuntu6
>   Version table:
>  *** 0.9.14-0ubuntu6 0
>         500 http://archive.ubuntu.com jaunty/main Packages
>         100 /var/lib/dpkg/status
>
> Reported originally here:
> https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/330766

New description:

 I have my home directory on an ntfs drive. fstab line for the ntfs drive
 is
 UUID=DA103AC5103AA901 /windows ntfs defaults,umask=022,uid=1001,gid=1001 0
 1

 Log in as user 1001

 Login screen disappears, goes to ubuntu brown background, and just waits.
 Can still move mouse, but no visual progress on screen (waited several
 times more than one minute). Then run
 $ killall pulseaudio
 from tty or from ssh from another computer, and then gnome loads, the
 panel appears, and everything (except for pulseaudio) works fine

 Note that uninstalling pulseaudio (and everything related) lets me log in
 fine
 Note that having my home directory on an ext3 drive works fine (sound
 works properly from pulseaudio too).
 I also used an empty home folder for testing.

 This kind of setup previously worked. On ubuntu hardy and intrepid,
 pulseaudio performed fine on a home directory on an ntfs drive. Does not
 work on jaunty

 The .xsessions-errors give the following information about pulseaudio

 {{{
 I: caps.c: Limited capabilities successfully to CAP_SYS_NICE.
 I: caps.c: Dropping root privileges.
 I: caps.c: Limited capabilities successfully to CAP_SYS_NICE.
 N: main.c: Called SUID root and real-time and/or high-priority scheduling
 was requested in the configuration. However, we lack the necessary
 privileges:
 N: main.c: We are not in group 'pulse-rt', PolicyKit refuse to grant us
 the requested privileges and we have no increase RLIMIT_NICE/RLIMIT_RTPRIO
 resource limits.
 N: main.c: For enabling real-time/high-priority scheduling please acquire
 the appropriate PolicyKit privileges, or become a member of 'pulse-rt', or
 increase the RLIMIT_NICE/RLIMIT_RTPRIO resource limits for this user.
 E: core-util.c: Failed to create secure directory: Permission denied
 W: lock-autospawn.c: Cannot access autospawn lock.
 Terminated
 }}}

 The terminated is where I killed it, and everything else in the
 .xsessions-errors file looks fine

 I have tried this setup on two laptops.
 Happy to give more info.

 $ lsb_release -rd
 Description: Ubuntu jaunty (development branch)
 Release: 9.04

 $ apt-cache policy pulseaudio
 pulseaudio:
   Installed: 0.9.14-0ubuntu6
   Candidate: 0.9.14-0ubuntu6
   Version table:
  *** 0.9.14-0ubuntu6 0
         500 http://archive.ubuntu.com jaunty/main Packages
         100 /var/lib/dpkg/status

 Reported originally here:
 https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/330766

--

Comment:

 Yes, PA assumes a POSIXish file system with permissions and symlinks and
 stuff.

 I am pretty sure PA is not going to be the only thing that breaks if you
 try something like that.

 PA assume availability of permissions/symlinks in $HOME and unix sockets
 in /tmp.

-- 
Ticket URL: <http://pulseaudio.org/ticket/539#comment:1>
PulseAudio <http://pulseaudio.org/>
The PulseAudio Sound Server


More information about the pulseaudio-bugs mailing list