Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 832785 - acct-user/pipewire-0 installs into paths that should be created at runtime
Summary: acct-user/pipewire-0 installs into paths that should be created at runtime
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sam James
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: runtime-paths
  Show dependency tree
 
Reported: 2022-02-06 08:06 UTC by Agostino Sarubbo
Modified: 2023-01-28 05:57 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,39.42 KB, text/plain)
2022-02-06 08:06 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2022-02-06 08:06:02 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: acct-user/pipewire-0 installs into paths that should be created at runtime.
Discovered on: amd64 (internal ref: ci)
Comment 1 Agostino Sarubbo gentoo-dev 2022-02-06 08:06:05 UTC
Created attachment 764437 [details]
build.log

build log and emerge --info
Comment 2 Niklāvs Koļesņikovs 2022-02-07 08:12:14 UTC
It's worth noting that the same issue should also be affecting acct-user/pulse-0 which is equally (un)supported.
Comment 3 stealth 2023-01-28 01:34:15 UTC
here because sys-apps/baselayout-2.11 wouldn't merge with acct-user/pipewire installed because of conflicts caused by this bug:

changing the home directory to lib instead of run seems to be all that's needed
i think i have a fix (at least with systemd)
1. in a copy of the ebuild i set ACCT_USER_HOME=/var/lib/pipewire
 
2. i have Environment=HOME=/var/lib/pipewire in overrides for these units:
pipewire.service
pipewire-pulse.service
wireplumber.service

it works fine in this configuration for me, there are no qa warning when emerging acct-user/pipewire-0 and no conflict when re-emerging sys-apps/baselayout
Comment 4 Larry the Git Cow gentoo-dev 2023-01-28 05:57:19 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d57212c76019f8da0a61d6f33a16cf996d66f00b

commit d57212c76019f8da0a61d6f33a16cf996d66f00b
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-01-28 05:51:58 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-01-28 05:57:09 +0000

    media-video/pipewire: use tmpfiles for system-service
    
    Closes: https://bugs.gentoo.org/832785
    Signed-off-by: Sam James <sam@gentoo.org>

 .../{pipewire-0.3.63-r2.ebuild => pipewire-0.3.63-r3.ebuild}     | 9 ++++++++-
 .../{pipewire-0.3.65-r1.ebuild => pipewire-0.3.65-r2.ebuild}     | 9 ++++++++-
 media-video/pipewire/pipewire-9999.ebuild                        | 9 ++++++++-
 3 files changed, 24 insertions(+), 3 deletions(-)

Additionally, it has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a223fd3523255c768dee81d8c6545ef21304f680

commit a223fd3523255c768dee81d8c6545ef21304f680
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-01-28 05:22:33 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-01-28 05:57:08 +0000

    acct-user/pipewire: add 1
    
    Bug: https://bugs.gentoo.org/832785
    Signed-off-by: Sam James <sam@gentoo.org>

 acct-user/pipewire/pipewire-1.ebuild | 13 +++++++++++++
 1 file changed, 13 insertions(+)