Re: [systemd-devel] sd_journal_add_match if not using the form of "FIELD=value"

2015-03-08 Thread Mantas Mikulėnas
On Mon, Mar 9, 2015 at 12:53 AM, Lennart Poettering wrote: > On Fri, 06.03.15 21:28, Chris Morgan (chmor...@gmail.com) wrote: > > > > http://www.freedesktop.org/software/systemd/man/sd_journal_add_match.html > > is pretty clear that the matches are in the form of 'FIELD=value' but > > it doesn't

Re: [systemd-devel] Possible systemd segfault switching from 216 to 219 in fedora upgrade

2015-03-08 Thread Chris Murphy
On Sun, Mar 8, 2015 at 4:32 PM, Lennart Poettering wrote: > On Thu, 05.03.15 22:07, James Hogarth (james.hoga...@gmail.com) wrote: >> This naturally means that the serialization/deserialization needs to >> be forwards *and* backwards compatible between 216 and 219 for this to >> work. > > Yeah, b

Re: [systemd-devel] [PATCH] fix strict aliasing violations in src/udev/udev-builtin-usb_id.c

2015-03-08 Thread Shawn Landden
On Sun, Mar 8, 2015 at 4:11 PM, Lennart Poettering wrote: > On Thu, 05.03.15 04:58, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) > wrote: > > > > +uint8_tbLength; > > > +uint8_tbDescriptorType; > > > +uint8_tbInterfaceNumb

Re: [systemd-devel] [PATCH] add REMOTE_ADDR and REMOTE_PORT for Accept=yes

2015-03-08 Thread Shawn Landden
the xinetd REMOTE_IP is a fedora extension so I think we should avoid it. On Sun, Mar 8, 2015 at 4:24 PM, Shawn Landden wrote: > --- > TODO | 2 -- > man/systemd.socket.xml | 6 +- > src/core/service.c | 47 > +++ > 3 files

[systemd-devel] [PATCH] add REMOTE_ADDR and REMOTE_PORT for Accept=yes

2015-03-08 Thread Shawn Landden
--- TODO | 2 -- man/systemd.socket.xml | 6 +- src/core/service.c | 47 +++ 3 files changed, 52 insertions(+), 3 deletions(-) diff --git a/TODO b/TODO index ae32388..780084a 100644 --- a/TODO +++ b/TODO @@ -164,8 +164,6 @@ F

Re: [systemd-devel] [PATCH/RFC] FuseMAC: user space MAC in systemd

2015-03-08 Thread Lennart Poettering
On Mon, 02.03.15 22:49, Topi Miettinen (toiwo...@gmail.com) wrote: > Intercept and filter filesystem operations of processes launched > by systemd with FUSE. > > Implement learning, enforcing and auto enforcing/learning modes, > enabled with new exec directive FuseMAC. > > FS operations can be f

Re: [systemd-devel] [PATCH] fix strict aliasing violations in src/udev/udev-builtin-usb_id.c

2015-03-08 Thread Lennart Poettering
On Thu, 05.03.15 04:58, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: > > +uint8_tbLength; > > +uint8_tbDescriptorType; > > +uint8_tbInterfaceNumber; > > +uint8_tbAlternateSetting; > > +

Re: [systemd-devel] Unable to remove images using machinectl

2015-03-08 Thread Lennart Poettering
On Tue, 03.03.15 14:22, Erik Johnson (e...@saltstack.com) wrote: > On Mon, Mar 02, 2015 at 11:01:44PM +0100, Lennart Poettering wrote: > >On Mon, 02.03.15 14:10, Erik Johnson (e...@saltstack.com) wrote: > > > >>On Mon, Mar 02, 2015 at 07:51:35PM +0100, Lennart Poettering wrote: > >>>On Mon, 02.03.

Re: [systemd-devel] sd_journal_add_match if not using the form of "FIELD=value"

2015-03-08 Thread Lennart Poettering
On Fri, 06.03.15 21:28, Chris Morgan (chmor...@gmail.com) wrote: > http://www.freedesktop.org/software/systemd/man/sd_journal_add_match.html > is pretty clear that the matches are in the form of 'FIELD=value' but > it doesn't mention the why. > > What if I've written a field like "FIELD", can I t

Re: [systemd-devel] "systemd --test" fails

2015-03-08 Thread Lennart Poettering
On Fri, 06.03.15 11:23, Frank Steiner (fsteiner-ma...@bio.ifi.lmu.de) wrote: > Hi, > > for debugging an ordering cycle during boot I tried to run > systemd --test --system --unit=multi-user.target --log-level=debug > as user (as it doesn't work as root). > > The result is just: > systemd 210

Re: [systemd-devel] Notification socket and chroot vs PrivateNetwork conflict (abstract vs file-system)

2015-03-08 Thread Lennart Poettering
On Sat, 07.03.15 00:20, Alban Crequy (alban.cre...@gmail.com) wrote: > > I figure we could open a new mount namespace and mount the file system > > socket into the chroot, but not sure I like the idea... > > Maybe that's the way to do it... but where would you bind mount the > socket file? in $CH

Re: [systemd-devel] Notification socket and chroot vs PrivateNetwork conflict (abstract vs file-system)

2015-03-08 Thread Lennart Poettering
On Thu, 05.03.15 12:16, Alban Crequy (alban.cre...@gmail.com) wrote: > > Hmm, but what would you do for a service that has both PrivateNetwork > > and chroot enabled? > > > > I am all open for shifting things around again, but I inda would > > prefer a solution that works universally in the end...

Re: [systemd-devel] how to nest slices under system.slice

2015-03-08 Thread Lennart Poettering
On Thu, 05.03.15 13:55, Umut Tezduyar Lindskog (u...@tezduyar.com) wrote: > Hi, > > How do I add a slice that is inside the system.slice? The name is basically the cgroup path. i.e. foo-bar-baz.slice is a slice below foo-bar.slice, which is below foo.slice, which is below -.slice. > Following s

Re: [systemd-devel] Possible systemd segfault switching from 216 to 219 in fedora upgrade

2015-03-08 Thread Lennart Poettering
On Thu, 05.03.15 22:07, James Hogarth (james.hoga...@gmail.com) wrote: > > Tried to put together a reduced testcase via a yum installroot style > > container to switch-root into to see what that behaviour is like and > > do see a segfault - not certain if this is the same being seen during > > the

Re: [systemd-devel] Real-time permission affected by root login on other tty

2015-03-08 Thread Lennart Poettering
On Sat, 07.03.15 20:04, Lars Christensen (lar...@belunktum.dk) wrote: > With systemd 218 and 219, I have a strange issue that processes running as > root cannot acquire realtime priority (SCHED_RR, priority 22). Further, if > (and only if) root is logged in (via tty or ssh), users processes can al

Re: [systemd-devel] DBus api of systemd user instance

2015-03-08 Thread Lennart Poettering
On Sat, 07.03.15 08:45, Mantas Mikulėnas (graw...@gmail.com) wrote: > On Fri, Mar 6, 2015 at 6:23 PM, Ragnar Thomsen wrote: > > > Hey List, > > > > Does the user instance of systemd expose a dbus api? > > > > Yes, that's what `systemctl` uses. > > > > If yes, how does one access it? > > > >

Re: [systemd-devel] [PATCH 1/3] Allow systemd-tmpfiles to set the file/directory attributes

2015-03-08 Thread Lennart Poettering
On Sun, 08.03.15 12:48, Goffredo Baroncelli (kreij...@libero.it) wrote: > dev_t major_minor; > +int attrib_value; > +int attrib_mask; "int" appears to be a strange choice for a bitmask. The existing chattr_fd() and chattr_path() calls use "unsigned" for this, so this shou

Re: [systemd-devel] [PATCH] core/socket: Add REMOTE_IP environment variable for Accept=true

2015-03-08 Thread Lennart Poettering
On Fri, 06.03.15 13:10, Shawn Landden (sh...@churchofgit.com) wrote: > On Thu, Mar 5, 2015 at 3:18 AM, Lennart Poettering > wrote: > > > On Wed, 04.03.15 15:18, Shawn Landden (sh...@churchofgit.com) wrote: > > > > Can't this just use getpeername_pretty()? > > > > Then I can't force it to only ip

Re: [systemd-devel] Reliably waiting for udevd to finish processing triggered events

2015-03-08 Thread Lennart Poettering
On Fri, 06.03.15 14:22, Daniel Drake (dr...@endlessm.com) wrote: > Hi, > > I'm looking at some issues with the plymouth boot splash system, and > why it intermittently fails to get graphics on screen. > > plymouth watches for the creation of drm display devices during boot. > If it finds one, it

Re: [systemd-devel] [PATCH] Improve log notice when unprivileged users run journalctl executable (reformatted)

2015-03-08 Thread Lennart Poettering
On Sun, 08.03.15 10:56, Martin Pitt (martin.p...@ubuntu.com) wrote: > Gautier Pelloux-Prayer [2015-03-08 9:33 +0100]: > > This patch modifies this feedback by giving permission-hint to the user: > > > > No journal files were found. Users in the 'systemd-journal' group > > may access more mes

[systemd-devel] Now that I have systemd, do I still need JSVC (Java daemon library)?

2015-03-08 Thread Tom Dworzanski
Hello all, I’m learning system. I’m wondering if it’s a complete replacement for JSVC. I posted a detailed question with some sample configuration on a StackOverflow question: http://stackoverflow.com/questions/28894008/what-benefit-do-i-get-from-jsvc-over-just-using-systemd There weren't any a

Re: [systemd-devel] [PATCH 2/2] po: update Russian translation - pluralize fsckd

2015-03-08 Thread Zbigniew Jędrzejewski-Szmek
On Sun, Mar 08, 2015 at 06:51:41PM +0300, Sergey Ptashnick wrote: > On 08.03.2015 17:46, Zbigniew Jędrzejewski-Szmek wrote: > > On Sun, Mar 08, 2015 at 05:41:28PM +0300, Sergey Ptashnick wrote: > >> Correctly pluralize strings for fsckd. > > This does not apply: the context is changed. Can you reba

Re: [systemd-devel] [PATCH 2/2] po: update Russian translation - pluralize fsckd

2015-03-08 Thread Sergey Ptashnick
On 08.03.2015 17:46, Zbigniew Jędrzejewski-Szmek wrote: > On Sun, Mar 08, 2015 at 05:41:28PM +0300, Sergey Ptashnick wrote: >> Correctly pluralize strings for fsckd. > This does not apply: the context is changed. Can you rebase? > > Zbyszek Oops, sorry. Fixed. Subject: [PATCH 2/2] po: update Rus

Re: [systemd-devel] [PATCH] Improve log notice when unprivileged users run journalctl executable (reformatted)

2015-03-08 Thread Zbigniew Jędrzejewski-Szmek
On Sun, Mar 08, 2015 at 03:31:25PM +0100, Zbigniew Jędrzejewski-Szmek wrote: > On Sun, Mar 08, 2015 at 09:33:24AM +0100, Gautier Pelloux-Prayer wrote: > > Hi list, > > > > Currently, when user runs journalctl without extra privileges, output > > is: > > > > No journal files were found. > > >

Re: [systemd-devel] [PATCH 2/3] Update the man page of tmpfiles.d(5), to document the new h/H command.

2015-03-08 Thread Ronny Chevalier
2015-03-08 12:48 GMT+01:00 Goffredo Baroncelli : > From: Goffredo Baroncelli > > Update the man page of tmpfiles.d(5), to document the new h/H command. > > Signed-off-by: Goffredo Baroncelli No Signed-off-by. Also, why not merge the 3 commits in one ? I don't see why separating the man page upd

Re: [systemd-devel] [PATCH 1/2] po: update Russian translation - importd

2015-03-08 Thread Zbigniew Jędrzejewski-Szmek
On Sun, Mar 08, 2015 at 05:41:23PM +0300, Sergey Ptashnick wrote: > Add strings for importd, by analogy with 1eb37584a8. Applied 1/2. Zbyszek ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo

Re: [systemd-devel] [PATCH 2/2] po: update Russian translation - pluralize fsckd

2015-03-08 Thread Zbigniew Jędrzejewski-Szmek
On Sun, Mar 08, 2015 at 05:41:28PM +0300, Sergey Ptashnick wrote: > Correctly pluralize strings for fsckd. This does not apply: the context is changed. Can you rebase? Zbyszek > --- > po/ru.po |5 - > 1 files changed, 4 insertions(+), 1 deletions(-) > > diff --git a/po/ru.po b/po/ru.po

[systemd-devel] [PATCH 1/2] po: update Russian translation - importd

2015-03-08 Thread Sergey Ptashnick
Add strings for importd, by analogy with 1eb37584a8. --- po/ru.po | 10 +- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/po/ru.po b/po/ru.po index 1ffeec6..72ecd6f 100644 --- a/po/ru.po +++ b/po/ru.po @@ -39,10 +39,18 @@ msgid "Authentication is required to set local mac

[systemd-devel] [PATCH 2/2] po: update Russian translation - pluralize fsckd

2015-03-08 Thread Sergey Ptashnick
Correctly pluralize strings for fsckd. --- po/ru.po |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/po/ru.po b/po/ru.po index 72ecd6f..abd1264 100644 --- a/po/ru.po +++ b/po/ru.po @@ -7,12 +7,13 @@ msgstr "" "Project-Id-Version: systemd\n" "Report-Msgid-Bugs-To: 0com

Re: [systemd-devel] [PATCH 1/3] Allow systemd-tmpfiles to set the file/directory attributes

2015-03-08 Thread Zbigniew Jędrzejewski-Szmek
On Sun, Mar 08, 2015 at 03:00:38PM +0100, Ronny Chevalier wrote: > 2015-03-08 12:48 GMT+01:00 Goffredo Baroncelli : > > From: Goffredo Baroncelli > > > > Hi, > > > Allow systemd-tmpfiles to set the file/directory attributes, like chattr(1) > > does. Two more commands are added: 'H' and 'h' to se

Re: [systemd-devel] [PATCH 3/3] Add a new tmpfiles.d snippets to set the NOCOW the journal.

2015-03-08 Thread Zbigniew Jędrzejewski-Szmek
On Sun, Mar 08, 2015 at 12:48:27PM +0100, Goffredo Baroncelli wrote: > From: Goffredo Baroncelli > > Add a new tmpfiles.d snippets to set the NOCOW attributes for the > journal files. This allow better perfomance when the root file system > is BTRFS. Pay attention that the NOCOW flags disables th

Re: [systemd-devel] [PATCH] Improve log notice when unprivileged users run journalctl executable (reformatted)

2015-03-08 Thread Zbigniew Jędrzejewski-Szmek
On Sun, Mar 08, 2015 at 09:33:24AM +0100, Gautier Pelloux-Prayer wrote: > Hi list, > > Currently, when user runs journalctl without extra privileges, output > is: > > No journal files were found. > > This patch modifies this feedback by giving permission-hint to the user: > > No journal

Re: [systemd-devel] [PATCH 1/3] Allow systemd-tmpfiles to set the file/directory attributes

2015-03-08 Thread Ronny Chevalier
2015-03-08 12:48 GMT+01:00 Goffredo Baroncelli : > From: Goffredo Baroncelli > Hi, > Allow systemd-tmpfiles to set the file/directory attributes, like chattr(1) > does. Two more commands are added: 'H' and 'h' to set the attributes, > recursively and not. > > Signed-off-by: Goffredo Baroncelli

[systemd-devel] [PATCH 2/3] Update the man page of tmpfiles.d(5), to document the new h/H command.

2015-03-08 Thread Goffredo Baroncelli
From: Goffredo Baroncelli Update the man page of tmpfiles.d(5), to document the new h/H command. Signed-off-by: Goffredo Baroncelli --- man/tmpfiles.d.xml | 32 1 file changed, 32 insertions(+) diff --git a/man/tmpfiles.d.xml b/man/tmpfiles.d.xml index 8815bf9

[systemd-devel] [PATCH 3/3] Add a new tmpfiles.d snippets to set the NOCOW the journal.

2015-03-08 Thread Goffredo Baroncelli
From: Goffredo Baroncelli Add a new tmpfiles.d snippets to set the NOCOW attributes for the journal files. This allow better perfomance when the root file system is BTRFS. Pay attention that the NOCOW flags disables the checksum and prevent scrub to rebuild a corruputed journal. Signed-off-by: G

[systemd-devel] [PATCH 1/3] Allow systemd-tmpfiles to set the file/directory attributes

2015-03-08 Thread Goffredo Baroncelli
From: Goffredo Baroncelli Allow systemd-tmpfiles to set the file/directory attributes, like chattr(1) does. Two more commands are added: 'H' and 'h' to set the attributes, recursively and not. Signed-off-by: Goffredo Baroncelli --- src/tmpfiles/tmpfiles.c | 155

[systemd-devel] [PATCH] Allow systemd-tmpfiles to set file/directory attributes

2015-03-08 Thread Goffredo Baroncelli
Hi all, This set of patches add two new line types to the tmpfiles files format. These new types of line are 'H' and 'h', and allow to change the file/ directory attributes, like chattr(1) does. One of the motivation of these patches is to get rid of the commit 11689d2a which force the NOCOW flag

Re: [systemd-devel] [PATCH] Improve log notice when unprivileged users run journalctl executable (reformatted)

2015-03-08 Thread Tomasz Torcz
On Sun, Mar 08, 2015 at 10:56:25AM +0100, Martin Pitt wrote: > Gautier Pelloux-Prayer [2015-03-08 9:33 +0100]: > > This patch modifies this feedback by giving permission-hint to the user: > > > > No journal files were found. Users in the 'systemd-journal' group > > may access more messages. >

Re: [systemd-devel] [PATCH] Improve log notice when unprivileged users run journalctl executable (reformatted)

2015-03-08 Thread Martin Pitt
Gautier Pelloux-Prayer [2015-03-08 9:33 +0100]: > This patch modifies this feedback by giving permission-hint to the user: > > No journal files were found. Users in the 'systemd-journal' group > may access more messages. If we do this, can we please advertise the standard LSB "adm" group ins

[systemd-devel] [PATCH] Improve log notice when unprivileged users run journalctl executable (reformatted)

2015-03-08 Thread Gautier Pelloux-Prayer
Hi list, Currently, when user runs journalctl without extra privileges, output is: No journal files were found. This patch modifies this feedback by giving permission-hint to the user: No journal files were found. Users in the 'systemd-journal' group may access more messages. It should