General systemd questions in respect to Fedora project.

2011-07-20 Thread Lucas
Dear All. In my previous post here I asked about systemd-logind, which is already enabled by default and does something no one knows what: 1. Where is its documentation or man page? 2. How can one disable it? And I was suggested to ask that question in freedesktop mailing list. Why should I

Re: General systemd questions in respect to Fedora project.

2011-07-20 Thread Johannes Lips
You were told to move this discussion to the systemd mailing list not to a freedesktop mailing list. http://lists.fedoraproject.org/pipermail/devel/2011-July/154557.html On 07/20/2011 09:40 AM, Lucas wrote: Dear All. In my previous post here I asked about systemd-logind, which is already

Re: General systemd questions in respect to Fedora project.

2011-07-20 Thread Lucas
On 07/20/2011 11:45 AM, Johannes Lips wrote: You were told to move this discussion to the systemd mailing list not to a freedesktop mailing list. http://lists.fedoraproject.org/pipermail/devel/2011-July/154557.html On 07/20/2011 09:40 AM, Lucas wrote: Dear All. In my previous post here I

Re: General systemd questions in respect to Fedora project.

2011-07-20 Thread Jeff Spaleta
hey Lucas, Can you point me to the on system manpage and docs for console-kit-daemon which is running be default on my F15 install? I can't seem to find the documentation. From my reading about available systemd roadmapping for systemd-logind in the context of upstream systemd development

Re: General systemd questions in respect to Fedora project.

2011-07-20 Thread Mathieu Bridon
On Wed, 2011-07-20 at 09:45 +0200, Johannes Lips wrote: You were told to move this discussion to the systemd mailing list not to a freedesktop mailing list. http://lists.fedoraproject.org/pipermail/devel/2011-July/154557.html systemd is hosted at freedesktop.org -- Mathieu -- devel

Re: General systemd questions in respect to Fedora project.

2011-07-20 Thread Frank Murphy
On 20/07/11 09:01, Lucas wrote: snip Ok. Where is located systemd mailing list ? Tell me please it URL? Thanks. http://lists.freedesktop.org/mailman/listinfo/systemd-devel -- Regards, Frank Murphy UTF_8 Encoded Friend of fedoraproject.org -- devel mailing list

Re: General systemd questions in respect to Fedora project.

2011-07-20 Thread Mathieu Bridon
On Wed, 2011-07-20 at 11:40 +0400, Lucas wrote: Dear All. In my previous post here I asked about systemd-logind, which is already enabled by default and does something no one knows what: 1. Where is its documentation or man page? 2. How can one disable it? And I was suggested to ask

Re: General systemd questions in respect to Fedora project.

2011-07-20 Thread Lucas
On 07/20/2011 12:03 PM, Jeff Spaleta wrote: hey Lucas, Can you point me to the on system manpage and docs for console-kit-daemon which is running be default on my F15 install? I can't seem to find the documentation. From my reading about available systemd roadmapping for systemd-logind in

Re: General systemd questions in respect to Fedora project.

2011-07-20 Thread Jóhann B. Guðmundsson
On 07/20/2011 08:58 AM, Lucas wrote: On 07/20/2011 12:03 PM, Jeff Spaleta wrote: hey Lucas, Can you point me to the on system manpage and docs for console-kit-daemon which is running be default on my F15 install? I can't seem to find the documentation. From my reading about available

Re: General systemd questions in respect to Fedora project.

2011-07-20 Thread Lennart Poettering
On Wed, 20.07.11 11:40, Lucas (macach...@gmail.com) wrote: Dear All. In my previous post here I asked about systemd-logind, which is already enabled by default and does something no one knows what: Please keep questions like this on systemd-devel, or on #systemd on freenode. 1. Where

Re: General systemd questions in respect to Fedora project.

2011-07-20 Thread Lucas
On 07/20/2011 09:54 PM, Lennart Poettering wrote: 2. How can one disable it? If you build systemd you can leave it out of your build. On Fedora it is enabled however. Lennart You have just renamed Linux to Window, Fedora Linux is dead. Welcome Fedora Windows. If I will use Linux any

Re: General systemd questions in respect to Fedora project.

2011-07-20 Thread Bill Nottingham
Lucas (macach...@gmail.com) said: On 07/20/2011 09:54 PM, Lennart Poettering wrote: 2. How can one disable it? If you build systemd you can leave it out of your build. On Fedora it is enabled however. Lennart You have just renamed Linux to Window, Fedora Linux is dead.

Re: systemd questions

2011-05-20 Thread Michal Schmidt
On 05/20/2011 06:00 AM, Chuck Ebbert wrote: And you're going to go about it by removing something that people have been using for many years, replacing it with a vague promise of a better solution. The ability to run programs before shutdown has not been removed. Looks like you missed all the

Re: systemd questions

2011-05-20 Thread Steve Clark
On 05/20/2011 12:00 AM, Chuck Ebbert wrote: On Thu, 19 May 2011 14:59:57 +0200 Lennart Poetteringmzerq...@0pointer.de wrote: I am sorry that reality bothers you so much, but it is the hard old real world ... See, I am so young, I still have the idealism that we can fix what is broken. And

Re: systemd questions

2011-05-19 Thread Simo Sorce
On Wed, 2011-05-18 at 21:15 -0500, Robert Nichols wrote: On 05/18/2011 06:42 PM, Simo Sorce wrote: On Wed, 2011-05-18 at 16:48 -0500, Robert Nichols wrote: On 05/18/2011 04:04 PM, Lennart Poettering wrote: Host requests power down from UPS in 30s. Host then continues shut down. If the

Re: systemd questions

2011-05-19 Thread Simo Sorce
On Thu, 2011-05-19 at 02:06 +0100, Matthew Garrett wrote: On Wed, May 18, 2011 at 07:42:17PM -0400, Simo Sorce wrote: I am pretty sure we don't want to run Java programs at late boot, as root. This would be really bad. You know, it's not like there is a choice for many models ...

Re: systemd questions

2011-05-19 Thread Lennart Poettering
On Wed, 18.05.11 19:42, Simo Sorce (sso...@redhat.com) wrote: This is not the case and never has been the case. The root disks traditionally could not be unmounted and hence MD/DM/MP and so on could not be disassembled before going down. Delaying shutdown by 30s is hack, not

Re: systemd questions

2011-05-19 Thread Lennart Poettering
On Thu, 19.05.11 02:06, Matthew Garrett (mj...@srcf.ucam.org) wrote: On Wed, May 18, 2011 at 07:42:17PM -0400, Simo Sorce wrote: I am pretty sure we don't want to run Java programs at late boot, as root. This would be really bad. You know, it's not like there is a choice for many

Re: systemd questions

2011-05-19 Thread Matthew Garrett
On Thu, May 19, 2011 at 08:05:46AM -0400, Simo Sorce wrote: Some other, more data-centered UPSs that handle multiple machines use completely proprietary protocols over ethernet for example. I thought we were talking about a function that was called as the last thing before the kernel was

Re: systemd questions

2011-05-19 Thread Simo Sorce
On Thu, 2011-05-19 at 14:16 +0100, Matthew Garrett wrote: On Thu, May 19, 2011 at 08:05:46AM -0400, Simo Sorce wrote: Some other, more data-centered UPSs that handle multiple machines use completely proprietary protocols over ethernet for example. I thought we were talking about a

Re: systemd questions

2011-05-19 Thread Tomasz Torcz
On Wed, May 18, 2011 at 11:04:33PM +0200, Lennart Poettering wrote: On Mon, 16.05.11 14:30, Simo Sorce (sso...@redhat.com) wrote: On Mon, 2011-05-16 at 18:59 +0200, Lennart Poettering wrote: On Mon, 16.05.11 14:32, Michal Hlavinka (mhlav...@redhat.com) wrote: when ups recieves

Re: systemd questions

2011-05-19 Thread Lennart Poettering
On Thu, 19.05.11 19:37, Tomasz Torcz (to...@pipebreaker.pl) wrote: This is not the case and never has been the case. The root disks traditionally could not be unmounted and hence MD/DM/MP and so on could not be disassembled before going down. Delaying shutdown by 30s is hack,

Re: systemd questions

2011-05-19 Thread Bill Nottingham
Simo Sorce (sso...@redhat.com) said: What race are we talking about exactly ? Host requests power down from UPS in 30s. Host then continues shut down. If the host now ends up taking more time then expected for shutting down it might still be busy at the time of the power going away.

Re: systemd questions

2011-05-19 Thread Chuck Ebbert
On Thu, 19 May 2011 14:16:30 +0100 Matthew Garrett mj...@srcf.ucam.org wrote: On Thu, May 19, 2011 at 08:05:46AM -0400, Simo Sorce wrote: Some other, more data-centered UPSs that handle multiple machines use completely proprietary protocols over ethernet for example. I thought we were

Re: systemd questions

2011-05-19 Thread Chuck Ebbert
On Thu, 19 May 2011 14:59:57 +0200 Lennart Poettering mzerq...@0pointer.de wrote: I am sorry that reality bothers you so much, but it is the hard old real world ... See, I am so young, I still have the idealism that we can fix what is broken. And you're going to go about it by removing

Re: systemd questions

2011-05-18 Thread Simo Sorce
On Mon, 2011-05-16 at 18:59 +0200, Lennart Poettering wrote: On Mon, 16.05.11 14:32, Michal Hlavinka (mhlav...@redhat.com) wrote: when ups recieves command for shutdown, it does not shutdown power immediately, but after 30 seconds. Given that this command should be executed after

Re: systemd questions

2011-05-18 Thread Lennart Poettering
On Mon, 16.05.11 14:30, Simo Sorce (sso...@redhat.com) wrote: On Mon, 2011-05-16 at 18:59 +0200, Lennart Poettering wrote: On Mon, 16.05.11 14:32, Michal Hlavinka (mhlav...@redhat.com) wrote: when ups recieves command for shutdown, it does not shutdown power immediately, but after

Re: systemd questions

2011-05-18 Thread Robert Nichols
On 05/18/2011 04:04 PM, Lennart Poettering wrote: Host requests power down from UPS in 30s. Host then continues shut down. If the host now ends up taking more time then expected for shutting down it might still be busy at the time of the power going away. It's a race between UPS powering off

Re: systemd questions

2011-05-18 Thread Simo Sorce
On Wed, 2011-05-18 at 23:04 +0200, Lennart Poettering wrote: On Mon, 16.05.11 14:30, Simo Sorce (sso...@redhat.com) wrote: On Mon, 2011-05-16 at 18:59 +0200, Lennart Poettering wrote: On Mon, 16.05.11 14:32, Michal Hlavinka (mhlav...@redhat.com) wrote: when ups recieves command

Re: systemd questions

2011-05-18 Thread Simo Sorce
On Wed, 2011-05-18 at 16:48 -0500, Robert Nichols wrote: On 05/18/2011 04:04 PM, Lennart Poettering wrote: Host requests power down from UPS in 30s. Host then continues shut down. If the host now ends up taking more time then expected for shutting down it might still be busy at the time of

Re: systemd questions

2011-05-18 Thread Matthew Garrett
On Wed, May 18, 2011 at 07:42:17PM -0400, Simo Sorce wrote: I am pretty sure we don't want to run Java programs at late boot, as root. This would be really bad. You know, it's not like there is a choice for many models ... That's really not a given. For anything short of us having to send

Re: systemd questions

2011-05-18 Thread Genes MailLists
On 05/18/2011 09:06 PM, Matthew Garrett wrote: On Wed, May 18, 2011 at 07:42:17PM -0400, Simo Sorce wrote: You know, it's not like there is a choice for many models ... That's really not a given. For anything short of us having to send http requests, there's no fundamental reason why this

Re: systemd questions

2011-05-18 Thread Robert Nichols
On 05/18/2011 06:42 PM, Simo Sorce wrote: On Wed, 2011-05-18 at 16:48 -0500, Robert Nichols wrote: On 05/18/2011 04:04 PM, Lennart Poettering wrote: Host requests power down from UPS in 30s. Host then continues shut down. If the host now ends up taking more time then expected for shutting

Re: systemd questions

2011-05-18 Thread Matthew Garrett
On Wed, May 18, 2011 at 09:27:23PM -0400, Genes MailLists wrote: On 05/18/2011 09:06 PM, Matthew Garrett wrote: On Wed, May 18, 2011 at 07:42:17PM -0400, Simo Sorce wrote: You know, it's not like there is a choice for many models ... That's really not a given. For anything short of us

Re: systemd questions

2011-05-18 Thread seth vidal
On Thu, 2011-05-19 at 02:06 +0100, Matthew Garrett wrote: On Wed, May 18, 2011 at 07:42:17PM -0400, Simo Sorce wrote: I am pretty sure we don't want to run Java programs at late boot, as root. This would be really bad. You know, it's not like there is a choice for many models ...

Re: systemd questions

2011-05-18 Thread Matthew Garrett
On Wed, May 18, 2011 at 10:42:02PM -0400, seth vidal wrote: We are however talking about a lot of different upses and while it is not specifically fedora's problem we do need to have this handled before rhel7, for example, is run on serious systems. If it's a functional requirement, it'll get

Re: systemd questions

2011-05-17 Thread Michal Hlavinka
5) in old initscripts, there was /etc/init.d/halt with section for ups shutdown. With that script gone, was that functionality ported to systemd somehow? Well, any such code is just inherently broken. It *cannot* work. A number of kernel subsystems hook into the shutdown code of the

Re: systemd questions

2011-05-17 Thread Lennart Poettering
On Tue, 17.05.11 15:42, Michal Hlavinka (mhlav...@redhat.com) wrote: 5) in old initscripts, there was /etc/init.d/halt with section for ups shutdown. With that script gone, was that functionality ported to systemd somehow? Well, any such code is just inherently broken. It

Re: systemd questions

2011-05-16 Thread Michal Hlavinka
2) does systemd have support for conditions in service files? It seem it's not supported right now. Is there any plan for this? I am not entirely sure what you understand by condition, for example condition based on string/variable in file, so: a) EnvironmentFile=/etc/sysconfig/something;

Re: systemd questions

2011-05-16 Thread Lennart Poettering
On Mon, 16.05.11 14:32, Michal Hlavinka (mhlav...@redhat.com) wrote: 2) does systemd have support for conditions in service files? It seem it's not supported right now. Is there any plan for this? I am not entirely sure what you understand by condition, for example condition based

Re: Systemd questions following 15B upgrade

2011-05-15 Thread Lennart Poettering
On Fri, 13.05.11 23:57, Philip Prindeville (philipp_s...@redfish-solutions.com) wrote: I installed F15B, but now I'm seeing: May 13 23:01:01 mail /usr/sbin/crond[5243]: pam_systemd(crond:session): Moving new user session for root into control group /user/root/18. May 13 23:01:01 mail

Re: systemd questions

2011-05-15 Thread Lennart Poettering
On Thu, 12.05.11 15:28, Michal Hlavinka (mhlav...@redhat.com) wrote: Hi, Heya, I'm working with nut upstream to test sysv-systemd changes, but I found some problems and they've came up with a few questions too. 1) does systemd support alternative to service sthd configtest or other

Re: systemd questions

2011-05-15 Thread Lennart Poettering
On Thu, 12.05.11 17:04, Jóhann B. Guðmundsson (johan...@gmail.com) wrote: You can run ExecStartPre= before starting a service for syntax checking before starting the service like we do for .. ExecStartPre=/usr/sbin/radiusd -C ExecStartPre=/usr/sbin/named-checkconf /etc/named.conf

Re: systemd questions

2011-05-15 Thread Jóhann B. Guðmundsson
On 05/15/2011 01:59 PM, Lennart Poettering wrote: On Thu, 12.05.11 17:04, Jóhann B. Guðmundsson (johan...@gmail.com) wrote: You can run ExecStartPre= before starting a service for syntax checking before starting the service like we do for .. ExecStartPre=/usr/sbin/radiusd -C

Re: systemd questions

2011-05-15 Thread Lennart Poettering
On Sun, 15.05.11 15:55, Jóhann B. Guðmundsson (johan...@gmail.com) wrote: On 05/15/2011 01:59 PM, Lennart Poettering wrote: On Thu, 12.05.11 17:04, Jóhann B. Guðmundsson (johan...@gmail.com) wrote: You can run ExecStartPre= before starting a service for syntax checking before starting

Re: systemd questions

2011-05-15 Thread Miloslav Trmač
On Sun, May 15, 2011 at 3:56 PM, Lennart Poettering mzerq...@0pointer.de wrote: 5) in old initscripts, there was /etc/init.d/halt with section for ups shutdown. With that script gone, was that functionality ported to systemd somehow? Well, any such code is just inherently broken. It *cannot*

Re: systemd questions

2011-05-15 Thread Jóhann B. Guðmundsson
On 05/15/2011 04:08 PM, Lennart Poettering wrote: Well, but ExecStartPre= doesn't help you with this. As it is run only after the service is already stopped. It has been suggested that we add ExecRestartPre=, i.e. something we run before stopping a service for a restart. It has been on the

Re: systemd questions

2011-05-15 Thread Jóhann B. Guðmundsson
On 05/15/2011 05:05 PM, Jóhann B. Guðmundsson wrote: On 05/15/2011 04:08 PM, Lennart Poettering wrote: Well, but ExecStartPre= doesn't help you with this. As it is run only after the service is already stopped. It has been suggested that we add ExecRestartPre=, i.e. something we run before

Re: systemd questions

2011-05-15 Thread Lennart Poettering
On Sun, 15.05.11 17:05, Jóhann B. Guðmundsson (johan...@gmail.com) wrote: On 05/15/2011 04:08 PM, Lennart Poettering wrote: Well, but ExecStartPre= doesn't help you with this. As it is run only after the service is already stopped. It has been suggested that we add ExecRestartPre=,

Re: systemd questions

2011-05-15 Thread Miloslav Trmač
On Sun, May 15, 2011 at 6:57 PM, Lennart Poettering mzerq...@0pointer.de wrote: Well, adding 30s-sleep()s here and there and everywhere is a hack, not a clean fix. But if you have a lot of sync to disk, and/or a slow disk, then 30s might not be enough and you are fucked. I can't see where would

Re: Systemd questions following 15B upgrade

2011-05-14 Thread Frank Murphy
On 14/05/11 06:57, Philip Prindeville wrote: snip Also, now that we don't use upstart, what's the equivalent of: chkconfig service on systemctl enable\disable foo.service -- Regards, Frank Murphy UTF_8 Encoded Friend of Fedora -- devel mailing list devel@lists.fedoraproject.org

Re: Systemd questions following 15B upgrade

2011-05-14 Thread Mike Chambers
On Sat, 2011-05-14 at 07:58 +0100, Frank Murphy wrote: On 14/05/11 06:57, Philip Prindeville wrote: snip Also, now that we don't use upstart, what's the equivalent of: chkconfig service on systemctl enable\disable foo.service And at least for now, you can still do chkconfig and it

Systemd questions following 15B upgrade

2011-05-13 Thread Philip Prindeville
I installed F15B, but now I'm seeing: May 13 23:01:01 mail /usr/sbin/crond[5243]: pam_systemd(crond:session): Moving new user session for root into control group /user/root/18. May 13 23:01:01 mail /USR/SBIN/CROND[5243]: pam_systemd(crond:session): Moving remaining processes of user session 18

systemd questions

2011-05-12 Thread Michal Hlavinka
Hi, I'm working with nut upstream to test sysv-systemd changes, but I found some problems and they've came up with a few questions too. 1) does systemd support alternative to service sthd configtest or other special actions? 2) does systemd have support for conditions in service files? It

Re: systemd questions

2011-05-12 Thread Michał Piotrowski
Hi, 2011/5/12 Michal Hlavinka mhlav...@redhat.com: Hi, I'm working with nut upstream to test sysv-systemd changes, but I found some problems and they've came up with a few questions too. 1) does systemd support alternative to service sthd configtest or other special actions? 2) does

Re: systemd questions

2011-05-12 Thread Michal Schmidt
On Thu, 12 May 2011 15:28:54 +0200 Michal Hlavinka wrote: 1) does systemd support alternative to service sthd configtest or other special actions? No. 2) does systemd have support for conditions in service files? It seem it's not supported right now. Is there any plan for this? Can you give

Re: systemd questions

2011-05-12 Thread Jóhann B. Guðmundsson
On 05/12/2011 03:12 PM, Michal Schmidt wrote: On Thu, 12 May 2011 15:28:54 +0200 Michal Hlavinka wrote: 1) does systemd support alternative to service sthd configtest or other special actions? No. You can run ExecStartPre= before starting a service for syntax checking before starting