Use systemd for cryptswap restart in vivid & wily

Bug #1501915 reported by Daniel Convissor
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ecryptfs-utils (Ubuntu)
New
Undecided
Unassigned

Bug Description

src/utils/ecryptfs-setup-swap uses "/etc/init.d/cryptdisks restart" for the reload. But that doesn't work in Vivid or Wily because they uses systemd. I worked out a process that works under Vivid and put that in the 15.04 branch of https://github.com/convissor/ubuntu_laptop_installation. It's tested and works.

I've used those concepts to make a patch for ecryptfs-setup-swap. Do note, this has not been tested. I wanted to put this out there so it doesn't get lost.

Tags: patch
Revision history for this message
Daniel Convissor (convissor) wrote :
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "reload-via-systemd" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
Revision history for this message
Michael Terry (mterry) wrote :

Thanks for working on this!

But since that isn't a patch ready to apply yet, I'm removing the sponsor teams for now. Please resubscribe ubuntu-sponsors when you have a patch you're happy with.

Revision history for this message
Daniel Convissor (convissor) wrote :

I no longer have an environment I can test on. I hope one of the authors/maintainers can pick it up and carry it to completion.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.