0

I have just run zypper up on a openSUSE 15.6 computer and the installation of the new kernel says dracut-install error: /sbin/sysctl is pointing to itself and indeed this symbolic link is a loop:

king:~ # l /sbin/sysctl lrwxrwxrwx 1 root root 12 Feb 21 15:59 /sbin/sysctl -> /sbin/sysctl ~> uname -a Linux king 6.4.0-150600.23.50-default #1 SMP PREEMPT_DYNAMIC Fri May 9 22:09:52 UTC 2025 (dee422c) x86_64 x86_64 x86_64 GNU/Linux 

(I have two other openSUSE 15.6 computers where /sbin/sysctl is a elf 64-bit binary of Feb 21 same timestamp which is 27288 bytes in size). Do I need to repair this? by copying the binaries?

1
  • Can you first explain what l is an alias/function for? Commented Jun 12 at 17:02

1 Answer 1

1

In reply to @tlink, l is an alias to ls -alF.

However, /sbin/sysctl should be an actual executable file.

As it is part of procps, you should run rpm -qfi /sbin/sysctl to confirm this, just in case another package has overwritten it.

Once done, run zypper --force in procps which should reinstall the package & correct any errors.

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.