Bug ID 1234277
Summary sysuser-tools: sysuser-shadow dependency on systemd introduces a dependency cycle
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 daan.j.demeyer@gmail.com
QA Contact qa-bugs@suse.de
Target Milestone ---
Found By ---
Blocker ---

The cycle is as follows:

sysuser-shadow => systemd => dbus-1 => dbus-1-common => sysuser-shadow

This leads to the following installation failures when systemd and
sysuser-shadow and a bunch of other packages are all installed in the same
transaction:

```
  Installing       : dbus-1-1.14.10-4.1.x86_64                                 
                                                                               
                                                                    189/236 
warning: group messagebus does not exist - using root

  Running scriptlet: dbus-1-1.14.10-4.1.x86_64                                 
                                                                               
                                                                    189/236 
  Running scriptlet: dbus-1-common-1.14.10-4.1.noarch                          
                                                                               
                                                                    190/236 
/var/tmp/rpm-tmp.OhJTQf: line 6: /usr/sbin/sysusers2shadow: No such file or
directory
error: %prein(dbus-1-common-1.14.10-4.1.noarch) scriptlet failed, exit status
127

Error in PREIN scriptlet in rpm package dbus-1-common
  Running scriptlet: system-group-hardware-20170617-26.1.noarch                
                                                                               
                                                                    191/236 
error: dbus-1-common-1.14.10-4.1.noarch: install failed
/var/tmp/rpm-tmp.Pi8y6T: line 1: /usr/sbin/sysusers2shadow: No such file or
directory
error: %prein(system-group-hardware-20170617-26.1.noarch) scriptlet failed,
exit status 127

Error in PREIN scriptlet in rpm package system-group-hardware
  Running scriptlet: system-group-kvm-20170617-26.1.noarch                     
                                                                               
                                                                    192/236 
error: system-group-hardware-20170617-26.1.noarch: install failed
/var/tmp/rpm-tmp.bFeS3I: line 1: /usr/sbin/sysusers2shadow: No such file or
directory
error: %prein(system-group-kvm-20170617-26.1.noarch) scriptlet failed, exit
status 127

Error in PREIN scriptlet in rpm package system-group-kvm
  Running scriptlet: system-user-lp-20170617-26.1.noarch                       
                                                                               
                                                                    193/236 
error: system-group-kvm-20170617-26.1.noarch: install failed
/var/tmp/rpm-tmp.FVYtWI: line 1: /usr/sbin/sysusers2shadow: No such file or
directory
error: %prein(system-user-lp-20170617-26.1.noarch) scriptlet failed, exit
status 127

Error in PREIN scriptlet in rpm package system-user-lp
  Installing       : sysuser-shadow-3.3-6.1.noarch                          
```

It seems to me that sysuser-shadow cannot have a dependency on systemd. Either
systemd needs to subpackage systemd-sysusers or the dependency on systemd
should be dropped.


You are receiving this mail because: