Bug 2403112

Summary: scriptlets errors on package install/uninstall
Product: [Fedora] Fedora Reporter: Tomasz Torcz <tomek>
Component: cephAssignee: Kaleb KEITHLEY <kkeithle>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 42CC: branto, i, josef, kkeithle, marcan, steve
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: ceph-19.2.3-8.fc42 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-10-26 01:34:51 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Tomasz Torcz 2025-10-10 16:06:23 UTC
When installing ceph-osd, dnf shows errors in scriptlets:

#v+
[3/4] Installing ceph-osd-2:19.2.3-7.fc42.x86_64                                                                                 100% | 105.7 MiB/s |  72.1 MiB |  00m01s
>>> Running %post scriptlet: ceph-osd-2:19.2.3-7.fc42.x86_64                                                                                                             
>>> Finished %post scriptlet: ceph-osd-2:19.2.3-7.fc42.x86_64                                                                                                            
>>> Scriptlet output:                                                                                                                                                    
>>> Glob pattern passed to preset, but globs are not supported for this.                                                                                                 
>>> Invalid unit name "ceph-osd@*.service" escaped as "ceph-osd@\x2a.service".                                                                                           
>>> Glob pattern passed to preset, but globs are not supported for this.                                                                                                 
>>> Invalid unit name "ceph-volume@*.service" escaped as "ceph-volume@\x2a.service".                                                                                     
>>> Failed to preset unit: Unit ceph-volume@\x2a.service does not exist                                                                                                  
>>>                                                                                                                                                                      

[4/4] Installing ceph-volume-2:19.2.3-7.fc42.noarch                                                         100% [==================] |  92.0 MiB/s |   1.8 MiB |  00m00s
>>> Running %triggerin scriptlet: filesystem-0:3.18-47.fc42.x86_64                                                                                                       
Symlinking /usr/sbin/ceph-volume -> /usr/bin/ceph-volume
[4/4] Installing ceph-volume-2:19.2.3-7.fc42.noarch                                                                              100% | 950.6 KiB/s |   1.8 MiB |  00m02s
>>> Running %post scriptlet: ceph-volume-2:19.2.3-7.fc42.noarch                                                                                                          
>>> Finished %post scriptlet: ceph-volume-2:19.2.3-7.fc42.noarch                                                                                                         
>>> Scriptlet output:                                                                                                                                                    
>>> Glob pattern passed to preset, but globs are not supported for this.                                                                                                 
>>> Invalid unit name "ceph-volume@*.service" escaped as "ceph-volume@\x2a.service".                                                                                     
>>>
#v-

Similar errors on uninstall:

#v+
[2/3] Removing ceph-volume-2:19.2.3-7.fc42.noarch                                                                                100% |   1.6 KiB/s | 300.0   B |  00m00s
>>> Running %preun scriptlet: ceph-osd-2:19.2.3-7.fc42.x86_64                                                                                                            
>>> Finished %preun scriptlet: ceph-osd-2:19.2.3-7.fc42.x86_64                                                                                                           
>>> Scriptlet output:                                                                                                                                                    
>>> Glob pattern passed to disable, but globs are not supported for this.                                                                                                
>>> Invalid unit name "ceph-osd@*.service" escaped as "ceph-osd@\x2a.service".       
#v-



Reproducible: Always

Comment 1 Fedora Update System 2025-10-17 11:08:12 UTC
FEDORA-2025-7b4dc2b066 (ceph-19.2.3-8.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-7b4dc2b066

Comment 2 Fedora Update System 2025-10-18 02:15:08 UTC
FEDORA-2025-7b4dc2b066 has been pushed to the Fedora 42 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-7b4dc2b066`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-7b4dc2b066

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 3 Fedora Update System 2025-10-26 01:34:51 UTC
FEDORA-2025-7b4dc2b066 (ceph-19.2.3-8.fc42) has been pushed to the Fedora 42 stable repository.
If problem still persists, please make note of it in this bug report.