Re: [systemd-devel] Randomly on shutdown, stop timeout for user at .service (repeated report, different user)

2013-10-21 Thread Andrey Borzenkov
В Mon, 21 Oct 2013 19:15:26 +0300 Toms Seisums toms.seis...@gmail.com пишет: No, I haven't. I have attempted every single post-204 fix found on the internet and nothing seems to be fixing the issue. Only thing fixing is downgrading to 204. I have connected some dots with services that are

Re: [systemd-devel] moving from SysV to systemd - issue with / being ro

2013-10-16 Thread Andrey Borzenkov
В Thu, 17 Oct 2013 00:07:55 +0200 Kay Sievers k...@vrfy.org пишет: typically the line looks like this UUID=b834776d-69d1-49c6-97c1-d6d758a438f0 / ext4 defaults i doubt that anything smells what none means It typically makes not much sense to specify the id of the rootfs in a file

Re: [systemd-devel] Randomly on shutdown, stop timeout for user at .service (repeated report, different user)

2013-10-07 Thread Andrey Borzenkov
В Mon, 7 Oct 2013 12:58:16 -0700 Kok, Auke-jan H auke-jan.h@intel.com пишет: Doing a `ln -sf /usr/lib/systemd/user/dbus.socket /etc/systemd/user/default.target.wants/dbus.socket` (quick hack) or something like that maybe helps, but you're running into the basic problem that there's just

Re: [systemd-devel] Randomly on shutdown, stop timeout for user at .service (repeated report, different user)

2013-10-04 Thread Andrey Borzenkov
В Fri, 4 Oct 2013 19:31:43 +0300 Toms Seisums toms.seis...@gmail.com пишет: @Andrey, the full log can be found here, the link was there before also: http://pastebin.com/wbr04AQw (systemd-207) It's quite silent about the cause for the timeout, though. How do you generate it? It lacks any

Re: [systemd-devel] systemd --user sometimes is not stopped by systemd-exit.service

2013-10-02 Thread Andrey Borzenkov
В Tue, 1 Oct 2013 04:34:36 +0200 Lennart Poettering lenn...@poettering.net пишет: On Thu, 26.09.13 09:41, Andrey Borzenkov (arvidj...@gmail.com) wrote: I'm still observing timeouts stopping user@0.service on shutdown. It appears to be some race condition, because enabling debugging

Re: [systemd-devel] Randomly on shutdown, stop timeout for user at .service (repeated report, different user)

2013-09-30 Thread Andrey Borzenkov
В Mon, 30 Sep 2013 18:55:14 +0300 Toms Seisums toms.seis...@gmail.com пишет: It appears that history repeats itself. Once (July 2013) a similar issue was reported here, by different user: http://lists.freedesktop.org/archives/systemd-devel/2013-July/012283.html I'm also using Arch Linux,

[systemd-devel] [PATCH] set IgnoreOnIsolate=true for systemd-cryptsetup@.service

2013-09-29 Thread Andrey Borzenkov
When crypttab contains noauto, cryptsetup service does not have any explicit dependencies. If service is started later manually (directly or via mount dependency) it will be stopped on isolate. mount units already have IgnoreOnIsolate set by default. Set it by default for cryptsetup units as

Re: [systemd-devel] Multiple mounts of same device after boot

2013-09-25 Thread Andrey Borzenkov
В Wed, 25 Sep 2013 09:42:37 +0200 Oliver Maurhart d...@dyle.org пишет: #!/bin/hi * I'm pretty sure it's a PEBCAK but I don't get it. I do have multiple mounts of the same device over and over after boot and I don't know why. Please could someone help me out. Here some specs:

[systemd-devel] systemd --user sometimes is not stopped by systemd-exit.service

2013-09-25 Thread Andrey Borzenkov
I'm still observing timeouts stopping user@0.service on shutdown. It appears to be some race condition, because enabling debugging of either main systemd or user systemd, or even changing console from vt to serial would hide it. Sometimes it also works using vt console as well. Here is difference

Re: [systemd-devel] [PATCH] Fix timeout when stopping Type=notify service

2013-09-21 Thread Andrey Borzenkov
В Fri, 20 Sep 2013 22:53:52 +0200 Olivier Brunel j...@jjacky.com пишет: Since 41efeaec a call to service_unwatch_main_pid() is done from service_set_main_pid(), which is called upon receiving message MAINPID= This had the side effect of not watching pid anymore, and would result in a

[systemd-devel] [PATCH] clarify $ escaping in Exec* lines

2013-09-19 Thread Andrey Borzenkov
Explain that literal $ can be passed by doubling it. --- man/systemd.service.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/man/systemd.service.xml b/man/systemd.service.xml index 8eda85f..c06e14e 100644 --- a/man/systemd.service.xml +++ b/man/systemd.service.xml @@

Re: [systemd-devel] Environment or an environment file with empty variable value

2013-09-18 Thread Andrey Borzenkov
В Wed, 18 Sep 2013 15:51:27 -0500 David Strauss da...@davidstrauss.net пишет: On Wed, Sep 18, 2013 at 7:25 AM, Belal, Awais awais_be...@mentor.com wrote: Is this the intended behavior? Yes: If the empty string is assigned to this option, the list of environment variables is reset, all

Re: [systemd-devel] systemctl enable/disable of sysvinit services is busted v206

2013-09-08 Thread Andrey Borzenkov
В Sun, 08 Sep 2013 11:23:33 +0100 Colin Guthrie gm...@colin.guthr.ie пишет: Hi, I noticed from a user bug report that systemctl enable/disable on sysvinit services (i.e. redirection to chkconfig) is broken. I can't see anything in master that would fix this, so just wondering if it's a

Re: [systemd-devel] Question on debugging getty 'runlevel 3' issue.

2013-08-20 Thread Andrey Borzenkov
В Mon, 19 Aug 2013 20:35:35 -0700 Ben Greear gree...@candelatech.com пишет: On 08/19/2013 07:39 PM, Andrey Borzenkov wrote: В Mon, 19 Aug 2013 17:59:23 -0700 Ben Greear gree...@candelatech.com пишет: On 08/19/2013 05:53 PM, Kay Sievers wrote: On Tue, Aug 20, 2013 at 12:36 AM, Ben

Re: [systemd-devel] Question on debugging getty 'runlevel 3' issue.

2013-08-19 Thread Andrey Borzenkov
В Mon, 19 Aug 2013 17:59:23 -0700 Ben Greear gree...@candelatech.com пишет: On 08/19/2013 05:53 PM, Kay Sievers wrote: On Tue, Aug 20, 2013 at 12:36 AM, Ben Greear gree...@candelatech.com wrote: I'm using Fedora 19 on a 32-bit dual-core Atom system. I installed Mate, various other

[systemd-devel] Is ExecStop executed when service terminates by itself?

2013-07-26 Thread Andrey Borzenkov
The https://bugzilla.novell.com/show_bug.cgi?id=830675 describes a problem where vbox initscript apparently stopped working under systemd. Script is supposed to start VMs on system boot. As long as I can tell, script actually does work - but when it finishes, systemd interprets it as service has

Re: [systemd-devel] /etc/systemd/system/darkice.service

2013-07-24 Thread Andrey Borzenkov
В Wed, 24 Jul 2013 15:10:01 +0800 Kai Hendry hen...@iki.fi пишет: On 22 July 2013 23:56, Andrey Borzenkov arvidj...@gmail.com wrote: network-online.target has no requirement for pingtest.service. All that this configuration does is delaying network-online.target by at most 60 seconds

Re: [systemd-devel] /etc/systemd/system/darkice.service

2013-07-22 Thread Andrey Borzenkov
В Mon, 22 Jul 2013 17:48:11 +0800 Kai Hendry hen...@iki.fi пишет: I enabled the above as pingtest.service and added Wants=network-online.target under the [Unit] heading in darkice.service. Still I don't understand how pingtest.service can fail here with exit 2 and even more confusingly

Re: [systemd-devel] runtime directories for services vs. tmpfiles

2013-07-16 Thread Andrey Borzenkov
В Tue, 16 Jul 2013 20:26:23 +0200 Lennart Poettering lenn...@poettering.net пишет: On Tue, 16.07.13 18:53, Lennart Poettering (lenn...@poettering.net) wrote: I'd be very conservative regarding adding full tmpfiles support into unit files directly. Instead, I'd suggest adding two very

Re: [systemd-devel] fstab Mounts Not Getting Waken Up

2013-07-14 Thread Andrey Borzenkov
В Fri, 12 Jul 2013 10:00:32 -0700 cac...@quantum-sci.com пишет: Reindl Harald: the example settings below mean i have 30 seconds which my ssh-tunnels and connections are surviving network downtime for whatever reason Server (/etc/ssh/sshd_config): TCPKeepAlive yes KeepAlive yes

[systemd-devel] list-unit-files does not show generated units

2013-06-30 Thread Andrey Borzenkov
Is it intentional? This could be quite confusing when trying to debug problems involving generated units. ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

[systemd-devel] Trivial denial of service using link to NFS mounted directory

2013-06-30 Thread Andrey Borzenkov
If symlink points to NFS (hard) mounted directory and NFS server is down, running sysyemctl list-unit-files result in systemd hanging and no more responding to anything. No way to switch vt (which is spawned on demand), no way to reboot system, nothing. Killing systemctl itself does not help, as

Re: [systemd-devel] Modifying kernel vars through sysctl.d

2013-06-20 Thread Andrey Borzenkov
В Thu, 20 Jun 2013 12:24:06 + Belal, Awais awais_be...@mentor.com пишет: Hi, I am trying to update a kernel variable on boot. So, after reading a bit here and there I found out that I could simply provide a .conf file under /etc/sysctl.d/ and have my required configs in it. I placed a

Re: [systemd-devel] Masking socket activated services is broken

2013-06-19 Thread Andrey Borzenkov
В Wed, 19 Jun 2013 09:36:49 -0700 Kok, Auke-jan H auke-jan.h@intel.com пишет: On Tue, Jun 18, 2013 at 10:15 PM, Michael Biebl mbi...@gmail.com wrote: Hi, I've run systemctl mask rsyslog.service, but the service can still be started via systemctl start rsyslog.service or by

Re: [systemd-devel] Problems with SWAP in 204

2013-06-18 Thread Andrey Borzenkov
В Wed, 19 Jun 2013 03:39:39 +0200 Tom Gundersen t...@jklm.no пишет: On Wed, Jun 19, 2013 at 12:16 AM, Henrik /KaarPoSoft hen...@kaarposoft.dk wrote: When booting, I get a few errors related to swap; in particular: Failed to reread /proc/swaps: File exists swapon: /dev/sda3: swapon failed:

[systemd-devel] Rate limiting socket-activating services that fail to start

2013-06-15 Thread Andrey Borzenkov
I was testing behavior when syslog.service fails to start and found systemd taking 100% of CPU (core) time - 50% user, 50% system. See http://marc.info/?l=opensusem=137127774415206w=2 Is it possible to rate limit socket activated service? I do not see any parameters in systemd.unit or

Re: [systemd-devel] start/stop messages when activating a target?

2013-06-12 Thread Andrey Borzenkov
В Wed, 12 Jun 2013 12:39:00 +0100 Colin Guthrie gm...@colin.guthr.ie пишет: [ Please try to avoid top posting and HTML emails if possible!] 'Twas brillig, and Umut Tezduyar at 12/06/13 07:39 did gyre and gimble: On Wed, Jun 12, 2013 at 5:02 AM, Andrey Borzenkov arvidj...@gmail.com

Re: [systemd-devel] start/stop messages when activating a target?

2013-06-11 Thread Andrey Borzenkov
В Wed, 12 Jun 2013 01:32:37 +0200 Michael Olbrich m.olbr...@pengutronix.de пишет: Hi, When booting or during shutdown systemd prints the start stop messages for the services. Is it possible to get those messages when activating a target with systemctl? systemctl already prints status of

Re: [systemd-devel] Systemd debugging option, documentation clarification

2013-06-06 Thread Andrey Borzenkov
В Thu, 6 Jun 2013 10:03:29 +0200 Lennart Poettering lenn...@poettering.net пишет: On Wed, 15.05.13 22:28, John Connor (jaconno...@gmail.com) wrote: 1: It would be useful for debugging if systemctl had an option to show output on the screen (especially output from scripts run under

Re: [systemd-devel] shell / systemd config files

2013-06-06 Thread Andrey Borzenkov
В Thu, 6 Jun 2013 08:53:40 +0200 Lennart Poettering lenn...@poettering.net пишет: On Mon, 20.05.13 10:28, James Buren (r...@ymail.com) wrote: Files such as /etc/machine-info have an incompatibility with systemd in regards to how it writes and/or parses them. Take the following sample:

Re: [systemd-devel] Automatic Reboot Protocol [SOLVED]

2013-05-31 Thread Andrey Borzenkov
В Sat, 01 Jun 2013 04:08:27 + systemdki...@yopmail.com пишет: You can likely create a timer unit, and start that once...Auke Maybe, but I nurse doubts given systemctl oddities under discussion. Which oddities? I reviewed this thread and you never ever explained, *what* does not work.

Re: [systemd-devel] Automatic Reboot Protocol

2013-05-28 Thread Andrey Borzenkov
В Wed, 29 May 2013 04:24:41 + systemdki...@yopmail.com пишет: Tried all advice so far, no dice, but thanks. A more advanced timer/service layout may be needful in this rev of systemd (204), though I'm fairly clueless what. Last try was ( sleep 30 systemctl --no-block start

[systemd-devel] syslog web page formatting error

2013-05-24 Thread Andrey Borzenkov
The page http://www.freedesktop.org/wiki/Software/systemd/syslog/ contains [[!format txt [Unit] Description=System Logging Service Requires=syslog.socket [Service] ExecStart=/usr/sbin/syslog-ng -n StandardOutput=null [Install] Alias=syslog.service WantedBy=multi-user.target ]] I guess this

Re: [systemd-devel] How to get systemd to leave a USB serial console session alone when hadware is pulled?

2013-05-22 Thread Andrey Borzenkov
В Wed, 22 May 2013 02:23:45 -0700 Kaz Kylheku k...@kylheku.com пишет: On Wed, 22 May 2013 10:54:39 +0400, Andrey Borzenkov arvidj...@gmail.com wrote: Try removing BindTo. In your case you do not really want to make service dependent on existence of device, only first time launching

Re: [systemd-devel] shell / systemd config files

2013-05-21 Thread Andrey Borzenkov
On Tue, May 21, 2013 at 1:11 PM, Colin Guthrie gm...@colin.guthr.ie wrote: 'Twas brillig, and James Buren at 20/05/13 18:28 did gyre and gimble: Files such as /etc/machine-info have an incompatibility with systemd in regards to how it writes and/or parses them. Take the following sample:

Re: [systemd-devel] System units packaging and rpmlint

2013-05-19 Thread Andrey Borzenkov
В Sat, 18 May 2013 23:50:52 -0700 David Strauss da...@davidstrauss.net пишет: - some package install directly file in /usr/lib/systemd/system/*.wants There is some special case ( like plymouth ), but usually, that shouldn't be done directly in the package, but better done in %post, and

[systemd-devel] systemd fdo page formatting changed?

2013-05-19 Thread Andrey Borzenkov
According to web page last change is yesterday (18 May). It is quite different from what I remember. To start with, screenshot is on the left, not on the right. Then all lists are without line breaks that makes it near to impossible to find information. Am I the only one? Using Firefox 20.0 on

Re: [systemd-devel] Debugging systemd shutdown problem on openSuSE 12.3

2013-05-14 Thread Andrey Borzenkov
On Tue, May 14, 2013 at 11:43 AM, Rainer Krienke krie...@uni-koblenz.de wrote: Next I tried to reenable autofs, reboot, then manually stopped the service (systemctl stop autofs) and then reboot. Again the system hangs but this time I still have a remote ssh open and it was not killed so I

Re: [systemd-devel] Debugging systemd shutdown problem on openSuSE 12.3

2013-05-13 Thread Andrey Borzenkov
On Mon, May 13, 2013 at 5:28 PM, Rainer Krienke krie...@uni-koblenz.de wrote: Hello, I i trouble on a openSuSE 12.3 system that is using autofs to mount users home directories and other shares. The system basically works fine. When I try to shut down or reboot the system sometimes this

Re: [systemd-devel] Service unit issue: starts manually but doesn't start on boot

2013-04-20 Thread Andrey Borzenkov
В Fri, 19 Apr 2013 22:01:41 -0700 Peter Li chinasau...@gmail.com пишет: On 04/19/2013 04:16 AM, Colin Guthrie wrote: snip When I then run `systemctl start wsgw; systemctl status wsgw` I get: wsgw.service - WebSockets Gateway for pianod Loaded: loaded

Re: [systemd-devel] system shutdown: what unit is taking so long?

2013-04-17 Thread Andrey Borzenkov
On Wed, Apr 17, 2013 at 9:17 AM, Jan Engelhardt jeng...@inai.de wrote: I think systemd should print some status message -- like Shutdown of xendomains.service still running every 5sec, maybe? -- when shutting down some service takes longer than expected. If a login shell on console was not

Re: [systemd-devel] Lid close event delivered delayed

2013-04-17 Thread Andrey Borzenkov
В Wed, 17 Apr 2013 06:58:20 +0200 (CEST) Jan Engelhardt jeng...@inai.de пишет: Hi, something I observed with systemd-195 is that the LidClose event is delivered when switching from X to console while the lid is closed. This is unexpected, and what I expected is instead that nothing

Re: [systemd-devel] Lid close event delivered delayed

2013-04-17 Thread Andrey Borzenkov
В Wed, 17 Apr 2013 17:31:14 +0200 Lennart Poettering lenn...@poettering.net пишет: On Wed, 17.04.13 17:20, Jan Engelhardt (jeng...@inai.de) wrote: On Wednesday 2013-04-17 16:42, Lennart Poettering wrote: On Wed, 17.04.13 06:58, Jan Engelhardt (jeng...@inai.de) wrote: Well, the

Re: [systemd-devel] [PATCH] shell-completion/bash/systemctl: add completion for properties

2013-04-16 Thread Andrey Borzenkov
В Tue, 16 Apr 2013 19:06:28 +0200 Kay Sievers k...@vrfy.org пишет: On Tue, Apr 16, 2013 at 6:00 PM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: Perhaps we can come up with a way of creating this list dynamically so that we're not forever indebted to keeping this list up to date.

Re: [systemd-devel] EnvironmentFile spec

2013-04-14 Thread Andrey Borzenkov
В Sun, 14 Apr 2013 15:56:02 +0300 Nikos Platis npla...@gmail.com пишет: I would like to ask if the syntax specification for files used as EnvironmentFile's is available somewhere. man systemd.exec ___ systemd-devel mailing list

Re: [systemd-devel] 70-persistent-net.rules

2013-04-11 Thread Andrey Borzenkov
On Thu, Apr 11, 2013 at 2:50 AM, Reindl Harald h.rei...@thelounge.net wrote: /usr/share/doc/systemd/README.Fedora-18 - A hacky workaround that allows udev to rename network interfaces into kernel's ethX namespace has been re-added. This is to support users who still rely on udev rules

Re: [systemd-devel] [opensuse-kernel] New mount restriction?

2013-04-08 Thread Andrey Borzenkov
В Mon, 08 Apr 2013 11:37:14 -0400 Jeff Mahoney je...@suse.com пишет: On 4/8/13 8:49 AM, Tetsuo Handa wrote: Hello. It seems to me that mount --move /tmp/old/ /tmp/new/ is not working on opensuse 12.3 kernel. linux:~ # uname -r 3.7.10-1.1-desktop linux:~ # mkdir -p /tmp/old/

Re: [systemd-devel] Systemd of course

2013-04-07 Thread Andrey Borzenkov
В Sun, 7 Apr 2013 14:30:43 +0200 Pascal patate...@gmail.com пишет: Hi, I need some help to (even) understand systemd process (philosophy)... How, from a service, stop the boot process if an error occurs in this service? For example, a bash script do a check and return false or true.

Re: [systemd-devel] [PATCH] [RFC] Add DropIn paths to status message

2013-04-05 Thread Andrey Borzenkov
В Fri, 5 Apr 2013 17:38:05 +0200 Lennart Poettering lenn...@poettering.net пишет: On Fri, 05.04.13 18:27, Oleksii Shevchuk (alx...@gmail.com) wrote: dctl status null.target null.target - NYAN Loaded: loaded (/home/alxchk/.config/systemd/user/null.target; disabled) DropIn:

Re: [systemd-devel] [PATCH] Always use our own MAX/MIN definitions

2013-04-05 Thread Andrey Borzenkov
В Fri, 5 Apr 2013 19:20:28 +0200 Lennart Poettering lenn...@poettering.net пишет: On Mon, 01.04.13 03:08, Cristian Rodríguez (crrodrig...@opensuse.org) wrote: code in src/shared/macro.h only defined MAX/MIN in case they were not defined previously. however the MAX/MIN macros implemented

Re: [systemd-devel] persistent changes to the serial console

2013-03-31 Thread Andrey Borzenkov
В Sat, 30 Mar 2013 11:34:08 + Colin Guthrie gm...@colin.guthr.ie пишет: 'Twas brillig, and Lennart Poettering at 29/03/13 15:32 did gyre and gimble: On Fri, 29.03.13 13:29, Andrey Borzenkov (arvidj...@gmail.com) wrote: serial-getty@.service is used only as template, and it looks like

Re: [systemd-devel] persistent changes to the serial console

2013-03-29 Thread Andrey Borzenkov
В Wed, 27 Mar 2013 08:40:00 -0500 David A. Marlin dmar...@redhat.com пишет: moving to the mailing list: On 03/26/2013 09:04 PM, Lennart Poettering wrote: On 26.03.2013 19:21, David Marlin wrote: I am trying to make the serial console automatically log in a user on boot. I tried

Re: [systemd-devel] [PATCH] [RFC][PLEASE TEST] readahead: chunk on spinning media

2013-03-23 Thread Andrey Borzenkov
В Sat, 23 Mar 2013 23:47:52 +0100 Lennart Poettering lenn...@poettering.net пишет: On Sat, 23.03.13 23:42, Tom Gundersen (t...@jklm.no) wrote: On Sat, Mar 23, 2013 at 2:16 AM, Lennart Poettering lenn...@poettering.net wrote: Then, I generally believe better than trying to be smart

Re: [systemd-devel] nfs dependency in mysqld.service (best option)?

2013-03-19 Thread Andrey Borzenkov
В Tue, 19 Mar 2013 15:13:19 -0700 Gary Artim gar...@gmail.com пишет: I upgraded fedora last weekend to fc18 from fc17, issue: my mysql /mysqlbin/mysql-bin.index a configuration option, is on a NFS directory. Seem that mysqld.service fails because the NFS is not completely up. I can start

Re: [systemd-devel] shutdown umount order

2013-03-16 Thread Andrey Borzenkov
В Sat, 16 Mar 2013 16:17:37 +0400 Ilya Basin basini...@gmail.com пишет: CG 'Twas brillig, and Ilya Basin at 04/01/13 22:22 did gyre and gimble: Hi list. On shutdown I have Buffer I/O error on device dm-... because the truecrypt disk is unmounted later than the usb disk containing

Re: [systemd-devel] systemd kiosk volatile $HOME

2013-03-05 Thread Andrey Borzenkov
On Tue, Mar 5, 2013 at 3:41 PM, Mirco Tischler mt...@gmx.de wrote: 2013/3/5 systemdki...@yopmail.com Thank you Lennart. I wonder how your tip compares to our result? Our method employs getty.target and local-fs.target. It works but we prefer the Right Thing (tm). Would

Re: [systemd-devel] systemd kiosk volatile $HOME

2013-02-27 Thread Andrey Borzenkov
On Wed, Feb 27, 2013 at 10:47 AM, systemdki...@yopmail.com wrote: Here's the question (systemd version 197). https://bbs.archlinux.org/viewtopic.php?pid=1237019 Might the answer involve two units, a mount and a service? Thanks much. I guess it depends on how generic you want it to be.

Re: [systemd-devel] [systemd-commits] 12 commits - src/core src/shared

2013-02-27 Thread Andrey Borzenkov
В Wed, 27 Feb 2013 17:27:16 -0800 (PST) mich...@kemper.freedesktop.org (Michal Schmidt) пишет: New commits: commit 03b717a3c4f9348807fc56e7a7d711d72d4ec0cb Author: Michal Schmidt mschm...@redhat.com Date: Thu Feb 28 00:03:22 2013 +0100 core/manager: print status messages about

Re: [systemd-devel] systemctl enable in chroot

2013-02-25 Thread Andrey Borzenkov
В Mon, 25 Feb 2013 17:32:11 +0100 Alexandre Kandalintsev s...@messir.net пишет: Hi! I see here that systemctl enable should work in chroot: http://0pointer.de/blog/projects/changing-roots However, what actually see is Failed to issue method call: Invalid argument. (probably due to

Re: [systemd-devel] [PATCH] util: *DO NOT* loop for EINTR handling with close_nointr()

2013-02-09 Thread Andrey Borzenkov
В Thu, 07 Feb 2013 18:45:38 -0500 Colin Walters walt...@verbum.org пишет: Any thoughts on this patch? It's mainly useful as a signpost for developers reading the systemd sources at the moment. If systemd ever gained threading, then it would be an actual issue. First thread in systemd was

Re: [systemd-devel] [systemd-commits] 3 commits - .gitignore Makefile.am src/bootchart src/core src/efi-boot-generator src/shared

2013-01-20 Thread Andrey Borzenkov
В Sun, 20 Jan 2013 16:04:30 -0800 (PST) lenn...@kemper.freedesktop.org (Lennart Poettering) пишет: commit f4ce2b3e5ce93b83f14f8785e205ebb5a9b8c1df Author: Lennart Poettering lenn...@poettering.net Date: Mon Jan 21 01:02:53 2013 +0100 efi: add efi boot generator that automatically

Re: [systemd-devel] Support for UEFI's OsIndications to reboot into firmware menus

2013-01-17 Thread Andrey Borzenkov
В Wed, 16 Jan 2013 15:46:32 -0500 Peter Jones pjo...@redhat.com пишет: This is part of work I'm doing to let us run reasonably with Windows 8 Fast Boot features turned on, which aim at making normal boots not initialize the keyboard, or indeed the entire USB stack (unless it's used in a

Re: [systemd-devel] [systemd-commits] TODO

2013-01-10 Thread Andrey Borzenkov
В Thu, 10 Jan 2013 03:30:53 +0100 Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl пишет: On Wed, Jan 09, 2013 at 06:10:58PM -0800, Lennart Poettering wrote: +* add a man page systemdall that lists all of systemd's man pages, inspired by zsh's zshall page Shouldn't just make-man-index.py be

Re: [systemd-devel] sometimes systemd takes a very long time to restart service

2013-01-02 Thread Andrey Borzenkov
В Wed, 02 Jan 2013 02:28:19 -0700 JB gene...@itpsg.com пишет: Here's the service file: *** [Unit] Description=Webrick Test Service After=network.target [Service] Type=forking ExecStart=/usr/bin/ruby /home/rtuser/test.rb [Install]

Re: [systemd-devel] [PATCH] [RFC]logind: set locale in user sessions

2013-01-02 Thread Andrey Borzenkov
В Wed, 2 Jan 2013 12:46:31 +0100 Tom Gundersen t...@jklm.no пишет: Changes the pam module to now set the locale for user-sessions, similarly to what is done system-wide in PID1. The logic is: the kernel command-line takes precedence, Why? I would understand it if list did not include

Re: [systemd-devel] sometimes systemd takes a very long time to restart service

2013-01-02 Thread Andrey Borzenkov
В Wed, 02 Jan 2013 04:02:27 -0700 JB gene...@itpsg.com пишет: Andrey Borzenkov wrote: В Wed, 02 Jan 2013 02:28:19 -0700 JB gene...@itpsg.com пишет: Here's the service file: *** [Unit] Description=Webrick Test Service After

Re: [systemd-devel] systemd-fstab-generator and multiple mounts to same mount point

2013-01-02 Thread Andrey Borzenkov
В Wed, 02 Jan 2013 12:01:41 + John Lane syst...@jelmail.com пишет: Hello, I have a configuration where a filesystem is mounted on /images. Then a subdirectory of that filesystem, say /images/1, is bind mounted on top as /images. Prior to moving to systemd, this kind of thing has

Re: [systemd-devel] sometimes systemd takes a very long time to restart service

2013-01-01 Thread Andrey Borzenkov
В Tue, 01 Jan 2013 18:52:38 -0700 JB gene...@itpsg.com пишет: Thanks! I'll try and it may work in my case. What's interesting is that in your case it sounded like rsyslog was hanging around while it was having problems dealing with the condition of having the network unavailable. In my

Re: [systemd-devel] sometimes systemd takes a very long time to restart service

2013-01-01 Thread Andrey Borzenkov
В Tue, 01 Jan 2013 23:37:56 -0700 JB gene...@itpsg.com пишет: Andrey Borzenkov wrote: В Tue, 01 Jan 2013 18:52:38 -0700 JB gene...@itpsg.com пишет: Thanks! I'll try and it may work in my case. What's interesting is that in your case it sounded like rsyslog was hanging around

Re: [systemd-devel] recommended way to detect systemd?

2012-12-29 Thread Andrey Borzenkov
В Sat, 29 Dec 2012 13:40:59 +0100 Manuel Reimer manuel.s...@nurfuerspam.de пишет: Hello, I need a reliable way to find out if a system, where my software runs on, uses systemd. My first thought: $ cat /proc/1/comm systemd Is this a reliable way that will also work in the next

Re: [systemd-devel] dmraid devices considered dead

2012-12-22 Thread Andrey Borzenkov
В Sat, 22 Dec 2012 15:35:24 +0400 Ilya Basin basini...@gmail.com пишет: UDEV [3.819854] add /devices/virtual/block/dm-3 (block) ACTION=add DEVNAME=/dev/dm-3 DEVPATH=/devices/virtual/block/dm-3 DEVTYPE=disk DM_UDEV_DISABLE_DISK_RULES_FLAG=1

Re: [systemd-devel] udev device mapper rules for early boot?

2012-12-13 Thread Andrey Borzenkov
В Mon, 10 Dec 2012 11:03:54 -0800 Nikolaus Rath nikol...@rath.org пишет: Hello, I have created a udev rule to set the owner of a specific block device: SUBSYSTEM==block, ENV{DM_UUID}==LVM-yYuoI8k05GWxZnz9BeEIwPUGGeojzF3dZZmXTYRqC051Tllj76OHdDlzYhKZUu7u, OWNER=1000 If I disable and

Re: [systemd-devel] After firmare

2012-12-13 Thread Andrey Borzenkov
В Wed, 12 Dec 2012 15:57:45 -0800 John Tobias john.tobias...@gmail.com пишет: ExecStart=/usr/sbin/wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant.conf One of the problem was the systemd called the said script before the kernel loads the firmware(/lib/firmware/TIInit_7.2.31.bts). I would

Re: [systemd-devel] udev device mapper rules for early boot?

2012-12-13 Thread Andrey Borzenkov
В Thu, 13 Dec 2012 15:35:11 -0800 Nikolaus Rath nikol...@rath.org пишет: On 12/13/2012 08:35 AM, Andrey Borzenkov wrote: Now, I could add the missing rule and program to the initrd, but I feel this is really opening a can of worms, since I don't really *need* to change the device ownership

Re: [systemd-devel] After firmare

2012-12-13 Thread Andrey Borzenkov
wl1271: loaded wl1271: initialized Then, if I do ifconfig -a, the wlan0 interface is showing up. Yes, but it is initialized only after firmware is loaded. On Thu, Dec 13, 2012 at 8:39 AM, Andrey Borzenkov arvidj...@gmail.com wrote: В Wed, 12 Dec 2012 15:57:45 -0800 John Tobias

Re: [systemd-devel] systemd195: issue with udev launched script

2012-11-26 Thread Andrey Borzenkov
В Fri, 16 Nov 2012 17:37:27 +0100 Warpme war...@o2.pl пишет: [Service] ExecStart=/usr/local/bin/run-backup.sh Type=forking GuessMainPID=false RemainAfterExit=no Issue: it works with: ENV{ID_FS_LABEL_ENC}==.myth.backup, RUN+=/usr/bin/systemctl start ext-usb-backup.service Is

Re: [systemd-devel] Is unmounting of filesystem synchronized with stopping services using these filesystems?

2012-11-24 Thread Andrey Borzenkov
В Sat, 24 Nov 2012 19:12:56 +0100 Lennart Poettering lenn...@poettering.net пишет: On Sat, 24.11.12 10:28, Andrey Borzenkov (arvidj...@gmail.com) wrote: According to bootup(7) stopping services and unmounting of filesystems happens in parallel. Is there any sort of implicit dependencies

[systemd-devel] Is unmounting of filesystem synchronized with stopping services using these filesystems?

2012-11-23 Thread Andrey Borzenkov
According to bootup(7) stopping services and unmounting of filesystems happens in parallel. Is there any sort of implicit dependencies between running services and filesystems? I do not see anything besides dependencies explicitly listed in unit files. So am I right to assume that systemd just

Re: [systemd-devel] [HEADSUP] fstab now parsed by generator in systemd git

2012-11-03 Thread Andrey Borzenkov
В Tue, 22 May 2012 20:03:40 +0200 Lennart Poettering lenn...@poettering.net пишет: Heya, just a quick heads-up. I just commited to git some work that rips out the fstab parsing from PID 1 and places this in a generator instead. The idea is that sooner or later we only parse native unit

[systemd-devel] How to override (not augment) multi-value properties after including original service file?

2012-10-28 Thread Andrey Borzenkov
I have shipped service that has incorrect dependency so it never runs, in this case After: bor@opensuse:~/src/mkinitrd grep After /lib/systemd/system/purge-kernels.service After=local_fs.target If I now try to .include unit file in /etc, After is augmented: bor@opensuse:~/src/mkinitrd cat

[systemd-devel] Too little information is shown when system enters emergency mode

2012-10-21 Thread Andrey Borzenkov
This issue comes up relatively often on openSUSE forums. Users complaint that when system drops in emergency, there is nothing that would explain user why it happened or what to do. Typical situation is https://bugzilla.novell.com/show_bug.cgi?id=782904. openSUSE by default is using splash quiet

Re: [systemd-devel] Improve boot-time of systemd

2011-03-24 Thread Andrey Borzenkov
On Thu, Mar 24, 2011 at 12:19 PM, fykc...@gmail.com fykc...@gmail.com wrote: Hi, 2011/3/18 Gustavo Sverzut Barbieri barbi...@profusion.mobi:  2. should we do (or have a way to) force a manual ordering to help Xorg/DM/WM by avoiding spawn of concurrent services? We know these have the higher

Re: [systemd-devel] [PATCH] service: do not apply SysV ordering to native services

2011-03-24 Thread Andrey Borzenkov
On Thu, Mar 24, 2011 at 7:51 PM, Michal Schmidt mschm...@redhat.com wrote: In Fedora udev-retry.service exists both as a native unit and as a legacy SysV service. The ordering inferred from the rc.d symlink farm is being incorrectly applied to the native unit: Then something is fishy. Native

Re: [systemd-devel] systemd, getty and udev

2011-03-23 Thread Andrey Borzenkov
On Wed, Mar 23, 2011 at 10:22 AM, Michael Olbrich m.olbr...@pengutronix.de wrote: On Mon, Mar 21, 2011 at 08:05:44PM +0300, Andrey Borzenkov wrote: On Mon, Mar 21, 2011 at 6:06 PM, Michael Olbrich m.olbr...@pengutronix.de wrote: The default systemd files only start getties on a handful

Re: [systemd-devel] Special targets - should they Want or be WantedBy?

2011-03-23 Thread Andrey Borzenkov
On Fri, Mar 18, 2011 at 3:06 PM, Mike Kazantsev mk.frag...@gmail.com wrote: On Fri, 18 Mar 2011 14:11:47 +0300 Andrey Borzenkov arvidj...@mail.ru wrote: On Fri, Mar 18, 2011 at 8:31 AM, Mike Kazantsev mk.frag...@gmail.com wrote: That'd make all the systems with currently enabled services

Re: [systemd-devel] Special targets - should they Want or be WantedBy?

2011-03-23 Thread Andrey Borzenkov
On Wed, Mar 23, 2011 at 7:44 PM, Mike Kazantsev mk.frag...@gmail.com wrote: On Wed, 23 Mar 2011 15:35:35 +0300 Andrey Borzenkov arvidj...@mail.ru wrote: On Fri, Mar 18, 2011 at 3:06 PM, Mike Kazantsev mk.frag...@gmail.com wrote: On Fri, 18 Mar 2011 14:11:47 +0300 Andrey Borzenkov arvidj

[systemd-devel] Effect of pam_systemd on non-login type applications

2011-03-22 Thread Andrey Borzenkov
I'm about to enable pam_systemd globally, but now I am a bit unsure where should it go in. I'd rather put it in default system-auth which is included by most other modules; but it also includes some modules that I am not sure what they do. So could having pam_systemd (in default configuration -

Re: [systemd-devel] systemd, getty and udev

2011-03-21 Thread Andrey Borzenkov
On Mon, Mar 21, 2011 at 6:06 PM, Michael Olbrich m.olbr...@pengutronix.de wrote: The default systemd files only start getties on a handful of ttys. Since it seems impossible to distinguish between display ttys and e.g. modem ttys, one can't just simply start gettys on all tty*, thus

[systemd-devel] What may trigger device unit start job?

2011-03-20 Thread Andrey Borzenkov
I'm still facing the old problem with crypto devices. If crypto failed to activate on startup, it is attempted to be activated later on shutdown causing delays (default timeouts). Here is full log from start to poweroff: http://pastebin.com/xLDpMHch First time on start: systemd[1]: Installed

[systemd-devel] [PATCH] systemctl: allow enable/disable/is-enabled on symlink aliases

2011-03-20 Thread Andrey Borzenkov
Currently handling of unit aliases (symlinks) is inconsistent between systemd and systemctl. While systemd allows acces unit under any alias, systemctl will refuse to process them unless redirecting request to systemd. Allow exactly one level of indirection to support unit aliases. Symlink cannot

Re: [systemd-devel] rsyslog drops messages in debug mode

2011-03-18 Thread Andrey Borzenkov
On Fri, Mar 18, 2011 at 11:44 AM, Michal Schmidt mschm...@redhat.com wrote: On Fri, 18 Mar 2011 07:42:34 +0100 Michael Biebl wrote: On Fri, 18 Mar 2011 07:03:01 +0100 Michael Biebl mbi...@gmail.com wrote: when booting with systemd.log_level=debug, I get [...] My point rather is, that

Re: [systemd-devel] Special targets - should they Want or be WantedBy?

2011-03-18 Thread Andrey Borzenkov
On Fri, Mar 18, 2011 at 8:31 AM, Mike Kazantsev mk.frag...@gmail.com wrote: On Fri, 18 Mar 2011 00:34:19 +0100 Lennart Poettering lenn...@poettering.net wrote: But what about the other direction? We definitely want network.target in the boot transaction if NM or network.service is part of it

Re: [systemd-devel] Inactive/dead services that are enabled are indistinguishable from unused or oneshot services

2011-03-17 Thread Andrey Borzenkov
On Thu, Feb 24, 2011 at 11:55 AM, Mike Kazantsev mk.frag...@gmail.com wrote: Something like systemctl --enabled would certainly be much more useful for such cases than the current systemctl --all, yet there will still be a lot of oneshot stuff, which are supposed to be dead, so a separate

Re: [systemd-devel] Special targets - should they Want or be WantedBy?

2011-03-17 Thread Andrey Borzenkov
On Thu, Mar 17, 2011 at 3:04 AM, Lennart Poettering lenn...@poettering.net wrote: On Wed, 16.03.11 14:39, Andrey Borzenkov (arvidj...@mail.ru) wrote: Or is rsyslog expected to provide a symlink in syslog.target.wants? This is really orthogonal. As Lennart commented, it may be sensible

Re: [systemd-devel] Special targets - should they Want or be WantedBy?

2011-03-17 Thread Andrey Borzenkov
On Thu, Mar 17, 2011 at 11:06 AM, Mike Kazantsev mk.frag...@gmail.com wrote: On Thu, 17 Mar 2011 01:04:35 +0100 Lennart Poettering lenn...@poettering.net wrote: If DefaultDependencies= is yes (which it is by default) for target units then they'll automatically gain an After= for all untis they

Re: [systemd-devel] Special targets - should they Want or be WantedBy?

2011-03-17 Thread Andrey Borzenkov
On Thu, Mar 17, 2011 at 1:59 PM, Mike Kazantsev mk.frag...@gmail.com wrote: On Thu, 17 Mar 2011 12:41:34 +0300 Andrey Borzenkov arvidj...@mail.ru wrote: On Thu, Mar 17, 2011 at 11:06 AM, Mike Kazantsev mk.frag...@gmail.com wrote: On Thu, 17 Mar 2011 01:04:35 +0100 Lennart Poettering lenn

Re: [systemd-devel] Dependency loop due to network filesystem and quotacheck; suboptimal loop resolution.

2011-03-17 Thread Andrey Borzenkov
On Thu, Mar 17, 2011 at 4:43 AM, Lennart Poettering lenn...@poettering.net wrote: On Thu, 10.03.11 00:42, Andrey Borzenkov (arvidj...@gmail.com) wrote: It is not. Suggested patch attached. From: Andrey Borzenkov arvidj...@gmail.com Subject: [PATCH] mount: do not add dependency on network

Re: [systemd-devel] Dependency loop due to network filesystem and quotacheck; suboptimal loop resolution.

2011-03-17 Thread Andrey Borzenkov
On Thu, Mar 17, 2011 at 5:44 PM, Lennart Poettering lenn...@poettering.net wrote: On Thu, 17.03.11 16:50, Andrey Borzenkov (arvidj...@gmail.com) wrote: On Thu, Mar 17, 2011 at 4:43 AM, Lennart Poettering lenn...@poettering.net wrote: On Thu, 10.03.11 00:42, Andrey Borzenkov (arvidj

Re: [systemd-devel] Dependency loop due to network filesystem and quotacheck; suboptimal loop resolution.

2011-03-17 Thread Andrey Borzenkov
2011/3/17 Tomasz Torcz to...@pipebreaker.pl:  As for _netdev, it is quite possible for quota-supporting filesystem (like ext*) to be mounted from network device (iSCSI, AoE or other).  _netfs seem not to be documented in mount manpage. Oops, my bad. It was _netdev of course.

Re: [systemd-devel] Dependency loop due to network filesystem and quotacheck; suboptimal loop resolution.

2011-03-17 Thread Andrey Borzenkov
a WANTS dep too, so that we can remove the service from being pulled in by default sysinit.target. Like attached patch? From: Andrey Borzenkov arvidj...@gmail.com Subject: [PATCH] mount: pull in quota services from local mountpoints with usr/grpquota options --- Makefile.am

<    1   2   3   >