I just had some troubles with SMB, which still tried to use an AppArmor helper script:
$ sudo systemctl --failed
UNIT LOAD ACTIVE SUB DESCRIPTION
● smb.service loaded failed failed Samba SMB Daemon
Legend: LOAD → Reflects whether the unit definition was properly loaded.
ACTIVE → The high-level unit activation state, i.e. generalization of SUB.
SUB → The low-level unit activation state, values depend on unit type.
1 loaded units listed.
$
$
$ sudo systemctl status smb.service
× smb.service - Samba SMB Daemon
Loaded: loaded (/etc/systemd/system/smb.service; enabled; preset: disabled)
Active: failed (Result: exit-code) since Tue 2026-05-12 20:23:59 CEST; 23s ago
Invocation: 4321636b4ba64319a31996af1c6945cd
Docs: man:smbd(8)
man:samba(7)
man:smb.conf(5)
Process: 27333 ExecStartPre=/usr/share/samba/update-apparmor-samba-profile (code=exited, status=203/EXEC)
CPU: 5ms
May 12 20:23:59 Elster systemd[1]: Starting Samba SMB Daemon...
May 12 20:23:59 Elster (-profile)[27333]: smb.service: Unable to locate executable '/usr/share/samba/update-apparmor-samba-profile': No such file or directory
May 12 20:23:59 Elster (-profile)[27333]: smb.service: Failed at step EXEC spawning /usr/share/samba/update-apparmor-samba-profile: No such file or directory
May 12 20:23:59 Elster systemd[1]: smb.service: Control process exited, code=exited, status=203/EXEC
May 12 20:23:59 Elster systemd[1]: smb.service: Failed with result 'exit-code'.
May 12 20:23:59 Elster systemd[1]: Failed to start Samba SMB Daemon.
Heading over to the Rockstor webUI, the “SMB” service was disabled. Simply enabling it did fix it, and after another reboot, even the service was fine:
$ sudo systemctl --failed
UNIT LOAD ACTIVE SUB DESCRIPTION
0 loaded units listed.
$
$
$ sudo systemctl --failed
UNIT LOAD ACTIVE SUB DESCRIPTION
0 loaded units listed.
admin@Elster:~> sudo systemctl status smb.service
○ smb.service - Samba SMB Daemon
Loaded: loaded (/etc/systemd/system/smb.service; enabled; preset: disabled)
Active: inactive (dead)
Job: 326
Docs: man:smbd(8)
man:samba(7)
man:smb.conf(5)
So maybe another thing to consider regarding the migration - but it is working for me now as expected
![]()
Cheers Simon