You are not logged in.

#26 2012-09-23 01:12:54

bpont
Banned
Registered: 2010-03-24
Posts: 161

Re: Trying to finish my conversion to pure systemd

cfr wrote:

What happens if you run

/bin/mount /dev/sdxx /home/xxxx -t truecrypt -o fs=ext3,defaults

by hand?

It works perfectly with no errors.

Offline

#27 2012-10-13 15:58:43

jakob
Member
From: Berlin
Registered: 2005-10-27
Posts: 419

Re: Trying to finish my conversion to pure systemd

Interesting. Started the conversion to systemd today as well and my home partition is also encrypted with truecrypt. So far, I used to mount it with a daemon from rc.d, enter my pw in the tty and then started daemons such as mpd which have to have access to ~.

I'm not on a systemd-only system yet, but the suggested service file by bpont works so far. In my case, tty access is absolutely necessary. The only thing I have to get working now is to tell mpd to wait until crypt is started, which I haven't got it to do yet.

Then see if the script from here works and everything should be fine…

Offline

#28 2012-10-13 22:22:12

jakob
Member
From: Berlin
Registered: 2005-10-27
Posts: 419

Re: Trying to finish my conversion to pure systemd

cfr wrote:

What happens if you run

/bin/mount /dev/sdxx /home/xxxx -t truecrypt -o fs=ext3,defaults

by hand?

I also just tried the fstab setup and although I like it very much (it just makes so much more sense to have this in fstab) it only works with initscripts!

But the problem with systemd is that one doesn't get the prompt to enter the password. So far, I only was able to get this prompt by using the service mentioned here. Mine looks like this in order to have mpd to start properly as well.

Last edited by jakob (2012-10-13 22:22:40)

Offline

#29 2012-10-14 01:23:11

tancrackers
Member
From: USA
Registered: 2012-04-11
Posts: 44

Re: Trying to finish my conversion to pure systemd

I don't know how much this will help, but this is a list of initscripts / systemd daemon equivalents:
https://wiki.archlinux.org/index.php/Da … of_Daemons


Block ads forever! http://adblockplus.org/en/

Offline

#30 2012-10-14 11:41:59

jakob
Member
From: Berlin
Registered: 2005-10-27
Posts: 419

Re: Trying to finish my conversion to pure systemd

tancrackers wrote:

I don't know how much this will help, but this is a list of initscripts / systemd daemon equivalents:
https://wiki.archlinux.org/index.php/Da … of_Daemons

Not sure whether that's of any help, knew the list before…

But I just pushed the truecrypt service files to our wiki! Hooray smile

Offline

#31 2012-10-17 14:39:42

jakob
Member
From: Berlin
Registered: 2005-10-27
Posts: 419

Re: Trying to finish my conversion to pure systemd

Sorry for double posting, but this is substantially new:

Got some responses from the systemd ML. The result may be seen here:
https://wiki.archlinux.org/index.php/Tr … md_service

Offline

Board footer

Powered by FluxBB