Skip to content

Commit

Permalink
Merge branch 'jb45626' into 'master'
Browse files Browse the repository at this point in the history
[systemd] Ghost own the /etc/crypttab. Contributes JB#45626

See merge request mer-core/systemd!22
  • Loading branch information
rainemak committed May 2, 2019
2 parents 54a59e1 + e530f10 commit 53c807a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions rpm/systemd.spec
Expand Up @@ -279,8 +279,8 @@ mkdir -p %{buildroot}/%{_sbindir}
ln -sf ../bin/udevadm %{buildroot}%{_sbindir}/udevadm

# Compatiblity and documentation files
touch %{buildroot}/etc/crypttab
chmod 600 %{buildroot}/etc/crypttab
touch %{buildroot}/%{_sysconfdir}/crypttab
chmod 600 %{buildroot}/%{_sysconfdir}/crypttab

# Create SysV compatibility symlinks. systemctl/systemd are smart
# enough to detect in which way they are called.
Expand Down Expand Up @@ -449,7 +449,7 @@ rm -f /.readahead > /dev/null 2>&1 || :
/bin/loginctl
/bin/journalctl
%config(noreplace) %{_sysconfdir}/xdg/systemd/user
%{_sysconfdir}/crypttab
%ghost %{_sysconfdir}/crypttab
%{_sysconfdir}/systemd/system/*
%{_libdir}/tmpfiles.d/*
%{_libdir}/sysctl.d/50-default.conf
Expand Down

0 comments on commit 53c807a

Please sign in to comment.