Hello nusenu, nusenu [2016-08-17 16:02 +0000]: > according to the official documentation from upstream systemd [1] it is > possible to override a package generator by placing a custom generator > (with the same name) into /etc/system/system-generator.
FWIW, this is a bad place -- binaries don't belong into /etc/ and shouldn't be considered "configuration", this should rather go into /usr/local/lib/systemd/system-generators (which is also supported). But, this is tangential.. > Is there another workaround that one could apply? You can remove the executable bit of the shipped generator: dpkg-statoverride --update --add root root 644 /lib/systemd/system-generators/systemd-getty-generator dpkg-statoverride instead of chmod will ensure that the next update of the package that ships it will not set it back. Then just put your generator into /lib/systemd/system-generators/ with a different name. Martin -- Martin Pitt | http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)
signature.asc
Description: PGP signature
_______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel