[ Holger Levsen, 2022-02-19 ] > On Tue, Feb 15, 2022 at 07:20:01PM +0000, Mike Gabriel wrote: > > Solution 2: > > ----------- > > Ask the cups src:pkg maintainers to add a line > > /etc/cups/cups-browsed-debian-edu.conf to their > > /etc/appamor.d/usr.sbin.cups-browsed apparmor profile. > > to me this seems to be the cleanest approach.
As the symlink seems to be the problem, another solution would be to
let cfengine copy the file instead:
diff --git a/cf3/cf.cups b/cf3/cf.cups
index 9788fa5c..58a64493 100644
--- a/cf3/cf.cups
+++ b/cf3/cf.cups
@@ -29,7 +29,7 @@ files:
debian.desktopintern.!server.installation::
"/etc/cups/cups-browsed.conf"
- link_from => ln_s("/etc/cups/cups-browsed-debian-edu.conf"),
+ copy_from => local_cp("/etc/cups/cups-browsed-debian-edu.conf"),
move_obstructions => "true";
}
(In both cases, the original file is renamed to
/etc/cups/cups-browsed.conf.cfsaved)
Wolfgang
signature.asc
Description: PGP signature

