如何在 Cinnamon 启动时不挂载 dm-crypt 设备

如何在 Cinnamon 启动时不挂载 dm-crypt 设备

是的,从我发现的任何东西来看,这都是逆时针的。

首先:我正在运行 Arch Linux x64、Ci​​nnamon 2.6.13、4.1.6-1 内核,没有 crypt hooks。

我刚刚使用 dm-crypt/cryptsetup 制作了一个测试文件系统,一切都很好。我不想在启动时安装它(因为,嗯,它应该需要密码并被请求),但是自从我重新启动它以来,Cinnamon 正在这样做。

这是我的 crypttab 和 fstab。没有包含。我对此什么也没做。

root@darksol ~]# cat /etc/crypttab 
# crypttab: mappings for encrypted partitions
#
# Each mapped device will be created in /dev/mapper, so your /etc/fstab
# should use the /dev/mapper/<name> paths for encrypted devices.
#
# The Arch specific syntax has been deprecated, see crypttab(5) for the
# new supported syntax.
#
# NOTE: Do not list your root (/) partition here, it must be set up
#       beforehand by the initramfs (/etc/mkinitcpio.conf).

# <name>       <device>                                     <password>              <options>
# home         UUID=b8ad5c18-f445-495d-9095-c9ec4f9d2f37    /etc/mypassword1
# data1        /dev/sda3                                    /etc/mypassword2
# data2        /dev/sda5                                    /etc/cryptfs.key
# swap         /dev/sdx4                                    /dev/urandom            swap,cipher=aes-cbc-essiv:sha256,size=256
# vol          /dev/sdb7                                    none
[root@darksol ~]# cat /etc/fstab 
# UUID=dbc726d2-05b9-416f-806d-30d464196a1c
/dev/mapper/linuxvg-arch_root_lv    /           ext4        rw,relatime,data=ordered    0 1

# UUID=a63436fe-fa6b-480b-a94a-883c4b2a59e8
/dev/mapper/linuxvg-arch_usr_lv /usr        ext4        rw,relatime,data=ordered    0 2

# UUID=d19aa437-d73f-4d61-a8f2-66126768c36a
/dev/mapper/linuxvg-opt_lv  /opt        ext4        rw,relatime,data=ordered    0 2

# UUID=4bb50d46-c92b-4298-8aea-169c11fa3566
/dev/mapper/linuxvg-home_lv /home       ext4        rw,relatime,data=ordered    0 2

# UUID=bb02e9a7-4da3-41ff-acbe-e92b5d8f177a
/dev/sda2               none        swap        defaults    0 0

这是 ~/.cinnamon (当然是针对我的用户)和 glass.log.last

  [root@darksol .cinnamon]# cat glass.log.last 
    info t=2015-09-22T16:36:08.840Z Cinnamon.AppSystem.get_default() started in 23 ms
    info t=2015-09-22T16:36:16.790Z loading user theme: /home/meistache/.themes/Manjaro Maia Plasma 5/cinnamon/cinnamon.css
    info t=2015-09-22T16:36:16.822Z added icon directory: /home/meistache/.themes/Manjaro Maia Plasma 5/cinnamon
    info t=2015-09-22T16:36:16.922Z PlacesManager: Updating devices
    info t=2015-09-22T16:36:17.000Z loaded at Tue Sep 22 2015 13:36:17 GMT-0300 (BRT)
    info t=2015-09-22T16:36:17.523Z Loaded applet [email protected] in 522 ms
    info t=2015-09-22T16:36:17.529Z Role locked: windowlist
    info t=2015-09-22T16:36:17.529Z Loaded applet [email protected] in 6 ms
    info t=2015-09-22T16:36:42.544Z Loaded applet [email protected] in 25013 ms
    info t=2015-09-22T16:36:42.549Z Loaded applet [email protected] in 5 ms
    info t=2015-09-22T16:36:42.555Z Loaded applet [email protected] in 6 ms
    [root@darksol .cinnamon]# pwd
/home/meistache/.cinnamon
    [root@darksol .cinnamon]# 

它看起来像是在 Cinnamon 引擎上为 PlacesManager 方法编码的东西,我可能永远无法以用户/超级用户的身份进行管理。我确实需要将此作为功能请求报告给 Cinnamon 开发人员,但我想知道是否有人有过这种经验并得到了一些解决方法?提前致谢!

相关内容