Re: applied, non-theoretical use of systemd

2010-08-29 Thread Kevin Kofler
Bill Nottingham wrote: OK. So the question is ... what does this button do? Invoke 'halt'? Invoke 'shutdown -h now'? Invoke ConsoleKit's Stop() method? Assuming you run KDM, the button invokes KDM's API for shutting down. So that reduces the question to what KDM does. If you don't run KDM, we

Re: applied, non-theoretical use of systemd

2010-08-29 Thread Lennart Poettering
On Fri, 27.08.10 17:17, Petrus de Calguarium (kwhisk...@gmail.com) wrote: Brendan Jones - I.T. wrote: On 08/27/2010 10:11 AM, Petrus de Calguarium wrote: Where are the logs for systemd? In /var/log/messages, maybe? I add systemd.log_target=kmsg systemd.log_level=debug as kernel

Re: applied, non-theoretical use of systemd

2010-08-29 Thread Petrus de Calguarium
Lennart Poettering wrote: Hmm, the problems you pointed out, which ones of those remain? Can you please file a bug about those! (unless you already did so?) They are all solved. dnsmasq was not caching because I forgot to tell it not to use the default resolv.conf, but rather to use

Re: applied, non-theoretical use of systemd

2010-08-29 Thread Petrus de Calguarium
Kevin Kofler wrote: What KDM does is that it runs (as root, like all of KDM) the command given by its HaltCmd option, which defaults to its HALT_CMD macro, which is defined on GNU/Linux as /sbin/halt. However, I see that we override this in our default kdmrc in kde-settings-kdm as

Re: applied, non-theoretical use of systemd

2010-08-27 Thread Rahul Sundaram
On 08/27/2010 10:44 AM, Petrus de Calguarium wrote: 1. I noticed that one can no longer (with v8-2) turn off the computer by clicking the 'turn off computer' button in KDE. I figured out, with help of recent threads, that one has to run: systemctl isolate poweroff.target. It worked. Is

Re: applied, non-theoretical use of systemd

2010-08-27 Thread Martin Sourada
On Fri, 2010-08-27 at 12:41 +0530, Rahul Sundaram wrote: On 08/27/2010 10:44 AM, Petrus de Calguarium wrote: 1. I noticed that one can no longer (with v8-2) turn off the computer by clicking the 'turn off computer' button in KDE. I figured out, with help of recent threads, that one

Re: applied, non-theoretical use of systemd

2010-08-27 Thread Bill Nottingham
Petrus de Calguarium (kwhisk...@gmail.com) said: 1. I noticed that one can no longer (with v8-2) turn off the computer by clicking the 'turn off computer' button in KDE. I figured out, with help of recent threads, that one has to run: systemctl isolate poweroff.target. It worked. Is this

Re: applied, non-theoretical use of systemd

2010-08-27 Thread Petrus de Calguarium
Matthew Miller wrote: What do the logs say? Where are the logs? I looked in /var/log/ last night and there is no system.log or systemd.log file on my system. -- devel mailing list devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/devel

Re: applied, non-theoretical use of systemd

2010-08-27 Thread Petrus de Calguarium
Thanks Rahul and Martin (other posts in this thread) :) Bill Nottingham wrote: Petrus de Calguarium said: 1. I noticed that one can no longer (with v8-2) turn off the computer by clicking the 'turn off computer' button in KDE. I figured out, with help of recent threads, that one has to run:

Re: applied, non-theoretical use of systemd

2010-08-27 Thread Matthew Miller
On Fri, Aug 27, 2010 at 11:47:14AM -0400, Matthew Miller wrote: OK, I just updated to v8-3 and have the latest initscripts, too. I tried to shut down twice (I invoked sudo systemctl daemon-reexec before the second time), and I still cannot power down by clicking on the power off button.

Re: applied, non-theoretical use of systemd

2010-08-27 Thread Petrus de Calguarium
Petrus de Calguarium wrote: Forget the BS about dnsmasq not cacheing! I forgot to change /etc/resolv.conf and was still using the old one that uses the default nameservers. So, the problem reduces to the Shut Off Computer button in KDE not working. -- devel mailing list

Re: applied, non-theoretical use of systemd

2010-08-27 Thread Bill Nottingham
Petrus de Calguarium (kwhisk...@gmail.com) said: So, the problem reduces to the Shut Off Computer button in KDE not working. OK. So the question is ... what does this button do? Invoke 'halt'? Invoke 'shutdown -h now'? Invoke ConsoleKit's Stop() method? Bill -- devel mailing list

Re: applied, non-theoretical use of systemd

2010-08-27 Thread Petrus de Calguarium
Matthew Miller wrote: And what do the shutdown and poweroff commands do? OK, I'm back. I ran shutdown (forgot to add -h now), so it took a bit, from within konsole. It shut off the system, without running plymouth. To speed things up, I appended 3 (Lennard wrote that you can still to this)

Re: applied, non-theoretical use of systemd

2010-08-27 Thread Petrus de Calguarium
Petrus de Calguarium wrote: dnsmasq does not appear to be working correctly. This is odd. systemctl and systemctl status dnsmasq.service both show dnsmasq as active (running), but it is not cacheing. Could it be that it's not reading /etc/dnsmasq.conf? No, I don't think so (Privoxy does

Re: applied, non-theoretical use of systemd

2010-08-27 Thread Matthew Miller
On Fri, Aug 27, 2010 at 09:42:49AM -0600, Petrus de Calguarium wrote: OK, I just updated to v8-3 and have the latest initscripts, too. I tried to shut down twice (I invoked sudo systemctl daemon-reexec before the second time), and I still cannot power down by clicking on the power off button.

Re: applied, non-theoretical use of systemd

2010-08-27 Thread Matthew Miller
On Fri, Aug 27, 2010 at 09:56:15AM -0600, Petrus de Calguarium wrote: What do the logs say? Where are the logs? I looked in /var/log/ last night and there is no system.log or systemd.log file on my system. It doesn't log separately -- it uses syslog. So look in the /var/log/messages file.

Re: applied, non-theoretical use of systemd

2010-08-27 Thread Matthew Miller
On Fri, Aug 27, 2010 at 10:11:17AM -0600, Petrus de Calguarium wrote: To speed things up, I appended 3 (Lennard wrote that you can still to this) to the kernel boot line in grub and ran poweroff. The system ran plymouth and powered off. Wait, it fired up the graphical thing in order to

Re: applied, non-theoretical use of systemd

2010-08-27 Thread Petrus de Calguarium
Bill Nottingham wrote: OK. So the question is ... what does this button do? Invoke 'halt'? Invoke 'shutdown -h now'? Invoke ConsoleKit's Stop() method? Do I need to look in the logs for this? :-) I think this is a question for the KDE guys, non? -- devel mailing list

Re: applied, non-theoretical use of systemd

2010-08-27 Thread Petrus de Calguarium
Matthew Miller wrote: It doesn't log separately -- it uses syslog. So look in the /var/log/messages file. You know, I'm getting the hang of systemd. I like. I hope we're not going back to sysv, despite the grumbling. I just converted my scripts and this is easier, I think. -- devel

Re: applied, non-theoretical use of systemd

2010-08-27 Thread Brendan Jones - I.T.
On 08/27/2010 10:11 AM, Petrus de Calguarium wrote: Where are the logs for systemd? In /var/log/messages, maybe? I add systemd.log_target=kmsg systemd.log_level=debug as kernel parameters to flesh out logging in /var/log/messages Brendan -- devel mailing list devel@lists.fedoraproject.org

Re: applied, non-theoretical use of systemd

2010-08-27 Thread Petrus de Calguarium
Brendan Jones - I.T. wrote: On 08/27/2010 10:11 AM, Petrus de Calguarium wrote: Where are the logs for systemd? In /var/log/messages, maybe? I add systemd.log_target=kmsg systemd.log_level=debug as kernel parameters to flesh out logging in /var/log/messages Thanks. I think it is not

applied, non-theoretical use of systemd

2010-08-26 Thread Petrus de Calguarium
1. I noticed that one can no longer (with v8-2) turn off the computer by clicking the 'turn off computer' button in KDE. I figured out, with help of recent threads, that one has to run: systemctl isolate poweroff.target. It worked. Is this the correct way? 2. I use privoxy as a proxy and