Hi! On Wed, 2021-02-10 at 13:42:59 +0100, Guillem Jover wrote: > Package: lintian > Version: 2.104.0 > Severity: wishlist > > The systemd unit file directive SystemCallArchitectures is > incompatible with Multi-Arch:foreign markings in a package, as that > means once you install such foreign package, systemd will refuse to let > it run.
Helmut Grohne mentioned that this was unclear, so let me clarify. The problematic case is definitely the “native” value, and also an explicit cpu list not including the arch in the Architecture field. And the directive on a service file in an arch:all package. Helmut also proposed that perhaps debhelper could amend the .service file during installation, and change the value to match the cpu for the built package. One problem is that there are dpkg architectures not covered by the supported systemd cpu list, those would need to drop the directive entirely. The other problem is .service files in arch:all packages, those would also need to drop the directive. I'm CCing Niels Thykier for comment on that, because it's not clear whether debhelper might be considered the right place for this. Thanks, Guillem