Re: [systemd-devel] [PATCH] Circumvent autofs_v5_packet_union size bug

2011-09-19 Thread Ian Kent
On Mon, 2011-09-19 at 22:47 +0200, Lennart Poettering wrote: > On Fri, 16.09.11 14:09, Thomas Meyer (tho...@m3y3r.de) wrote: > > > the size of autofs_v5_packet_union is 300 bytes on x86 and 304 bytes on > > x86_64 kernels. > > when running systemd (x86) on an x86_64 kernel this leads to a hang in

Re: [systemd-devel] Reusing stdout-syslog-bridge under sshd

2011-09-19 Thread Lennart Poettering
On Wed, 07.09.11 19:36, Albert Strasheim (full...@gmail.com) wrote: > > Hello > > On Wed, Sep 7, 2011 at 7:11 PM, Albert Strasheim wrote: > > Finally my question: is it possible for my custom shell to connect > > stderr of bar to stdout-syslog-bridge? Is this feasible, or was > > stdout-syslog-

Re: [systemd-devel] After upgrading glibc: Received environment initctl request

2011-09-19 Thread Lennart Poettering
On Fri, 09.09.11 13:57, Marti Raudsepp (ma...@juffo.org) wrote: > Dear list, > > I'm using systemd 35 on Arch Linux testing. Recently I had an upgrade > for the glibc package and following that, I couldn't use sysvinit's > /sbin/reboot -- the command would broadcast its message, wait for a > few

Re: [systemd-devel] [PATCH] Add support for automounting configfs, ala debugfs, etc.

2011-09-19 Thread Lennart Poettering
On Tue, 13.09.11 11:01, Bill Nottingham (nott...@redhat.com) wrote: > > Signed-off-by: Bill Nottingham > --- > Makefile.am |4 > units/sys-kernel-config.automount | 15 +++ > units/sys-kernel-config.mount | 15 +++ > 3 files changed

Re: [systemd-devel] systemd -> consolekit, spice-vdagent questions

2011-09-19 Thread Lennart Poettering
On Wed, 14.09.11 16:26, Hans de Goede (hdego...@redhat.com) wrote: > Hi, > > The spice guest agent for Linux consists of a system level > process (a daemon) and a per session process (started for > each active xsession). > > Currently the linux spice-vdagent is using ConsoleKit to > figure out (

Re: [systemd-devel] Xinetd to systemd unit files.

2011-09-19 Thread Lennart Poettering
On Fri, 16.09.11 20:17, "Jóhann B. Guðmundsson" (johan...@gmail.com) wrote: > This is just a heads which I was meaning to post here to the list > for distribution migrating to systemd. > > I converted all the xinetd snippets in Fedora to native systemd > units last week so to save yourselves from

Re: [systemd-devel] stdout-syslog-bridge max line length issue

2011-09-19 Thread Lennart Poettering
On Sat, 17.09.11 07:15, Albert Strasheim (full...@gmail.com) wrote: > Other applications that don't do this might cause this condition after > which their logs will start disappearing. > > What's the way forward on this one? I fixed this now in git. Would be great if you could test this. This wi

Re: [systemd-devel] [PATCH] Reword the polish translation a bit

2011-09-19 Thread Lennart Poettering
On Sat, 17.09.11 11:44, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: > s/siedzenie/stanowisko/: they both translate to seat in English, but > 'stanowisko' is a place where you work, while 'siedzenie' is like a > chair. > > s/podłączanie/podłączenie/: we are doing it now, not sometime in

Re: [systemd-devel] [PATCH 07/14] systemadm: add libgee as dependency and use it for a unit map

2011-09-19 Thread Zbigniew Jędrzejewski-Szmek
On 09/19/2011 07:49 PM, Maciej Marcin Piechotka wrote: On Mon, 2011-09-19 at 13:24 +0200, Zbigniew Jędrzejewski-Szmek wrote: diff --git a/configure.ac b/configure.ac index ca07456..5e4b483 100644 --- a/configure.ac +++ b/configure.ac @@ -348,7 +348,13 @@ AM_CONDITIONAL(LIBNOTIFY07, [ test "$libn

Re: [systemd-devel] [PATCH 03/14] systemadm: display dependencies sorted

2011-09-19 Thread Zbigniew Jędrzejewski-Szmek
On 09/19/2011 07:34 PM, Maciej Marcin Piechotka wrote: On Mon, 2011-09-19 at 13:24 +0200, Zbigniew Jędrzejewski-Szmek wrote: Maybe there's an easier way to sort strings in vala... In libgee the code would be: List sorted = new ArrayList(); sorted.add_all (dependencies); sorted.sort (); Or:

Re: [systemd-devel] Failed to activate service 'org.freedesktop.ConsoleKit': timed out

2011-09-19 Thread Reindl Harald
Am 19.09.2011 23:02, schrieb Lennart Poettering: On Sun, 18.09.11 18:20, Reindl Harald (h.rei...@thelounge.net) wrote: > Sep 18 18:18:04 rh dbus-daemon: [system] Failed to activate service > 'org.freedesktop.ConsoleKit': timed out > > this happens on all my machines upgraded to F15 > > i thin

Re: [systemd-devel] Failed to activate service 'org.freedesktop.ConsoleKit': timed out

2011-09-19 Thread Lennart Poettering
On Sun, 18.09.11 18:20, Reindl Harald (h.rei...@thelounge.net) wrote: > Sep 18 18:18:04 rh dbus-daemon: [system] Failed to activate service > 'org.freedesktop.ConsoleKit': timed out > > this happens on all my machines upgraded to F15 > > i think this is the reason why if i login to fast after b

Re: [systemd-devel] systemd and mysql with large memory pages

2011-09-19 Thread Jóhann B. Guðmundsson
On 09/19/2011 08:30 PM, Lennart Poettering wrote: Well, but there's an equivalent fix here, just use LimitXXX= in the unit files. Long story put short what you need to do to match what Lennart has been saying. Add LimitMEMLOCK=infinity To the unit file instead of using /etc/security/limits

Re: [systemd-devel] [PATCH] Circumvent autofs_v5_packet_union size bug

2011-09-19 Thread Lennart Poettering
On Fri, 16.09.11 14:09, Thomas Meyer (tho...@m3y3r.de) wrote: > the size of autofs_v5_packet_union is 300 bytes on x86 and 304 bytes on > x86_64 kernels. > when running systemd (x86) on an x86_64 kernel this leads to a hang in > automount_fd_event->loop_read > as a second fd_event is trigged for

Re: [systemd-devel] systemd and mysql with large memory pages

2011-09-19 Thread Lennart Poettering
On Mon, 19.09.11 21:29, Reindl Harald (h.rei...@thelounge.net) wrote: > > > Am 19.09.2011 20:48, schrieb Lennart Poettering: > > On Mon, 19.09.11 20:42, Reindl Harald (h.rei...@thelounge.net) wrote: > >>> limits.conf is generally only applied to logins, not to system services > >> > >> i remeber

Re: [systemd-devel] systemd and mysql with large memory pages

2011-09-19 Thread Reindl Harald
Am 19.09.2011 20:48, schrieb Lennart Poettering: > On Mon, 19.09.11 20:42, Reindl Harald (h.rei...@thelounge.net) wrote: >>> limits.conf is generally only applied to logins, not to system services >> >> i remeber that was the reaso include it in the /etc/initd./service because >> started processe

Re: [systemd-devel] systemd and mysql with large memory pages

2011-09-19 Thread Lennart Poettering
On Mon, 19.09.11 20:42, Reindl Harald (h.rei...@thelounge.net) wrote: > > > Am 19.09.2011 19:39, schrieb Lennart Poettering: > >> /etc/security/limits.conf and set the desired setting there which is > >> the proper way of doing this stuff since you rarely change them. > > > > limits.conf is gen

Re: [systemd-devel] systemd and mysql with large memory pages

2011-09-19 Thread Reindl Harald
Am 19.09.2011 19:39, schrieb Lennart Poettering: >> /etc/security/limits.conf and set the desired setting there which is >> the proper way of doing this stuff since you rarely change them. > > limits.conf is generally only applied to logins, not to system services i remeber that was the reaso i

Re: [systemd-devel] [PATCH 07/14] systemadm: add libgee as dependency and use it for a unit map

2011-09-19 Thread Maciej Marcin Piechotka
On Mon, 2011-09-19 at 13:24 +0200, Zbigniew Jędrzejewski-Szmek wrote: > diff --git a/configure.ac b/configure.ac > index ca07456..5e4b483 100644 > --- a/configure.ac > +++ b/configure.ac > @@ -348,7 +348,13 @@ AM_CONDITIONAL(LIBNOTIFY07, [ test "$libnotify07" > = "yes" ]) > > AM_PROG_VALAC([0.10

Re: [systemd-devel] systemd and mysql with large memory pages

2011-09-19 Thread Lennart Poettering
On Sat, 17.09.11 11:36, "Jóhann B. Guðmundsson" (johan...@gmail.com) wrote: > > On 09/17/2011 10:57 AM, Reindl Harald wrote: > >with sysv/lsb you could include the follwoing script via "source" > >and hughe TLB in mysqld worked like a charme > > > >[root@rh:~]$ cat /etc/my.memory.cnf > ># Large-M

Re: [systemd-devel] systemd and mysql with large memory pages

2011-09-19 Thread Lennart Poettering
On Sat, 17.09.11 13:39, Thomas Meyer (tho...@m3y3r.de) wrote: > > Am Samstag, den 17.09.2011, 13:22 +0200 schrieb Reindl Harald: > > /etc/sysctl.conf: > > # Hughe TLB for mysqld > > vm.nr_hugepages = 200 > > vm.hugetlb_shm_group = 27 > > kernel.shmall = 2097152 > > > > mysqld says: > > InnoDB: H

Re: [systemd-devel] systemd and mysql with large memory pages

2011-09-19 Thread Lennart Poettering
On Sat, 17.09.11 12:57, Reindl Harald (h.rei...@thelounge.net) wrote: > with sysv/lsb you could include the follwoing script via "source" > and hughe TLB in mysqld worked like a charme Hmpf. Global system settings hidden away in specific services is not a nice solution I'd say. > [root@rh:~]$ ca

Re: [systemd-devel] [PATCH 03/14] systemadm: display dependencies sorted

2011-09-19 Thread Maciej Marcin Piechotka
On Mon, 2011-09-19 at 13:24 +0200, Zbigniew Jędrzejewski-Szmek wrote: > Maybe there's an easier way to sort strings in vala... In libgee the code would be: List sorted = new ArrayList(); sorted.add_all (dependencies); sorted.sort (); Or: Collection sorted = new TreeSet(); sorted.add_all (depend

Re: [systemd-devel] [PATCH 00/14] systemadm updates

2011-09-19 Thread Frederic Crozat
Le lundi 19 septembre 2011 à 17:49 +0200, Kay Sievers a écrit : > 2011/9/19 Zbigniew Jędrzejewski-Szmek : > > On 09/19/2011 02:02 PM, microcai wrote: > >> > >> Can you send git pull request and just mail diff state ? > > > > Will do so in the future. > > > > The commits are here: git://in.waw.pl/g

Re: [systemd-devel] [PATCH 00/14] systemadm updates

2011-09-19 Thread Kay Sievers
2011/9/19 Zbigniew Jędrzejewski-Szmek : > On 09/19/2011 02:02 PM, microcai wrote: >> >> Can you send git pull request and just mail  diff state ? > > Will do so in the future. > > The commits are here: git://in.waw.pl/git/systemd systemadm_changes I think it's time to move that tool out to its on

Re: [systemd-devel] Using systemd/udev acl management to open up additional /dev nodes on request

2011-09-19 Thread Kay Sievers
On Mon, Sep 19, 2011 at 15:13, Hans de Goede wrote: >> On Wed, Sep 14, 2011 at 16:17, Hans de Goede wrote: >> You can set the ACLs yourself, but they might get removed with the >> next udev event, depending how the ACLs are managed. This is currently >> only safe, it the tool opens the device rig

Re: [systemd-devel] [PATCH 00/14] systemadm updates

2011-09-19 Thread Zbigniew Jędrzejewski-Szmek
On 09/19/2011 02:02 PM, microcai wrote: Can you send git pull request and just mail diff state ? Will do so in the future. The commits are here: git://in.waw.pl/git/systemd systemadm_changes Diffstat: Zbigniew Jędrzejewski-Szmek (14): systemadm: break timestamp formatting out into a sepera

Re: [systemd-devel] Using systemd/udev acl management to open up additional /dev nodes on request

2011-09-19 Thread Hans de Goede
Hi, First of all many thanks for your input! On 09/19/2011 02:27 PM, Kay Sievers wrote: On Wed, Sep 14, 2011 at 16:17, Hans de Goede wrote: Currently when people want to use usbredirection to a virtual machine from spice-client, they must launch the spice-client as root so that it can access

Re: [systemd-devel] Using systemd/udev acl management to open up additional /dev nodes on request

2011-09-19 Thread Kay Sievers
On Wed, Sep 14, 2011 at 16:17, Hans de Goede wrote: > Currently when people want to use usbredirection to a virtual machine from > spice-client, they must launch the spice-client as root so that it can > access device nodes under /dev/bus/usb. > > Since the purpose is for usbredirection to just wo

Re: [systemd-devel] [PATCH 00/14] systemadm updates

2011-09-19 Thread microcai
Can you send git pull request and just mail diff state ? 2011/9/19 Zbigniew Jędrzejewski-Szmek : > Hi, > > here are some patches for systemadm. The goal is to make the output > more readable (i.e. with sorted and colored dependencies, not > ellipsized).  Also allow sorting on various columns, mak

[systemd-devel] [PATCH 12/14] systemadm: coalesce id and decription fields

2011-09-19 Thread Zbigniew Jędrzejewski-Szmek
This is just in interest of saving space (e.g. 5 lines for multi-user.target). --- src/systemadm.vala | 24 +++- 1 files changed, 11 insertions(+), 13 deletions(-) diff --git a/src/systemadm.vala b/src/systemadm.vala index 5b05bcb..431c9e8 100644 --- a/src/systemadm.vala +++

[systemd-devel] [PATCH 11/14] systemadm: catch exceptions generated by dbus

2011-09-19 Thread Zbigniew Jędrzejewski-Szmek
Otherwise, access-denied dbus errors were not caught, and only caused a message to be printed out on the console. After this change a proper popup window pops up :). --- src/systemadm.vala | 28 ++-- 1 files changed, 14 insertions(+), 14 deletions(-) diff --git a/src/sys

[systemd-devel] [PATCH 13/14] systemadm: adjust row numbers after removing 'aliases'

2011-09-19 Thread Zbigniew Jędrzejewski-Szmek
--- src/systemadm.vala | 50 +- 1 files changed, 25 insertions(+), 25 deletions(-) diff --git a/src/systemadm.vala b/src/systemadm.vala index 431c9e8..24be5dc 100644 --- a/src/systemadm.vala +++ b/src/systemadm.vala @@ -253,31 +253,31 @@ public cl

[systemd-devel] [PATCH 14/14] systemadm: use colors for id too, remove color from fragment link

2011-09-19 Thread Zbigniew Jędrzejewski-Szmek
--- src/systemadm.vala | 17 +++-- 1 files changed, 11 insertions(+), 6 deletions(-) diff --git a/src/systemadm.vala b/src/systemadm.vala index 24be5dc..46b557b 100644 --- a/src/systemadm.vala +++ b/src/systemadm.vala @@ -452,7 +452,7 @@ public class MainWindow : Window {

[systemd-devel] [PATCH 10/14] systemadm: make the dependency listing selectable

2011-09-19 Thread Zbigniew Jędrzejewski-Szmek
There's no reason to forbid selecting the text. --- src/systemadm.vala |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/systemadm.vala b/src/systemadm.vala index c62e72f..a0c140e 100644 --- a/src/systemadm.vala +++ b/src/systemadm.vala @@ -238,7 +238,7 @@ public class

[systemd-devel] [PATCH 04/14] systemadm: split the type+status combo box into type combo & status checkbox

2011-09-19 Thread Zbigniew Jędrzejewski-Szmek
--- src/systemadm.vala | 62 +-- 1 files changed, 30 insertions(+), 32 deletions(-) diff --git a/src/systemadm.vala b/src/systemadm.vala index 9861ae4..dd46b62 100644 --- a/src/systemadm.vala +++ b/src/systemadm.vala @@ -113,6 +113,7 @@ public cla

[systemd-devel] [PATCH 07/14] systemadm: add libgee as dependency and use it for a unit map

2011-09-19 Thread Zbigniew Jędrzejewski-Szmek
--- Makefile.am| 12 configure.ac |8 +++- src/systemadm.vala | 14 ++ 3 files changed, 29 insertions(+), 5 deletions(-) diff --git a/Makefile.am b/Makefile.am index ec0f7b5..1a3ac07 100644 --- a/Makefile.am +++ b/Makefile.am @@ -144,9 +144,10 @@

[systemd-devel] [PATCH 06/14] systemadm: add a wrappable label and use it for status lines

2011-09-19 Thread Zbigniew Jędrzejewski-Szmek
The new WrapLabel is there to work around a deficiency in GTK, namely the fact that it is hard to make labels which are both resizable and wrappable. The code is a port from libview. --- Makefile.am|3 +- src/.gitignore |1 + src/systemadm.vala |7 ++--- src/wraplabel.vala

[systemd-devel] [PATCH 05/14] systemadm: filter on swaps, paths, and timers too.

2011-09-19 Thread Zbigniew Jędrzejewski-Szmek
--- src/systemadm.vala | 21 +++-- 1 files changed, 15 insertions(+), 6 deletions(-) diff --git a/src/systemadm.vala b/src/systemadm.vala index dd46b62..376cb76 100644 --- a/src/systemadm.vala +++ b/src/systemadm.vala @@ -138,13 +138,16 @@ public class MainWindow : Window {

[systemd-devel] [PATCH 09/14] systemadm: use bold for "requires", etc.

2011-09-19 Thread Zbigniew Jędrzejewski-Szmek
--- src/systemadm.vala |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/systemadm.vala b/src/systemadm.vala index 26fac01..c62e72f 100644 --- a/src/systemadm.vala +++ b/src/systemadm.vala @@ -495,7 +495,7 @@ public class MainWindow : Window {

[systemd-devel] [PATCH 08/14] systemadm: use color for dependency links

2011-09-19 Thread Zbigniew Jędrzejewski-Szmek
--- src/systemadm.vala | 21 - 1 files changed, 20 insertions(+), 1 deletions(-) diff --git a/src/systemadm.vala b/src/systemadm.vala index 1c0c99f..26fac01 100644 --- a/src/systemadm.vala +++ b/src/systemadm.vala @@ -457,6 +457,25 @@ public class MainWindow : Window {

[systemd-devel] [PATCH 02/14] systemadm: allow sorting of jobs and units

2011-09-19 Thread Zbigniew Jędrzejewski-Szmek
--- src/systemadm.vala | 31 --- 1 files changed, 20 insertions(+), 11 deletions(-) diff --git a/src/systemadm.vala b/src/systemadm.vala index 988e9f1..21177bf 100644 --- a/src/systemadm.vala +++ b/src/systemadm.vala @@ -30,6 +30,13 @@ public string format_time(uint6

[systemd-devel] [PATCH 03/14] systemadm: display dependencies sorted

2011-09-19 Thread Zbigniew Jędrzejewski-Szmek
Maybe there's an easier way to sort strings in vala... I admit that this patch is not very pretty. --- src/systemadm.vala |7 ++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/src/systemadm.vala b/src/systemadm.vala index 21177bf..9861ae4 100644 --- a/src/systemadm.vala ++

[systemd-devel] [PATCH 00/14] systemadm updates

2011-09-19 Thread Zbigniew Jędrzejewski-Szmek
Hi, here are some patches for systemadm. The goal is to make the output more readable (i.e. with sorted and colored dependencies, not ellipsized). Also allow sorting on various columns, make text selectable, and a bit shorter someplaces to save space. A dependency on libgee is added, to have a h

[systemd-devel] [PATCH 01/14] systemadm: break timestamp formatting out into a seperate function

2011-09-19 Thread Zbigniew Jędrzejewski-Szmek
Since the timezone is always local, it doesn't make much sense to display it. The timestamp is now formatted without the timezone. I guess it can be further improved, which should be easier now that it is tucked-away in a separate function. --- src/systemadm.vala | 24 +++- 1