/srv/irclogs.ubuntu.com/2022/11/17/#ubuntustudio-devel.txt

OvenWerksEickmeyer: how permanent do you think the contents of /etc/ld.so.conf.d/pipewire-jack-x86_64-linux-gnu.conf will be?21:54
EickmeyerNever thought about it. Not a file I'd touch unless I knew what I was doing.21:55
OvenWerksI have to remove it to be able to use jackd21:55
OvenWerks I have to be able to replce it to use pipewire as jack21:55
EickmeyerThat's scary, because manipulating anything in /etc from a packaging standpoint is rough.21:56
OvenWerksEickmeyer: basically I need to have a copy of it in /usr/share/studio-controls/21:56
EickmeyerRight, so a temp copy if doing the switch.21:57
OvenWerksyes21:57
OvenWerksit is a one line file that puts the directory with pw's libjack at the front of the lib path21:58
Eickmeyermakes sense to me, as long as it's a copy of what's there that goes back if the user switches back using studio-controls.21:59
OvenWerksActually it should be switched back before doing a pw package update as well21:59
OvenWerks(I wouold guess)22:00
OvenWerksMaybe I need an empty copy too22:00
EickmeyerWell, maybe. The thing is dpkg just knows not to overwrite a file in /etc if it's been changed in any way, including deletions.22:01
EickmeyerIt usually defers that to the user if they want the new version if it differs from the original version.22:01
OvenWerksbut if it changes in the package, I want the new contents :)22:01
OvenWerkseven if it defers it to the user, does not also write a file with the same name with a .new extension or something?22:02
EickmeyerDepends on what the user selects.22:03
EickmeyerIf the user selects "N" it will make a .new. If the user selects "Y" it will make a .old with the former contents.22:03
OvenWerksThe gui uses "no" as default I think22:03
EickmeyerNo is usually the default in text and in gui.22:04
OvenWerksSo I should look for those files as well.22:05
OvenWerksWhat happens if the file is just.... missing?22:05
EickmeyerProbably, but we're just going off of memory more than anything.22:05
EickmeyerIf the file is missing, then dpkg treats it as if the file has been modified by the user.22:05
OvenWerksAll it has in it is: /usr/lib/x86_64-linux-gnu/pipewire-0.3/jack/22:07
EickmeyerLiterally just a path.22:14
OvenWerksyes this makes me think there is more to ld.so.conf(.d) than the man page says22:24
OvenWerksI am pretty sure ldconfig still reads: /usr/lib/x86_64-linux-gnu/ where there is a libjack.so also.22:26
OvenWerksSo the problem is that the contents of that file are going to change because the directory name: pipewire-0.3 is going to change with the pipewire version22:30
Eickmeyer[m]Yep, makes sense.22:47

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!