Skip to content

Commit

Permalink
[systemd] Fix system units in posttrans. Contributes to JB#51560
Browse files Browse the repository at this point in the history
  • Loading branch information
xfade committed Oct 14, 2020
1 parent 8df1cc4 commit 000487d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rpm/systemd.spec
Expand Up @@ -426,6 +426,7 @@ setfacl -Rnm g:wheel:rx,d:g:wheel:rx,g:adm:rx,d:g:adm:rx /var/log/journal/ >/dev
# remove obsolete systemd-readahead file
rm -f /.readahead > /dev/null 2>&1 || :

%posttrans
# Make sure all symlinks in /etc/systemd/system point to the new units in
# /usr/lib/systemd/system and not in /lib/systemd/system
# This will find all broken symlinks and disable and enable each service
Expand Down

0 comments on commit 000487d

Please sign in to comment.