[systemd-devel] [PATCH] logs-show: fix off-by-one error

2012-08-02 Thread shawnlandden
From: Shawn Landen Ellipsize lines that are one character too long. --- src/shared/logs-show.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared/logs-show.c b/src/shared/logs-show.c index c72ebc1..b6e6a85 100644 --- a/src/shared/logs-show.c +++ b/src/shared/logs-s

Re: [systemd-devel] [RFC] adding udev options to systemctl

2012-08-02 Thread Peeters Simon
2012/8/2 Kay Sievers : > On Thu, Aug 2, 2012 at 10:04 PM, Peeters Simon > wrote: > >> Since systemd and udev are one project now it might be an idea to be >> able to control both daemons with one tool (systemctl) > > We also have journalctl, loginctl, ... > > systemctl is about managing services,

Re: [systemd-devel] [RFC] adding udev options to systemctl

2012-08-02 Thread Kay Sievers
On Thu, Aug 2, 2012 at 10:04 PM, Peeters Simon wrote: > Since systemd and udev are one project now it might be an idea to be > able to control both daemons with one tool (systemctl) We also have journalctl, loginctl, ... systemctl is about managing services, and udev is very tightly integrated,

[systemd-devel] [RFC] adding udev options to systemctl

2012-08-02 Thread Peeters Simon
hej, Since systemd and udev are one project now it might be an idea to be able to control both daemons with one tool (systemctl) also, since i don't like the way the arguments to udevadm work (very unclear about what is a commando and what an option), i tought maybe we can redo this "interface" a

Re: [systemd-devel] networking services management idea

2012-08-02 Thread Ferron, Chris E
On Thu, Aug 2, 2012 at 12:11 PM, Marcel Holtmann wrote: > Hi Chris, > >> > Unless the services take long to start, you'll have a much better time >> > with socket activation. With socket activation, the service won't just >> > wait until network availability to come online; the service will wait >

Re: [systemd-devel] networking services management idea

2012-08-02 Thread Gustavo Sverzut Barbieri
On Thu, Aug 2, 2012 at 2:02 PM, Ferron, Chris E wrote: > On Thu, Aug 2, 2012 at 8:28 AM, Gustavo Barbieri > wrote: >> On Thursday, August 2, 2012, David Strauss wrote: >>> >>> Unless the services take long to start, you'll have a much better time >>> with socket activation. With socket activation

Re: [systemd-devel] networking services management idea

2012-08-02 Thread Marcel Holtmann
Hi Chris, > > Unless the services take long to start, you'll have a much better time > > with socket activation. With socket activation, the service won't just > > wait until network availability to come online; the service will wait > > until an actual request to come online. > > > > Also check o

Re: [systemd-devel] networking services management idea

2012-08-02 Thread Chris Ferron
On 08/01/2012 11:57 PM, David Strauss wrote: Unless the services take long to start, you'll have a much better time with socket activation. With socket activation, the service won't just wait until network availability to come online; the service will wait until an actual request to come online.

Re: [systemd-devel] networking services management idea

2012-08-02 Thread Ferron, Chris E
On Thu, Aug 2, 2012 at 8:28 AM, Gustavo Barbieri wrote: > On Thursday, August 2, 2012, David Strauss wrote: >> >> Unless the services take long to start, you'll have a much better time >> with socket activation. With socket activation, the service won't just >> wait until network availability to c

Re: [systemd-devel] networking services management idea

2012-08-02 Thread Gustavo Barbieri
On Thursday, August 2, 2012, David Strauss wrote: Unless the services take long to start, you'll have a much better time with socket activation. With socket activation, the service won't just wait until network availability to come online; the service will wait until an actual request to come onlin

Re: [systemd-devel] Need help with getting messages into /var/log/messages

2012-08-02 Thread Kay Sievers
On Thu, Aug 2, 2012 at 12:43 PM, David Strauss wrote: > On Wed, Aug 1, 2012 at 8:57 PM, Paul Richards > wrote: >> 2. My main question: The logging isn't making it into >> /var/log/messages or into dmesg. *Into* dmesg? We do not forward stuff to the kernel buffer by default. 'Dmesg' only contain

Re: [systemd-devel] Need help with getting messages into /var/log/messages

2012-08-02 Thread David Strauss
On Wed, Aug 1, 2012 at 8:57 PM, Paul Richards wrote: > 2. My main question: The logging isn't making it into > /var/log/messages or into dmesg. I can only see it with journalctl. Is > there anywhere to fix that? My target system is Fedora 17 vanilla that > runs rsyslog. It's not really Fedora 17

Re: [systemd-devel] Need help with getting messages into /var/log/messages

2012-08-02 Thread Mathieu Bridon
On Wed, 2012-08-01 at 23:57 -0400, Paul Richards wrote: > 1. My program just runs once on startup and then exits. Do I need to > put anything in the service file for that? Use "Type=oneshot" in the "Service" section. Otherwise, by default the type is 'simple', and as such systemd will consider yo

[systemd-devel] Need help with getting messages into /var/log/messages

2012-08-02 Thread Paul Richards
Hello, I have written a program in c that logs using the following: #include void logprintf(const char * format, ...) { /* some other code here */ vsyslog(LOG_USER | LOG_NOTICE, format, ap); /* some more code here about va_end, and other nonsense like defining variables with the value 0xB16B00B

Re: [systemd-devel] networking services management idea

2012-08-02 Thread David Strauss
Unless the services take long to start, you'll have a much better time with socket activation. With socket activation, the service won't just wait until network availability to come online; the service will wait until an actual request to come online. Also check out my other posts to the mailing l