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

2011-03-17 Thread Michael Biebl
2011/3/18 Mike Kazantsev : > On Fri, 18 Mar 2011 07:03:01 +0100 > Michael Biebl wrote: > >> Hi, >> >> when booting with systemd.log_level=debug, I get >> >> Mar 18 06:39:26 pluto rsyslogd-2177: imuxsock begins to drop messages >> from pid 1 due to rate-limiting >> ... >> Mar 18 06:39:31 pluto rsys

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

2011-03-17 Thread Mike Kazantsev
On Fri, 18 Mar 2011 07:03:01 +0100 Michael Biebl wrote: > Hi, > > when booting with systemd.log_level=debug, I get > > Mar 18 06:39:26 pluto rsyslogd-2177: imuxsock begins to drop messages > from pid 1 due to rate-limiting > ... > Mar 18 06:39:31 pluto rsyslogd-2177: imuxsock lost 127 messages

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

2011-03-17 Thread Mike Kazantsev
On Thu, 17 Mar 2011 23:04:20 +0100 Lennart Poettering wrote: > On Thu, 17.03.11 09:52, Andrey Borzenkov ([email protected]) wrote: > > > I understand that there's already a looong TODO, but maybe it's possible > > > to cram such systemctl view option(s) somewhere in that list? > > > > > > > I wa

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

2011-03-17 Thread Mike Kazantsev
On Thu, 17 Mar 2011 22:58:00 +0100 Lennart Poettering wrote: > On Thu, 17.03.11 22:48, Lennart Poettering ([email protected]) wrote: > > > > Unfortunately, new rsyslog.service (and services using "systemctl stop" > > > directly) can affect such display, which I think shows the flawed > > >

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

2011-03-17 Thread Mike Kazantsev
On Thu, 17 Mar 2011 22:48:36 +0100 Lennart Poettering wrote: > On Thu, 17.03.11 10:20, Mike Kazantsev ([email protected]) wrote: > > > On Thu, 17 Mar 2011 01:39:19 +0100 > > Lennart Poettering wrote: > > > > Experiencing several reboots on a machine with 50+ enabled daemons > > I've noticed

[systemd-devel] rsyslog drops messages in debug mode

2011-03-17 Thread Michael Biebl
Hi, when booting with systemd.log_level=debug, I get Mar 18 06:39:26 pluto rsyslogd-2177: imuxsock begins to drop messages from pid 1 due to rate-limiting ... Mar 18 06:39:31 pluto rsyslogd-2177: imuxsock lost 127 messages from pid 1 due to rate-limiting Note: I didn't explicitly use systemd.log

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

2011-03-17 Thread Mike Kazantsev
On Fri, 18 Mar 2011 00:34:19 +0100 Lennart Poettering 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 too. Because > only then the network consuming services can be synchronized > properly. Hence we

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

2011-03-17 Thread Lennart Poettering
On Thu, 17.03.11 23:28, Lennart Poettering ([email protected]) wrote: > On Thu, 17.03.11 13:06, Mike Kazantsev ([email protected]) wrote: > > > On Thu, 17 Mar 2011 01:04:35 +0100 > > Lennart Poettering wrote: > > > > > On Wed, 16.03.11 14:39, Andrey Borzenkov ([email protected]) wrote:

[systemd-devel] [PATCH] Detect page size runtime

2011-03-17 Thread [email protected]
Hi all, Systemd hardcode page size as 4096(in macro.h), this is not always correct: """ Some architectures support multiple machine types with diffenent page sizes, and some machine types even support multiple page sizes themselves. """ This patch tries to detect page size runtime by sysconf(_SC_

Re: [systemd-devel] crypto: to show stars or not to show them

2011-03-17 Thread Graham Cantin
+1 from me. I like the idea of being able to hide the password prompt, but not by default. It's one of those "Oh, someone is looking over my shoulder, I should hit tab" things. On a slightly different note; Would it be possible to watch for unprintable keys? For example, what about a single back

Re: [systemd-devel] crypto: to show stars or not to show them

2011-03-17 Thread Lennart Poettering
On Fri, 18.03.11 00:18, Jan Engelhardt ([email protected]) wrote: > Meanwhile, I have two new suggestions. I have one too (or actually Kay came up with it), and I think you are going to like it: Start with showing input feedback as we currently do. If the user then presses TAB the stars disappe

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

2011-03-17 Thread Lennart Poettering
On Sat, 12.03.11 13:00, Andrey Borzenkov ([email protected]) wrote: > The problem is not limited to syslog and applies to all special > targets that serve as "virtual provides" > > Actually I think design should be reversed. The service that > implements this virtual provide (syslog, network, rpc

Re: [systemd-devel] crypto: to show stars or not to show them

2011-03-17 Thread Jan Engelhardt
On Friday 2011-03-18 00:18, Jan Engelhardt wrote: > > \e[37;47m* > \e[7m\x20 --- src/ask-password-api.c | 12 +++- 1 files changed, 11 insertions(+), 1 deletions(-) diff --git a/src/ask-password-api.c b/src/ask-password-api.c index 9c3dad9..fac2a2e 100644 --- a/src/ask-pas

Re: [systemd-devel] crypto: to show stars or not to show them

2011-03-17 Thread Jan Engelhardt
On Thursday 2011-03-17 00:27, Lennart Poettering wrote: >> >> Well, as I mentioned earlier, certain implementations use a >> three-star-per-character so that there is at least some feedback. How >> about using that? > >I am not sure I follow here, if we always show 3 asterisks then it >should be m

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

2011-03-17 Thread Lennart Poettering
On Thu, 17.03.11 23:28, Lennart Poettering ([email protected]) wrote: > > > (We currently do not document what DefaultDependencies= actually means > > > for the specific unit types. We probably should...) > > > > > > > Can this behavior be relied upon or this might change in future > > rele

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

2011-03-17 Thread Michael Biebl
2011/3/17 Lennart Poettering : > Hmm, I am not convinced we want to come up with our own matching syntax > there. > > A different approach might be to just use awk here. awk has been > invented for this kind of matching. So it might be nicer to just have a > mode where we have an output that is eas

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

2011-03-17 Thread Lennart Poettering
On Thu, 17.03.11 12:39, Andrey Borzenkov ([email protected]) wrote: > > (We currently do not document what DefaultDependencies= actually means > > for the specific unit types. We probably should...) > > > > Yes, please. > > BTW I remember there were other magic directories besides xxx.wanted, >

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

2011-03-17 Thread Lennart Poettering
On Thu, 17.03.11 14:32, Andrey Borzenkov ([email protected]) wrote: > > Ah, I missed the "target units" part, but even then > > "Requires=network.target + After=network.target" is a common > > enough pattern for services that need network to be up at startup and > > After= line is present in each

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

2011-03-17 Thread Lennart Poettering
On Thu, 17.03.11 13:06, Mike Kazantsev ([email protected]) wrote: > On Thu, 17 Mar 2011 01:04:35 +0100 > Lennart Poettering wrote: > > > On Wed, 16.03.11 14:39, Andrey Borzenkov ([email protected]) wrote: > > > > > > Or is rsyslog expected to provide a symlink in syslog.target.wants? > > > >

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

2011-03-17 Thread Lennart Poettering
On Thu, 17.03.11 12:52, Mike Kazantsev ([email protected]) wrote: > > --query Type=socket,dbus > > > > The latter is probably the way to go as it can be used to implement > > any custom query. And add better output format control of course :) It > > just needs some proper, but not too complica

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

2011-03-17 Thread Lennart Poettering
On Thu, 17.03.11 09:52, Andrey Borzenkov ([email protected]) wrote: > > I understand that there's already a looong TODO, but maybe it's possible > > to cram such systemctl view option(s) somewhere in that list? > > > > I was vaguely thinking about adding generic selection option to > replace curre

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

2011-03-17 Thread Lennart Poettering
On Thu, 17.03.11 22:48, Lennart Poettering ([email protected]) wrote: > > Unfortunately, new rsyslog.service (and services using "systemctl stop" > > directly) can affect such display, which I think shows the flawed > > assumption that "enabled" in systemd means "should be active, > > period"

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

2011-03-17 Thread Lennart Poettering
On Thu, 17.03.11 10:20, Mike Kazantsev ([email protected]) wrote: > On Thu, 17 Mar 2011 01:39:19 +0100 > Lennart Poettering wrote: > > > On Thu, 24.02.11 13:55, Mike Kazantsev ([email protected]) wrote: > > > > > Something like "systemctl --enabled" would certainly be much more > > > usef

Re: [systemd-devel] systemd-logger and external syslog daemon

2011-03-17 Thread Lennart Poettering
On Thu, 17.03.11 08:38, Rainer Gerhards ([email protected]) wrote: > > You mean a new udev/dracut/systemd on an old kernel? The messages they > > print would look a bit weird if they are used together with log msg > > timestamping the way the kernel does it, since the kernel doesn't > > rec

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

2011-03-17 Thread Lennart Poettering
On Thu, 17.03.11 21:35, Andrey Borzenkov ([email protected]) wrote: > On Thu, Mar 17, 2011 at 4:43 AM, Lennart Poettering > wrote: > > Anywaym uf you rework this patch to check for the usrquota/grpquota > > options I'd merge it promptly (or you can even merge it yourself, if > > Tollef grants y

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

2011-03-17 Thread Lennart Poettering
On Thu, 17.03.11 17:49, Andrey Borzenkov ([email protected]) wrote: > > On Thu, Mar 17, 2011 at 5:44 PM, Lennart Poettering > wrote: > > On Thu, 17.03.11 16:50, Andrey Borzenkov ([email protected]) wrote: > > > >> > >> On Thu, Mar 17, 2011 at 4:43 AM, Lennart Poettering > >> wrote: > >> > O

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 wrote: > Anywaym uf you rework this patch to check for the usrquota/grpquota > options I'd merge it promptly (or you can even merge it yourself, if > Tollef grants you git access by then ;-)). Even better would be if you > add a WANTS dep too, so

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

2011-03-17 Thread Lennart Poettering
On Thu, 17.03.11 10:07, Michal Schmidt ([email protected]) wrote: > > On Wed, 16 Mar 2011 23:24:22 +0100 Lennart Poettering wrote: > > On Wed, 16.03.11 16:14, Daniel Drake ([email protected]) wrote: > > > Any chance of a build for Fedora rawhide? Latest there is v18. > > > > F15 should have an u

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 : >  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 Tomasz Torcz
On Thu, Mar 17, 2011 at 03:44:46PM +0100, Lennart Poettering wrote: > On Thu, 17.03.11 16:50, Andrey Borzenkov ([email protected]) wrote: > > > > > On Thu, Mar 17, 2011 at 4:43 AM, Lennart Poettering > > wrote: > > > On Thu, 10.03.11 00:42, Andrey Borzenkov ([email protected]) wrote: > > >>

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 wrote: > On Thu, 17.03.11 16:50, Andrey Borzenkov ([email protected]) wrote: > >> >> On Thu, Mar 17, 2011 at 4:43 AM, Lennart Poettering >> wrote: >> > On Thu, 10.03.11 00:42, Andrey Borzenkov ([email protected]) wrote: >> >> It is not. Sugg

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

2011-03-17 Thread Lennart Poettering
On Thu, 17.03.11 16:50, Andrey Borzenkov ([email protected]) wrote: > > On Thu, Mar 17, 2011 at 4:43 AM, Lennart Poettering > wrote: > > On Thu, 10.03.11 00:42, Andrey Borzenkov ([email protected]) wrote: > >> It is not. Suggested patch attached. > > > >> From: Andrey Borzenkov > >> Subject

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

2011-03-17 Thread Mike Kazantsev
On Thu, 17 Mar 2011 14:32:26 +0300 Andrey Borzenkov wrote: > On Thu, Mar 17, 2011 at 1:59 PM, Mike Kazantsev wrote: > > On Thu, 17 Mar 2011 12:41:34 +0300 > > Andrey Borzenkov wrote: > > > >> On Thu, Mar 17, 2011 at 11:06 AM, Mike Kazantsev > >> wrote: > >> > On Thu, 17 Mar 2011 01:04:35 +010

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 wrote: > On Thu, 10.03.11 00:42, Andrey Borzenkov ([email protected]) wrote: >> It is not. Suggested patch attached. > >> From: Andrey Borzenkov >> Subject: [PATCH] mount: do not add dependency on network filesystem to >> quotacheck >> >> Thi

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 wrote: > On Thu, 17 Mar 2011 12:41:34 +0300 > Andrey Borzenkov wrote: > >> On Thu, Mar 17, 2011 at 11:06 AM, Mike Kazantsev >> wrote: >> > On Thu, 17 Mar 2011 01:04:35 +0100 >> > Lennart Poettering wrote: >> >> If DefaultDependencies= is "yes" (w

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

2011-03-17 Thread Mike Kazantsev
On Thu, 17 Mar 2011 12:41:34 +0300 Andrey Borzenkov wrote: > On Thu, Mar 17, 2011 at 11:06 AM, Mike Kazantsev wrote: > > On Thu, 17 Mar 2011 01:04:35 +0100 > > Lennart Poettering wrote: > >> If DefaultDependencies= is "yes" (which it is by default) for target > >> units then they'll automatical

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 wrote: > On Thu, 17 Mar 2011 01:04:35 +0100 > Lennart Poettering wrote: >> If DefaultDependencies= is "yes" (which it is by default) for target >> units then they'll automatically gain an After= for all untis they have >> Wants= or Requires= on. >

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 wrote: > On Wed, 16.03.11 14:39, Andrey Borzenkov ([email protected]) wrote: > >> > Or is rsyslog expected to provide a symlink in syslog.target.wants? >> > >> >> This is really orthogonal. As Lennart commented, it may be sensible to >> do both.

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

2011-03-17 Thread Michal Schmidt
On Wed, 16 Mar 2011 23:24:22 +0100 Lennart Poettering wrote: > On Wed, 16.03.11 16:14, Daniel Drake ([email protected]) wrote: > > Any chance of a build for Fedora rawhide? Latest there is v18. > > F15 should have an up-to-date systemd, and it should migrate > automatically from there. It won't. "k

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

2011-03-17 Thread Mike Kazantsev
On Thu, 17 Mar 2011 01:04:35 +0100 Lennart Poettering wrote: > On Wed, 16.03.11 14:39, Andrey Borzenkov ([email protected]) wrote: > > > > Or is rsyslog expected to provide a symlink in syslog.target.wants? > > > > > > > This is really orthogonal. As Lennart commented, it may be sensible to > >

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

2011-03-17 Thread Mike Kazantsev
On Thu, 17 Mar 2011 09:52:21 +0300 Andrey Borzenkov wrote: > On Thu, Feb 24, 2011 at 11:55 AM, Mike Kazantsev 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"

Re: [systemd-devel] systemd-logger and external syslog daemon

2011-03-17 Thread Rainer Gerhards
> -Original Message- > From: Lennart Poettering [mailto:[email protected]] > Sent: Thursday, March 17, 2011 12:31 AM > To: Michael Biebl > Cc: Andrey Borzenkov; [email protected]; Rainer > Gerhards > Subject: Re: [systemd-devel] systemd-logger and external syslog daem