chore(profile): rename netplan.script to netplan.

This commit is contained in:
Alexandre Pujol 2025-06-17 00:22:34 +02:00
parent 0478e62f56
commit e7f25571d0
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
3 changed files with 6 additions and 6 deletions

View file

@ -7,7 +7,7 @@ abi <abi/4.0>,
include <tunables/global>
@{exec_path} = /usr/share/netplan/netplan.script
profile netplan.script @{exec_path} flags=(attach_disconnected) {
profile netplan @{exec_path} flags=(attach_disconnected) {
include <abstractions/base>
include <abstractions/nameservice-strict>
include <abstractions/python>
@ -33,7 +33,7 @@ profile netplan.script @{exec_path} flags=(attach_disconnected) {
@{run}/udev/rules.d/90-netplan.rules rw,
@{run}/udev/rules.d/90-netplan.rules.@{rand6} rw,
include if exists <local/netplan.script_udevadm>
include if exists <local/netplan_udevadm>
}
profile systemctl {
@ -42,10 +42,10 @@ profile netplan.script @{exec_path} flags=(attach_disconnected) {
capability net_admin,
include if exists <local/netplan.script_systemctl>
include if exists <local/netplan_systemctl>
}
include if exists <local/netplan.script>
include if exists <local/netplan>
}
# vim:syntax=apparmor

View file

@ -38,7 +38,7 @@ profile subiquity-console-conf @{exec_path} {
@{sbin}/sshd rPx,
@{bin}/snap rPUx,
/usr/lib/snapd/snap-recovery-chooser rPUx,
/usr/share/netplan/netplan.script rPUx, # TODO: rPx,
/usr/share/netplan/netplan.script rPx,
/usr/share/subiquity/{,**} r,
/usr/share/subiquity/console-conf-tui rix,

View file

@ -240,7 +240,7 @@ multipathd complain
needrestart-hook complain
needrestart-notify complain
needrestart-restart complain
netplan.script attach_disconnected,complain
netplan attach_disconnected,complain
networkctl attach_disconnected,complain
networkd-dispatcher complain
nm-online complain