[Bugs] [Bug 1377062] /var/tmp/rpm-tmp.KPCugR: line 2: /bin/systemctl: No such file or directory

bugzilla at redhat.com bugzilla at redhat.com
Wed Nov 30 07:46:11 UTC 2016


https://bugzilla.redhat.com/show_bug.cgi?id=1377062



--- Comment #11 from Niels de Vos <ndevos at redhat.com> ---
Attachment 1226160 confirms that the glusterfs package is installed before
systemd. Here a snippet with the line numbers:

1864 23:36:48,781 INFO packaging: glusterfs-3.8.4-5.el7rhgs.x86_64 (154/751)
1865 
1866 23:36:48,781 INFO packaging: /var/tmp/rpm-tmp.tDkwFT: line 2:
/bin/systemctl: No such file or directory
....
2582 23:36:48,904 INFO packaging: systemd-219-30.el7_3.6.x86_64 (512/751)


This means that dropping the absolute path to /bin/systemctl is not sufficient.
The glusterfs sub-package needs to have a dependency on systemd, like

  Requires(post): systemd

or, preferably correct these dependencies for all sub-packages that need to
execute systemctl commands to:

  %systemd_requires

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=VOVN9fw0rZ&a=cc_unsubscribe


More information about the Bugs mailing list