设备环境:x86物理机
BUG现象:smb无法访问
出现频率:必现
联系方式:未加群

尝试安装
apt install -y samba-vfs-modules
Hit:1 https://pkg.ltec.ch/public focal InRelease
Hit:2 https://mirrors.ustc.edu.cn/debian bookworm InRelease
Hit:3 https://mirrors.ustc.edu.cn/debian bookworm-updates InRelease
Hit:4 https://mirrors.ustc.edu.cn/debian bookworm-backports InRelease
Hit:5 https://mirrors.ustc.edu.cn/debian-security bookworm-security InRelease
Hit:6 https://mirrors.ustc.edu.cn/docker-ce/linux/debian bookworm InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
207 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
samba-vfs-modules is already the newest version (2:4.17.12+dfsg-0+deb12u3).
The following package was automatically installed and is no longer required:
libntfs-3g89
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 207 not upgraded.
依然无解
ll /usr/lib/x86_64-linux-gnu/samba/vfs/trim_perms.so
ls: cannot access '/usr/lib/x86_64-linux-gnu/samba/vfs/trim_perms.so': No such file or directory
AI解释为:
samba-vfs-modules 已经是最新版,但它不包含 trim_perms.so(Debian 12 / Samba 4.17 中已不再提供这个模块)
系统更新里修复再更新也没有任何用,哎心累,不想重装