无法启动浏览器 - Beaker、Falkon、Colibri

无法启动浏览器 - Beaker、Falkon、Colibri

无法使用某个用户启动 Beaker、Falkon、Colibri 浏览器。其他用户可正常运行。

我收到的错误是:

$ beaker-browser
system_key.go:129: cannot determine nfs usage in generateSystemKey: cannot parse /etc/fstab: expected between 3 and 6 fields, found 7

我正在使用 Ubuntu 18.04,这是我的/etc/fstab

# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>

# READ
# Ubuntu enables periodic TRIM by default no need discard option
# No options means = rw,relatime 
# Ubuntu defaults = rw, suid, dev, exec, auto, nouser, and async. Later options chanve defaults 
# relatime - updates file access info once a day (by default) or on file change. noatime - dont update
# nosuid - other users cant execute not their files

# / was on /dev/sda6 during installation
UUID=824d5fbe-3233-416b-5e23-211458762912 /               btrfs   defaults,subvol=@ 0       1

# /boot/efi was on /dev/sda3 during installation
UUID=0BG8-0215  /boot/efi       vfat    umask=0077      0       1

# /home was on /dev/sda6 during installation
UUID= 824d5fbe-3233-416b-5e23-211458762912 /home           btrfs   defaults,subvol=@home 0       2
UUID= 824d5fbe-3233-416b-5e23-211458762912 /media/Disk           btrfs   defaults,subvol=@Disk  umask=0000 0       2

# swap was on /dev/sda8 during installation
UUID=c3v5f6c4-dy53-33b5-ag6n-fnc513975b9g none            swap    sw              0       0


# /dev/sda5 /media/FAT32-19GB vfat user 0 0

答案1

您收到的错误信息如下:

cannot parse /etc/fstab: expected between 3 and 6 fields, found 7

错误中提到的 6 个字段在您的第 7 行中有描述/etc/fstab

# <file system> <mount point>   <type>  <options>       <dump>  <pass>

字段使用空格分隔,错误意味着您在某处添加了额外的空格,因此现在字段数为 7。

通过检查您的,我们可以看到您在安装和的行/etc/fstab之后立即添加了一个空格(第 23-24 行)。UUID=/home/media/Disk

只需删除后面的空格,UUID=这样行就变成:

# /home was on /dev/sda6 during installation
UUID=824d5fbe-3233-416b-5e23-211458762912 /home           btrfs   defaults,subvol=@home 0       2
UUID=824d5fbe-3233-416b-5e23-211458762912 /media/Disk           btrfs   defaults,subvol=@Disk  umask=0000 0       2

之后重新启动计算机。

相关内容