Description of problem: Failed to preset virtsecretd/virtsecretd*.socket service when installing libvirt pkgs. It is caused by spelling mistake: "virsecretd" should be "virtsecretd" Version-Release number of selected component (if applicable): libvirt-9.5.0-6.el9.x86_64 How reproducible: 100% Steps to Reproduce: 1.Install libvirt pkgs: #dnf -y install libvirt* ... Running scriptlet: libvirt-daemon-driver-secret-9.5.0-6.el9.x86_64 145/145 Failed to preset unit: Unit file ***virsecretd.socket*** does not exist. Failed to preset unit: Unit file ***virsecretd-ro.socket*** does not exist. Failed to preset unit: Unit file ***virsecretd-admin.socket*** does not exist. Failed to preset unit: Unit file ***virsecretd.service*** does not exist. ... 2.Check the service status of virtsecretd.socket: # systemctl status virtsecretd.socket ○ virtsecretd.socket - Libvirt secret local socket Loaded: loaded (/usr/lib/systemd/system/virtsecretd.socket; disabled; preset: enabled) Active: inactive (dead) Triggers: ● virtsecretd.service Listen: /run/libvirt/virtsecretd-sock (Stream) 3. Actual results: Failed to preset virtsecretd/virtsecretd*.socket service when installing libvirt pkgs because of spelling mistake for 'virtsecretd'. Expected results: Preset virtsecretd/virtsecretd*.socket service when installing libvirt pkgs and virtsecretd.socket service should be enabled after installing. Additional info: It's a regression issue. Can not reproduced with libvirt-9.5.0-6.el9.x86_64
(In reply to yafu from comment #0) > Failed to preset virtsecretd/virtsecretd*.socket service when installing > libvirt pkgs. It is caused by spelling mistake: "virsecretd" should be > "virtsecretd" Good catch! I'll prepare and push a fix upstream right away.
Fix pushed upstream. commit e7d26c5dcd3b988fa02ac1e45baf2f9934623381 Author: Andrea Bolognani <abologna> Date: Wed Aug 30 17:41:14 2023 +0200 rpm: Fix typo in daemon name The name of the virtsecretd daemon was misspelled, resulting in multiple errors during installation: Running scriptlet: libvirt-daemon-driver-secret-9.5.0-6.el9.x86_64 Failed to preset unit: Unit file virsecretd.socket does not exist. Failed to preset unit: Unit file virsecretd-ro.socket does not exist. Failed to preset unit: Unit file virsecretd-admin.socket does not exist. Failed to preset unit: Unit file virsecretd.service does not exist. Spell the name correctly. https://bugzilla.redhat.com/show_bug.cgi?id=2236057 Signed-off-by: Andrea Bolognani <abologna> v9.7.0-rc2-1-ge7d26c5dcd
Backport posted. https://gitlab.com/redhat/centos-stream/src/libvirt/-/merge_requests/9