http://bugzilla.opensuse.org/show_bug.cgi?id=1165294
Bug ID: 1165294 Summary: haveged is marked as deleted after reboot Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem Assignee: screening-team-bugs@suse.de Reporter: hpj@urpla.net QA Contact: qa-bugs@suse.de Found By: --- Blocker: ---
Hi,
*After reboot*, a couple of my TW systems show:
$ zyp ps Verbosity: 2 Checking for running processes using deleted libraries... The following running processes use deleted files:
PID | PPID | UID | User | Command | Service | Files ----+------+-----+------+-------------------+--------- +------------------------------ 531 | 1 | 0 | root | haveged (deleted) | haveged | /lib64/ld-2.31.so | | | | | | /lib64/libc-2.31.so | | | | | | /usr/sbin/haveged (deleted) | | | | | | /usr/lib64/libhavege.so.1.1.0
You may wish to restart these processes. See 'man zypper' for information about the meaning of values in the above table.
No core libraries or services have been updated. Reboot is probably not necessary.
Marcus Meissner noted on the factory ML, that:
It is ran in the initrd and probably still running after transition to the regular system.
(Likely pulled in via dracut-fips module)
Shouldn't a transition from initrd to regular operation include a restart of this service then?
http://bugzilla.opensuse.org/show_bug.cgi?id=1165294 http://bugzilla.opensuse.org/show_bug.cgi?id=1165294#c2
Ian Mepham ianmepham@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ianmepham@gmail.com
--- Comment #2 from Ian Mepham ianmepham@gmail.com --- Hello,
I've just recently noticed the same on my installation of Tumbleweed.
I've rebooted, force reinstalled haveged and rebooted again.
sudo zypper -vvv ps Verbosity: 3 Checking for running processes using deleted libraries... The following running processes use deleted files:
PID | PPID | UID | User | Command | Service | Files ----+------+-----+------+-------------------+---------+------------------------------ 193 | 1 | 0 | root | haveged (deleted) | haveged | /usr/lib64/libhavege.so.2.0.0 | | | | | | /lib64/ld-2.32.so | | | | | | /lib64/libc-2.32.so | | | | | | /usr/sbin/haveged (deleted)
sudo zypper -vvv needs-rebooting Verbosity: 3 No core libraries or services have been updated. Reboot is probably not necessary.
Note: I just restarted the service as the log was automatically rotated just after reboot and the status info said it may be incomplete. ian@Naga:~/ > sudo systemctl status haveged ● haveged.service - Entropy Daemon based on the HAVEGE algorithm Loaded: loaded (/usr/lib/systemd/system/haveged.service; enabled; vendor preset: enabled) Active: active (running) since Thu 2020-10-08 23:48:02 BST; 35s ago Docs: man:haveged(8) http://www.issihosts.com/haveged/ Main PID: 5900 (haveged) Tasks: 1 (limit: 4915) Memory: 3.6M CGroup: /system.slice/haveged.service └─5900 /usr/sbin/haveged -w 1024 -v 0 -F
Oct 08 23:48:02 Naga systemd[1]: Started Entropy Daemon based on the HAVEGE algorithm. Oct 08 23:48:02 Naga haveged[5900]: haveged: command socket is listening at fd 3
Please let me know if you require any more info.
http://bugzilla.opensuse.org/show_bug.cgi?id=1165294 http://bugzilla.opensuse.org/show_bug.cgi?id=1165294#c3
--- Comment #3 from Hans-Peter Jansen hpj@urpla.net --- While this is from the cosmetics department, it's good for surprises for the attentive user: when a finished zypper dup states, that updated processes are still running, if you have previously checked that no such packages are affected...
So it would be nice if somebody could take care of it.
http://bugzilla.opensuse.org/show_bug.cgi?id=1165294
Guillaume GARDET guillaume.gardet@arm.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |guillaume.gardet@arm.com
http://bugzilla.opensuse.org/show_bug.cgi?id=1165294
Neil Rickert nwr10cst-oslnx@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nwr10cst-oslnx@yahoo.com
http://bugzilla.opensuse.org/show_bug.cgi?id=1165294
Alessandro Sturniolo alessandro.sturniolo@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |alessandro.sturniolo@gmail. | |com
http://bugzilla.opensuse.org/show_bug.cgi?id=1165294 http://bugzilla.opensuse.org/show_bug.cgi?id=1165294#c8
Andrei Borzenkov arvidjaar@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |arvidjaar@gmail.com
--- Comment #8 from Andrei Borzenkov arvidjaar@gmail.com ---
On a vm using SCSI disk, it is restarted
And it has the same kernel version?
At least on Tumbleweed haveged-switch-root.service has
`ConditionKernelVersion=<5.6`
http://bugzilla.opensuse.org/show_bug.cgi?id=1165294 http://bugzilla.opensuse.org/show_bug.cgi?id=1165294#c9
--- Comment #9 from Andreas Vetter vetter@physik.uni-wuerzburg.de --- (In reply to Andrei Borzenkov from comment #8)
On a vm using SCSI disk, it is restarted
And it has the same kernel version?
At least on Tumbleweed haveged-switch-root.service has
`ConditionKernelVersion=<5.6`
Sorry. Both vms are Leap 15.4.
Tumbleweed vm with VirtIO disk also does not restart haveged.service I dont have a TW vm with SCSI disk yet.
http://bugzilla.opensuse.org/show_bug.cgi?id=1165294 http://bugzilla.opensuse.org/show_bug.cgi?id=1165294#c12
Volker Kuhlmann bugz57@top.geek.nz changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED CC| |bugz57@top.geek.nz Resolution|FIXED |---
--- Comment #12 from Volker Kuhlmann bugz57@top.geek.nz --- This still occurs on Leap 15.4 with a current kernel
5.14.21-150400.24.46-default #1 SMP PREEMPT_DYNAMIC Thu Feb 9 08:38:18 UTC 2023 (2d95137) x86_64
The following running processes use deleted files: PID | PPID | UID | User | Command | Service | Files ----+------+-----+------+-------------------+---------+------------------------------ 976 | 1 | 0 | root | haveged (deleted) | haveged | /lib64/ld-2.31.so | | | | | | /usr/lib64/libhavege.so.2.0.0 | | | | | | /lib64/libc-2.31.so | | | | | | /usr/sbin/haveged (deleted)
# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS sda 8:0 0 1.8T 0 disk ������sda1 8:1 0 97M 0 part ������sda2 8:2 0 40G 0 part ������sda3 8:3 0 1G 0 part ��� ������cr_boot 254:0 0 1022M 0 crypt /boot ������sda4 8:4 0 1K 0 part ������sda5 8:5 0 500G 0 part ��� ������cr_lvmsys 254:1 0 500G 0 crypt ��� ������lvmsys-swap 254:2 0 10G 0 lvm [SWAP] ��� ������lvmsys-root 254:3 0 80G 0 lvm / ��� ������lvmsys-home 254:4 0 200G 0 lvm /home
Or is the fix only intended for past-15.4?