-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
%{systemd_svcs} rpm macro bug in zfs-0.7.3-1.el7_4.x86_64.rpm from zfs-kmod repo #6838
Labels
Component: Packaging
custom packages
Comments
13 tasks
behlendorf
pushed a commit
that referenced
this issue
Nov 8, 2017
This allows RPM-based systems to properly control package installation and removal when using systemd. Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: George Melikov <[email protected]> Reviewed-by: Giuseppe Di Natale <[email protected]> Signed-off-by: loli10K <[email protected]> Closes #6838 Closes #6841
tonyhutter
pushed a commit
to tonyhutter/zfs
that referenced
this issue
Nov 21, 2017
This allows RPM-based systems to properly control package installation and removal when using systemd. Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: George Melikov <[email protected]> Reviewed-by: Giuseppe Di Natale <[email protected]> Signed-off-by: loli10K <[email protected]> Closes openzfs#6838 Closes openzfs#6841
Nasf-Fan
pushed a commit
to Nasf-Fan/zfs
that referenced
this issue
Jan 29, 2018
This allows RPM-based systems to properly control package installation and removal when using systemd. Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: George Melikov <[email protected]> Reviewed-by: Giuseppe Di Natale <[email protected]> Signed-off-by: loli10K <[email protected]> Closes openzfs#6838 Closes openzfs#6841
Nasf-Fan
pushed a commit
to Nasf-Fan/zfs
that referenced
this issue
Feb 13, 2018
This allows RPM-based systems to properly control package installation and removal when using systemd. Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: George Melikov <[email protected]> Reviewed-by: Giuseppe Di Natale <[email protected]> Signed-off-by: loli10K <[email protected]> Closes openzfs#6838 Closes openzfs#6841
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
System information
Describe the problem you're observing
RPM postinstall scriptlet and preuninstall scriptlet not work as expected,
macro %{systemd_svcs} not expanded.
Describe how to reproduce the problem
As result you will see this:
As you can see, macro %{systemd_svcs} is not expanded,
and
systemctl preset
will not work as expected:%{systemd_svcs} is RPM macro, bash know nothing about it.
%{systemd_svcs} should be expanded in scriptlets to list of services and targets,
as it described in rpm spec:
The text was updated successfully, but these errors were encountered: