Kenneth Porter
2021-Apr-11 16:32 UTC
[CentOS] Missing /etc/ld.so.conf.d/kernel-3.10.0-1127.19.1.el7.x86_64.conf
I'm yum updating some CentOS 7 systems today and got this error. Two systems (so far) seem to have rebooted fine. Should I worry? error: file /etc/ld.so.conf.d/kernel-3.10.0-1127.19.1.el7.x86_64.conf: No such file or directory
Valeri Galtsev
2021-Apr-11 16:40 UTC
[CentOS] Missing /etc/ld.so.conf.d/kernel-3.10.0-1127.19.1.el7.x86_64.conf
> On Apr 11, 2021, at 11:32 AM, Kenneth Porter <shiva at sewingwitch.com> wrote: > > I'm yum updating some CentOS 7 systems today and got this error. Two systems (so far) seem to have rebooted fine. Should I worry? > > error: file /etc/ld.so.conf.d/kernel-3.10.0-1127.19.1.el7.x86_64.conf: No such file or directoryWow, this sounds like ridiculous thing to be inside /etc/ld.so.conf.d/ Could somebody teach me about it? Thanks in advance. Valeri> _______________________________________________ > CentOS mailing list > CentOS at centos.org > https://lists.centos.org/mailman/listinfo/centos
Johnny Hughes
2021-Apr-12 13:34 UTC
[CentOS] Missing /etc/ld.so.conf.d/kernel-3.10.0-1127.19.1.el7.x86_64.conf
On 4/11/21 11:32 AM, Kenneth Porter wrote:> I'm yum updating some CentOS 7 systems today and got this error. Two > systems (so far) seem to have rebooted fine. Should I worry? > > error: file /etc/ld.so.conf.d/kernel-3.10.0-1127.19.1.el7.x86_64.conf: > No such file or directoryThe kernel does does contain that file. In CentOS linux 7 (and 8), the file is actually blank .. well is has one comment line: # Placeholder file, no vDSO hwcap entries used in this kernel. If you want the error to go away, just as the root user, do: touch /etc/ld.so.conf.d/kernel-3.10.0-1127.19.1.el7.x86_64.conf chmod 444 /etc/ld.so.conf.d/kernel-3.10.0-1127.19.1.el7.x86_64.conf The above 2 commands should create a zero size file there and prevent the error. As to how you got the error .. it seems there is an issue with the kernel-3.10.0-1127.19.1.el7.x86_64 install on your machine, it is at least missing that file. If you are using that kernel .. you might want to re-install it instead to make sure all the files are there. There is a newer kernel released for EL7. As to the purpose of /etc/ld.so.conf.d/, info here: https://linux.101hacks.com/unix/ldconfig/
Jon LaBadie
2021-Apr-12 16:59 UTC
[CentOS] Missing /etc/ld.so.conf.d/kernel-3.10.0-1127.19.1.el7.x86_64.conf
On Sun, Apr 11, 2021 at 09:32:35AM -0700, Kenneth Porter wrote:>I'm yum updating some CentOS 7 systems today and got this error. Two >systems (so far) seem to have rebooted fine. Should I worry? > >error: file /etc/ld.so.conf.d/kernel-3.10.0-1127.19.1.el7.x86_64.conf: >No such file or directorySeeing this message during package updates with removal of the old package has led me to interpret it as: "I'm supposed to remove this file but I can't find it. If you see it lurking around remove it yourself." Jon -- Jon H. LaBadie jcu at labadie.us