Hello,
When trapping SIGTERM in a script and running systemctl from the
script, systemctl sometimes hangs with tty-ask-password agent process.
I have no idea whether systemd developpers think this is a bug or
not. If this is a bug, I have three ideas to fix this. This patch is
based on the 1).
1
resume-generator understands resume= kernel command line parameter and
instantiates the [email protected] accordingly if it is passed.
This enables resume from hibernation using device specified on the kernel
command line, where the device path may point to an arbitrary udev-created
symlink,
With this change, it becomes possible to order a unit to activate before any
modifications to the file systems. This is especially useful for supporting
resume from hibernation.
---
units/[email protected] | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/units/systemd-f..
This patchset allows systemd to parse resume= kernel command line parameter
and initiate resume from the specified device.
It adds:
- a 'systemd-resume' tool which takes path to a device node and
writes its major:minor to /sys/power/state;
- a corresponding '[email protected]' templated un
This can be used to initiate a resume from hibernation by path to a swap
device containing the hibernation image.
The respective templated unit is also added. It is instantiated using
path to the desired resume device.
---
Makefile-man.am | 7
Makefile.am
On Sunday 24 August 2014 at 13:41:28, Thomas H.P. Andersen wrote:
> [...]
> > +static int process_resume(void) {
> > +_cleanup_free_ char *name = NULL, *lnk = NULL;
> > +
> > +name = unit_name_from_path_instance("systemd-resume",
> > arg_resume_dev, ".service");
> > +
Am 18.08.2014 um 15:27 schrieb Lennart Poettering:
>> And also I would like to see the full logs always by default.
>> Usually after lots of searching you find the offending log entry for
>> the error, only to find out you forgot to pass the right command
>> line options to journalctl and the imp
Am 18.08.2014 um 15:19 schrieb Lennart Poettering:
> On Mon, 18.08.14 12:45, Saket Sinha ([email protected]) wrote:
>> I have been working on systemd recently and was referring to articles
>> by Lennart Poettering for the same. However, I am not able to access
>> the articles
>> hosted at th
2014-08-24 20:29 GMT+02:00 Andrei Borzenkov :
> В Sun, 24 Aug 2014 09:19:13 +0200
> Simon Peeters пишет:
>
>> >> Ok, so there is only one problem now:
>> >> ID_PATH is the same for all my vif interfaces, and i need to select
>> >> only one of them.
>> >>
>> >
>> > Please show "udevadm info -q all"
В Sun, 24 Aug 2014 09:19:13 +0200
Simon Peeters пишет:
> >> Ok, so there is only one problem now:
> >> ID_PATH is the same for all my vif interfaces, and i need to select
> >> only one of them.
> >>
> >
> > Please show "udevadm info -q all" for each interface.
>
> P:
> /devices/ocp/4740.usb
On 24 August 2014 04:26, Josh Triplett wrote:
> + - add molly-guard functionality: prompt for hostname if interactively
> shutting down a remote system (running as child of ssh)
I'll assume (and hope) that both the hostname prompt and SSH child
rule are merely example configurations of a more g
On Sat, Aug 23, 2014 at 8:59 PM, Ivan Shapovalov wrote:
> resume-generator understands resume= kernel command line parameter and
> instantiates the [email protected] accordingly if it is passed.
>
> This enables resume from hibernation using device specified on the kernel
> command line, whe
On Sat, Aug 23, 2014 at 2:47 PM, Ivan Shapovalov wrote:
> This can be used to initiate a resume from hibernation by path to a swap
> device containing the hibernation image.
>
> The respective templated unit is also added. It is instantiated using
> path to the desired resume device.
> ---
> Make
>> Ok, so there is only one problem now:
>> ID_PATH is the same for all my vif interfaces, and i need to select
>> only one of them.
>>
>
> Please show "udevadm info -q all" for each interface.
P:
/devices/ocp/4740.usb/47401c00.usb/musb-hdrc.1.auto/usb2/2-1/2-1:1.0/net/wlan0
E:
DEVPATH=/devi
---
man/udev.xml | 12 ++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/man/udev.xml b/man/udev.xml
index db72937..2948b9c 100644
--- a/man/udev.xml
+++ b/man/udev.xml
@@ -272,8 +272,8 @@
- Most of the fields support shell glob pattern matching.
15 matches
Mail list logo