[Desktop-packages] [Bug 1152137] Re: Pulseaudio won't start when home directory not owned by user
the fix is in the current pulseaudio version in focal now ** Changed in: pulseaudio (Ubuntu) Status: Triaged => Fix Released -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to pulseaudio in Ubuntu. https://bugs.launchpad.net/bugs/1152137 Title: Pulseaudio won't start when home directory not owned by user Status in pulseaudio package in Ubuntu: Fix Released Bug description: I have an NFS mounted home directory on a dedicated fileserver which is shared with Windows PCs via SMB. The home directory is not owned by me. ACLs are set on it to allow me full control of the contents but prevent me from changing its permissions. This means any files or directories created in the home directory are owned by me even though the top level is not. Pulseaudio checks the home directory is owned by the user at startup and exits if it isn't. This stops it running on my system. I have recompiled pulseaudio without this check and it works fine. Please either remove or modify the following startup check: pulseaudio-1.1/src/pulsecore/src/pulsecore/core-util.c line 1415: if (st.st_uid != getuid()) { pa_log_error("Home directory %s not ours.", h); errno = EACCES; goto finish; } A better check would be for pulseaudio to try and create the files/folders it needs and fail if it cannot. I am using Ubuntu 12.04 and pulseaudio 1:1.1-0ubuntu15.2. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1152137/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1152137] Re: Pulseaudio won't start when home directory not owned by user
Great, thanks. ** Changed in: pulseaudio (Ubuntu) Assignee: (unassigned) => Nick Moriarty (nick-moriarty) ** Changed in: pulseaudio (Ubuntu) Status: Confirmed => Triaged ** Tags added: fixed-in-14.0 fixed-upstream -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to pulseaudio in Ubuntu. https://bugs.launchpad.net/bugs/1152137 Title: Pulseaudio won't start when home directory not owned by user Status in pulseaudio package in Ubuntu: Triaged Bug description: I have an NFS mounted home directory on a dedicated fileserver which is shared with Windows PCs via SMB. The home directory is not owned by me. ACLs are set on it to allow me full control of the contents but prevent me from changing its permissions. This means any files or directories created in the home directory are owned by me even though the top level is not. Pulseaudio checks the home directory is owned by the user at startup and exits if it isn't. This stops it running on my system. I have recompiled pulseaudio without this check and it works fine. Please either remove or modify the following startup check: pulseaudio-1.1/src/pulsecore/src/pulsecore/core-util.c line 1415: if (st.st_uid != getuid()) { pa_log_error("Home directory %s not ours.", h); errno = EACCES; goto finish; } A better check would be for pulseaudio to try and create the files/folders it needs and fail if it cannot. I am using Ubuntu 12.04 and pulseaudio 1:1.1-0ubuntu15.2. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1152137/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1152137] Re: Pulseaudio won't start when home directory not owned by user
A fix for this has been merged upstream: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/merge_requests/134 I believe this should make it into the 14.0 release. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to pulseaudio in Ubuntu. https://bugs.launchpad.net/bugs/1152137 Title: Pulseaudio won't start when home directory not owned by user Status in pulseaudio package in Ubuntu: Confirmed Bug description: I have an NFS mounted home directory on a dedicated fileserver which is shared with Windows PCs via SMB. The home directory is not owned by me. ACLs are set on it to allow me full control of the contents but prevent me from changing its permissions. This means any files or directories created in the home directory are owned by me even though the top level is not. Pulseaudio checks the home directory is owned by the user at startup and exits if it isn't. This stops it running on my system. I have recompiled pulseaudio without this check and it works fine. Please either remove or modify the following startup check: pulseaudio-1.1/src/pulsecore/src/pulsecore/core-util.c line 1415: if (st.st_uid != getuid()) { pa_log_error("Home directory %s not ours.", h); errno = EACCES; goto finish; } A better check would be for pulseaudio to try and create the files/folders it needs and fail if it cannot. I am using Ubuntu 12.04 and pulseaudio 1:1.1-0ubuntu15.2. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1152137/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1152137] Re: Pulseaudio won't start when home directory not owned by user
** Tags removed: trusty -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to pulseaudio in Ubuntu. https://bugs.launchpad.net/bugs/1152137 Title: Pulseaudio won't start when home directory not owned by user Status in pulseaudio package in Ubuntu: Confirmed Bug description: I have an NFS mounted home directory on a dedicated fileserver which is shared with Windows PCs via SMB. The home directory is not owned by me. ACLs are set on it to allow me full control of the contents but prevent me from changing its permissions. This means any files or directories created in the home directory are owned by me even though the top level is not. Pulseaudio checks the home directory is owned by the user at startup and exits if it isn't. This stops it running on my system. I have recompiled pulseaudio without this check and it works fine. Please either remove or modify the following startup check: pulseaudio-1.1/src/pulsecore/src/pulsecore/core-util.c line 1415: if (st.st_uid != getuid()) { pa_log_error("Home directory %s not ours.", h); errno = EACCES; goto finish; } A better check would be for pulseaudio to try and create the files/folders it needs and fail if it cannot. I am using Ubuntu 12.04 and pulseaudio 1:1.1-0ubuntu15.2. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1152137/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1152137] Re: Pulseaudio won't start when home directory not owned by user
** Changed in: pulseaudio (Ubuntu) Status: Incomplete => New ** Tags added: trusty xenial ** Changed in: pulseaudio (Ubuntu) Status: New => Confirmed ** Changed in: pulseaudio (Ubuntu) Importance: Undecided => Medium -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to pulseaudio in Ubuntu. https://bugs.launchpad.net/bugs/1152137 Title: Pulseaudio won't start when home directory not owned by user Status in pulseaudio package in Ubuntu: Confirmed Bug description: I have an NFS mounted home directory on a dedicated fileserver which is shared with Windows PCs via SMB. The home directory is not owned by me. ACLs are set on it to allow me full control of the contents but prevent me from changing its permissions. This means any files or directories created in the home directory are owned by me even though the top level is not. Pulseaudio checks the home directory is owned by the user at startup and exits if it isn't. This stops it running on my system. I have recompiled pulseaudio without this check and it works fine. Please either remove or modify the following startup check: pulseaudio-1.1/src/pulsecore/src/pulsecore/core-util.c line 1415: if (st.st_uid != getuid()) { pa_log_error("Home directory %s not ours.", h); errno = EACCES; goto finish; } A better check would be for pulseaudio to try and create the files/folders it needs and fail if it cannot. I am using Ubuntu 12.04 and pulseaudio 1:1.1-0ubuntu15.2. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1152137/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1152137] Re: Pulseaudio won't start when home directory not owned by user
The attachment "pulse.patch" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team. [This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.] ** Tags added: patch -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to pulseaudio in Ubuntu. https://bugs.launchpad.net/bugs/1152137 Title: Pulseaudio won't start when home directory not owned by user Status in pulseaudio package in Ubuntu: Incomplete Bug description: I have an NFS mounted home directory on a dedicated fileserver which is shared with Windows PCs via SMB. The home directory is not owned by me. ACLs are set on it to allow me full control of the contents but prevent me from changing its permissions. This means any files or directories created in the home directory are owned by me even though the top level is not. Pulseaudio checks the home directory is owned by the user at startup and exits if it isn't. This stops it running on my system. I have recompiled pulseaudio without this check and it works fine. Please either remove or modify the following startup check: pulseaudio-1.1/src/pulsecore/src/pulsecore/core-util.c line 1415: if (st.st_uid != getuid()) { pa_log_error("Home directory %s not ours.", h); errno = EACCES; goto finish; } A better check would be for pulseaudio to try and create the files/folders it needs and fail if it cannot. I am using Ubuntu 12.04 and pulseaudio 1:1.1-0ubuntu15.2. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1152137/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1152137] Re: Pulseaudio won't start when home directory not owned by user
Hi, This still affects both 14.04 and 16.04 (and probably affects the newer non-LTS releases). We apply a patch downstream, which I've attached. Regards ** Patch added: "pulse.patch" https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1152137/+attachment/4879559/+files/pulse.patch -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to pulseaudio in Ubuntu. https://bugs.launchpad.net/bugs/1152137 Title: Pulseaudio won't start when home directory not owned by user Status in pulseaudio package in Ubuntu: Incomplete Bug description: I have an NFS mounted home directory on a dedicated fileserver which is shared with Windows PCs via SMB. The home directory is not owned by me. ACLs are set on it to allow me full control of the contents but prevent me from changing its permissions. This means any files or directories created in the home directory are owned by me even though the top level is not. Pulseaudio checks the home directory is owned by the user at startup and exits if it isn't. This stops it running on my system. I have recompiled pulseaudio without this check and it works fine. Please either remove or modify the following startup check: pulseaudio-1.1/src/pulsecore/src/pulsecore/core-util.c line 1415: if (st.st_uid != getuid()) { pa_log_error("Home directory %s not ours.", h); errno = EACCES; goto finish; } A better check would be for pulseaudio to try and create the files/folders it needs and fail if it cannot. I am using Ubuntu 12.04 and pulseaudio 1:1.1-0ubuntu15.2. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1152137/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1152137] Re: Pulseaudio won't start when home directory not owned by user
Thanks Nick. Happy to keep this bug open. Please just let us know specifically what current Ubuntu version(s) it is still a problem on. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to pulseaudio in Ubuntu. https://bugs.launchpad.net/bugs/1152137 Title: Pulseaudio won't start when home directory not owned by user Status in pulseaudio package in Ubuntu: Incomplete Bug description: I have an NFS mounted home directory on a dedicated fileserver which is shared with Windows PCs via SMB. The home directory is not owned by me. ACLs are set on it to allow me full control of the contents but prevent me from changing its permissions. This means any files or directories created in the home directory are owned by me even though the top level is not. Pulseaudio checks the home directory is owned by the user at startup and exits if it isn't. This stops it running on my system. I have recompiled pulseaudio without this check and it works fine. Please either remove or modify the following startup check: pulseaudio-1.1/src/pulsecore/src/pulsecore/core-util.c line 1415: if (st.st_uid != getuid()) { pa_log_error("Home directory %s not ours.", h); errno = EACCES; goto finish; } A better check would be for pulseaudio to try and create the files/folders it needs and fail if it cannot. I am using Ubuntu 12.04 and pulseaudio 1:1.1-0ubuntu15.2. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1152137/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1152137] Re: Pulseaudio won't start when home directory not owned by user
This problem is still present on more recent versions of Ubuntu. We currently locally patch it to allow home directories to be owned by either the relevant user, or root. It would be great if this was patched upstream. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to pulseaudio in Ubuntu. https://bugs.launchpad.net/bugs/1152137 Title: Pulseaudio won't start when home directory not owned by user Status in pulseaudio package in Ubuntu: Incomplete Bug description: I have an NFS mounted home directory on a dedicated fileserver which is shared with Windows PCs via SMB. The home directory is not owned by me. ACLs are set on it to allow me full control of the contents but prevent me from changing its permissions. This means any files or directories created in the home directory are owned by me even though the top level is not. Pulseaudio checks the home directory is owned by the user at startup and exits if it isn't. This stops it running on my system. I have recompiled pulseaudio without this check and it works fine. Please either remove or modify the following startup check: pulseaudio-1.1/src/pulsecore/src/pulsecore/core-util.c line 1415: if (st.st_uid != getuid()) { pa_log_error("Home directory %s not ours.", h); errno = EACCES; goto finish; } A better check would be for pulseaudio to try and create the files/folders it needs and fail if it cannot. I am using Ubuntu 12.04 and pulseaudio 1:1.1-0ubuntu15.2. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1152137/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1152137] Re: Pulseaudio won't start when home directory not owned by user
Thank you for reporting this bug to Ubuntu. Ubuntu 12.04 (precise) reached end-of-life on April 28, 2017. See this document for currently supported Ubuntu releases: https://wiki.ubuntu.com/Releases We appreciate that this bug may be old and you might not be interested in discussing it any more. But if you are then please upgrade to the latest Ubuntu version and re-test. ** Changed in: pulseaudio (Ubuntu) Status: Confirmed => Incomplete -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to pulseaudio in Ubuntu. https://bugs.launchpad.net/bugs/1152137 Title: Pulseaudio won't start when home directory not owned by user Status in pulseaudio package in Ubuntu: Incomplete Bug description: I have an NFS mounted home directory on a dedicated fileserver which is shared with Windows PCs via SMB. The home directory is not owned by me. ACLs are set on it to allow me full control of the contents but prevent me from changing its permissions. This means any files or directories created in the home directory are owned by me even though the top level is not. Pulseaudio checks the home directory is owned by the user at startup and exits if it isn't. This stops it running on my system. I have recompiled pulseaudio without this check and it works fine. Please either remove or modify the following startup check: pulseaudio-1.1/src/pulsecore/src/pulsecore/core-util.c line 1415: if (st.st_uid != getuid()) { pa_log_error("Home directory %s not ours.", h); errno = EACCES; goto finish; } A better check would be for pulseaudio to try and create the files/folders it needs and fail if it cannot. I am using Ubuntu 12.04 and pulseaudio 1:1.1-0ubuntu15.2. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1152137/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1152137] Re: Pulseaudio won't start when home directory not owned by user
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: pulseaudio (Ubuntu) Status: New = Confirmed -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to pulseaudio in Ubuntu. https://bugs.launchpad.net/bugs/1152137 Title: Pulseaudio won't start when home directory not owned by user Status in “pulseaudio” package in Ubuntu: Confirmed Bug description: I have an NFS mounted home directory on a dedicated fileserver which is shared with Windows PCs via SMB. The home directory is not owned by me. ACLs are set on it to allow me full control of the contents but prevent me from changing its permissions. This means any files or directories created in the home directory are owned by me even though the top level is not. Pulseaudio checks the home directory is owned by the user at startup and exits if it isn't. This stops it running on my system. I have recompiled pulseaudio without this check and it works fine. Please either remove or modify the following startup check: pulseaudio-1.1/src/pulsecore/src/pulsecore/core-util.c line 1415: if (st.st_uid != getuid()) { pa_log_error(Home directory %s not ours., h); errno = EACCES; goto finish; } A better check would be for pulseaudio to try and create the files/folders it needs and fail if it cannot. I am using Ubuntu 12.04 and pulseaudio 1:1.1-0ubuntu15.2. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1152137/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1152137] Re: Pulseaudio won't start when home directory not owned by user
Remi, thanks for the reply. It isn't really a bug in our setup - more of a feature. We use NetApp fileservers that support multi-mode filestores so we can use NTFS ACLs and Unix permissions on the same filestore. Most of our users use Windows, so home directory access is controlled with Windows ACLs. However, any files created by Linux should have normal Unix permissions. We could have also seen the same problem using NFS4 ACLs instead of NTFS ACLs. I'll have another look at our permissions to see if it is possilble to make the home directory appear to be owned by the user, but it still seems like an unecessary check to me. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to pulseaudio in Ubuntu. https://bugs.launchpad.net/bugs/1152137 Title: Pulseaudio won't start when home directory not owned by user Status in “pulseaudio” package in Ubuntu: New Bug description: I have an NFS mounted home directory on a dedicated fileserver which is shared with Windows PCs via SMB. The home directory is not owned by me. ACLs are set on it to allow me full control of the contents but prevent me from changing its permissions. This means any files or directories created in the home directory are owned by me even though the top level is not. Pulseaudio checks the home directory is owned by the user at startup and exits if it isn't. This stops it running on my system. I have recompiled pulseaudio without this check and it works fine. Please either remove or modify the following startup check: pulseaudio-1.1/src/pulsecore/src/pulsecore/core-util.c line 1415: if (st.st_uid != getuid()) { pa_log_error(Home directory %s not ours., h); errno = EACCES; goto finish; } A better check would be for pulseaudio to try and create the files/folders it needs and fail if it cannot. I am using Ubuntu 12.04 and pulseaudio 1:1.1-0ubuntu15.2. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1152137/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1152137] Re: Pulseaudio won't start when home directory not owned by user
I don't know about this specific code path, but there are security reasons why PulseAudio wants the directory owned by the user. Namely it creates files with predictable names therein. If the home directory is not owned by the user, that looks more like a bug in your setup... -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to pulseaudio in Ubuntu. https://bugs.launchpad.net/bugs/1152137 Title: Pulseaudio won't start when home directory not owned by user Status in “pulseaudio” package in Ubuntu: New Bug description: I have an NFS mounted home directory on a dedicated fileserver which is shared with Windows PCs via SMB. The home directory is not owned by me. ACLs are set on it to allow me full control of the contents but prevent me from changing its permissions. This means any files or directories created in the home directory are owned by me even though the top level is not. Pulseaudio checks the home directory is owned by the user at startup and exits if it isn't. This stops it running on my system. I have recompiled pulseaudio without this check and it works fine. Please either remove or modify the following startup check: pulseaudio-1.1/src/pulsecore/src/pulsecore/core-util.c line 1415: if (st.st_uid != getuid()) { pa_log_error(Home directory %s not ours., h); errno = EACCES; goto finish; } A better check would be for pulseaudio to try and create the files/folders it needs and fail if it cannot. I am using Ubuntu 12.04 and pulseaudio 1:1.1-0ubuntu15.2. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1152137/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp