Re: [systemd-devel] Homepage systemd.conf 2015 unmaintained / abused?

2017-11-07 Thread Jan Alexander Steffens
On Tue, Nov 7, 2017 at 2:31 PM Shuang Liu wrote: > The following looks strange: > > Sponsors > > systemd.conf 2015 is only possible by the financial support from > sponsors. Our current sponsors include Madison Roofing and Eau Claire > Attorney. > I guess the

Re: [systemd-devel] sd-bus connections & authentication timeout

2017-03-21 Thread Jan Alexander Steffens
On Mon, Mar 20, 2017 at 7:40 PM Stanislav Angelovič wrote: Hi Jan, thanks for quick response. Instead of sd_bus_process(), we could perhaps use sd_bus_flush() after creating the connection, as that one actually processes the requests until the connection changes state to

Re: [systemd-devel] sd-bus connections & authentication timeout

2017-03-20 Thread Jan Alexander Steffens
On Mon, Mar 20, 2017, 17:14 Jan Alexander Steffens <jan.steff...@gmail.com> wrote: > > You could try calling sd_bus_process(bus, NULL) in a loop while it returns > >0 so that the initial hello is handled. > Actually, never mind, this is not reliable. IIRC the initial handsha

Re: [systemd-devel] sd-bus connections & authentication timeout

2017-03-20 Thread Jan Alexander Steffens
On Mon, Mar 20, 2017, 16:37 Stanislav Angelovič wrote: > Hi, > > We use sd-bus for DBus IPC in our own applications. Some applications of > ours cause the dbus daemon to issue "Connection has not authenticated soon > enough, closing it" message, leading to the >

Re: [systemd-devel] Standardizing names for graphical session units

2016-07-06 Thread Jan Alexander Steffens
On Wed, Jul 6, 2016 at 2:21 PM Jóhann B. Guðmundsson wrote: > > It's questionable if such application should reside in upstream systemd > since arguably systemd should have never created the graphical.target to > begin with ( if it had not we probably would not be having this

Re: [systemd-devel] Standardizing names for graphical session units

2016-07-06 Thread Jan Alexander Steffens
On Wed, Jul 6, 2016 at 1:50 PM Martin Pitt wrote: > Martin Pitt [2016-07-06 13:47 +0200]: > > I have a gut feeling that this should be expressible with systemd > > dependencies -- i. e. "if gnome-session.service stops, then stop > > gnome-session.target". Naïvely this

Re: [systemd-devel] Standardizing names for graphical session units

2016-07-06 Thread Jan Alexander Steffens
On Wed, Jul 6, 2016 at 10:51 AM Colin Guthrie wrote: > Martin Pitt wrote on 04/07/16 23:08: > >> > Why would you call it graphical-<$DE>.slice as opposed to simply > <$DE>.slice > >> > which is part of the <$DE>.target and graphical target is link to that > >> >

Re: [systemd-devel] /usr/lib/systemd/*.wants vs. Wants in unit definition

2016-06-06 Thread Jan Alexander Steffens
On Mon, Jun 6, 2016 at 1:27 PM Martin Pitt wrote: > Andrei Borzenkov [2016-06-06 13:55 +0300]: > > What is advantage in having static *.wants etc directories in > > /usr/lib/systemd vs. Wants etc directives directly in unit definition? > > They complicate troubleshooting

Re: [systemd-devel] DBus's PropertiesChanged signal is not triggered when an Unit stop successfully

2016-05-30 Thread Jan Alexander Steffens
n I start it, but I have no idea if it's > related or not... > > Cheers, > > Adrien BESNARD > > 2016-05-26 11:59 GMT+02:00 Jan Alexander Steffens <jan.steff...@gmail.com> > : > >> You need to listen to JobRemoved signals. All of them, before you start >

Re: [systemd-devel] DBus's PropertiesChanged signal is not triggered when an Unit stop successfully

2016-05-26 Thread Jan Alexander Steffens
You need to listen to JobRemoved signals. All of them, before you start your job - trying to match on the specific job you get back from StopUnit might not complete before the job is already removed. On Thu, May 26, 2016 at 8:20 AM Adrien Besnard wrote: > I managed to

Re: [systemd-devel] [ANNOUNCE] systemd v229

2016-02-11 Thread Jan Alexander Steffens
On Feb 11, 2016 7:03 PM, "Reindl Harald" wrote: > > > > Am 11.02.2016 um 17:50 schrieb Lennart Poettering: >> >> * A new service setting RuntimeMaxSec= has been added that may be used >>to specify a maximum runtime for a service. If the timeout is hit,

Re: [systemd-devel] Options for logging from service started before journald?

2015-10-18 Thread Jan Alexander Steffens
On Sun, Oct 18, 2015 at 5:05 PM, Andrei Borzenkov wrote: > What can be done to log from unit that needs to be started before journald? > Journal, syslog or kmsg all require journald connection and as far as I > understand will deadlock on waiting for journald to accept it.

Re: [systemd-devel] systemd

2015-10-11 Thread Jan Alexander Steffens
On Mon, Oct 12, 2015 at 4:38 AM, yan...@iscas.ac.cn wrote: > > hello guys: > when I build systemd ,there is an error:***libmount support required but > libraries not found .but I have do this"sudo apt-get install libmount-dev > libmount1"in Ubuntu14.04 So what should

Re: [systemd-devel] systemd and hostname supplied by DHCP

2015-10-05 Thread Jan Alexander Steffens
On Mon, Oct 5, 2015 at 8:28 AM, Alessio Igor Bogani wrote: > So I'll install polkit. The only downside is that polkit drag > Javascript interpreter in which isn't a typical package for an > embedded system due it's footprint but I suspect that I should live > with it.

Re: [systemd-devel] use-case for sparse tar archives

2015-08-18 Thread Jan Alexander Steffens
On Tue, Aug 18, 2015 at 6:29 PM, Lennart Poettering lenn...@poettering.net wrote: Why would you not do this? GNU tar's documentation mentions the main drawback: However, be aware that `--sparse' option presents a serious drawback. Namely, in order to determine if the file is sparse `tar'

Re: [systemd-devel] [systemd-commits] 2 commits - src/libsystemd-network src/udev

2015-04-11 Thread Jan Alexander Steffens
On Sun, Apr 12, 2015 at 1:49 AM, Shawn Landden sh...@churchofgit.com wrote: Given that we don't do any operations on it (besides memcmp which doesn't matter) it doesn't actually violate, but it does generate an annoying warning. What about making expected_chaddr a void pointer? Would that

Re: [systemd-devel] Suspend from wireless keyboard not working

2015-02-13 Thread Jan Alexander Steffens
On Sat, Feb 14, 2015 at 5:34 AM, Gustavo De Nardin (spuk) gustav...@gmail.com wrote: Excuse the ignorance, but why is it a problem if every keyboard would get the 'power-switch' tag (or if it wouldn't be needed)? For example, would it be a problem if a distro adds the power-switch tag to all

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

2014-10-28 Thread Jan Alexander Steffens
On Oct 28, 2014 5:05 PM, Lennart Poettering lenn...@poettering.net wrote: On Tue, 28.10.14 11:28, Dale R. Worley (wor...@alum.mit.edu) wrote: That is not entirely true. I'm a user (because systemd is in Fedora 19), and I've complained that if I mark an /etc/fstab entry as nofail, some part

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

2014-10-21 Thread Jan Alexander Steffens
On Tue, Oct 21, 2014 at 11:08 AM, Martin Steigerwald mar...@lichtvoll.de wrote: Then systemd may use it as PID 1, but if someother wants to use it in own project, can use it as well. I consider cgroups as part of the kernel API and I highly dislike the battle on which of the available solutions

Re: [systemd-devel] [PATCH 1/4] Add ENVIRONMENT to hostnamectl

2014-07-08 Thread Jan Alexander Steffens
Am 08.07.2014 02:55 schrieb Kay Sievers k...@vrfy.org: Shouldn't we possibly we find a word for environment which explains itself a bit better? Environment we usually call the numerous variables of a process or service. Just TAG maybe? It's unfortunate, but ENVIRONMENT is the most widespread

Re: [systemd-devel] [PATCH] fstab-generator: do not check btrfs and xfs

2014-06-29 Thread Jan Alexander Steffens
On Sun, Jun 29, 2014 at 6:08 PM, Andrey Borzenkov arvidj...@gmail.com wrote: This sounds far too specific for a generic tool. If I read this bug report correctly, the primary complain was that systemd tries to install fsck service even though fstab says skip fsck. This appears to be the actual

Re: [systemd-devel] Locking current session programmatically

2014-06-27 Thread Jan Alexander Steffens
Am 27.06.2014 15:45 schrieb Ivan Shapovalov intelfx...@gmail.com: I want to lock my current session using a command-line tool (or a D-Bus call). The only apparent way to do this is `loginctl lock-session $XDG_SESSION_ID`. However, this results in an Access denied reply, which is somewhat

Re: [systemd-devel] [hybrid-sleep] hibernation delay

2014-06-20 Thread Jan Alexander Steffens
Am 20.06.2014 15:24 schrieb Lennart Poettering lenn...@poettering.net: how do we figure out after resume whether we resumed because of this timer (and hence we should go to hibernation, immediately) or because of some user activity? I think there's a way to get at Linux or ACPI's information

[systemd-devel] [PATCH] tmpfiles: Fix journal file permissions broken by a606871

2014-06-09 Thread Jan Alexander Steffens (heftig)
They shouldn't be executable nor world-readable. --- tmpfiles.d/systemd.conf | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/tmpfiles.d/systemd.conf b/tmpfiles.d/systemd.conf index c5910f8..d6c4da3 100644 --- a/tmpfiles.d/systemd.conf +++ b/tmpfiles.d/systemd.conf

Re: [systemd-devel] [PATCH] tmpfiles: Fix journal file permissions broken by a606871

2014-06-09 Thread Jan Alexander Steffens
On Mon, Jun 9, 2014 at 8:30 PM, Greg KH gre...@linuxfoundation.org wrote: Why do you think they should not be? Executability is just nonsense, while world-readability goes against the systemd-journald manpage, which claims that, by default, only users in the systemd-journal system group can read

[systemd-devel] [PATCH] build-sys: do proper LTO with GCC without needing fat objects

2014-06-05 Thread Jan Alexander Steffens (heftig)
commit 235c6e6 added `-ffat-lto-objects` in order to work around GCC 4.9's new default of disabling such objects. However, this also means LTO doesn't optimize across static libraries — and never did so in the past, either. Use the GCC wrappers for the binutils tools `nm`, `ranlib` and `ar` in

Re: [systemd-devel] Problems with systemd-coredump

2014-02-17 Thread Jan Alexander Steffens
On Mon, Feb 17, 2014 at 9:27 PM, Manuel Reimer manuel.s...@nurfuerspam.de wrote: Hello, if a bigger application crashes with coredump, then systemd-coredump seems to have a few problems with that. At first, there is the 767 MB limitation which just drops all bigger coredumps. But even

Re: [systemd-devel] Is restart gracefull?

2013-11-29 Thread Jan Alexander Steffens
On Fri, Nov 29, 2013 at 12:52 PM, Cecil Westerhof cecil.wester...@snow.nl wrote: Just to clarify, stop (and, by extension restart) is also up to the implementer of the unit file. There just happens to be a default, unlike with reload. See the service and exec man pages for details. Regardless,

Re: [systemd-devel] Really simple polkit authorisation GUI

2013-10-02 Thread Jan Alexander Steffens
On Wed, Oct 2, 2013 at 10:20 PM, Colin Guthrie gm...@colin.guthr.ie wrote: Hi, I've googled around a bit here, but figured asking the bright minds here might be a good call. I know it's a bit OT, so feel free to ignore :) I'm trying to switch more of our stuff to polkit from usermode

Re: [systemd-devel] systemd shutdown vs ostree

2013-09-14 Thread Jan Alexander Steffens
On Sat, Sep 14, 2013 at 10:52 AM, Koen Kooi k...@dominion.thruhere.net wrote: Please keep in mind that pstore is x86 only. EFI isn't x86 only, but exceedingly rare outside of that arch. What? Pstore itself isn't. It's a generic interface to persistent platform storage. There are backends using

Re: [systemd-devel] systemd shutdown vs ostree

2013-09-12 Thread Jan Alexander Steffens
On Thu, Sep 12, 2013 at 10:51 PM, Lennart Poettering lenn...@poettering.net wrote: I think the really late shutdown logs should more liekly end up in some EFI var and then flushed out on next boot or so... That sounds good. Maybe use the pstore system? A service could then read that data into

Re: [systemd-devel] [PATCH] journald: DO recalculate the ACL mask, but only if it doesn't exist

2013-05-29 Thread Jan Alexander Steffens
On Wed, May 29, 2013 at 3:14 PM, Colin Walters walt...@verbum.org wrote: I fully realize you did not introduce the current naming scheme in acl-util.c, but more stomping on the acl_ namespace that currently lives in libacl.so seems like a bad idea - they'd be fully within their rights to

[systemd-devel] [PATCH] journald: DO recalculate the ACL mask, but only if it doesn't exist

2013-05-28 Thread Jan Alexander Steffens (heftig)
From: Jan Alexander Steffens (heftig) jan.steff...@gmail.com Since 11ec7ce, journald isn't setting the ACLs properly anymore if the files had no ACLs to begin with: acl_set_fd fails with EINVAL. An ACL with ACL_USER or ACL_GROUP entries but no ACL_MASK entry is invalid, so make sure a mask

Re: [systemd-devel] Automatic Reboot Protocol

2013-05-25 Thread Jan Alexander Steffens
On Sun, May 26, 2013 at 1:19 AM, systemdki...@yopmail.com wrote: How to reboot from a systemd timer? We have systemd timer calls systemd unit calls bash script calls systemctl reboot The script runs fine each day, except for its last step, systemctl reboot. What's the right

Re: [systemd-devel] login problems

2013-04-29 Thread Jan Alexander Steffens
On Tue, Apr 30, 2013 at 1:05 AM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: This is an Arch Linux system with Linux 3.8.8-1-ARCH and systemd 202-1. Any ideas? Are you using selinux, runinng in enforcing mode? How soon after boot, and how soon after selinux policy is loaded, does this

Re: [systemd-devel] /var/log/journal/

2013-04-05 Thread Jan Alexander Steffens
On Fri, Apr 5, 2013 at 10:02 PM, Reindl Harald h.rei...@thelounge.net wrote: great - does F17 and F18 understand the option too to prepare any machine under my control and forget the issue? F18 does, but I don't think F17 does. what's the exact difference between none and volatile? volatile

[systemd-devel] [PATCH] Fix vacuum logic error

2013-03-20 Thread Jan Alexander Steffens (heftig)
From: Jan Alexander Steffens (heftig) jan.steff...@gmail.com The vacuum code used to stop vacuuming after one deletion, even when max_use was still exceeded. Also make usage a uint64_t, as the code already pretends it is one. Signed-off-by: Jan Alexander Steffens (heftig) jan.steff...@gmail.com