Should I log my journey through linuxquestions.org?
Let's go...
Let's go...
Login > no mount > systemctl start unit > joy. ?!
Posted 07-03-2022 at 05:39 AM by Ninguém
Updated 07-03-2022 at 03:32 PM by Ninguém (Added the volatile unit experience.)
Updated 07-03-2022 at 03:32 PM by Ninguém (Added the volatile unit experience.)
When I login I want my projects directory to be mounted from a server somewhere using sshfs.
When I login, the mount unit fails.
But if I then issue:
It doesn't fail!
I already set the unit to wait for gnome-keyring-daemon.service to start...
WTF?!
Posted the question here.
While I'm still dealing with this, I implemented another unit (a service unit, this time) and it's working great:
Now, every time I login a space for "volatile" data is created and I can write sensitive information there without ever writing it to disk.
And it's destroyed when I logout.
:-)
When I login, the mount unit fails.
But if I then issue:
Code:
$ systemcts --user start path-to-projects-dir.mount
I already set the unit to wait for gnome-keyring-daemon.service to start...
WTF?!
Posted the question here.
While I'm still dealing with this, I implemented another unit (a service unit, this time) and it's working great:
Code:
[Unit] Description=Creation of volatile space ConditionPathIsDirectory=!/dev/shm/volatile [Service] Type=oneshot RemainAfterExit=yes ExecStart=/usr/bin/mkdir -m 700 /dev/shm/volatile ExecStop=/usr/bin/rm --force --recursive /dev/shm/volatile [Install] WantedBy=default.target
And it's destroyed when I logout.
:-)
Total Comments 0