I saw I got these pacnew files when upgrading, but I can't recall modifying the originals? It's not impossible I could have done and forgot I suppose, but I think this only got installed on my OS as a dep or build dep of something else and I couldn't see anything searching .bash_history. Reinstalling the last pipewire version from my cache still had the pacnew's so it's been like that a while.
$ ls -l /etc/pipewire/media-session.d/
total 24
-rw-r--r-- 1 root root 1758 Jan 5 15:10 alsa-monitor.conf
-rw-r--r-- 1 root root 2082 Feb 4 01:14 alsa-monitor.conf.pacnew
-rw-r--r-- 1 root root 2034 Feb 4 01:14 bluez-monitor.conf
-rw-r--r-- 1 root root 1542 Jan 5 15:10 media-session.conf
-rw-r--r-- 1 root root 1680 Feb 4 01:14 media-session.conf.pacnew
-rw-r--r-- 1 root root 1163 Feb 4 01:14 v4l2-monitor.conf
Should be fine, IIRC happens during upgrades normally anyway and also at one point in time pipewire's config format changed, which may be why you got this notice.
Yes, I just thought it worth mentioning as the new files have some new config, and if anyone using pipewire had the same issue but hadn't spotted this it might affect things like their bluetooth connection.
A .pacnew file may be created during a package upgrade (pacman -Syu, pacman -Su or pacman -U) to avoid overwriting a file which already exists and was previously modified by the user
https://wiki.archlinux.org/index.php/Pacman/Pacnew_and_Pacsave
you need look the new config and look what i new in this new config and transfer changes to your file ...
but it is absolutely fine and the expected function ;-)
I know the topic is already solved, but I wanted to add, that you can compare the two files with diffuse, for example.
With this package you can compare 2 files very easily.
i know this has been solved. Diffuse works when comparing single files (i think). I have been using meld, since i can compare by folders. Diffuse looks better though, wish it would compare files in folders
I find it a lot easier to type (in this example):
$ diff /etc/pipewire/media-session.d/alsa-monitor.conf{.pacnew,} | less
You can press
Tab to complete parts of the path when typing.