[opensuse] tumbleweed on nfs root - dracut has issues with /etc/services and /etc/protocols ?
I'm setting up some hardware for burn-in and wanted to install Tumbleweed on an NFS root. When trying to rebuild the initrd: https://files.jessen.ch/mm29-dracut-output.txt dracut-install: ERROR: installing '/etc/services' dracut-install: ERROR: installing '/etc/protocols' dracut: FAILED: /usr/lib/dracut/dracut-install -D /var/tmp/dracut.Lm1PZh/initramfs -a /etc/services /etc/nsswitch.conf /etc/rpc /etc/protocols /etc/idmapd.conf Command line is not complete. Try option "help" sed: can't read /etc/sysconfig/network/ifcfg-: No such file or directory I thought someone might want to know. -- Per Jessen, Zürich (12.6°C) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
01.03.2020 15:33, Per Jessen пишет:
I'm setting up some hardware for burn-in and wanted to install Tumbleweed on an NFS root. When trying to rebuild the initrd:
https://files.jessen.ch/mm29-dracut-output.txt
dracut-install: ERROR: installing '/etc/services' dracut-install: ERROR: installing '/etc/protocols' dracut: FAILED: /usr/lib/dracut/dracut-install -D /var/tmp/dracut.Lm1PZh/initramfs -a /etc/services /etc/nsswitch.conf /etc/rpc /etc/protocols /etc/idmapd.conf Command line is not complete. Try option "help" sed: can't read /etc/sysconfig/network/ifcfg-: No such file or directory
I thought someone might want to know.
Bug report? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Andrei Borzenkov wrote:
01.03.2020 15:33, Per Jessen пишет:
I'm setting up some hardware for burn-in and wanted to install Tumbleweed on an NFS root. When trying to rebuild the initrd:
https://files.jessen.ch/mm29-dracut-output.txt
dracut-install: ERROR: installing '/etc/services' dracut-install: ERROR: installing '/etc/protocols' dracut: FAILED: /usr/lib/dracut/dracut-install -D /var/tmp/dracut.Lm1PZh/initramfs -a /etc/services /etc/nsswitch.conf /etc/rpc /etc/protocols /etc/idmapd.conf Command line is not complete. Try option "help" sed: can't read /etc/sysconfig/network/ifcfg-: No such file or directory
I thought someone might want to know.
Bug report?
https://bugzilla.opensuse.org/show_bug.cgi?id=1165368 -- Per Jessen, Zürich (12.4°C) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
01.03.2020 16:45, Per Jessen пишет:
Andrei Borzenkov wrote:
01.03.2020 15:33, Per Jessen пишет:
I'm setting up some hardware for burn-in and wanted to install Tumbleweed on an NFS root. When trying to rebuild the initrd:
https://files.jessen.ch/mm29-dracut-output.txt
dracut-install: ERROR: installing '/etc/services' dracut-install: ERROR: installing '/etc/protocols' dracut: FAILED: /usr/lib/dracut/dracut-install -D /var/tmp/dracut.Lm1PZh/initramfs -a /etc/services /etc/nsswitch.conf /etc/rpc /etc/protocols /etc/idmapd.conf Command line is not complete. Try option "help" sed: can't read /etc/sysconfig/network/ifcfg-: No such file or directory
I thought someone might want to know.
Bug report?
Funny, it claims bug does not exist. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 01/03/2020 14.51, Andrei Borzenkov wrote:
01.03.2020 16:45, Per Jessen пишет:
Andrei Borzenkov wrote:
01.03.2020 15:33, Per Jessen пишет:
Bug report?
Funny, it claims bug does not exist.
It opens here. Says it is duplicate of bug 1165366. -- Cheers / Saludos, Carlos E. R. (from oS Leap 15.0 x86_64 (Minas Tirith))
On Sun, 1 Mar 2020 19:14:12 +0100 "Carlos E. R." <robin.listas@telefonica.net> wrote:
On 01/03/2020 14.51, Andrei Borzenkov wrote:
01.03.2020 16:45, Per Jessen пишет:
Andrei Borzenkov wrote:
01.03.2020 15:33, Per Jessen пишет:
Bug report?
Funny, it claims bug does not exist.
It opens here. Says it is duplicate of bug 1165366.
Per, Enquiring minds want to know! Three bugs, all the same? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 03/01/2020 01:59 PM, Dave Howorth wrote:
On Sun, 1 Mar 2020 19:14:12 +0100 "Carlos E. R." <robin.listas@telefonica.net> wrote:
On 01/03/2020 14.51, Andrei Borzenkov wrote:
01.03.2020 16:45, Per Jessen пишет:
Andrei Borzenkov wrote:
01.03.2020 15:33, Per Jessen пишет:
Bug report?
Funny, it claims bug does not exist.
It opens here. Says it is duplicate of bug 1165366.
Per, Enquiring minds want to know!
Three bugs, all the same?
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 ... 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. -- 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
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 -- Per Jessen, Zürich (4.2°C) http://www.dns24.ch/ - your free DNS host, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
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
On 2020/03/02 14:49, David C. Rankin wrote:
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.
The ramification of changing basic OS file locations is horrifying. That said, if something could be done with unionfs with a vendor-base and user-top layer, and if that could be mounted at the original location...and if the kernel union driver still sees the physical HD's, but user processes only see the newly mounted duplicate 'bind' of the unionfs, then it might work... But any sort of emergency boot procedures could be really ugly The whole thing makes me wanna bury my head under something because ALOT of normal apps have those locations hardcoded, "knowing" they don't need alternate resolution methods for most end-user situations. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Dave Howorth wrote:
On Sun, 1 Mar 2020 19:14:12 +0100 "Carlos E. R." <robin.listas@telefonica.net> wrote:
On 01/03/2020 14.51, Andrei Borzenkov wrote:
01.03.2020 16:45, Per Jessen пишет:
Andrei Borzenkov wrote:
01.03.2020 15:33, Per Jessen пишет:
Bug report?
Funny, it claims bug does not exist.
It opens here. Says it is duplicate of bug 1165366.
Per, Enquiring minds want to know!
Three bugs, all the same?
I wanted to make sure I was being heard :-) I dunno - bugzilla got stuck at some point, apparently hanging, but secretly duplicating reports in the background. -- Per Jessen, Zürich (4.5°C) http://www.hostsuisse.com/ - dedicated server rental in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Andrei Borzenkov wrote:
01.03.2020 16:45, Per Jessen пишет:
Andrei Borzenkov wrote:
01.03.2020 15:33, Per Jessen пишет:
I'm setting up some hardware for burn-in and wanted to install Tumbleweed on an NFS root. When trying to rebuild the initrd:
https://files.jessen.ch/mm29-dracut-output.txt
dracut-install: ERROR: installing '/etc/services' dracut-install: ERROR: installing '/etc/protocols' dracut: FAILED: /usr/lib/dracut/dracut-install -D /var/tmp/dracut.Lm1PZh/initramfs -a /etc/services /etc/nsswitch.conf /etc/rpc /etc/protocols /etc/idmapd.conf Command line is not complete. Try option "help" sed: can't read /etc/sysconfig/network/ifcfg-: No such file or directory
I thought someone might want to know.
Bug report?
Funny, it claims bug does not exist.
Sorry, my mistake - somehow 3 reports were created, and I closed the one above as duplicate. https://bugzilla.opensuse.org/show_bug.cgi?id=1165366 -- Per Jessen, Zürich (4.6°C) http://www.hostsuisse.com/ - virtual servers, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (6)
-
Andrei Borzenkov
-
Carlos E. R.
-
Dave Howorth
-
David C. Rankin
-
L A Walsh
-
Per Jessen