Bug#752790: kexec-tools: Please support /etc/default/kexec.d facility
Khalid Aziz wrote (07 Jun 2016 19:27:05 GMT) : > Thanks for the reminder. I am working on it now. Excellent :)
Bug#752790: kexec-tools: Please support /etc/default/kexec.d facility
On 06/03/2016 06:03 AM, intrigeri wrote: > Hi Khalid, > > Khalid Aziz wrote (19 Jun 2015 14:41:14 GMT) : >> On 06/19/2015 04:08 AM, intrigeri wrote: >>> a year later: ping regarding this request? > >> I didn't want to make this change at the time when we were so close to >> jessie freeze. > > Makes sense! > >> Now that jessie is released, I am working on updating kexec-tools package and >> addressing existing bug reports. I am testing new version of kexec-tools >> right now >> and once it clears my tests, I will upload it. After that I will look into >> this as >> well as other bug reports. > > So, another year later: ping regarding this request? The patch I've > initially provided still applies cleanly on top of current sid > version. > > If you don't mind, I could test this extensively on sid and NMU (I > understand a NMU would be unusual for a wishlist bug, but this has > been blocking other work I'm doing for almost two years now, that's > why I'm proposing this course of action :) > > Cheers, > -- > intrigeri > Hi Intrigeri, Thanks for the reminder. I am working on it now. -- Khalid
Bug#752790: kexec-tools: Please support /etc/default/kexec.d facility
Hi Khalid, Khalid Aziz wrote (19 Jun 2015 14:41:14 GMT) : > On 06/19/2015 04:08 AM, intrigeri wrote: >> a year later: ping regarding this request? > I didn't want to make this change at the time when we were so close to jessie > freeze. Makes sense! > Now that jessie is released, I am working on updating kexec-tools package and > addressing existing bug reports. I am testing new version of kexec-tools > right now > and once it clears my tests, I will upload it. After that I will look into > this as > well as other bug reports. So, another year later: ping regarding this request? The patch I've initially provided still applies cleanly on top of current sid version. If you don't mind, I could test this extensively on sid and NMU (I understand a NMU would be unusual for a wishlist bug, but this has been blocking other work I'm doing for almost two years now, that's why I'm proposing this course of action :) Cheers, -- intrigeri
Bug#752790: kexec-tools: Please support /etc/default/kexec.d facility
[Khalid Aziz 2015-06-19] > Now that jessie is released, I am working on updating kexec-tools > package and addressing existing bug reports. I am testing new > version of kexec-tools right now and once it clears my tests, I will > upload it. After that I will look into this as well as other bug > reports. Great. Are the draft version available from a public repo somewhere? -- Happy hacking Petter Reinholdtsen
Bug#752790: kexec-tools: Please support /etc/default/kexec.d facility
Hi, a year later: ping regarding this request? Cheers, -- intrigeri -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#752790: kexec-tools: Please support /etc/default/kexec.d facility
On 06/19/2015 04:08 AM, intrigeri wrote: Hi, a year later: ping regarding this request? Cheers, -- intrigeri Hi, I didn't want to make this change at the time when we were so close to jessie freeze. Now that jessie is released, I am working on updating kexec-tools package and addressing existing bug reports. I am testing new version of kexec-tools right now and once it clears my tests, I will upload it. After that I will look into this as well as other bug reports. Thanks, Khalid -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#752790: kexec-tools: Please support /etc/default/kexec.d facility
Thanks a lot for the update :) FWIW I've resumed work on the wiperam package, and am now close to something that could be uploaded to Debian. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#752790: kexec-tools: Please support /etc/default/kexec.d facility
Package: kexec-tools Version: 1:2.0.4-1 Severity: wishlist Tags: patch User: tails-...@boum.org Usertags: erase-memory Hi, tl;dr: please consider applying the attached patch. We, folks from two Debian derivatives (Tails and Freepto), are working together to package a Tails feature for Debian: erasing memory at shutdown/reboot. The current implementation relies on kexec. Doing so requires to make the kexec-tools stuff a bit more flexible wrt. being reconfigured by other packages. To start with, we have to dynamically patch /etc/default/kexec, and the best way we've found of doing it is to add support for a /etc/default/kexec.d/ directory, sourced (after /etc/default/kexec) by the two initscripts shipped by kexec-tools. If you don't mind adding complexity to the kexec-tools package in order to support this usecase, more patches of the same kind will follow. Thanks for maintaining kexec-tools in Debian! Cheers, -- intrigeri diff -Naur kexec-tools-2.0.4.orig/debian/kexec.init.d kexec-tools-2.0.4/debian/kexec.init.d --- kexec-tools-2.0.4.orig/debian/kexec.init.d 2013-07-25 22:04:56.0 +0200 +++ kexec-tools-2.0.4/debian/kexec.init.d 2014-06-26 13:03:58.960450573 +0200 @@ -15,6 +15,11 @@ . /lib/lsb/init-functions test -r /etc/default/kexec . /etc/default/kexec +if [ -d /etc/default/kexec.d ] ; then + for snippet in $(run-parts --list /etc/default/kexec.d) ; do + . $snippet + done +fi do_stop () { test x`cat /sys/kernel/kexec_loaded`y = x1y || exit 0 diff -Naur kexec-tools-2.0.4.orig/debian/kexec-load.init.d kexec-tools-2.0.4/debian/kexec-load.init.d --- kexec-tools-2.0.4.orig/debian/kexec-load.init.d 2013-11-08 18:22:49.0 +0100 +++ kexec-tools-2.0.4/debian/kexec-load.init.d 2014-06-26 13:04:08.836375294 +0200 @@ -16,6 +16,11 @@ . /lib/lsb/init-functions test -r /etc/default/kexec . /etc/default/kexec +if [ -d /etc/default/kexec.d ] ; then + for snippet in $(run-parts --list /etc/default/kexec.d) ; do + . $snippet + done +fi process_grub_entry() { initrd_image= diff -Naur kexec-tools-2.0.4.orig/debian/kexec-tools.dirs kexec-tools-2.0.4/debian/kexec-tools.dirs --- kexec-tools-2.0.4.orig/debian/kexec-tools.dirs 2012-01-19 19:59:26.0 +0100 +++ kexec-tools-2.0.4/debian/kexec-tools.dirs 2014-06-26 13:07:23.874881252 +0200 @@ -1 +1,2 @@ sbin +etc/default/kexec.d