Re: [arch-general] Systemd with encrypted Btrfs

2012-07-24 Thread Aurko Roy
Hi, Thanks for your answer. In the end I decided to stick with systemd-sysvcompat with my own rc-local.service (since I didn't need the other stuff in the initscripts-systemd package). I must say I'm starting to like systemd despite the minor hiccups due to changes in conventions. -aurko On T

Re: [arch-general] Systemd with encrypted Btrfs

2012-07-24 Thread Tom Gundersen
On Tue, Jul 24, 2012 at 12:40 PM, Aurko Roy wrote: > Yeah it works fine with the initscripts-systemd package but I had > replaced that with the systemd-sysvcompat package for a pure systemd > setupd. I was wondering if there is a reason why they've discontinued > support for rc.local in that.

Re: [arch-general] Systemd with encrypted Btrfs

2012-07-24 Thread Aurko Roy
Hi, Yeah it works fine with the initscripts-systemd package but I had replaced that with the systemd-sysvcompat package for a pure systemd setupd. I was wondering if there is a reason why they've discontinued support for rc.local in that. AFAIK Fedora has a pure systemd setup (I may be wrong th

Re: [arch-general] Systemd with encrypted Btrfs

2012-07-24 Thread Damien Churchill
Hi, On 24 July 2012 11:25, Aurko Roy wrote: > > Thanks for the clarification. Also I was wondering if there was any > reason why Arch doesn't have the rc-local.service in systemd by > default. Have a look at the initscripts-systemd package, it contains rc-local and rc-local-shutdown service file

Re: [arch-general] Systemd with encrypted Btrfs

2012-07-24 Thread Aurko Roy
Hi, Thanks for the clarification. Also I was wondering if there was any reason why Arch doesn't have the rc-local.service in systemd by default. There was some stuff I ran in rc.local (reducing brightness, proxy authentication) but it seems there is no rc-local service in systemd. I am working on

Re: [arch-general] Systemd with encrypted Btrfs

2012-07-24 Thread Tom Gundersen
On Tue, Jul 24, 2012 at 12:10 PM, Aurko Roy wrote: > You're right, on digging deeper (logs) I found that the fsck had > failed earlier as well but I never noticed it as the boot process > wasn't interrupted. I didn't face it again after setting passno. to 0. > I had heard about btrfs being release

Re: [arch-general] Systemd with encrypted Btrfs

2012-07-24 Thread Aurko Roy
Hi, Thanks for the quick reply. I wasn't aware of the changes in crypttab syntax with systemd; but changing it the way you described it did the trick for swap. You're right, on digging deeper (logs) I found that the fsck had failed earlier as well but I never noticed it as the boot process was

Re: [arch-general] Systemd with encrypted Btrfs

2012-07-24 Thread Rodrigo Rivas
On Tue, Jul 24, 2012 at 10:58 AM, Aurko Roy wrote: > 2. I have an encrypted btrfs partition which it unlocks normally, but > while trying to mount says: > "fsck: fsck.btrfs: not found > The problem seems to be that simply there is no such fsck.btrfs. It simply does not exist, yet. There is a btr

Re: [arch-general] Systemd with encrypted Btrfs

2012-07-24 Thread Tom Gundersen
On Tue, Jul 24, 2012 at 10:58 AM, Aurko Roy wrote: > 1. I have an encrypted swap that randomly generates a new passphrase > everytime I reboot, but systemd asks me for a passphrase every time I > boot. On pressing enter or entering any random characters it proceeds > normally. This is more of an

[arch-general] Systemd with encrypted Btrfs

2012-07-24 Thread Aurko Roy
Hello all, After all the intense discussions about systemd I decided to try it out and see for myself. I tried it out on my desktop and was quite impressed by it - it was much faster than the earlier initscript. Further when I would background a daemon (say the network daemon) in rc.co