Package: samba Version: 2:4.13.2+dfsg-3 Severity: normal X-Debbugs-Cc: frede...@frehi.be
I have a share in smb.conf configured like this: [Classical music] comment = Classical music path = "/mnt/storage2/Classical music" guest ok = no browseable = yes read only = yes valid users = foo vfs objects = btrfs update-apparmor-samba-profile then puts this in the /etc/apparmor.d/samba/smbd- shares file: ""/mnt/storage2/Classical music"/" rk, ""/mnt/storage2/Classical music"/**" rwkl, Which results in this error: # apparmor_parser -r /etc/apparmor.d/usr.sbin.smbd AppArmor parser error for /etc/apparmor.d/usr.sbin.smbd in /etc/apparmor.d/samba/smbd-shares at line 5: Lexer found unexpected character: '"' (0x22) in state: INITIAL -- Package-specific info: * /etc/samba/smb.conf present, but not attached * /var/lib/samba/dhcp.conf not present -- System Information: Debian Release: bullseye/sid APT prefers unstable-debug APT policy: (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'testing'), (400, 'unstable'), (250, 'stable'), (160, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.9.0-4-amd64 (SMP w/12 CPU threads) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages samba depends on: ii adduser 3.118 ii dpkg 1.20.5 ii init-system-helpers 1.59 ii libbsd0 0.10.0-1 ii libc6 2.31-5 ii libgnutls30 3.6.15-4 ii libldb2 2:2.2.0-3+b1 ii libpam-modules 1.3.1-5 ii libpam-runtime 1.3.1-5 ii libpopt0 1.18-2 ii libpython3.9 3.9.1~rc1-2 ii libtalloc2 2.3.1-2+b1 ii libtasn1-6 4.16.0-2 ii libtdb1 1.4.3-1+b1 ii libtevent0 0.10.2-1 ii libwbclient0 2:4.13.2+dfsg-3 ii lsb-base 11.1.0 ii procps 2:3.3.16-5 ii python3 3.9.0-3 ii python3-dnspython 2.0.0-1 ii python3-samba 2:4.13.2+dfsg-3 ii samba-common 2:4.13.2+dfsg-3 ii samba-common-bin 2:4.13.2+dfsg-3 ii samba-libs 2:4.13.2+dfsg-3 ii tdb-tools 1.4.3-1+b1 Versions of packages samba recommends: pn attr <none> ii logrotate 3.17.0-2 pn python3-markdown <none> pn samba-dsdb-modules <none> ii samba-vfs-modules 2:4.13.2+dfsg-3 Versions of packages samba suggests: pn bind9 <none> pn bind9utils <none> pn ctdb <none> pn ldb-tools <none> pn ntp | chrony <none> pn smbldap-tools <none> pn ufw <none> ii winbind 2:4.13.2+dfsg-3 -- no debconf information