Re: [systemd-devel] howto switch from grub2-bios to systemd-boot

2020-09-06 Thread Alexander E. Patrakov
ss. Both read and write. Typically for > VFAT. Yeah, a boot loader should not modify the files it is itself > loaded from and also keep writes generally at a minimum, but counting > boots is generally the absolute minimum necessary, and can be > implemented by single sec

Re: [systemd-devel] _netdev for system root mount?

2020-03-13 Thread Alexander E. Patrakov
https://systemd.io/ROOT_STORAGE_DAEMONS/ -- Alexander E. Patrakov CV: http://pc.cd/PLz7 ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] homed, LUKS2 passphrase encoding, and recovery key

2020-01-23 Thread Alexander E. Patrakov
t; I assume users want their login passphrase to use local characters. That's just an assumption, with no data presented to back it up. -- Alexander E. Patrakov ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] Make systemd-localed modify the kernel commandline for the initrd keymap?

2019-09-27 Thread Alexander E. Patrakov
to be protected after all, everbody should have the >same files there anyway, it's $HOME that needs protection. > It is still hard (due to the old, now expired, self-embargo) to buy any PC with a TPM in Russia. -- Alexander E. Patrakov ___

Re: [systemd-devel] How to add a second bridge to a nspawn container?

2019-01-03 Thread Alexander E. Patrakov
s. Being an access point helps, because one knows that there are no bridges on the far end, i.e. all incoming packets have Station = Source, and all outgoing packets except multicast have Station = Destination. To sidestep this limitation, use something like parprouted instead of a bri

Re: [systemd-devel] Running a service *just* before unmounting filesystems

2018-06-12 Thread Alexander E. Patrakov
n, the filesystem will be always dirty (i.e.: false positive), but we can probably manage it with another flag in grubenv. -- Alexander E. Patrakov ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] [ANNOUNCE] systemd v230

2016-05-22 Thread Alexander E. Patrakov
22.05.2016 13:33, Alexander E. Patrakov пишет: 22.05.2016 03:51, Zbigniew Jędrzejewski-Szmek пишет: Hi, systemd v230 has been tagged. Enjoy! CHANGES WITH 230: * Framebuffer devices (/dev/fb*) and 3D printers and scanners (devices tagged with ID_MAKER_TOOL) are now

Re: [systemd-devel] [ANNOUNCE] systemd v230

2016-05-22 Thread Alexander E. Patrakov
sign goals of Wayland, and this change breaks it. So, unless one of Wayland developers confirms that they are OK with it, please revert it and ask for a CVE. -- Alexander E. Patrakov ___ systemd-devel mailing list systemd-devel@lists.freedesktop

Re: [systemd-devel] RFC: Setting TasksMax= by default

2015-11-13 Thread Alexander E. Patrakov
. -- Alexander E. Patrakov ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] Method to solve a "ordering cycle"

2015-09-07 Thread Alexander E. Patrakov
you actually use the owncloud mount? -- Alexander E. Patrakov ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] Alienware graphics amplifier scancodes

2015-05-28 Thread Alexander E. Patrakov
, if the dock station is configured to be used for additional outputs only, it handles both docking and undocking without a reboot. -- Alexander E. Patrakov ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org

Re: [systemd-devel] pre-release warnings?

2015-05-26 Thread Alexander E. Patrakov
). In fact, they explicitly disable SysV compatibility in systemd: # disable sysv compatibility --with-sysvinit-path= --with-sysvrcnd-path= -- Alexander E. Patrakov ___ systemd-devel mailing list systemd-devel

Re: [systemd-devel] How to wait for specific interface/IP?

2015-05-26 Thread Alexander E. Patrakov
interfaces and addresses. The real problem here is with non-C languages. E.g. node.js, Java, Python 2.7 and even Go still have absolutely no support for IP_FREEBIND. -- Alexander E. Patrakov ___ systemd-devel mailing list systemd-devel

Re: [systemd-devel] systemd-nspawn and IPv6

2015-04-29 Thread Alexander E. Patrakov
, it is a part of odhcpd, which is used in OpenWRT. https://github.com/sbyx/odhcpd -- Alexander E. Patrakov ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] multipath breaks with recent udev/systemd

2014-12-15 Thread Alexander E. Patrakov
-- Alexander E. Patrakov ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] [gummiboot][RFC] Add trusted boot (tboot) support to gummiboot

2014-11-10 Thread Alexander E. Patrakov
wrapper that is able to execute EFI binaries and only them. Would it be feasible to convert tboot into an EFI binary instead, and measure/validate it as such, using the API provided by UEFI for that? -- Alexander E. Patrakov ___ systemd-devel mailing list

[systemd-devel] On /dev/disk/by-id/ata-...-part2 missing, again

2014-10-27 Thread Alexander E. Patrakov
and interferes with udev event handling? -- Alexander E. Patrakov ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] On /dev/disk/by-id/ata-...-part2 missing, again

2014-10-27 Thread Alexander E. Patrakov
27.10.2014 21:49, Lennart Poettering wrote: On Mon, 27.10.14 21:46, Alexander E. Patrakov (patra...@gmail.com) wrote: Some time ago, I have complained that some boots are unsuccessful, because the /dev/disk/by-id/ata-OCZ-VECTOR_OCZ-Z5CB4KC20X0ZG7F8-part2 symlink (which should point to /dev

Re: [systemd-devel] On /dev/disk/by-id/ata-...-part2 missing, again

2014-10-27 Thread Alexander E. Patrakov
27.10.2014 22:13, Lennart Poettering wrote: On Mon, 27.10.14 21:57, Alexander E. Patrakov (patra...@gmail.com) wrote: 27.10.2014 21:49, Lennart Poettering wrote: On Mon, 27.10.14 21:46, Alexander E. Patrakov (patra...@gmail.com) wrote: Some time ago, I have complained that some boots

Re: [systemd-devel] On /dev/disk/by-id/ata-...-part2 missing, again

2014-10-27 Thread Alexander E. Patrakov
27.10.2014 22:28, Lennart Poettering wrote: On Mon, 27.10.14 22:22, Alexander E. Patrakov (patra...@gmail.com) wrote: Thanks for the pointer. It is good to know that the information is available in the kernel. Unfortunately, it is not possible to run the lslocks program manually or see

Re: [systemd-devel] On /dev/disk/by-id/ata-...-part2 missing, again

2014-10-27 Thread Alexander E. Patrakov
27.10.2014 22:13, Lennart Poettering wrote: On Mon, 27.10.14 21:57, Alexander E. Patrakov (patra...@gmail.com) wrote: 27.10.2014 21:49, Lennart Poettering wrote: On Mon, 27.10.14 21:46, Alexander E. Patrakov (patra...@gmail.com) wrote: Some time ago, I have complained that some boots

Re: [systemd-devel] [RFC v2 3/6] kthread: warn on kill signal if not OOM

2014-10-15 Thread Alexander E. Patrakov
information about stuck process Nitpick: this only works only if the stuck modprobe bug is 100% reproducible. Which is not a given. So it is better to collect as much information about the bug when it is noticed by systemd. -- Alexander E. Patrakov

Re: [systemd-devel] [uml-devel] Timed out waiting for device dev-disk-by...

2014-09-30 Thread Alexander E. Patrakov
. -- Alexander E. Patrakov ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] [PATCH] socket-proxyd: Unchecked return value from library

2014-09-19 Thread Alexander E. Patrakov
react to that log message? I'm fine with it being at the debug priority, but I am not the person who makes decisions here. -- Alexander E. Patrakov ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman

Re: [systemd-devel] [RFC v2 3/6] kthread: warn on kill signal if not OOM

2014-09-10 Thread Alexander E. Patrakov
recently. Just for the record, this only caused user-visible problems after kernel commit 786235ee (November 2013), right? No. The pata-marvell (or rather libata in general) problem existed before that. -- Alexander E. Patrakov ___ systemd-devel

Re: [systemd-devel] [RFC v2 3/6] kthread: warn on kill signal if not OOM

2014-09-10 Thread Alexander E. Patrakov
10.09.2014 12:58, Tom Gundersen пишет: On Wed, Sep 10, 2014 at 8:53 AM, Alexander E. Patrakov patra...@gmail.com wrote: 10.09.2014 12:46, Tom Gundersen пишет: On Tue, Sep 9, 2014 at 10:45 PM, Luis R. Rodriguez mcg...@do-not-panic.com wrote: On Tue, Sep 9, 2014 at 12:35 PM, James Bottomley

Re: [systemd-devel] [RFC v2 3/6] kthread: warn on kill signal if not OOM

2014-09-10 Thread Alexander E. Patrakov
to XDC2014, LinuxCon Europe and Plumbers. I will take my laptop with me, feel free to see the situation firsthand or try debugging patches. -- Alexander E. Patrakov ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http

Re: [systemd-devel] You are invited to give your thoughts on some async-signal-safety issues.

2014-09-05 Thread Alexander E. Patrakov
-signal safety issues. They use fork quite non-trivially for background saving of their database from memory to disk. -- Alexander E. Patrakov ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo

[systemd-devel] systemd-215: could not boot, missing /dev/disk/...-part2 symlink

2014-09-01 Thread Alexander E. Patrakov
(and this also means symlinks are not created). But then there should be an Unable to flock debug message in journalctl -b -p debug, and it doesn't exist. So it must be something else. Any other ideas? -- Alexander E. Patrakov + cat /lib/dracut/dracut-038-r2 dracut-038-r2 + cat /proc/cmdline BOOT_IMAGE

Re: [systemd-devel] systemd-213: regression with zram

2014-06-24 Thread Alexander E. Patrakov
value to /sys/block/zram0/disksize. 3. Verify (e.g. in /proc/partitions) that the disk size is applied correctly. It is. 4. While that program still sleeps, attempt to mkswap /dev/zram0. This fails: mkswap: error: swap area needs to be at least 40 KiB There is nothing in dmesg. -- Alexander E

Re: [systemd-devel] systemd-213: regression with zram

2014-06-24 Thread Alexander E. Patrakov
. Patrakov patra...@gmail.com Signed-off-by: Minchan Kim minc...@kernel.org Tested-by: Alexander E. Patrakov patra...@gmail.com It indeed fixes the problem. --- drivers/block/zram/zram_drv.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/block/zram/zram_drv.c b

Re: [systemd-devel] [ANNOUNCE] systemd 214

2014-06-11 Thread Alexander E. Patrakov
: it breaks a (mis-?)documented way to integrate zram swap and systemd. -- Alexander E. Patrakov ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] systemd-213: regression with zram

2014-06-09 Thread Alexander E. Patrakov
09.06.2014 19:26, Kai Krakow wrote: Alexander E. Patrakov patra...@gmail.com schrieb: I have upgraded systemd from 212 to 213 on two my Gentoo boxes, and see the same regression here: zram swap space does not get activated. It looks like systemd tries to activate swap before the RUN+=mkswap

Re: [systemd-devel] systemd-213: regression with zram

2014-06-09 Thread Alexander E. Patrakov
09.06.2014 20:11, Kay Sievers wrote: On Mon, Jun 9, 2014 at 4:02 PM, Alexander E. Patrakov patra...@gmail.com wrote: 09.06.2014 19:26, Kai Krakow wrote: Alexander E. Patrakov patra...@gmail.com schrieb: I have upgraded systemd from 212 to 213 on two my Gentoo boxes, and see the same

Re: [systemd-devel] no fsck at boot

2014-06-09 Thread Alexander E. Patrakov
two fields, then, of course, systemd will not call fsck. If there are different numbers there, sure, let's debug. Also, now the entity that is supposed to check your root filesystem is dracut. Are you using it? Does the problem go away if you regenerate your initramfs? -- Alexander E

Re: [systemd-devel] no fsck at boot

2014-06-09 Thread Alexander E. Patrakov
10.06.2014 00:57, Reindl Harald wrote: Am 09.06.2014 20:45, schrieb Alexander E. Patrakov: 10.06.2014 00:04, Reindl Harald wrote: Am 09.06.2014 17:05, schrieb Colin Guthrie: 'Twas brillig, and Reindl Harald at 08/06/14 13:59 did gyre and gimble: touch /forcefsck leads in deprecated

[systemd-devel] systemd-213: regression with zram

2014-06-08 Thread Alexander E. Patrakov
swappri=10,discard 0 0 -- Alexander E. Patrakov ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] GuessMainPID=no required to make daemon reload work

2014-05-22 Thread Alexander E. Patrakov
of file locking is employed to implement this logic. I guess that the text needs to be clarified, as currently it is a source of long-living locks on PID-files, with the associated vulnerabilities. -- Alexander E. Patrakov ___ systemd-devel mailing list

[systemd-devel] Dead link in man 7 daemon

2014-05-22 Thread Alexander E. Patrakov
://developer.apple.com/library/mac/documentation/MacOSX/Conceptual/BPSystemStartup/Chapters/CreatingLaunchdJobs.html -- Alexander E. Patrakov ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

[systemd-devel] On the recent commit conf-parser: never consider it an error

2014-05-22 Thread Alexander E. Patrakov
errno in the second line is the original errno. I.e. why log_full() can't clobber the errno with some other error that happens while logging. -- Alexander E. Patrakov ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http

Re: [systemd-devel] [HEADS-UP] Discoverable Partitions Spec

2014-03-07 Thread Alexander E. Patrakov
distro on it. -- Alexander E. Patrakov ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] Regarding how to properly use zram on a systemd setup

2014-02-02 Thread Alexander E. Patrakov
(and not mentioned in the Gentoo wiki) so that zram returns once-used compressed swap to the system. $ cat /etc/modprobe.d/zram.conf options zram num_devices=4 $ cat /etc/modules-load.d/zram.conf zram -- Alexander E. Patrakov ___ systemd-devel mailing list

Re: [systemd-devel] [PATCH] udev: Adding zram to inappropriate block device

2014-02-02 Thread Alexander E. Patrakov
. offtopic One patch that would be useful, however, is to make systemd say this system cannot hibernate if all swap devices are zrams. /offtopic -- Alexander E. Patrakov ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http

Re: [systemd-devel] [PATCH] udev: Adding zram to inappropriate block device

2014-02-02 Thread Alexander E. Patrakov
02.02.2014 20:18, Jóhann B. Guðmundsson wrote: On 02/02/2014 01:39 PM, Alexander E. Patrakov wrote: The patch is obviously harmless. However, I am not convinced that it is needed, because in my setup (without this patch) there are no links in /dev/disk pointing to any zram device. You can

Re: [systemd-devel] [systemd-bugs] Russian translation for systemd

2013-11-17 Thread Alexander E. Patrakov
msgstr Разрешить подключение устройств к терминалу Is there any prior art for translating seat as терминал? Won't that clash with tty at some point? -- Alexander E. Patrakov ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http

Re: [systemd-devel] [systemd-bugs] Russian translation for systemd

2013-11-17 Thread Alexander E. Patrakov
), you both use the term сеанс, which is good. -- Alexander E. Patrakov ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] [systemd-bugs] Russian translation for systemd

2013-11-17 Thread Alexander E. Patrakov
2013/11/18 Sergey Ptashnick 0comff...@inbox.ru: On 17.11.2013 16:34, Alexander E. Patrakov wrote: You translate host name as имя компьютера, both GDM and KDM translators use имя узла. In this case, IMHO, evidence and intuitivity have priority over consistency. Please tell if you think I'm

Re: [systemd-devel] [systemd-bugs] Russian translation for systemd

2013-11-15 Thread Alexander E. Patrakov
translation in just one commit. -- Alexander E. Patrakov ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] [systemd-bugs] Russian translation for systemd

2013-11-14 Thread Alexander E. Patrakov
синхронизацию времени по сети? -- Alexander E. Patrakov ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] [systemd-bugs] Russian translation for systemd

2013-11-14 Thread Alexander E. Patrakov
2013/11/14 Juliette Tux juliette@gmail.com: On 14 November 2013 19:10, Alexander E. Patrakov patra...@gmail.com wrote: I have never seen pretty translated as чудесный in such context (where the meaning is descriptive, meaningful). Could you please show some prior art? No, I'm afraid

Re: [systemd-devel] Need help with a systemd/mdadm interaction.

2013-11-13 Thread Alexander E. Patrakov
is waiting for the array device, then there is no point forcing it is false, because there is no way to know that no-one is waiting. -- Alexander E. Patrakov ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman

Re: [systemd-devel] [PATCH 0/2] (dracut) hwdb needed in early boot for some keyboards

2013-11-13 Thread Alexander E. Patrakov
2013/11/13 Alexander E. Patrakov patra...@gmail.com: Colin Guthrie wrote: Hi, In this bug report https://bugs.mageia.org/show_bug.cgi?id=11645 a user is unable to enter their encrypted root password via a wireless keyboard connected with a Logitech, Inc. Unifying Receiver. Just in case

Re: [systemd-devel] [PATCH 0/2] (dracut) hwdb needed in early boot for some keyboards

2013-11-13 Thread Alexander E. Patrakov
2013/11/13 Colin Guthrie gm...@colin.guthr.ie: 'Twas brillig, and Alexander E. Patrakov at 13/11/13 16:49 did gyre and gimble: 2013/11/13 Alexander E. Patrakov patra...@gmail.com: Colin Guthrie wrote: Hi, In this bug report https://bugs.mageia.org/show_bug.cgi?id=11645 a user is unable

Re: [systemd-devel] [PATCH 0/2] (dracut) hwdb needed in early boot for some keyboards

2013-11-13 Thread Alexander E. Patrakov
and mice to misbehave - the host just turns them off mistakenly. So /lib/udev/rules.d/42-usb-hid-pm.rules does look relevant. -- Alexander E. Patrakov ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman

Re: [systemd-devel] [PATCH 0/2] (dracut) hwdb needed in early boot for some keyboards

2013-11-13 Thread Alexander E. Patrakov
2013/11/13 Alexander E. Patrakov patra...@gmail.com: 2013/11/13 Colin Guthrie gm...@colin.guthr.ie: What about if you generate it with the keyboard plugged in? It should include the usbhid module then, but does it actually work? Will try a bit later, but I suspect this is the wrong direction

Re: [systemd-devel] [PATCH 0/2] (dracut) hwdb needed in early boot for some keyboards

2013-11-13 Thread Alexander E. Patrakov
2013/11/14 Colin Guthrie gm...@colin.guthr.ie: What kernel are you using out of interest? This kernel is a git snapshot between 3.12.0-rc2 and -rc3. Compiled on Gentoo. -- Alexander E. Patrakov ___ systemd-devel mailing list systemd-devel

Re: [systemd-devel] Need help with a systemd/mdadm interaction.

2013-11-13 Thread Alexander E. Patrakov
NeilBrown пишет: On Wed, 13 Nov 2013 22:11:27 +0600 Alexander E. Patrakov patra...@gmail.com wrote: 2013/11/13 NeilBrown ne...@suse.de: On Tue, 12 Nov 2013 19:01:49 +0400 Andrey Borzenkov arvidj...@gmail.com wrote: Something like mdadm-last-resort@.timer [Timer] OnCalendar=+5s mdadm-last

Re: [systemd-devel] [PATCH 0/2] (dracut) hwdb needed in early boot for some keyboards

2013-11-12 Thread Alexander E. Patrakov
and will validate the bug (for the LUKS-password case) later today on my laptop. The keyboard does work on my desktop, but there's no initramfs there. -- Alexander E. Patrakov ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http

Re: [systemd-devel] systemd fails to build with static kmod library

2013-06-04 Thread Alexander E. Patrakov
in libtool. There is nothing systemd can do about it. -- Alexander E. Patrakov ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] [PATCH 3/6] nss-myhostname: integrate into systemd buildsystem

2013-01-08 Thread Alexander E. Patrakov
2013/1/8 Bryan Kadzban br...@kadzban.is-a-geek.net: I *suppose* that might be because pkg-config or some equivalent fixes it up somehow, pointing to the .la files directly. Or maybe -L affects this somehow. The -L option does have an effect on this. -- Alexander E. Patrakov

Re: [systemd-devel] RFC: Predictable Network Interface Names

2013-01-08 Thread Alexander E. Patrakov
* Being a cross-distribution standard * Easiness to opt out of the scheme i.e. imagine that you are writing a US patent, don't be afraid of essentially duplicate entries. -- Alexander E. Patrakov ___ systemd-devel mailing list systemd-devel

Re: [systemd-devel] [PATCH 3/6] nss-myhostname: integrate into systemd buildsystem

2013-01-07 Thread Alexander E. Patrakov
/bugreport.cgi?bug=655450 -- Alexander E. Patrakov ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] Proposal: integrate biosdevname into systemd tree

2013-01-04 Thread Alexander E. Patrakov
machines biosdevname deactivates itself automatically. -- Alexander E. Patrakov ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] Proposal: integrate biosdevname into systemd tree

2013-01-04 Thread Alexander E. Patrakov
You can achieve the same by manually writing the equivalent of the persistent rules by hand, just don't name the renamed interfaces eth*. Existing rules override what biosdevname thinks. And you can use variables like $LAN and $WAN in the scripts. -- Alexander E. Patrakov

Re: [systemd-devel] ExecRestart

2012-11-29 Thread Alexander E. Patrakov
. What you described is just a nice way to do a reload. However, as the main pid changes during this reload, please be careful - several years ago that would hit an assertion in systemd, and due to my aziness I have not verified the fix. -- Alexander E. Patrakov Sent from Nokia N900

Re: [systemd-devel] [RFC] logind lid switch inhibitors

2012-09-18 Thread Alexander E. Patrakov
, or if removing AC power while the lid is closed. Would that be OK for you? -- Alexander E. Patrakov Sent from Nokia N900 ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] Cryptsetup on FakeRAID fails with timeout

2012-09-17 Thread Alexander E. Patrakov
. Now that a normal md raid is able to assemble fake RAIDs perviously handled by dmraid, could you please try to migrate? Just try to assemble md raid as usual, obviously without having run dmraid. You'll get devices like md126_p1 and md126_p2. -- Alexander E. Patrakov

[systemd-devel] Starting Display Managers

2012-08-21 Thread Alexander E. Patrakov
. This is not exactly a theoretical question. While I could not reproduce this race using a RAID0 setup made from two Samsung SATA-III SSDs, it does trigger reliably (even with an Intel card) if one puts the entire system into an initramfs and makes the /init - usr/bin/systemd symlink. -- Alexander E. Patrakov

Re: [systemd-devel] Thoughts on adapting daemons to use socket activation

2012-08-21 Thread Alexander E. Patrakov
a configuration file (a service file?), just like the ServerLimit and MaxClients apache2 config directives. And the whole things looks very much like apache2 preform MPM. -- Alexander E. Patrakov ___ systemd-devel mailing list systemd-devel

Re: [systemd-devel] Thoughts on adapting daemons to use socket activation

2012-08-21 Thread Alexander E. Patrakov
2012/8/21 Alexander E. Patrakov patra...@gmail.com: 2012/8/21 Lennart Poettering lenn...@poettering.net: On Sat, 18.08.12 16:04, David Strauss (da...@davidstrauss.net) wrote: Additionally, socket activation could get rather interesting capability if there were a middle-ground between single

Re: [systemd-devel] [PATCH] add keyscript support to cryptsetup

2012-07-11 Thread Alexander E. Patrakov
against races without an easy way to say this password agent (or even: this encrypted volume) needs yubikey and fail with an error message explicitly mentioning yubikey if yubikey didn't show up for 10 seconds. -- Alexander E. Patrakov ___ systemd-devel

Re: [systemd-devel] timed events

2012-06-30 Thread Alexander E. Patrakov
that nothing needs to be changed in systemd to get the effect I want. -- Alexander E. Patrakov ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] timed events

2012-06-29 Thread Alexander E. Patrakov
) and not to forget to reenable it later. -- Alexander E. Patrakov ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] 'Offline System Updates' examination

2012-06-21 Thread Alexander E. Patrakov
. This, theoretically, has a huge advantage of being able to work on on source-based distributions like gentoo (unlike the original sequence, which means at least 1 hour of complete downtime due to compilation of LibreOffice at step 3). -- Alexander E. Patrakov ___ systemd

Re: [systemd-devel] 'Offline System Updates' examination

2012-06-21 Thread Alexander E. Patrakov
snapshot approach would handle this correctly by installing each package as soon as it gets compiled. -- Alexander E. Patrakov ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] 'Offline System Updates' examination

2012-06-21 Thread Alexander E. Patrakov
- just the ability of the package manager to set a different btrfs root mount option for next boots. -- Alexander E. Patrakov ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] ssh socket activation (Was: systemd unit files for Debian based systems)

2012-06-19 Thread Alexander E. Patrakov
this discrepancy in the unit file. -- Alexander E. Patrakov ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] [PATCH] Circumvent autofs_v5_packet_union size bug

2011-09-17 Thread Alexander E. Patrakov
that returns the correct size even under linux32. -- Alexander E. Patrakov ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] [PATCH 1/2] wpa_supplicant: Add systemd support

2011-07-13 Thread Alexander E. Patrakov
Lennart Poettering wrote: On Tue, 12.07.11 16:20, Henry Gebhardt (hsggebha...@googlemail.com) wrote: (To the hostap mailing list: I wasn't subscribed to this list when I sent the patches, now I am. Did they reach you?) On Mon, Jul 11, 2011 at 10:13:52PM +, Alexander E. Patrakov

Re: [systemd-devel] [PATCH 1/2] wpa_supplicant: Add systemd support

2011-07-11 Thread Alexander E. Patrakov
appears? -- Alexander E. Patrakov ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] Assertion failed in systemd v16

2011-01-18 Thread Alexander E. Patrakov
18.01.2011 04:14, Lennart Poettering пишет: On Mon, 10.01.11 15:11, Alexander E. Patrakov (patra...@gmail.com) wrote: [Unit] Description=Lighttpd Web Server After=network.target [Service] Type=forking EnvironmentFile=/etc/conf.d/lighttpd PIDFile=/var/run/lighttpd.pid ExecStartPre=/usr/sbin

Re: [systemd-devel] lighttp unit - graceful reload of configfiles by sending signal to $MAINPID

2011-01-18 Thread Alexander E. Patrakov
on restart (but not on stop). It is not obvious for me how this can work without a new directive. -- Alexander E. Patrakov ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

[systemd-devel] Restarting sshd

2011-01-11 Thread Alexander E. Patrakov
to use sshd.socket + # s...@.service (i.e. the on-demand spawning version for one instance per # connection). -- Alexander E. Patrakov ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd

Re: [systemd-devel] Restarting sshd

2011-01-11 Thread Alexander E. Patrakov
submission recorded in any mailing list? Basically, I want some mail to use as a template. -- Alexander E. Patrakov ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] lighttp unit - graceful reload of configfiles by sending signal to $MAINPID

2011-01-11 Thread Alexander E. Patrakov
with the running instances of lighttpd and lighttpd-angel. -- Alexander E. Patrakov ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] [PATCH] ExecConfigTest first try

2011-01-11 Thread Alexander E. Patrakov
, not the command executed successfully. -- Alexander E. Patrakov ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

[systemd-devel] Assertion failed in systemd v16

2011-01-10 Thread Alexander E. Patrakov
and the assertion failure. So I guess that both bugs are somehow related to my usage of $MAINPID. -- Alexander E. Patrakov ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] Assertion failed in systemd v16

2011-01-10 Thread Alexander E. Patrakov
, argv=value optimized out) at src/main.c:1166 -- Alexander E. Patrakov ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] [PATCH] service: Allow mainpid to restart in other than SERVICE_EXEC_START.

2011-01-10 Thread Alexander E. Patrakov
10.01.2011 18:57, Mirco Tischler wrote: This patch should fix it. Can you test it? The problem was that after a the mainpid exits, and because there are commands left to execute systemd assumes it executes an ExecStart line from a type=oneshot service file. But in this case it executes an

Re: [systemd-devel] [PATCH] service: Allow mainpid to restart in other than SERVICE_EXEC_START.

2011-01-10 Thread Alexander E. Patrakov
it is indeed wrong to fail the assertion due to it, as it would be a security hole. However, in my opinion, it is also suboptimal (and maybe even wrong) to continue executing new commands when it is clear that the main PID no longer exists although it should - i.e., the service died. -- Alexander E

Re: [systemd-devel] lighttp unit - graceful reload of configfiles by sending signal to $MAINPID

2011-01-10 Thread Alexander E. Patrakov
with it yourself. To experiment with graceful restarts, you can put some music in the document root and attempt to download it with wget -O /dev/null --limit-rate=20k http://127.0.0.1/file.mp3 while restarting lighttpd. -- Alexander E. Patrakov ___ systemd