Bug 1221770

Summary: trousers: missing udevadm dependency on Leap
Product: [openSUSE] openSUSE Distribution Reporter: Giacomo Comes <comes>
Component: OtherAssignee: Matthias Gerstner <matthias.gerstner>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: gcomes.obs
Version: Leap 15.6   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Giacomo Comes 2024-03-20 16:09:55 UTC
While I was testing Leap 15.6 beta (630.1-boot)
I saw this error in /var/log/zypp history:

# 2024-03-15 00:17:14 trousers-0.3.15-150600.7.1.x86_64.rpm installed ok
# Additional rpm output:
# Group 'mail' not found. Creating the user mailbox file with 0600 mode.
# /var/tmp/rpm-tmp.pxRHp2: line 24: /usr/bin/udevadm: No such file or directory
# 
2024-03-15 00:17:14|install|trousers|0.3.15-150600.7.1|x86_64||openSUSE-Leap-15.6-1|6462c0eebacd6db401e9c14dbcd79d22e914197ef0716fa9bef3a3476715d8c69bdf65b0b5fbc3a43c42be70277bf3f3d00881c6b6fd41bba174b8c77b8941f5|

A similar problem was fixed in tumbleweed with SR#1135798

For Leap 15.6 and 15.5 the change in the spec file should be:

 Requires(pre):  pwdutils
+Requires(pre):  coreutils
+Requires(post): udev
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Comment 1 Matthias Gerstner 2024-04-02 09:42:29 UTC
Thank you for bringing this to our attention. I will trigger an update process
to fix this.
Comment 3 Giacomo Comes 2024-05-02 15:15:45 UTC
Since Leap 15.6 has reached RC status with this bug still present,
I'm posting this reminder, just in case.
Comment 4 Matthias Gerstner 2024-05-03 09:02:52 UTC
The update process for SLE-15-SP4 based products is still ongoing.

I just realized that trousers has been forked for SP6, so I just submitted to
SP6 directly. The change will hopefully become available soon.
Comment 7 Giacomo Comes 2024-05-17 03:45:36 UTC
With today's update, the fix has reached Leap 15.6. Closing.