[SOLVED] debian 13 guest VM DHCP error - not getting IP address on boot

Humay

Renowned Member
Feb 19, 2017
15
2
68
50
VM Debian 13 guest:

on boot there no network after debian 12>13
after "service networking restart" network is on and fixed

getting apparmor=DENIED (maybe not related eg none on reboot without service restart)
audit: type=1400 audit(1767829330.972:113): apparmor="DENIED" operation="capable" class="cap" profile="/{,usr/}sbin/dhclient" pid=1174 comm="dhclient" capability=21 capname="sys_admin"

despite
owner @{PROC}/@{pid}/task/[0-9]*/comm rw,
inside /etc/apparmor.d/sbin.dhclient

interfaces:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug enp6s18
iface enp6s18 inet dhcp
have isc-dhcp-client installed after some suggestions





EDIT:
seems its related to network interface name ens18, changed to ens18 in config and now it works!
 
Last edited: