You are not logged in.

#1 2013-04-24 13:34:03

dschein
Member
Registered: 2013-04-24
Posts: 4

lvm-on-crypt.service failed to load: No such file or

I followed the instructions at:
https://wiki.archlinux.org/index.php/Systemd#LVM

and enabled lvm-on-crypt with
  # systemctl enable lvm-on-crypt

but journalctl shows:
... systemd[1]: Cannot add dependency job for unit lvm-on-crypt.service, ignoring: Unit lvm-on-crypt.service failed to load: No such file or directory.

and 'systemctl status lvm-on-crypt' returns:
lvm-on-crypt.service
   Loaded: error (Reason: No such file or directory)
   Active: inactive (dead)

Should this be installed as part of the LVM2 package?

Thanks for any help.

Offline

#2 2013-04-24 14:46:26

65kid
Member
From: Germany
Registered: 2011-01-26
Posts: 663

Re: lvm-on-crypt.service failed to load: No such file or

this service doesn't exist anymore, it was already removed last october by this commit:

https://projects.archlinux.org/svntogit … 6352a126ee

I guess it simply has been obsoleted by the new auto activation mechanism. I'm gonna remove the wiki entry.

Offline

#3 2013-04-24 16:10:48

dschein
Member
Registered: 2013-04-24
Posts: 4

Re: lvm-on-crypt.service failed to load: No such file or

Perhaps this is for another thread, but how to I "properly" remove /etc/systemd/system/basic.target.wants/lvm-on-crypt.service.

If I use systemctl delete I get:

# systemctl delete lvm-on-crypt
Failed to issue method call: Unit lvm-on-crypt.snapshot does not exist.

Thanks again for the help.

Offline

#4 2013-04-24 16:12:49

65kid
Member
From: Germany
Registered: 2011-01-26
Posts: 663

Re: lvm-on-crypt.service failed to load: No such file or

That would be "disable". This will however probably fail because the service doesn't exist anymore. It's just a symlink, you can just as well safely remove it with "rm".

Offline

Board footer

Powered by FluxBB