The above script of @jdstrand (comment #22) could be automated by a service.
The basic is to create the file just after snapd.service has deleted it. Create the service in /usr/share/jehon/etc/systemd/system/lp1849753.service: ---------------------------- [Unit] Description=Fix the App Armor profile for nodejs Documentation=https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1849753/comments/22 Requires=snapd.service After=snapd.service snapd.apparmor.service PartOf=snapd.service [Service] Type=oneshot ExecStart=<path-to-the-above-script> RemainAfterExit=yes [Install] WantedBy=default.target ---------------------------- I am not 100% sure it does work in all cases, but worth a try -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1849753 Title: AppArmor profile prohibits classic snap from inheriting file descriptors To manage notifications about this bug go to: https://bugs.launchpad.net/apparmor/+bug/1849753/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
