[Eisfair] Dracut-fehler
Kay Martinen
usenet at martinen.de
Fr Jul 5 00:32:46 CEST 2024
Am 04.07.24 um 23:29 schrieb Marcus Röckrath:
> Hallo Kay,
>
> Kay Martinen wrote:
>
>>> nachdem es Probleme mit NFS gab, steht nun schon etwas früher als
>>> gewöhnlich ein Kernel-Update zur Verfügung. Im Bereich NFS/RPC sind
>>
>>> Versionshistorie:
>>>
>>> linux-kernel 5.15.159 stable (3.4.7)
>>
>>> Viel Erfolg bei der Installation.
>>
>> Leider nein. Ich hab heute meinen Mailserver aktualisiert und dabei ist
>> auch dieser Kernel installiert worden.
>>
>> Dabei bekomme ich; auch beim 2. Versuch (Reinstall) dies zu sehen:
>>
>> Downloading required packages ...
>> => [####################] linux-kernel-5.15.159-smp (3.4.7)...
>> [ OK ]
>> Done!
>> Installation of: linux-kernel-5.15.159-smp (3.4.7) ...
>> Verifying existing bootloader configuration ...
>> Extracting archive ...
>> Creating initramfs ...
>> dracut-install: ERROR: installing 'poweroff'
>> dracut-install: ERROR: installing 'reboot'
>> dracut-install: ERROR: installing 'halt'
>> dracut: FAILED: /usr/lib/dracut/dracut-install -D
>> /var/tmp/dracut.WChqJr/initramfs -a umount poweroff reboot halt losetup
>> stat sleep timeout
>
> Weil auf deinem System die Tools bzw. deren Links offenbar fehlen. Daher
> können sie auch nicht ins Image gepackt werden.
die o.g. drei befehle habe ich schon benutzt daher würde ich von deren
Existenz ausgehen. Und falls es um usrmerge geht...
> Eventuell hilft das systemd-Paket drüberzubügeln,
Hat es, offenbar.
> Sind /lib, /bin und /sbin Links?
Ja.
> Gibt es auf dem System noch /etc/init.d/boot.d/S03systemd?
hermes # ls -al /etc/init.d/boot.d/
total 16
drwxr-xr-x 2 root root 4096 Mar 14 15:57 .
drwxr-xr-x 3 root root 4096 Jul 4 22:01 ..
-rwxr-xr-x 1 root root 4280 Jul 4 21:53 S03systemd
> Dann bitte dieses Skript manuell ausführen.
Ist das noch notwendig? Denn:
Downloading required packages ...
=> [####################] systemd (3.4.6)...
[ OK ]
Done!
Installation of: systemd (3.4.6) ...
Successfully installed: systemd (3.4.6)!
Press ENTER to continue
Downloading required packages ...
=> [####################] linux-kernel-5.15.159-smp (3.4.7)...
[ OK ]
Done!
Installation of: linux-kernel-5.15.159-smp (3.4.7) ...
Verifying existing bootloader configuration ...
Extracting archive ...
Creating initramfs ...
Checking for sufficient disk space in /boot ...
Activating kernel kernel-5.15.159-eisfair-1-SMP ...
Creating bootloader configuration ...
Note:
A reboot is required to make the changes take effect.
Successfully installed: linux-kernel-5.15.159-smp (3.4.7)
Ich hatte davor auch noch extlinux reinstalliert. Und jetzt lief das
Reinstallieren des Kernels durch.
Ich habe das script dennoch mal durchlaufen lassen. Ergebnis:
hermes # ./S03systemd
/usr/bin/ln: failed to create symbolic link 'halt': File exists
/usr/bin/ln: failed to create symbolic link 'reboot': File exists
/usr/bin/ln: failed to create symbolic link 'shutdown': File exists
/usr/bin/ln: failed to create symbolic link 'poweroff': File exists
Failed to stop mountfs.service: Unit mountfs.service not loaded.
/usr/bin/ln: failed to create symbolic link 'halt': File exists
/usr/bin/ln: failed to create symbolic link 'reboot': File exists
/usr/bin/ln: failed to create symbolic link 'shutdown': File exists
/usr/bin/ln: failed to create symbolic link 'poweroff': File exists
Failed to stop mountfs.service: Unit mountfs.service not loaded.
/usr/bin/ln: failed to create symbolic link 'halt': File exists
/usr/bin/ln: failed to create symbolic link 'reboot': File exists
/usr/bin/ln: failed to create symbolic link 'shutdown': File exists
/usr/bin/ln: failed to create symbolic link 'poweroff': File exists
Failed to stop mountfs.service: Unit mountfs.service not loaded.
Das script hat sich (geplant?) danach offenbar selbst gelöscht.
Bye/
/Kay
--
nix
Mehr Informationen über die Mailingliste Eisfair