mirror of
https://git.proxmox.com/git/systemd
synced 2026-01-09 11:51:43 +00:00
Keep RestrictAddressFamilies on amd64
This option and libseccomp currently work on amd64 at least, so let's make sure it does not break there as well, and benefit from the additional protection at least on this architecture.
This commit is contained in:
parent
dbda116b25
commit
2bcde0323f
2
debian/rules
vendored
2
debian/rules
vendored
@ -271,7 +271,7 @@ override_dh_install:
|
||||
rm -f debian/install/*/lib/systemd/system/*sysusers*.service debian/install/*/lib/systemd/system/*/*sysusers*.service
|
||||
# FIXME: RestrictAddressFamilies= is broken on several architectures,
|
||||
# see https://github.com/systemd/systemd/issues/4575 (#843160)
|
||||
sed --follow-symlinks -i '/RestrictAddressFamilies/d' debian/install/*/lib/systemd/system/*.service
|
||||
[ "$(DEB_HOST_ARCH)" = amd64 ] || sed --follow-symlinks -i '/RestrictAddressFamilies/d' debian/install/*/lib/systemd/system/*.service
|
||||
ifeq (, $(filter noudeb, $(DEB_BUILD_PROFILES)))
|
||||
dh_install -pudev-udeb -plibudev1-udeb --sourcedir=debian/install/udeb
|
||||
endif
|
||||
|
||||
Loading…
Reference in New Issue
Block a user