我正在使用 Ubuntu 22.04 LTS。出乎我意料的是,文件系统的所有操作都停止了。我尝试过ls /
,df
并且nautilus
- 所有这些命令都需要永远执行。我的操作系统出了什么问题?
我无法插入图像,因为 nautilus 不起作用。
vim
并findmnt
照常工作;我不使用任何像 sshfs 这样的命令,但sudo ls /
工作正常。
dmesg -Hx
输出:
...
kern :notice: [ +0,000007] audit: type=1400 audit(1695399711.961:212677): apparmor="DENIED" operation="ptrace" class="ptrace" profile="snap.discord.discord" pid=4642 comm="Utils" requested_mask="read" denied_mask="read" peer="un>
kern :notice: [ +0,000013] audit: type=1400 audit(1695399711.961:212678): apparmor="DENIED" operation="ptrace" class="ptrace" profile="snap.discord.discord" pid=4642 comm="Utils" requested_mask="read" denied_mask="read" peer="un>
kern :notice: [ +0,000035] audit: type=1400 audit(1695399711.961:212679): apparmor="DENIED" operation="ptrace" class="ptrace" profile="snap.discord.discord" pid=4642 comm="Utils" requested_mask="read" denied_mask="read" peer="un>
kern :notice: [ +0,000028] audit: type=1400 audit(1695399711.961:212680): apparmor="DENIED" operation="ptrace" class="ptrace" profile="snap.discord.discord" pid=4642 comm="Utils" requested_mask="read" denied_mask="read" peer="un>
kern :notice: [ +0,000044] audit: type=1400 audit(1695399711.961:212681): apparmor="DENIED" operation="ptrace" class="ptrace" profile="snap.discord.discord" pid=4642 comm="Utils" requested_mask="read" denied_mask="read" peer="un>
kern :notice: [ +0,000028] audit: type=1400 audit(1695399711.961:212682): apparmor="DENIED" operation="ptrace" class="ptrace" profile="snap.discord.discord" pid=4642 comm="Utils" requested_mask="read" denied_mask="read" peer="un>
kern :notice: [ +0,000052] audit: type=1400 audit(1695399711.961:212683): apparmor="DENIED" operation="ptrace" class="ptrace" profile="snap.discord.discord" pid=4642 comm="Utils" requested_mask="read" denied_mask="read" peer="un>
kern :notice: [ +0,000028] audit: type=1400 audit(1695399711.961:212684): apparmor="DENIED" operation="ptrace" class="ptrace" profile="snap.discord.discord" pid=4642 comm="Utils" requested_mask="read" denied_mask="read" peer="un>
kern :notice: [ +0,000044] audit: type=1400 audit(1695399711.961:212685): apparmor="DENIED" operation="ptrace" class="ptrace" profile="snap.discord.discord" pid=4642 comm="Utils" requested_mask="read" denied_mask="read" peer="un>
kern :notice: [ +0,000028] audit: type=1400 audit(1695399711.961:212686): apparmor="DENIED" operation="ptrace" class="ptrace" profile="snap.discord.discord" pid=4642 comm="Utils" requested_mask="read" denied_mask="read" peer="un>
kern :warn : [ +7,435158] kauditd_printk_skb: 327 callbacks suppressed
答案1
重新加载我的计算机四次后,一切开始正常工作。我之前做了一些动作:
- 安装 dbus-launch
- 全部更新
- 当我尝试时修复了警告
sudo dpkg configure -a
- 重新安装不和谐