On 03/02/2020 01:22 AM, Per Jessen wrote:
David C. Rankin wrote:
Sure looks like a Self-Inflicted wound from having moved the Linux FHS *mandatory* /etc/services to another location??
That's another unintended consequence. Apps like Dracut are justified in looking for a mandatory file in the Linux FHS location. I hope that isn't the case, but that is what is suggested by the error:
dracut-install: ERROR: installing '/etc/services' dracut-install: ERROR: installing '/etc/protocols'
from the command
/usr/lib/dracut/dracut-install -D /var/tmp/dracut.Lm1PZh/initramfs -a /etc/services ... ... /etc/protocols ...
Nice find, David - I hadn't even started to look at it.
I don't have the docs for what -a for dracut-install is, but it looks like it is attempting to use both the files and can't find them and throws an error.
/usr/lib/dracut/dracut-install --help
Yep... -a --all Install all SOURCE arguments to DESTROOTDIR I figured it was something like that, or append, etc... Glad to know where dracut-install lives. I'd looked with type -p dracut-install, but it obviously wasn't in my path and did a quick web-search and didn't go any further. So if dracut-install can't find those files, then yes, it's justified in complaining and throwing an error. I really really think it is a bad idea to move those files out of /etc for the reasons I've stated. Additionally, openSUSE seems to be an outlier in wanting to do it. There are a lot of great minds in the distro management game, but none, not Arch, Ubuntu, Debian, etc... have wanted to move services or protocols out of /etc. It just opens a huge can of worms to try and not only patch the normal apps that may have the location hardcoded and that you would normally think of as directly using the files, but you also have to discover all those apps that make tangential use of the files and patch them too. I'll leave it to the folks much smarter than I am on the issue, but it does seem like there is little or no benefit for the relocation and an awful lot of detriment occasioned by it. -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org