[systemd-devel] systemd-cron: retrigger generator after /var is mounted

2014-10-22 Thread Alexandre Detiste
Hi, I have been maitaining systemd-crontab-generator for some months, this is a generator developped outside of systemd that translates the crontabs in timer & service units. I have two unresolved bugs in our tracker that I don't know how to tackle in the most "systemd-way". Maybe you know bet

[systemd-devel] [PATCH] fsck: re-enable fsck -l

2014-10-22 Thread Karel Zak
The -l (lock) has been temporary disabled due to conflict with udev (https://bugs.freedesktop.org/show_bug.cgi?id=79576) The problem is fixed since util-linux v2.25 (Jul 2014). --- README | 3 ++- src/fsck/fsck.c | 13 - 2 files changed, 6 insertions(+), 10 deletions(-) dif

Re: [systemd-devel] [PATCH v3] systemctl: add edit verb

2014-10-22 Thread Lennart Poettering
On Tue, 21.10.14 22:55, Ronny Chevalier (chevalier.ro...@gmail.com) wrote: > > That way we wouldn't have to allocate an strv, and just open code the > > search logic. This would then mirror nicely how the pager logic > > works... > > I agree but I can't (or I don't know how to do this), because we

Re: [systemd-devel] [PATCH v3] systemctl: add edit verb

2014-10-22 Thread Lennart Poettering
On Tue, 21.10.14 23:04, Ronny Chevalier (chevalier.ro...@gmail.com) wrote: > > I think we should really take some inspiration here from how git > > prepares the editor when asking for commit messages: adding a really > > useful commented help text to the end of the new file to edit would be > > re

Re: [systemd-devel] [PATCH v3] systemctl: add edit verb

2014-10-22 Thread Christian Seiler
Am 2014-10-22 10:36, schrieb Lennart Poettering: We can do this for the pager because there is no arguments to give, here we have a list of paths. THinking about this: are all those editors actually fine with editing multiple files at once? is nano? I know for certain that nano, vim, emacs, j

Re: [systemd-devel] [PATCH v3] systemctl: add edit verb

2014-10-22 Thread Lennart Poettering
On Wed, 22.10.14 00:29, Ronny Chevalier (chevalier.ro...@gmail.com) wrote: > > Nitpick: please no {} for single-line if blocks. > Oh and about this one, since I saw you mentioning it a couple of times > in other patches sent to the ML, maybe you should add this to the > CODING_STYLE ? I don't see

Re: [systemd-devel] [PATCH v3] systemctl: add edit verb

2014-10-22 Thread Lennart Poettering
On Wed, 22.10.14 11:10, Christian Seiler (christ...@iwakd.de) wrote: > Am 2014-10-22 10:36, schrieb Lennart Poettering: > >>We can do this for the pager because there is no arguments to give, > >>here we have a list of paths. > > > >THinking about this: are all those editors actually fine with edi

Re: [systemd-devel] [PATCH v3] systemctl: add edit verb

2014-10-22 Thread Lennart Poettering
On Wed, 22.10.14 01:48, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: > On Sat, Oct 18, 2014 at 06:30:02PM +0200, Ronny Chevalier wrote: > > It helps editing units by either creating a drop-in file, like > > /etc/systemd/system/my.service.d/amendments.conf, or by copying the > > original

Re: [systemd-devel] systemd-cron: retrigger generator after /var is mounted

2014-10-22 Thread Lennart Poettering
On Wed, 22.10.14 09:56, Alexandre Detiste (alexandre.deti...@gmail.com) wrote: > Hi, > > I have been maitaining systemd-crontab-generator for some months, > this is a generator developped outside of systemd that translates > the crontabs in timer & service units. > > I have two unresolved bugs

Re: [systemd-devel] [PATCH] fsck: re-enable fsck -l

2014-10-22 Thread Lennart Poettering
On Wed, 22.10.14 10:28, Karel Zak (k...@redhat.com) wrote: > The -l (lock) has been temporary disabled due to conflict with > udev (https://bugs.freedesktop.org/show_bug.cgi?id=79576) > > The problem is fixed since util-linux v2.25 (Jul 2014). Thanks! Applied! Lennart -- Lennart Poettering, R

Re: [systemd-devel] v216 timers: a configuration for enterprise's needs, features requests

2014-10-22 Thread Lennart Poettering
On Wed, 17.09.14 18:31, Daniele Medri (dme...@gmail.com) wrote: > Dears, > > testing timers on systemd v216, I've made a configuration that could be > useful for enterprise's needs: > > https://github.com/dmedri/systemd-enterprise-timers > > The following ideas could be useful for the editing j

Re: [systemd-devel] [RFC][PATCH 1/2] resolve: resolved-manager: Avoid null dereference

2014-10-22 Thread Lennart Poettering
On Sat, 13.09.14 20:40, Tom Gundersen (t...@jklm.no) wrote: > Yeah, this could happen. It so happens that the loopback link will > always have ifindex 1, so I guess we could just fall back to checking > for that if we don't have the real flags. Is that true even in network namespaces? Is this rea

Re: [systemd-devel] [PATCH] fsck: re-enable fsck -l

2014-10-22 Thread Maciej Wereski
22.10.2014 at 10:28 Karel Zak wrote: The -l (lock) has been temporary disabled due to conflict with udev (https://bugs.freedesktop.org/show_bug.cgi?id=79576) The problem is fixed since util-linux v2.25 (Jul 2014). --- README | 3 ++- src/fsck/fsck.c | 13 - 2 files chang

Re: [systemd-devel] systemd-cron: retrigger generator after /var is mounted

2014-10-22 Thread Jóhann B. Guðmundsson
On 10/22/2014 09:44 AM, Lennart Poettering wrote: So, I thought myself a couple of times about adding a cron generator upstream As far as I can tell generators serve only one purpose and that is to bridge an gap to allow users of consumers of systemd to migrate to it's native format hence I

Re: [systemd-devel] I wonder… why systemd provokes this amount of polarity and resistance

2014-10-22 Thread Tom Gundersen
Hi Martin, If you were to phrase your complaints/questions in terms of technical issues, we could probably have a much more useful debate. What is clear is that the systemd project will not do or change anything merely based on some bystanders gut feeling (which is basically what you have argued f

Re: [systemd-devel] [PATCH] fsck: re-enable fsck -l

2014-10-22 Thread Lennart Poettering
On Wed, 22.10.14 12:22, Maciej Wereski (m.were...@partner.samsung.com) wrote: > Well, actually it should be util-linux >= v2.25 now. -l is always enabled, > so on earlier versions of util-linux the bug remains. Indeed, the dependency on the version is not optional. I changed the file accordingly

Re: [systemd-devel] systemd-cron: retrigger generator after /var is mounted

2014-10-22 Thread Ivan Shapovalov
On Wednesday 22 October 2014 at 10:26:49, Jóhann B. Guðmundsson wrote: > > On 10/22/2014 09:44 AM, Lennart Poettering wrote: > > So, I thought myself a couple of times about adding a cron generator > > upstream > > As far as I can tell generators serve only one purpose and that is to > bridge

[systemd-devel] Timers without matching units?

2014-10-22 Thread Ivan Shapovalov
Hi, The systemd.timer(5) manpage states: "For each timer file, a matching unit file must exist, describing the unit to activate when the timer elapses." However, if I need the timer unit just to wake up the machine (e. g. I have a GUI alarm which does everything except configuring the wakealarm)

Re: [systemd-devel] systemd-cron: retrigger generator after /var is mounted

2014-10-22 Thread Alexandre Detiste
> > -) how can I trigger a rerun of the generator > > generators are rerun if you issue "systemctl daemon-reload" I already know, this is what our "trigger unit" does. https://github.com/systemd-cron/systemd-cron/blob/master/src/units/cron-update.service.in https://github.com/systemd-cron/syst

Re: [systemd-devel] systemd-cron: retrigger generator after /var is mounted

2014-10-22 Thread Lennart Poettering
On Wed, 22.10.14 14:48, Ivan Shapovalov (intelfx...@gmail.com) wrote: > On Wednesday 22 October 2014 at 10:26:49, Jóhann B. Guðmundsson wrote: > > > > On 10/22/2014 09:44 AM, Lennart Poettering wrote: > > > So, I thought myself a couple of times about adding a cron generator > > > upstrea

Re: [systemd-devel] systemd-cron: retrigger generator after /var is mounted

2014-10-22 Thread Lennart Poettering
On Wed, 22.10.14 13:03, Alexandre Detiste (alexandre.deti...@gmail.com) wrote: > > > -) how can I trigger a rerun of the generator > > > > generators are rerun if you issue "systemctl daemon-reload" > > I already know, > > this is what our "trigger unit" does. > https://github.com/systemd-cro

Re: [systemd-devel] instantiated services set up

2014-10-22 Thread Lennart Poettering
On Mon, 15.09.14 13:03, Jan Včelák (jan.vce...@nic.cz) wrote: > > After=syslog.target is redundant since a long time. Consider removing > > this. And After=network.target usually doesn't do what one might thing > > it does and with well written software that listens to rtnl or uses > > IP_FREEBIND

Re: [systemd-devel] systemd-cron: retrigger generator after /var is mounted

2014-10-22 Thread Alexandre Detiste
> Or to put this differently we will not create. come up with, ship ( and > thus support those ) generators but expect consumers of systemd to use > systemd and it's format natively in their environment. > > Alexandre why did you decide to write that generate to begin with? Hi, I've been usi

Re: [systemd-devel] Forwarding to syslog missed XX messages

2014-10-22 Thread Lennart Poettering
On Mon, 15.09.14 13:20, Reindl Harald (h.rei...@thelounge.net) wrote: > anybody an idea why? > > Sep 15 13:14:43 localhost systemd-journal[4650]: Forwarding to syslog missed > 2 messages. > Sep 15 13:15:13 localhost systemd-journal[4650]: Forwarding to syslog missed > 196 messages. > Sep 15 13:

Re: [systemd-devel] systemd-cron: retrigger generator after /var is mounted

2014-10-22 Thread Jóhann B. Guðmundsson
On 10/22/2014 11:16 AM, Alexandre Detiste wrote: >Why not migrate what needs to be migrated to native system timer formats >for those relevant component and leave the rest be handled by the >traditional cron daemons since those two components complement each >others shortcomings ? "The rest"

Re: [systemd-devel] systemd-cron: retrigger generator after /var is mounted

2014-10-22 Thread Alexandre Detiste
(sorry mail fired up too soon) > Or to put this differently we will not create. come up with, ship ( and > thus support those ) generators but expect consumers of systemd to use > systemd and it's format natively in their environment. > > Alexandre why did you decide to write that generate to b

Re: [systemd-devel] help with systemd socket file for programs in the quagga suite

2014-10-22 Thread Lennart Poettering
On Sat, 13.09.14 23:04, Andrei Borzenkov (arvidj...@gmail.com) wrote: > В Fri, 12 Sep 2014 19:10:01 +0100 > "lux-integ" пишет: > > > On Friday 12 September 2014 18:28:30 Dave Reisner wrote: > > > I'll stop you here. You can't simply "synthesize" a socket unit for any > > > arbitrary program that

Re: [systemd-devel] udev database backwards compatibility guarantees

2014-10-22 Thread Lennart Poettering
On Thu, 11.09.14 10:49, Alexander Larsson (al...@redhat.com) wrote: > Hi, I'm looking at creating a runtime/app thing for Gnome in the style > of: > http://0pointer.net/blog/revisiting-how-we-put-together-linux-systems.html > > However, I noticed that some core dependencies like mesa uses libudev

Re: [systemd-devel] Unprivileged poweroff

2014-10-22 Thread Lennart Poettering
On Wed, 10.09.14 16:03, Michal Witanowski (m.witanow...@samsung.com) wrote: > Hi, > > I was wondering if there is a possibility to call "systemctl poweroff" as > non-root user in this scenario: > > 1.I have no PolicyKit on my system, so I get access denied. > > 2. Calling with "-f

Re: [systemd-devel] transforming Iptables bash script to systemd service file -help

2014-10-22 Thread Simon McVittie
On 21/10/14 20:30, Lennart Poettering wrote: > But in cases like the iptables tool (which > is written in a style that kinda requires the usage of shell scripts > to invoke it, since it is more a programming language and is seldom > called just once at boot) If your ruleset is static (e.g. does no

Re: [systemd-devel] [PATCH] Apply ProtectSystem to non-merged /usr directories

2014-10-22 Thread Simon McVittie
On 21/10/14 20:25, Lennart Poettering wrote: > Ah, well, at least they should make the lib64 thing arch dependent. Multiarch means that whichever architecture systemd happens to have been compiled for, /lib64 might exist. If it does, it's a system library directory. (Consider an i386 or armhf sys

Re: [systemd-devel] systemd-cron: retrigger generator after /var is mounted

2014-10-22 Thread Alexandre Detiste
>Why not migrate what needs to be migrated to native system timer formats This would be the responsability of each individual package manager; after some policy would have mandated it and it's too late before the release freeze. Debian only ships exaclty one timer now: systemd-tmpfiles-clean.time

Re: [systemd-devel] Unprivileged poweroff

2014-10-22 Thread Simon McVittie
On 22/10/14 12:37, Lennart Poettering wrote: > When used with kdbus we actually do check for that client-side > capability. THis is not available on dbus1 however, since we cannot > determine the capability racefreely and thus safely ... because the kernel doesn't give us that ability on Unix sock

Re: [systemd-devel] Timers without matching units?

2014-10-22 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Oct 22, 2014 at 02:50:13PM +0400, Ivan Shapovalov wrote: > Hi, > > The systemd.timer(5) manpage states: > > "For each timer file, a matching unit file must exist, describing the unit to > activate when the timer elapses." > > However, if I need the timer unit just to wake up the machine

[systemd-devel] [PATCH] hwdb: Add mapping for special keys on compaq ku 0133 keyboards

2014-10-22 Thread Hans de Goede
The compaq ku 0133 keyboard has 8 special keys at the top: http://lackof.org/taggart/hacking/keyboard/cpqwireless.jpg 3 of these use standard HID usage codes from the consumer page, the 5 others use part of the reserved 0x07 - 0x1f range. This commit adds mapping for this keyboard for these reser

Re: [systemd-devel] systemd-cron: retrigger generator after /var is mounted

2014-10-22 Thread Jóhann B. Guðmundsson
On 10/22/2014 11:26 AM, Alexandre Detiste wrote: it just doesn't send emails like cron; but that will remain an wontfix I guess. Systemd itself does not send email but you can configure the timer units ( the service part ) to do so when they fail via OnFailure=custom email script> but you hav

Re: [systemd-devel] I wonder… why systemd provokes this amount of polarity and resistance

2014-10-22 Thread Colin Guthrie
Hello Martin, Firstly, I apologise if you took what I said as a personal insult. It was not my intention to do so (and I did try to make that explicitly clear in a footnote). I will certainly admit that some of my wording was more directed than I had intended. This is something I would normally e

Re: [systemd-devel] Forwarding to syslog missed XX messages

2014-10-22 Thread Reindl Harald
Am 22.10.2014 um 13:22 schrieb Lennart Poettering: On Mon, 15.09.14 13:20, Reindl Harald (h.rei...@thelounge.net) wrote: anybody an idea why? Sep 15 13:14:43 localhost systemd-journal[4650]: Forwarding to syslog missed 2 messages. Sep 15 13:15:13 localhost systemd-journal[4650]: Forwarding

Re: [systemd-devel] systemd-cron: retrigger generator after /var is mounted

2014-10-22 Thread Jóhann B. Guðmundsson
On 10/22/2014 11:51 AM, Alexandre Detiste wrote: Why not migrate what needs to be migrated to native system timer formats This would be the responsability of each individual package manager; after some policy would have mandated it and it's too late before the release freeze. Debian only ships

Re: [systemd-devel] [PATCH 21/26] hashmap: rewrite the implementation

2014-10-22 Thread Michal Schmidt
On 10/20/2014 08:42 PM, Lennart Poettering wrote: > On Thu, 16.10.14 09:50, Michal Schmidt (mschm...@redhat.com) wrote: >> +/* Fields that all hashmap/set types must have */ >> +struct HashmapBase { >> +const struct hash_ops *hash_ops; /* hash and compare ops to use */ >> + >> +uni

Re: [systemd-devel] How soon after login can I rely on systemd --user having reached sockets.target?

2014-10-22 Thread Damien Robert
Colin Guthrie wrote in message : > I want to rely on systemd --user to handle PulseAudio's activation > (ditching the built in stuff) and but I'm worried that e.g. GNOME or KDE > might start up their own session stuff and spawn some PA consuming > process before systemd --user has reached it's soc

Re: [systemd-devel] How soon after login can I rely on systemd --user having reached sockets.target?

2014-10-22 Thread Damien Robert
Lennart Poettering wrote in message <20141020173828.GA4509@gardel-login>: > They should probably adopt socket activation anyway, otherwise they'd > be quite annoying on multi-user systems if lingering is used. I am brainstorming here, but would it make sense to add hooks to logind when a session

[systemd-devel] systemd-journald watchdog timeout

2014-10-22 Thread Damien Robert
On one boot I got a watchdog timeout on systemd-journald: Oct 21 20:08:21 feanor systemd-journal[213]: Permanent journal is using 68.7M (m Oct 21 20:08:21 feanor systemd-journal[213]: Time spent on flushing to /var is 2 Oct 21 20:08:25 feanor kernel: IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not r

[systemd-devel] [PATCH] Fix a couple of typos

2014-10-22 Thread Torstein Husebø
--- src/systemd/sd-network.h | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/systemd/sd-network.h b/src/systemd/sd-network.h index 203a2a6a47..bb69940930 100644 --- a/src/systemd/sd-network.h +++ b/src/systemd/sd-network.h @@ -61,7 +61,7 @@ int sd_network_get_opera

Re: [systemd-devel] [PATCH] Fix a couple of typos

2014-10-22 Thread Lennart Poettering
On Wed, 22.10.14 16:00, Torstein Husebø (torst...@huseboe.net) wrote: Thanks! Applied! > --- > src/systemd/sd-network.h | 9 + > 1 file changed, 5 insertions(+), 4 deletions(-) > > diff --git a/src/systemd/sd-network.h b/src/systemd/sd-network.h > index 203a2a6a47..bb69940930 100644 >

[systemd-devel] Stop Job for User Manager

2014-10-22 Thread Chris Bell
Hi all, I'm running into an annoying issue. I use systemd 216 on an Arch box, and systemd 208 on a Fedora box; the issue exists on both. Logins are handled through getty; there is no desktop manager involved. Occasionally, on shutdown, I get a 90 second hold while waiting for a 'Stop Job for User

Re: [systemd-devel] Stop Job for User Manager

2014-10-22 Thread Reindl Harald
Am 22.10.2014 um 16:49 schrieb Chris Bell: I'm running into an annoying issue. I use systemd 216 on an Arch box, and systemd 208 on a Fedora box; the issue exists on both. Logins are handled through getty; there is no desktop manager involved. Occasionally, on shutdown, I get a 90 second hold wh

Re: [systemd-devel] systemd-journald watchdog timeout

2014-10-22 Thread Lennart Poettering
On Wed, 22.10.14 13:10, Damien Robert (damien.olivier.robert+gm...@gmail.com) wrote: > On one boot I got a watchdog timeout on systemd-journald: > > Oct 21 20:08:21 feanor systemd-journal[213]: Permanent journal is using 68.7M > (m > Oct 21 20:08:21 feanor systemd-journal[213]: Time spent on fl

Re: [systemd-devel] Timers without matching units?

2014-10-22 Thread Lennart Poettering
On Wed, 22.10.14 14:05, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: > On Wed, Oct 22, 2014 at 02:50:13PM +0400, Ivan Shapovalov wrote: > > Hi, > > > > The systemd.timer(5) manpage states: > > > > "For each timer file, a matching unit file must exist, describing the unit > > to > > ac

Re: [systemd-devel] New systemd bindings for GLib

2014-10-22 Thread Lennart Poettering
On Wed, 10.09.14 09:12, Tristan Brindle (tcbrin...@gmail.com) wrote: > > Hi all, > > I needed to use systemd for a new project, and I was surprised to > find that there was no nice client library available wrapping the > D-Bus API in GObjects (or at least, if one exists, Google couldn’t > find i

Re: [systemd-devel] [PATCH] hwdb: Add mapping for special keys on compaq ku 0133 keyboards

2014-10-22 Thread Lennart Poettering
On Wed, 22.10.14 14:09, Hans de Goede (hdego...@redhat.com) wrote: > The compaq ku 0133 keyboard has 8 special keys at the top: > http://lackof.org/taggart/hacking/keyboard/cpqwireless.jpg > > 3 of these use standard HID usage codes from the consumer page, the 5 > others use part of the reserved

Re: [systemd-devel] Forwarding to syslog missed XX messages

2014-10-22 Thread Lennart Poettering
On Wed, 22.10.14 14:28, Reindl Harald (h.rei...@thelounge.net) wrote: > >Why precisely your syslog implementation is too slow is something > >you'd have to debug on the side of theat implementation, we cannot > >determine this from systemd's side. > > > >Note that rsyslog doesn't need the syslog f

Re: [systemd-devel] Timers without matching units?

2014-10-22 Thread Cristian Rodríguez
El 22/10/14 a las #4, Ivan Shapovalov escribió: > Hi, > > The systemd.timer(5) manpage states: > > "For each timer file, a matching unit file must exist, describing the unit to > activate when the timer elapses." > I guess for now you can create a dummy unit that executes /bin/true to workaroun

Re: [systemd-devel] [RFC] runtime configurable timer

2014-10-22 Thread Lennart Poettering
On Thu, 11.09.14 17:45, WaLyong Cho (walyong@samsung.com) wrote: > (I will happy there is already similar method already exist.) > > systemd already has similar functionality "systemd-run" but that is only > for scope or service unit. I think that is useful run a service without > unit file o

Re: [systemd-devel] [RFC] runtime configurable timer

2014-10-22 Thread Lennart Poettering
On Wed, 17.09.14 16:20, WaLyong Cho (walyong@samsung.com) wrote: > Before start working it, we need some of discussion about how make the > transient unit. I think we have two options. > One is, as you said, make systemd-at and the other is add option to > systemd-run. (e.g. --OnCalendar=, --O

Re: [systemd-devel] systemd-journald watchdog timeout

2014-10-22 Thread Damien Robert
>From Lennart Poettering, Wed 22 Oct 2014 at 16:59:09 (+0200) : > On Wed, 22.10.14 13:10, Damien Robert (damien.olivier.robert+gm...@gmail.com) > wrote: > That's difficult to say just from these logs. Yeah that was what I feared. > Can you reliably reproduce this? If so, can you attach strace to

Re: [systemd-devel] [PATCH 1/3] dbus: introduce new method call NewTransientUnit

2014-10-22 Thread Lennart Poettering
On Tue, 07.10.14 14:20, WaLyong Cho (walyong@samsung.com) wrote: > It similar with StartTransientUnit but the NewTransientUnit does not > start the unit immediately. Newly generated transient unit can be > activated by "systemctl start". So far units are immediately GC'ed when they aren't run

Re: [systemd-devel] [PATCH 3/3] run: introduce timer support option

2014-10-22 Thread Lennart Poettering
On Tue, 07.10.14 14:20, WaLyong Cho (walyong@samsung.com) wrote: > If systemd-run is called with timer option, then systemd-run call > NewTransientUnit with service unit. And also call StartTransientUnit > with timer unit which has same name with the service. So actually, two > method call is

Re: [systemd-devel] [PATCH 1/5] [use after free] Avoid using m->kdbus after freeing it.

2014-10-22 Thread Lennart Poettering
On Wed, 10.09.14 12:20, philippedesw...@gmail.com (philippedesw...@gmail.com) wrote: > From: Philippe De Swert > > m->kdbus could be freed before it is released. Changing the > order fixes the issue. David applied this now, but actually, just for the sakes of archives, this is a false positive

Re: [systemd-devel] [PATCH 0/5] Coverity fixes

2014-10-22 Thread Lennart Poettering
On Wed, 10.09.14 13:51, Philippe De Swert (philippedesw...@gmail.com) wrote: > Ok so it has been taken into use and can actually somehow be considered part > of > the coding style? The mail was still speculating about it and I could not > quickly see a confirmation of this. Yes, it is the codin

Re: [systemd-devel] I wonder… why systemd provokes this amount of polarity and resistance

2014-10-22 Thread Rob Owens
- Original Message - > From: "Lennart Poettering" > We are always interested in technical feedback. I have seen this comment several times from the systemd devs, and I don't doubt it. But I think much of the criticism of systemd is not technical. It has a more social/political nature,

Re: [systemd-devel] I wonder… why systemd provokes this amount of polarity and resistance

2014-10-22 Thread Lennart Poettering
On Wed, 22.10.14 12:11, Rob Owens (row...@ptd.net) wrote: > > We are always interested in technical feedback. > > I have seen this comment several times from the systemd devs, and I > don't doubt it. But I think much of the criticism of systemd is not > technical. It has a more social/political

Re: [systemd-devel] Systemd-networkd -- Cannot acquire DHCP lease on bridge interface

2014-10-22 Thread Tom Gundersen
On Sun, Oct 12, 2014 at 12:57 AM, Tom Gundersen wrote: > On Fri, Sep 26, 2014 at 4:52 AM, Leonid Isaev wrote: >> Hi, >> >> On Thu, Sep 25, 2014 at 04:56:55PM -0700, James Lott wrote: >>> Actually, the reason I am using dhcpcd fro mthe command line is as a >>> debugging >>> measure, because I ori

Re: [systemd-devel] [systemd.link] How to use NamePolicy=mac?

2014-10-22 Thread Tom Gundersen
On Wed, Oct 8, 2014 at 10:04 AM, Moviuro wrote: > Hi all! > > In order to fix in an easily predictable manner the interfaces' names, I went > and wrote the following .link file: > > /etc/systemd/network/00-default.link > [Link] > NamePolicy=mac > MACAddressPolicy=persistent Looks good. > I daemo

Re: [systemd-devel] Systemd-networkd -- Cannot acquire DHCP lease on bridge interface

2014-10-22 Thread Lennart Poettering
On Wed, 22.10.14 18:16, Tom Gundersen (t...@jklm.no) wrote: > Hi guys, > > I finally got around to have a look at this. I can reproduce the > problem, and for me a workaround is to set RequestBroadcast=yes in the > DHCP section in the .network file for your host0 interface in the > container. Doe

Re: [systemd-devel] [PATCH] networkd: allow specification of DHCP route metric

2014-10-22 Thread Lennart Poettering
On Mon, 08.09.14 15:09, Tom Gundersen (t...@jklm.no) wrote: > Applied. Thanks! Hmm, the route metric for dhcp routes is now configurable. But what about implied routes created due to static IP configuration? I wonder if it wouldn't be a better idea to move RouteMetric= from the [DHCP] section in

Re: [systemd-devel] [PATCH v3] systemctl: add edit verb

2014-10-22 Thread Lennart Poettering
On Wed, 22.10.14 18:28, Ronny Chevalier (chevalier.ro...@gmail.com) wrote: > >> I'm not sure abou the name 'amendments.conf'. Wouldn't 'local.conf' > >> be more idiomatic, and also easier to type? > > > > I was thinking about this too, and I wanted to propose "override.conf" > > instead? > > > > T

Re: [systemd-devel] [PATCH v3] systemctl: add edit verb

2014-10-22 Thread Ronny Chevalier
2014-10-22 18:30 GMT+02:00 Lennart Poettering : > On Wed, 22.10.14 18:28, Ronny Chevalier (chevalier.ro...@gmail.com) wrote: > >> >> I'm not sure abou the name 'amendments.conf'. Wouldn't 'local.conf' >> >> be more idiomatic, and also easier to type? >> > >> > I was thinking about this too, and I w

Re: [systemd-devel] systemd-journald watchdog timeout

2014-10-22 Thread Umut Tezduyar Lindskog
On Wed, Oct 22, 2014 at 4:59 PM, Lennart Poettering wrote: > On Wed, 22.10.14 13:10, Damien Robert (damien.olivier.robert+gm...@gmail.com) > wrote: > >> On one boot I got a watchdog timeout on systemd-journald: >> >> Oct 21 20:08:21 feanor systemd-journal[213]: Permanent journal is using >> 68.7

Re: [systemd-devel] [PATCH] build-sys: make hibernation support configure option also handle hybrid-sleep; fix indentation

2014-10-22 Thread Lennart Poettering
On Tue, 09.09.14 01:40, Ivan Shapovalov (intelfx...@gmail.com) wrote: > The patch by Umut did miss at least hybrid-sleep -- it involves hibernation > as well (hybrid sleep is a hibernation followed by S3 rather than S4 > powerdown). > > Also, it messed up indentation a bit (Makefile.am seems to

Re: [systemd-devel] systemd-journald watchdog timeout

2014-10-22 Thread Lennart Poettering
On Wed, 22.10.14 18:35, Umut Tezduyar Lindskog (u...@tezduyar.com) wrote: > > That's difficult to say just from these logs. Can you reliably > > reproduce this? If so, can you attach strace to journald before this > > happens and see what it is doing? > > I am wondering if we should send another

Re: [systemd-devel] Log unit's name instead of unit's description?

2014-10-22 Thread Lennart Poettering
On Mon, 08.09.14 11:56, Simon McVittie (simon.mcvit...@collabora.co.uk) wrote: > On 05/09/14 18:22, Jakub Klinkovský wrote: > > What is the reason behind logging unit's description? Consider the > > following journal message (from `journalctl -b`): > > > > systemd[1]: Starting A secure, fast, com

Re: [systemd-devel] So how am I supposed to put together my Linux system?

2014-10-22 Thread Lennart Poettering
On Fri, 05.09.14 20:34, Tobias Hunger (tobias.hun...@gmail.com) wrote: Heya, Sorry for the late response, been travelling for a month, and then have been more travelling, and still trying to process all the mails that queued up since. > On Fri, Sep 5, 2014 at 6:58 PM, Lennart Poettering > wrote

Re: [systemd-devel] [PATCH v2] journald: add CAP_MAC_OVERRIDE in journald for SMACK issue

2014-10-22 Thread Lennart Poettering
On Thu, 11.09.14 16:06, Juho Son (juho80@samsung.com) wrote: > systemd-journald check the cgroup id to support rate limit option for > every messages. so journald should be available to access cgroup node in > each process send messages to journald. > In system using SMACK, cgroup node in proc

Re: [systemd-devel] [PATCH] journald: add CAP_MAC_OVERRIDE in journald for SMACK issue

2014-10-22 Thread Lennart Poettering
On Thu, 11.09.14 15:54, juho son (juho80@samsung.com) wrote: > >We don't use S-O-b on systemd... > I will send again follow. Oh, that was just a hint for the future, no need to redo the patch just to drop s-o-b. We usually drop it though while committing. Anyway, merged your repost. Thanks

Re: [systemd-devel] Please help: systemd "special targets" activaton order for fast boot

2014-10-22 Thread Lennart Poettering
On Fri, 05.09.14 13:52, Viswambharan, Vibin (V.) (vvi...@visteon.com) wrote: > 1/ Is there a recommended way to re-organize the boot target order ( > I don't see there is a way to fit my userlevel application > executables or deamons needed for early functionality to be > associated with these "pr

Re: [systemd-devel] Please help: systemd "special targets" activaton order for fast boot

2014-10-22 Thread Lennart Poettering
On Fri, 05.09.14 16:17, Chaiken, Alison (alison_chai...@mentor.com) wrote: > (BTW, Lennart and Kai, is there a reason this great article couldn't > be hosted at freedesktop.org or 0pointer.de?) Well, not sure if we own all the rights to be able to do that. As it appears h-online.com is back up th

Re: [systemd-devel] systemd-215: could not boot, missing /dev/disk/...-part2 symlink

2014-10-22 Thread Lennart Poettering
On Tue, 02.09.14 11:15, Alexander E. Patrakov (patra...@gmail.com) wrote: > Hello. > > I have a Gentoo system, with btrfs on /dev/sda2 (also known as > /dev/disk/by-id/ata-OCZ-VECTOR_OCZ-Z5CB4KC20X0ZG7F8-part2) and with dracut > 038 with Gentoo patches that you can view here: > > http://sources.

Re: [systemd-devel] Starting configurable set of services first

2014-10-22 Thread Lennart Poettering
On Tue, 02.09.14 10:06, Umut Tezduyar Lindskog (u...@tezduyar.com) wrote: > Hi, > > I would like to start a configurable set of services first and the > services are wanted by multi-user.target. I am using a service to jump > to multi-user.target and I was wondering if we can support this use > c

Re: [systemd-devel] [PATCH] shutdown: pass own argv to /run/initramfs/shutdown

2014-10-22 Thread Lennart Poettering
On Tue, 30.09.14 17:02, Marius Tessmann (mus@gmail.com) wrote: > On 09/30/2014 05:03 AM, Zbigniew Jędrzejewski-Szmek wrote: > >On Fri, Aug 29, 2014 at 05:51:45PM +0200, Marius Tessmann wrote: > >>Since commit b1e90ec515408aec2702522f6f68c4920b56375b systemd passes > >>its log settings to syste

Re: [systemd-devel] Bridge not picking up DHCP address

2014-10-22 Thread Lennart Poettering
On Fri, 29.08.14 16:22, Mauricio Tavares (raubvo...@gmail.com) wrote: Heya, it's fun picking up two month old threads! ;-) > So I have a system 2 interfaces, each of them using dhcp in > different networks (both served by the same nameserver but in > different vlans). Let's begin by showin

Re: [systemd-devel] systemd build dependency on dbus

2014-10-22 Thread Lennart Poettering
On Mon, 25.08.14 21:58, Filipe Brandenburger (filbran...@google.com) wrote: > > On Wed, Aug 20, 2014 at 3:27 PM, Lennart Poettering > wrote: > > Well, we have our own dbus library implementation since a while > > ("sd-bus") that supports both dbus1 and kdbus as transport. We only link > > agains

Re: [systemd-devel] [PATCH v2] journalctl: Allow to disable line cap with --lines=all

2014-10-22 Thread Lennart Poettering
On Sun, 31.08.14 11:12, Jan Janssen (medhe...@web.de) wrote: > @@ -68,7 +68,7 @@ static bool arg_follow = false; > static bool arg_full = true; > static bool arg_all = false; > static bool arg_no_pager = false; > -static int arg_lines = -1; > +static int arg_lines = -2; Humm. No, please don't!

Re: [systemd-devel] [PATCH] firstboot: remove extra paranoia in --root checking

2014-10-22 Thread Lennart Poettering
On Thu, 28.08.14 13:30, Dave Reisner (dreis...@archlinux.org) wrote: > Some package managers will chroot before running post-install and > post-upgrade scripts. Doing this prevents systemd-firstboot from being > used piecemeal at installation or upgrade time, as the --root=/ will be > "cleverly" i

Re: [systemd-devel] [PATCH] bootchart: only show printable processes

2014-10-22 Thread Lennart Poettering
On Thu, 28.08.14 00:44, WaLyong Cho (walyong@samsung.com) wrote: > On 08/27/2014 03:49 AM, Lennart Poettering wrote: > > On Tue, 26.08.14 18:11, Mantas Mikulėnas (graw...@gmail.com) wrote: > > > >> On Tue, Aug 26, 2014 at 5:07 PM, WaLyong Cho > >> wrote: > >>> > >>> This case really shouldn

Re: [systemd-devel] [PATCH] journal: do server_vacuum for sigusr1

2014-10-22 Thread Lennart Poettering
On Thu, 28.08.14 21:33, WaLyong Cho (walyong@samsung.com) wrote: > runtime journal is migrated to system journal when only > "/run/systemd/journal/flushed" exist. It's ok but according to this > the system journal directory size(max use) can be over the config. If > journal is not rotated duri

Re: [systemd-devel] Systemd-networkd -- Cannot acquire DHCP lease on bridge interface

2014-10-22 Thread Tom Gundersen
On Wed, Oct 22, 2014 at 6:23 PM, Lennart Poettering wrote: > On Wed, 22.10.14 18:16, Tom Gundersen (t...@jklm.no) wrote: > >> Hi guys, >> >> I finally got around to have a look at this. I can reproduce the >> problem, and for me a workaround is to set RequestBroadcast=yes in the >> DHCP section in

Re: [systemd-devel] Suppressing automounting

2014-10-22 Thread Lennart Poettering
On Fri, 12.09.14 15:25, Dale R. Worley (wor...@alum.mit.edu) wrote: > > From: Tobias Geerinckx-Rice > > > Step back, and define exactly what it is you actually need^Wwant to do. > > For a certain entry in /etc/fstab (which will in practice always have > the option "nofail"), if the device is no

Re: [systemd-devel] Systemd-networkd -- Cannot acquire DHCP lease on bridge interface

2014-10-22 Thread Lennart Poettering
On Wed, 22.10.14 20:49, Tom Gundersen (t...@jklm.no) wrote: > On Wed, Oct 22, 2014 at 6:23 PM, Lennart Poettering > wrote: > > On Wed, 22.10.14 18:16, Tom Gundersen (t...@jklm.no) wrote: > > > >> Hi guys, > >> > >> I finally got around to have a look at this. I can reproduce the > >> problem, and

Re: [systemd-devel] User systemd unit files

2014-10-22 Thread Chris Morgan
On Wed, Oct 22, 2014 at 12:20 PM, Lennart Poettering wrote: > On Thu, 11.09.14 07:07, Chris Morgan (chmor...@gmail.com) wrote: > >> Hmm. I figured that the environment was used when the systemd user >> instance was started. >> >> I tried systemctl --user set-environment and it shows up if I use >>

Re: [systemd-devel] So how am I supposed to put together my Linux system?

2014-10-22 Thread Tobias Hunger
Hi Lennart, On Wed, Oct 22, 2014 at 7:03 PM, Lennart Poettering wrote: > Sorry for the late response, been travelling for a month, and then > have been more travelling, and still trying to process all the mails > that queued up since. No problem at all:-) >> On Fri, Sep 5, 2014 at 6:58 PM, Lenn

Re: [systemd-devel] I wonder… why systemd provokes this amount of polarity and resistance

2014-10-22 Thread Rob Owens
- Original Message - > From: "Lennart Poettering" > > On Wed, 22.10.14 12:11, Rob Owens (row...@ptd.net) wrote: > > > > We are always interested in technical feedback. > > > > I have seen this comment several times from the systemd devs, and I > > don't doubt it. But I think much of th

Re: [systemd-devel] Stop Job for User Manager

2014-10-22 Thread Chris Bell
On Wed, Oct 22, 2014 at 10:49 AM, Chris Bell wrote: > Why 90 seconds? Can this duration be changed? Could I accomplish this with the `JobTimeoutSec' systemd parameter in the `user@.service' unit file? I can't seem to force my system to get stuck on a stop job at the moment to test it. Would chang

Re: [systemd-devel] I wonder… why systemd provokes this amount of polarity and resistance

2014-10-22 Thread Dale R. Worley
> From: Lennart Poettering > We are always interested in technical feedback. > > We are not very interested in FUD mails that tell us how we'd "force" > people, how we'd behave like microsoft and so on. That's not useful, > that's pretty much only hurtful. I haven't read this full thread, and

Re: [systemd-devel] [RFC][PATCH 1/2] resolve: resolved-manager: Avoid null dereference

2014-10-22 Thread Lennart Poettering
On Wed, 22.10.14 22:12, Tom Gundersen (t...@jklm.no) wrote: > On Wed, Oct 22, 2014 at 12:19 PM, Lennart Poettering > wrote: > > On Sat, 13.09.14 20:40, Tom Gundersen (t...@jklm.no) wrote: > > > >> Yeah, this could happen. It so happens that the loopback link will > >> always have ifindex 1, so I

Re: [systemd-devel] [PATCH 2/3] mac: rename apis with mac_{selinux/smack}_ prefix

2014-10-22 Thread Lennart Poettering
On Thu, 16.10.14 16:59, WaLyong Cho (walyong@samsung.com) wrote: > -if (smack_label_ip_in_fd(fd, s->smack_ip_in) < 0) > -log_error_unit(UNIT(s)->id, "smack_label_ip_in_fd: > %m"); > +if (mac_smack_ip_in_fd(fd, s->smack_ip_in) < 0) > +

Re: [systemd-devel] [PATCH 3/3] udev: do NOT re-label smack

2014-10-22 Thread Lennart Poettering
On Thu, 16.10.14 16:59, WaLyong Cho (walyong@samsung.com) wrote: > If selinux is disabled and smack is only enabled, smack label is > relable-ed by label_fix. To avoid, make only be labeled for selinux. > --- > src/udev/udev-node.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) >

Re: [systemd-devel] [PATCH 2/3] mac: rename apis with mac_{selinux/smack}_ prefix

2014-10-22 Thread Lennart Poettering
On Wed, 22.10.14 23:12, Lennart Poettering (lenn...@poettering.net) wrote: > On Thu, 16.10.14 16:59, WaLyong Cho (walyong@samsung.com) wrote: > > > -if (smack_label_ip_in_fd(fd, s->smack_ip_in) < 0) > > -log_error_unit(UNIT(s)->id, "smack_label_ip_in_fd

Re: [systemd-devel] [PATCH] cryptsetup-generator: Allow specifiying a name on the kernel command line

2014-10-22 Thread Lennart Poettering
On Fri, 29.08.14 15:28, Jan Janssen (medhe...@web.de) wrote: heya, sorry for the late review! Hmm, not generally opposed to allowing this to be configured on the kernel cmdline, but this is so awfully asymmetric now. luks.uuid= so far accepts a single UUID, but may be specified multiple times

Re: [systemd-devel] [PATCH] journal: grant systemd-journal group permission

2014-10-22 Thread Lennart Poettering
On Fri, 29.08.14 22:03, WaLyong Cho (walyong@samsung.com) wrote: > On 08/27/2014 02:55 AM, Lennart Poettering wrote: > > On Tue, 26.08.14 15:43, WaLyong Cho (walyong@samsung.com) wrote: > > > >> There is no Bofore= or After= dependencies between > >> systemd-journald.service and systemd-t

  1   2   >