Re: [systemd-devel] [PATCH 2/2] systemctl: add systemctl cat

2013-11-28 Thread Zbigniew Jędrzejewski-Szmek
On Sat, Nov 23, 2013 at 07:52:53PM -0800, Shawn Landden wrote: --- TODO | 2 -- src/shared/fileio.c | 73 - src/shared/fileio.h | 1 + src/systemctl/systemctl.c | 91 +++ 4

Re: [systemd-devel] [RFC 00/12] Bugfixes for CONFIG_VT=n

2013-11-28 Thread David Herrmann
Hi On Wed, Nov 27, 2013 at 11:44 PM, Lennart Poettering lenn...@poettering.net wrote: On Wed, 27.11.13 19:48, David Herrmann (dh.herrm...@gmail.com) wrote: Looks pretty good. Commented on the invidiaul patches, but mostly looks good. I am not sure about the whole approach of making this a

Re: [systemd-devel] [RFC 02/12] ring: add basic ring-buffer helper

2013-11-28 Thread David Herrmann
Hi On Wed, Nov 27, 2013 at 10:53 PM, Lennart Poettering lenn...@poettering.net wrote: On Wed, 27.11.13 19:48, David Herrmann (dh.herrm...@gmail.com) wrote: +void ring_flush(Ring *r) { +r-start = 0; +r-end = 0; +} + +void ring_clear(Ring *r) { +free(r-buf); +

Re: [systemd-devel] [RFC 02/12] ring: add basic ring-buffer helper

2013-11-28 Thread David Herrmann
Hi On Thu, Nov 28, 2013 at 1:27 AM, Lucas De Marchi lucas.de.mar...@gmail.com wrote: On Wed, Nov 27, 2013 at 4:48 PM, David Herrmann dh.herrm...@gmail.com wrote: This adds a very straightforward ring-buffer implementation to libsystemd-shared. Ring-buffers allow pushing data to, and pulling

Re: [systemd-devel] [RFC 03/12] bus: add two new bus_*_map_*_properties() helpers

2013-11-28 Thread David Herrmann
Hi On Wed, Nov 27, 2013 at 10:58 PM, Lennart Poettering lenn...@poettering.net wrote: On Wed, 27.11.13 19:48, David Herrmann (dh.herrm...@gmail.com) wrote: +/* skip interface, but allow callers to do that themselves */ +sd_bus_message_skip(m, s); This feels a bit like taping

Re: [systemd-devel] [RFC 05/12] gfx: add sd-gfx library with unifont section

2013-11-28 Thread David Herrmann
Hi On Wed, Nov 27, 2013 at 11:11 PM, Lennart Poettering lenn...@poettering.net wrote: On Wed, 27.11.13 19:48, David Herrmann (dh.herrm...@gmail.com) wrote: This patch introduces sd-gfx, a systemd-internal library dealing with all these things. Note that it is designed to be exported some day,

Re: [systemd-devel] [RFC 06/12] gfx: add keyboard layer

2013-11-28 Thread David Herrmann
Hi On Wed, Nov 27, 2013 at 11:17 PM, Lennart Poettering lenn...@poettering.net wrote: On Wed, 27.11.13 19:48, David Herrmann (dh.herrm...@gmail.com) wrote: + +enum { +SD_GFX__LED_NUML, +SD_GFX__LED_CAPSL, +SD_GFX__LED_SCROLLL, +SD_GFX__LED_COUNT, +};

Re: [systemd-devel] [RFC 07/12] gfx: add graphics layer

2013-11-28 Thread David Herrmann
Hi On Wed, Nov 27, 2013 at 11:24 PM, Lennart Poettering lenn...@poettering.net wrote: On Wed, 27.11.13 19:48, David Herrmann (dh.herrm...@gmail.com) wrote: +typedef struct gfx_config_pipe gfx_config_pipe; +typedef struct gfx_connector gfx_connector; +typedef struct gfx_encoder gfx_encoder;

Re: [systemd-devel] [RFC 08/12] gfx: add monitor

2013-11-28 Thread David Herrmann
Hi On Wed, Nov 27, 2013 at 11:34 PM, Lennart Poettering lenn...@poettering.net wrote: On Wed, 27.11.13 19:48, David Herrmann (dh.herrm...@gmail.com) wrote: While all previous sd-gfx interfaces are self-contained and can be used directly on selected devices, this adds an interface to connect

Re: [systemd-devel] [RFC 12/12] console: add systemd-consoled

2013-11-28 Thread David Herrmann
Hi On Wed, Nov 27, 2013 at 11:39 PM, Lennart Poettering lenn...@poettering.net wrote: On Wed, 27.11.13 19:48, David Herrmann (dh.herrm...@gmail.com) wrote: + +pid_t pty_new(unsigned short term_width, unsigned short term_height, Terminal *t, Pty **out) { +Pty *pty; +pid_t

Re: [systemd-devel] [systemd-bugs] Russian translation for systemd

2013-11-28 Thread Zbigniew Jędrzejewski-Szmek
On Mon, Nov 18, 2013 at 07:57:41AM +0600, Alexander E. Patrakov wrote: 2013/11/18 Sergey Ptashnick 0comff...@inbox.ru: On 17.11.2013 16:34, Alexander E. Patrakov wrote: You translate host name as имя компьютера, both GDM and KDM translators use имя узла. In this case, IMHO, evidence and

Re: [systemd-devel] French translation for systemd

2013-11-28 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Nov 27, 2013 at 08:43:09PM +0100, Sylvain Plantefeve wrote: Hi Gentlemen, Just a little ping to get fixed the few typos in the french translation of the journal's catalog. See the patch in attachment. Thanks! Applied, thanks. Zbyszek

Re: [systemd-devel] systemd 208:trouble with inactive user sessions at non-seat0 seats

2013-11-28 Thread David Herrmann
Hi On Tue, Nov 26, 2013 at 2:33 PM, Laércio de Sousa lbsous...@gmail.com wrote: David, Looking at GDM debug and gdm-simple-slave.c source file, as well as loginctl show-seat output. I guess that GDM only requests user session activation for seats with CanMultiSession=yes, but currently

[systemd-devel] 'udevadm test' removes/adds by-id/by-path links

2013-11-28 Thread Robert Milasan
Hello, when running 'udevadm test /sys/block/sdb --action=remove' then links to the device node in /dev/disk/{by-id,by-path} are being removed and running udevadm test with action=add, the links are re-added. robert@viper:~ ls -l /dev/disk/by-id/|grep sdb lrwxrwxrwx 1 root root 9 Nov 28

Re: [systemd-devel] [systemd-commits] man/crypttab.xml

2013-11-28 Thread Kay Sievers
On Thu, Nov 28, 2013 at 8:41 AM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: On Mon, Nov 25, 2013 at 12:31:24AM -0800, Lukas Nykryn wrote: man/crypttab.xml |2 -- 1 file changed, 2 deletions(-) New commits: commit 517dcac840fe8d5bf30a05c0084eff219af10a4a Author: Lukas Nykryn

Re: [systemd-devel] 'udevadm test' removes/adds by-id/by-path links

2013-11-28 Thread Kay Sievers
On Thu, Nov 28, 2013 at 11:36 AM, Robert Milasan rmila...@suse.com wrote: Hello, when running 'udevadm test /sys/block/sdb --action=remove' then links to the device node in /dev/disk/{by-id,by-path} are being removed and running udevadm test with action=add, the links are re-added.

[systemd-devel] systemd-multi-seat-x deprecation is near...

2013-11-28 Thread Laércio de Sousa
Hi there! I've submitted some patches to xorg-devel to fill the remaining gaps which make current sytemd-multi-seat-x wrapper still needed in some multiseat setups. One of these patches was already merged into upstream and should be released in xorg-server v1.15 (see

[systemd-devel] Optionally save core dumps as plain files

2013-11-28 Thread Umut Tezduyar Lindskog
Hi, I can’t find the last word on Oleksii’s coredump patch http://lists.freedesktop.org/archives/systemd-devel/2013-May/010991.html. Was there a decision about not taking it in? Thanks ___ systemd-devel mailing list

Re: [systemd-devel] [systemd-commits] man/crypttab.xml

2013-11-28 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Nov 28, 2013 at 12:48:51PM +0100, Kay Sievers wrote: On Thu, Nov 28, 2013 at 8:41 AM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: On Mon, Nov 25, 2013 at 12:31:24AM -0800, Lukas Nykryn wrote: man/crypttab.xml |2 -- 1 file changed, 2 deletions(-) New commits:

Re: [systemd-devel] Thread level resource management

2013-11-28 Thread Umut Tezduyar Lindskog
On Nov 25, 2013, at 6:59 PM, Kay Sievers k...@vrfy.org wrote: On Mon, Nov 25, 2013 at 5:28 PM, Umut Tezduyar Lindskog umut.tezdu...@axis.com wrote: On Nov 24, 2013, at 4:39 PM, Kay Sievers k...@vrfy.org wrote: On Sun, Nov 24, 2013 at 12:33 PM, Umut Tezduyar Lindskog umut.tezdu...@axis.com

[systemd-devel] [PATCH] systemctl: add systemctl cat

2013-11-28 Thread Shawn Landden
--- TODO | 2 - src/shared/fileio.c | 73 ++- src/shared/fileio.h | 1 + src/shared/util.c | 2 + src/systemctl/systemctl.c | 97 +++ 5 files changed, 172 insertions(+), 3

Re: [systemd-devel] [PATCH 2/2] systemctl: add systemctl cat

2013-11-28 Thread Shawn Landden
On Wed, Nov 27, 2013 at 11:59 PM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: On Sat, Nov 23, 2013 at 07:52:53PM -0800, Shawn Landden wrote: --- TODO | 2 -- src/shared/fileio.c | 73 - src/shared/fileio.h | 1 +

[systemd-devel] [PATCH] systemctl: add systemctl cat

2013-11-28 Thread Shawn Landden
v3: log_warning() inserts a trailing newline --- TODO | 2 - src/shared/fileio.c | 73 ++- src/shared/fileio.h | 1 + src/shared/util.c | 2 + src/systemctl/systemctl.c | 97 +++

Re: [systemd-devel] Optionally save core dumps as plain files

2013-11-28 Thread Kay Sievers
On Thu, Nov 28, 2013 at 4:44 PM, Umut Tezduyar Lindskog umut.tezdu...@axis.com wrote: I can’t find the last word on Oleksii’s coredump patch http://lists.freedesktop.org/archives/systemd-devel/2013-May/010991.html. Was there a decision about not taking it in? So far we planned to have a

Re: [systemd-devel] [PATCH] util: don't consider trailing whitespaces as an empty string in split_quoted

2013-11-28 Thread Tom Gundersen
On Wed, Nov 27, 2013 at 7:12 PM, Dave Reisner d...@falconindy.com wrote: On Wed, Nov 27, 2013 at 06:45:06PM +0100, Tom Gundersen wrote: On Wed, Nov 27, 2013 at 6:00 PM, Lukas Nykryn lnyk...@redhat.com wrote: --- src/shared/util.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)

Re: [systemd-devel] systemd-multi-seat-x deprecation is near...

2013-11-28 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Nov 28, 2013 at 01:33:29PM -0200, Laércio de Sousa wrote: If/when these patches are released, then systemd-multi-seat-x, in its current form, will be no longer necessary. So, unless you have another plans for this wrapper, I would like to suggest that you make its build optional in

Re: [systemd-devel] [PATCH] systemctl: add systemctl cat

2013-11-28 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Nov 28, 2013 at 10:34:10AM -0800, Shawn Landden wrote: v3: log_warning() inserts a trailing newline --- TODO | 2 - src/shared/fileio.c | 73 ++- src/shared/fileio.h | 1 + src/shared/util.c | 2 +

[systemd-devel] Is restart gracefull?

2013-11-28 Thread Cecil Westerhof
I have done a trial presentation about systemd. One of the questions there was: when a restart of for example apache is doen, is this restart done graceful? Met vriendelijke groet, Cecil Westerhof Engineer mobiel +31 - 6 - 25 00 38 81 -- Snow B.V. Unix Specialists De Ooyen 11 4191 PB

Re: [systemd-devel] Seeing logging as user

2013-11-28 Thread Cecil Westerhof
On 11/28/2013 12:37 AM, Kay Sievers wrote: I have to give a presentation about systemd/journald. One of the things I want to show is that you do not need an administrator to see the log messages that are generated by you. I did: - makedir /var/log/journal - systemctl kill -s SIGUSR1

[systemd-devel] What if a service is started manually

2013-11-28 Thread Cecil Westerhof
In a trial presentation I used the following service file: [Unit] Description=Virtual Distributed Ethernet After=syslog.target [Service] Type=forking PIDFile=/var/run/vde.pid # Note the -f: don't fail if there is no PID file ExecStartPre=/bin/rm -f /var/run/vde.pid ExecStart=/usr/bin/vde_switch

[systemd-devel] QOS

2013-11-28 Thread Cecil Westerhof
I was asked if you could use systemd for QOS? ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

[systemd-devel] xnitd

2013-11-28 Thread Cecil Westerhof
How does systemd compare to xinitd? Met vriendelijke groet, Cecil Westerhof Engineer mobiel +31 - 6 - 25 00 38 81 -- Snow B.V. Unix Specialists De Ooyen 11 4191 PB Geldermalsen http://www.snow.nl tel. +31 - 345 - 65 66 66 ___ systemd-devel

Re: [systemd-devel] What if a service is started manually

2013-11-28 Thread Cecil Westerhof
On 11/29/2013 12:23 AM, Cecil Westerhof wrote: In a trial presentation I used the following service file: [Unit] Description=Virtual Distributed Ethernet After=syslog.target [Service] Type=forking PIDFile=/var/run/vde.pid # Note the -f: don't fail if there is no PID file ExecStartPre=/bin/rm -f

[systemd-devel] Check from several machines on one machine

2013-11-28 Thread Cecil Westerhof
With rsyslog you can send everything to one machine and evaluate the logs of several machines on that one machine. As I understand it, journald is mend to work locally. Is there a way to centralize the usage of journals? This could be done with rsyslog, but then you lose all the benefits of

Re: [systemd-devel] Check from several machines on one machine

2013-11-28 Thread Amit Saha
- Original Message - From: Cecil Westerhof cecil.wester...@snow.nl To: systemd-devel@lists.freedesktop.org Sent: Friday, November 29, 2013 9:40:18 AM Subject: [systemd-devel] Check from several machines on one machine With rsyslog you can send everything to one machine and

Re: [systemd-devel] xnitd

2013-11-28 Thread Mantas Mikulėnas
On Nov 29, 2013 1:30 AM, Cecil Westerhof cecil.wester...@snow.nl wrote: How does systemd compare to xinitd? Did you mean inetd/xinetd? systemd's .socket units are very similar (many existing programs, like sshd, can be moved directly from inetd to systemd -- Accept=yes corresponds to the

Re: [systemd-devel] Check from several machines on one machine

2013-11-28 Thread Mantas Mikulėnas
On Nov 29, 2013 1:41 AM, Cecil Westerhof cecil.wester...@snow.nl wrote: With rsyslog you can send everything to one machine and evaluate the logs of several machines on that one machine. As I understand it, journald is mend to work locally. Is there a way to centralize the usage of journals?

Re: [systemd-devel] What if a service is started manually

2013-11-28 Thread Mantas Mikulėnas
On Nov 29, 2013 1:36 AM, Cecil Westerhof cecil.wester...@snow.nl wrote: Thanks for the speedy reply. On 11/29/2013 12:30 AM, Mantas Mikulėnas wrote: On Nov 29, 2013 1:24 AM, Cecil Westerhof cecil.wester...@snow.nl mailto:cecil.wester...@snow.nl wrote: In a trial presentation I used

Re: [systemd-devel] xnitd

2013-11-28 Thread Amit Saha
- Original Message - From: Mantas Mikulėnas graw...@gmail.com To: Cecil Westerhof cecil.wester...@snow.nl Cc: systemd Mailing List systemd-devel@lists.freedesktop.org Sent: Friday, November 29, 2013 9:57:04 AM Subject: Re: [systemd-devel] xnitd On Nov 29, 2013 1:30 AM, Cecil

Re: [systemd-devel] What if a service is started manually

2013-11-28 Thread Cecil Westerhof
On 11/29/2013 12:59 AM, Mantas Mikulėnas wrote: In a trial presentation I used the following service file: [Unit] Description=Virtual Distributed Ethernet After=syslog.target [Service] Type=forking PIDFile=/var/run/vde.pid # Note the -f: don't fail if there is

Re: [systemd-devel] Is restart gracefull?

2013-11-28 Thread Cristian Rodríguez
El 28/11/13 20:11, Cecil Westerhof escribió: I have done a trial presentation about systemd. One of the questions there was: when a restart of for example apache is doen, is this restart done graceful? It depends on what the person writting the unit files intends to do, in most

Re: [systemd-devel] QOS

2013-11-28 Thread Cristian Rodríguez
El 28/11/13 20:27, Cecil Westerhof escribió: I was asked if you could use systemd for QOS? Not directly with systemd. ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] Seeing logging as user

2013-11-28 Thread Mantas Mikulėnas
On Nov 29, 2013 2:18 AM, Cecil Westerhof cecil.wester...@snow.nl wrote: On 11/29/2013 12:43 AM, Garry T. Williams wrote: On 11-29-13 00:15:47 Cecil Westerhof wrote: http://www.freedesktop.org/software/systemd/man/systemd-journald.service.html#Access%20Control What if I want this user to

Re: [systemd-devel] [systemd-commits] 4 commits - configure.ac Makefile.am src/core src/network src/shared

2013-11-28 Thread Lennart Poettering
On Thu, 28.11.13 11:40, Zbigniew Jędrzejewski-Szmek (zbys...@kemper.freedesktop.org) wrote: commit bd441fa27a22b7c6e11d9330560e0622fb69f297 Author: Zbigniew J??drzejewski-Szmek zbys...@in.waw.pl Date: Thu Nov 28 12:07:29 2013 -0500 build-sys: make multi-seat-x optional At

Re: [systemd-devel] [systemd-commits] 4 commits - catalog/systemd-fr.catalog catalog/systemd-ru.catalog configure.ac Makefile.am po/.gitignore po/LINGUAS po/ru.po

2013-11-28 Thread Lennart Poettering
On Thu, 28.11.13 00:54, Zbigniew Jędrzejewski-Szmek (zbys...@kemper.freedesktop.org) wrote: commit f1a1264d13b31b9f5521f482d9a5a9d78da55efb Author: Zbigniew J??drzejewski-Szmek zbys...@in.waw.pl Date: Thu Nov 28 03:41:33 2013 -0500 build-sys: avoid warnings from assert_cc diff

Re: [systemd-devel] Is restart gracefull?

2013-11-28 Thread Lennart Poettering
On Fri, 29.11.13 00:11, Cecil Westerhof (cecil.wester...@snow.nl) wrote: I have done a trial presentation about systemd. One of the questions there was: when a restart of for example apache is doen, is this restart done graceful? For systemd a restart is actually exactly what the name says: a

Re: [systemd-devel] Seeing logging as user

2013-11-28 Thread Lennart Poettering
On Fri, 29.11.13 01:32, Cecil Westerhof (cecil.wester...@snow.nl) wrote: Your cronjobs do not run in a systemd-logind session (though they could), but they /do/ run with your uid, so you would be able to see them in the split-by-uid mode at least. Is not what I mend. I want user cecil to

Re: [systemd-devel] What if a service is started manually

2013-11-28 Thread Lennart Poettering
On Fri, 29.11.13 00:23, Cecil Westerhof (cecil.wester...@snow.nl) wrote: In a trial presentation I used the following service file: [Unit] Description=Virtual Distributed Ethernet After=syslog.target In curretn systemd versions the After=syslog.target is unnecessary. [Service]

Re: [systemd-devel] [systemd-commits] 4 commits - configure.ac Makefile.am src/core src/network src/shared

2013-11-28 Thread poma
On 29.11.2013 02:35, Lennart Poettering wrote: On Thu, 28.11.13 11:40, Zbigniew Jędrzejewski-Szmek (zbys...@kemper.freedesktop.org) wrote: commit bd441fa27a22b7c6e11d9330560e0622fb69f297 Author: Zbigniew J??drzejewski-Szmek zbys...@in.waw.pl Date: Thu Nov 28 12:07:29 2013 -0500

Re: [systemd-devel] [systemd-commits] 4 commits - configure.ac Makefile.am src/core src/network src/shared

2013-11-28 Thread Zbigniew Jędrzejewski-Szmek
On Fri, Nov 29, 2013 at 02:35:47AM +0100, Lennart Poettering wrote: On Thu, 28.11.13 11:40, Zbigniew Jędrzejewski-Szmek commit bd441fa27a22b7c6e11d9330560e0622fb69f297 Author: Zbigniew J??drzejewski-Szmek zbys...@in.waw.pl Date: Thu Nov 28 12:07:29 2013 -0500 build-sys: make

Re: [systemd-devel] QOS

2013-11-28 Thread Cecil Westerhof
On 11/29/2013 04:10 AM, Lennart Poettering wrote: On Fri, 29.11.13 00:27, Cecil Westerhof (cecil.wester...@snow.nl) wrote: I was asked if you could use systemd for QOS? Depends on what specifically you mean by QOS... I'll ask the questioner. (Any chance you can combine your questions in

Re: [systemd-devel] Thread level resource management

2013-11-28 Thread David Timothy Strauss
On Fri, Nov 29, 2013 at 1:58 AM, Umut Tezduyar Lindskog umut.tezdu...@axis.com wrote: Can someone explain the process level management? Right now, it's possible to do directly in the cgroups file system, but we're eventually moving away from anything manipulating that but systemd. I think that