Re: [systemd-devel] Resolving systemd naming problems on multi-port PCI cards

2016-04-07 Thread Kay Sievers
On Thu, Apr 7, 2016 at 6:08 PM, Jordan Hargrave wrote: > The current systemd naming scheme for Network cards has a problem > correctly naming multi-port NIC devices in a PCI slot. > > Systemd currently generates names of the form: > > enpAsBfCdD > > pA = PCI bus number > sB =

Re: [systemd-devel] kernel and systemd boot sequence

2015-10-29 Thread Kay Sievers
On Thu, Oct 29, 2015 at 3:26 AM, kennedy wrote: > the boot sequence is it right ? > kernel --> initramfs --> switch_root --> systemd --> init & mount /etc/fstab > --> user login http://www.freedesktop.org/software/systemd/man/bootup.html Kay

Re: [systemd-devel] Proposal: Add biosdevname naming scheme to systemd

2015-10-20 Thread Kay Sievers
On Tue, Oct 20, 2015 at 6:46 AM, Jordan Hargrave wrote: > On Mon, Mar 2, 2015 at 1:17 PM, Tom Gundersen wrote: >> Hi Jordan, >> >> On Mon, Mar 2, 2015 at 4:45 PM, Jordan Hargrave wrote: >>> There are currently two competing naming mechanisms

Re: [systemd-devel] SMACK runtime vs build-time checks? (aka: tmp.mount broke my boot)

2015-10-18 Thread Kay Sievers
On Sun, Oct 18, 2015 at 6:01 AM, Mantas Mikulėnas wrote: > So far all existing SELinux and SMACK options had runtime checks – if > systemd was built with +SMACK but the kernel wasn't, it still worked fine. > (Arch uses such a configuration.) > > But then

Re: [systemd-devel] network interface names flipping

2015-10-16 Thread Kay Sievers
On Fri, Oct 16, 2015 at 4:44 PM, Olaf Hering wrote: > Since the introducion of the (un)predictable network interface names the > name of the single onboard interface on my Shuttle changes if I boot my > own .config or the kernel.rpm provided by openSUSE. I just threw up > hands

Re: [systemd-devel] systemd and kernel process

2015-10-01 Thread Kay Sievers
On Wed, Sep 30, 2015 at 10:49 PM, Steve Dickson wrote: > Is there a way for systemd to monitor kernel process? > By monitor I mean the existence. No, and there is no plan to do anything like that. Kernel tasks are kernel internals, and userspace must not make any assumptions

Re: [systemd-devel] failed to change interface name (systemd-networkd)

2015-10-01 Thread Kay Sievers
On Thu, Oct 1, 2015 at 7:21 PM, James wrote: > Hello, just following up to see if there were any ideas on what may be > causing this. > > Any thoughts appreciated. > > On Wed, Sep 23, 2015 at 10:17 PM, James wrote: >> Hello, >> >> Hoping someone can

Re: [systemd-devel] systemd and kernel process

2015-10-01 Thread Kay Sievers
On Thu, Oct 1, 2015 at 9:30 PM, Steve Dickson <ste...@redhat.com> wrote: > > > On 10/01/2015 09:24 AM, Kay Sievers wrote: >> On Wed, Sep 30, 2015 at 10:49 PM, Steve Dickson <ste...@redhat.com> wrote: >>> Is there a way for systemd to monitor kernel process?

Re: [systemd-devel] how to bind to other drivers using systemd

2015-09-28 Thread Kay Sievers
On Sun, Sep 27, 2015 at 11:37 PM, Flavio Leitner wrote: > I am looking for guidance on how to properly resolve driver binding > with systemd (which seems to me the best place to do that). This seems to be a too exotic and niche use case, nothing general-purpose enough to

Re: [systemd-devel] how to bind to other drivers using systemd

2015-09-28 Thread Kay Sievers
On Mon, Sep 28, 2015 at 8:48 PM, Flavio Leitner <f...@sysclose.org> wrote: > On Mon, Sep 28, 2015 at 08:06:50PM +0200, Kay Sievers wrote: >> On Sun, Sep 27, 2015 at 11:37 PM, Flavio Leitner <f...@sysclose.org> wrote: >> > I am looking for guidance on how to p

Re: [systemd-devel] bootctl: default mount point for the ESP partition.

2015-09-01 Thread Kay Sievers
On Tue, Sep 1, 2015 at 8:08 PM, Tomasz Torcz wrote: > On Tue, Sep 01, 2015 at 05:47:57PM +0100, Simon McVittie wrote: >> On 01/09/15 17:21, Goffredo Baroncelli wrote: >> > I discovered that bootctl assume as default mount point for the ESP >> > partition the /boot directory.

Re: [systemd-devel] Clarification around a segmentation fault from an udevd worker

2015-07-26 Thread Kay Sievers
On Sun, Jul 26, 2015 at 3:22 PM, SF Markus Elfring elfr...@users.sourceforge.net wrote: It should print the backtrace with the location where the error happened. Unfortunately, no. Sonne:/home/elfring/Projekte/Bau/systemd # systemctl stop systemd-udevd.service systemd-udevd-kernel.socket

Re: [systemd-devel] Completion of error handling

2015-07-25 Thread Kay Sievers
On Sat, Jul 25, 2015 at 8:11 AM, SF Markus Elfring elfr...@users.sourceforge.net wrote: We accept contributions only in git-format-patch frmatted patches, best via github PRs. The higher level patch formats I'm trying to make you aware of will also result in file changes which can be

Re: [systemd-devel] Clarification around a segmentation fault from an udevd worker

2015-07-25 Thread Kay Sievers
On Sat, Jul 25, 2015 at 6:11 PM, SF Markus Elfring elfr...@users.sourceforge.net wrote: Hello, I would like to clarify the setting of device file permissions for my needs. So I extended the debug output at some source code places to see also better which lines are executed during my tests.

Re: [systemd-devel] About github repo and release tarball change

2015-07-09 Thread Kay Sievers
On Thu, Jul 9, 2015 at 11:43 AM, Armin K. kre...@email.com wrote: I discovered a commit 2c8849add40805256156a36d7ef8c54cf019e29e by Kay Sievers which literally broke the make dist target. A lot of += were removed, making a target that appears more than once redefine itself each time instead

Re: [systemd-devel] [HEADSUP] systemd-222 around the corner

2015-07-07 Thread Kay Sievers
On Tue, Jul 7, 2015 at 10:10 AM, Michael Olbrich m.olbr...@pengutronix.de wrote: On Mon, Jul 06, 2015 at 07:54:41PM +0200, David Herrmann wrote: We intend to release v222 tomorrow. If anyone has open issues that need to be in that release, please speak up. Right now, the release consists

Re: [systemd-devel] [PATCH] Remove accelerometer helper

2015-06-27 Thread Kay Sievers
On Fri, May 22, 2015 at 3:42 PM, Bastien Nocera had...@hadess.net wrote: It's moved to the iio-sensor-proxy D-Bus service. --- .gitignore | 1 - Makefile.am| 15 -- rules/61-accelerometer.rules | 3 -

Re: [systemd-devel] Reload manager defaults at daemon-reload

2015-06-23 Thread Kay Sievers
On Tue, Jun 23, 2015 at 2:47 PM, Thomas Blume thomas.bl...@suse.com wrote: systemctl daemon-reload should also update the manager defaults from /etc/systemd/system.conf. For details, see: http://lists.freedesktop.org/archives/systemd-devel/2015-June/033062.html Any specific reason not to use

Re: [systemd-devel] FR: different gcrypt options for joornald and importd

2015-06-23 Thread Kay Sievers
On Mon, Jun 8, 2015 at 7:58 PM, Lennart Poettering lenn...@poettering.net wrote: On Mon, 08.06.15 19:24, Alexey Shabalin (a.shaba...@gmail.com) wrote: You can build systemd twice to do this. On Fedora we build it twice for example to get python2 as well as python3 modules. But: what's

Re: [systemd-devel] no tar balls at release time

2015-06-23 Thread Kay Sievers
On Tue, Jun 23, 2015 at 4:02 AM, Dave Reisner d...@falconindy.com wrote: On Tue, Jun 23, 2015 at 01:21:36AM +0200, Kay Sievers wrote: We currently considering to stop creating release tar balls. What's the motivation for this change? We focus on git, and git only. We do not want to sign tar

Re: [systemd-devel] [PATCH] ata_id: unbotch format specifier

2015-06-23 Thread Kay Sievers
On Wed, Jun 24, 2015 at 1:48 AM, Jan Engelhardt jeng...@inai.de wrote: Commit v218-247-g11c6f69 broke the output of the utility. %1$ PRIu64 x expands to %1$lux, essentially %lux, which shows the problem. u and x cannot be combined, u wins as the type character, and x gets emitted verbatim to

[systemd-devel] no tar balls at release time

2015-06-22 Thread Kay Sievers
We currently considering to stop creating release tar balls. For build systems which still require them, they can be created locally from the upstream git repository with: git archive --format=tar --prefix=systemd-$(VERSION)/ $(VERSION) | \ xz systemd-$(VERSION).tar.xz These tar balls

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

2015-06-20 Thread Kay Sievers
On Sat, Jun 20, 2015 at 6:08 PM, cee1 fykc...@gmail.com wrote: 2015-06-20 2:06 GMT+08:00 Lennart Poettering lenn...@poettering.net: On Fri, 19.06.15 16:06, Lennart Poettering (lenn...@poettering.net) wrote: Heya! It's primarily a bugfix release, but we also make sd-bus.h and sd-event.h

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

2015-06-19 Thread Kay Sievers
On Fri, Jun 19, 2015 at 5:07 PM, Filipe Brandenburger filbran...@google.com wrote: Guys let's try to be constructive here... This time it shouldn't be too painful for downstreams since the revert was the last patch to the man subtree so just a git revert of that should get your trees to the

Re: [systemd-devel] Why we need to read/save random seed?

2015-06-17 Thread Kay Sievers
On Wed, Jun 17, 2015 at 2:28 PM, Reindl Harald h.rei...@thelounge.net wrote: Am 17.06.2015 um 14:21 schrieb cee1: 2015-06-17 16:40 GMT+08:00 Reindl Harald h.rei...@thelounge.net: systemd-random-seed.service will load the seed on disk to /dev/urandom, and save a seed to disk when shutdown,

Re: [systemd-devel] How to create a user instance service that requires a network connection?

2015-06-03 Thread Kay Sievers
On Wed, Jun 3, 2015 at 6:32 PM, Will S wsha.code+syst...@gmail.com wrote: My understanding is that the system and user instances of systemd are completely isolated from each other. So I can not create a user unit file with the option Requires=network-online.target. Is there any way for a user

Re: [systemd-devel] [ANNOUNCE] Git development moved to github

2015-06-03 Thread Kay Sievers
On Wed, Jun 3, 2015 at 7:06 PM, David Timothy Strauss da...@davidstrauss.net wrote: On Tue, Jun 2, 2015 at 5:03 PM Kay Sievers k...@vrfy.org wrote: Could you please check your old repos at: https://github.com/systemd and move or delete them if they are no longer needed. One of them

Re: [systemd-devel] [ANNOUNCE] Git development moved to github

2015-06-02 Thread Kay Sievers
On Wed, Jun 3, 2015 at 1:51 AM, David Timothy Strauss da...@davidstrauss.net wrote: Looks like everything's in place now at the new github.com/systemd/systemd home. I've halted the Jenkins CI from pushing to that repository (which was formerly the mirror updated whenever CI passed). I'll

Re: [systemd-devel] [ANNOUNCE] Git development moved to github

2015-06-02 Thread Kay Sievers
On Tue, Jun 2, 2015 at 4:34 PM, Martin Pitt martin.p...@ubuntu.com wrote: David Herrmann [2015-06-02 13:06 +0200]: Our preferred way to send future patches is the github way. This means sending pull-requests to the github repo. Furthermore, all feature patches should go through pull-requests

Re: [systemd-devel] [systemd-commits] Makefile.am

2015-05-31 Thread Kay Sievers
On Fri, May 29, 2015 at 6:53 PM, Lennart Poettering lenn...@poettering.net wrote: On Fri, 29.05.15 09:45, Filipe Brandenburger (filbran...@google.com) wrote: Hi, I was thinking about this one recently... I really think the correct solution is for man/custom-entities.ent to be generated by

Re: [systemd-devel] 60-persistent-storage.rules: add NVMe disks and partitions (again)

2015-05-14 Thread Kay Sievers
On Thu, May 14, 2015 at 6:12 PM, Lennart Poettering lenn...@poettering.net wrote: On Thu, 14.05.15 09:10, Per Bergqvist (p...@bst.lu) wrote: There was a request for addition of NVMe disks Feb 10 2014 by Harald Hoyer which was sort of rejected by Kay Sievers by referring to “we should find

Re: [systemd-devel] About the exit of systemd-udevd

2015-04-22 Thread Kay Sievers
On Tue, Apr 14, 2015 at 4:47 PM, Tom Yan tom.t...@gmail.com wrote: Under certain conditions, I discovered that commands like `udevadm control --exit` or `systemctl stop systemd-udevd` (with the sockets stopped beforehand) will kill udevd before it finish its jobs which triggered by `udevadm

Re: [systemd-devel] [PATCH v2] automount: add expire support

2015-04-21 Thread Kay Sievers
On Tue, Apr 21, 2015 at 8:45 PM, Lennart Poettering lenn...@poettering.net wrote: On Tue, 14.04.15 22:01, Michael Olbrich (m.olbr...@pengutronix.de) wrote: I added some more logging (so that automount_dispatch_expire() can never fail without this being logged) and applied it! I only gave

Re: [systemd-devel] udev interface naming for SR-IOV VFs

2015-04-20 Thread Kay Sievers
On Tue, Apr 14, 2015 at 12:11 PM, Ido Barkan ibar...@redhat.com wrote: Hi all, I am VDSM developer in the Ovirt project. We are implementing support for SR-IOV network cards. Afer the changing of the number of VFs on the card and programmatically querying for all links (we use libnl for

Re: [systemd-devel] [PATCH 1/3] rules: Enable runtime device power management on Intel HDA controllers

2015-04-20 Thread Kay Sievers
On Mon, Apr 20, 2015 at 8:11 PM, David Herrmann dh.herrm...@gmail.com wrote: Hi On Sun, Apr 19, 2015 at 11:46 PM, Matthew Garrett mj...@srcf.ucam.org wrote: On Sun, Apr 19, 2015 at 11:37:31PM +0200, Kay Sievers wrote: I'm not convinced that any such broad matches for power management belong

Re: [systemd-devel] [PATCH 1/3] rules: Enable runtime device power management on Intel HDA controllers

2015-04-19 Thread Kay Sievers
On Sat, Apr 18, 2015 at 9:39 PM, Matthew Garrett mj...@srcf.ucam.org wrote: (Resending from the correct address) On Sat, Apr 18, 2015 at 07:51:26PM +0200, Kay Sievers wrote: It looks like an unconditional static assignment. Why should udev carry this? We generally do not want to do things

Re: [systemd-devel] [PATCH 1/3] rules: Enable runtime device power management on Intel HDA controllers

2015-04-18 Thread Kay Sievers
On Sat, Apr 18, 2015 at 6:11 PM, Matthew Garrett mj...@srcf.ucam.org wrote: From: Matthew Garrett mj...@coreos.com PCI power management seems to work fine on Intel HDA controllers, so let's turn that on. We can expand this to other vendors based on user feedback. +ACTION==add,

Re: [systemd-devel] bootloader time on a non-EFI bootloader

2015-04-09 Thread Kay Sievers
On Thu, Apr 9, 2015 at 11:28 AM, Lennart Poettering lenn...@poettering.net wrote: On Mon, 16.03.15 11:29, Umut Tezduyar Lindskog (u...@tezduyar.com) wrote: I would like to pass the time it was spent in bootloader to systemd. Is there a kernel command line to pass this information on non EFI

Re: [systemd-devel] [PATCH 2/2] fsck: Add support for EFI variable based fsck indication

2015-04-09 Thread Kay Sievers
On Thu, Apr 9, 2015 at 3:02 PM, Jóhann B. Guðmundsson johan...@gmail.com wrote: We generally follow the rule: we develop for the future, not for the past. A file system like ext234 is clearly not the future, A filesystem like ext is being actively developed,maintained and new features being

Re: [systemd-devel] [PATCH 2/2] fsck: Add support for EFI variable based fsck indication

2015-04-09 Thread Kay Sievers
On Thu, Apr 9, 2015 at 6:58 PM, Reindl Harald h.rei...@thelounge.net wrote: Am 09.04.2015 um 18:52 schrieb Kay Sievers: On Thu, Apr 9, 2015 at 3:02 PM, Jóhann B. Guðmundsson johan...@gmail.com wrote: We generally follow the rule: we develop for the future, not for the past. A file system

Re: [systemd-devel] [PATCH 2/5] udev.pc: install to pkgconfiglibdir

2015-04-08 Thread Kay Sievers
On Wed, Apr 8, 2015 at 8:10 PM, Marc-Antoine Perennou marc-anto...@perennou.com wrote: On 8 April 2015 at 20:02, Kay Sievers k...@vrfy.org wrote: On Wed, Apr 8, 2015 at 7:52 PM, Marc-Antoine Perennou marc-anto...@perennou.com wrote: On 8 April 2015 at 19:46, Kay Sievers k...@vrfy.org wrote

Re: [systemd-devel] [PATCH 2/5] udev.pc: install to pkgconfiglibdir

2015-04-08 Thread Kay Sievers
On Wed, Apr 8, 2015 at 8:50 PM, Marc-Antoine Perennou marc-anto...@perennou.com wrote: Well, on one hand, we may have the need for multilib stuff to find the native binaries, as you said. On the other hand we have my case. Just a bit of background so that you understand where these patches

Re: [systemd-devel] fsckd needs to go -- possible compromise?

2015-04-08 Thread Kay Sievers
On Wed, Apr 8, 2015 at 4:18 PM, Martin Pitt martin.p...@ubuntu.com wrote: Lennart Poettering [2015-04-07 16:14 +0200]: Well, the asnc IO socket handling thing was not dealt with. The newest patches still use fgets(). [...] The killer issue really is the safety issue. We shouldn't include

Re: [systemd-devel] [PATCH 2/5] udev.pc: install to pkgconfiglibdir

2015-04-08 Thread Kay Sievers
On Tue, Apr 7, 2015 at 8:54 PM, Marc-Antoine Perennou marc-anto...@perennou.com wrote: --- Makefile.am | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index 9fa4223..9b769ee 100644 --- a/Makefile.am +++ b/Makefile.am @@ -3725,8 +3725,7 @@

Re: [systemd-devel] [PATCH 5/5] build: use $(OBJCOPY)

2015-04-08 Thread Kay Sievers
On Tue, Apr 7, 2015 at 8:54 PM, Marc-Antoine Perennou marc-anto...@perennou.com wrote: --- Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index 9b769ee..397a71c 100644 --- a/Makefile.am +++ b/Makefile.am @@ -2596,7 +2596,7 @@

Re: [systemd-devel] [PATCH v2 2/4] udev: Update pointingstick rules to allow setting ibm trackpoint sensitivity

2015-04-08 Thread Kay Sievers
On Tue, Apr 7, 2015 at 7:06 AM, Peter Hutterer peter.hutte...@who-t.net wrote: On Fri, Apr 03, 2015 at 04:11:58PM +0200, Hans de Goede wrote: +TEST==../../../sensitivity, ENV{POINTINGSTICK_SENSITIVITY}!=, \ + ATTR{../../../sensitivity}=$env{POINTINGSTICK_SENSITIVITY}

Re: [systemd-devel] [PATCH 2/5] udev.pc: install to pkgconfiglibdir

2015-04-08 Thread Kay Sievers
On Wed, Apr 8, 2015 at 7:52 PM, Marc-Antoine Perennou marc-anto...@perennou.com wrote: On 8 April 2015 at 19:46, Kay Sievers k...@vrfy.org wrote: On Wed, Apr 8, 2015 at 7:34 PM, Marc-Antoine Perennou marc-anto...@perennou.com wrote: On 8 April 2015 at 18:47, Kay Sievers k...@vrfy.org wrote

Re: [systemd-devel] [PATCH 2/5] udev.pc: install to pkgconfiglibdir

2015-04-08 Thread Kay Sievers
On Wed, Apr 8, 2015 at 7:34 PM, Marc-Antoine Perennou marc-anto...@perennou.com wrote: On 8 April 2015 at 18:47, Kay Sievers k...@vrfy.org wrote: On Tue, Apr 7, 2015 at 8:54 PM, Marc-Antoine Perennou marc-anto...@perennou.com wrote: --- Makefile.am | 3 +-- 1 file changed, 1 insertion(+), 2

Re: [systemd-devel] [PATCH v2] Add reboot to EFI support

2015-04-02 Thread Kay Sievers
On Thu, Apr 2, 2015 at 8:18 PM, Lennart Poettering lenn...@poettering.net wrote: On Thu, 02.04.15 15:51, Jan Janssen (medhe...@web.de) wrote: Hi, On 2015-04-02 11:34, Lennart Poettering wrote: On Thu, 26.03.15 16:09, Jan Janssen (medhe...@web.de) wrote: Heya, Hmm, so we already support

Re: [systemd-devel] systemd-vconsole-setup fails very slowly

2015-04-01 Thread Kay Sievers
On Wed, Apr 1, 2015 at 8:56 PM, Andy Lutomirski l...@amacapital.net wrote: On Thu, Jan 22, 2015 at 6:29 PM, Andy Lutomirski l...@amacapital.net wrote: On Thu, Jan 22, 2015 at 6:13 PM, Lennart Poettering lenn...@poettering.net wrote: On Wed, 21.01.15 19:15, Andy Lutomirski (l...@amacapital.net)

Re: [systemd-devel] systemd-vconsole-setup fails very slowly

2015-04-01 Thread Kay Sievers
On Wed, Apr 1, 2015 at 11:19 PM, Andy Lutomirski l...@amacapital.net wrote: On Wed, Apr 1, 2015 at 1:53 PM, Kay Sievers k...@vrfy.org wrote: On Wed, Apr 1, 2015 at 10:45 PM, Andy Lutomirski l...@amacapital.net wrote: On Apr 1, 2015 12:56 PM, Kay Sievers k...@vrfy.org wrote: Do you have

Re: [systemd-devel] systemd-vconsole-setup fails very slowly

2015-04-01 Thread Kay Sievers
On Wed, Apr 1, 2015 at 11:38 PM, Andy Lutomirski l...@amacapital.net wrote: On Wed, Apr 1, 2015 at 2:36 PM, Kay Sievers k...@vrfy.org wrote: They should only get created when something accesses the corresponding tty. deallocvt(1) can kill unused ones and the device nodes should disappear

Re: [systemd-devel] systemd-vconsole-setup fails very slowly

2015-04-01 Thread Kay Sievers
On Wed, Apr 1, 2015 at 10:45 PM, Andy Lutomirski l...@amacapital.net wrote: On Apr 1, 2015 12:56 PM, Kay Sievers k...@vrfy.org wrote: Do you have an idea why the VM does not accept the custom font? If that is something obvious, and we can detect it, we could make vconsole-setup check

Re: [systemd-devel] systemd-vconsole-setup fails very slowly

2015-04-01 Thread Kay Sievers
On Wed, Apr 1, 2015 at 9:36 PM, Andy Lutomirski l...@amacapital.net wrote: On Wed, Apr 1, 2015 at 12:32 PM, Kay Sievers k...@vrfy.org wrote: On Wed, Apr 1, 2015 at 8:56 PM, Andy Lutomirski l...@amacapital.net wrote: On Thu, Jan 22, 2015 at 6:29 PM, Andy Lutomirski l...@amacapital.net wrote

Re: [systemd-devel] systemd-vconsole-setup fails very slowly

2015-04-01 Thread Kay Sievers
On Thu, Apr 2, 2015 at 12:00 AM, Andy Lutomirski l...@amacapital.net wrote: On Wed, Apr 1, 2015 at 2:47 PM, Kay Sievers k...@vrfy.org wrote: On Wed, Apr 1, 2015 at 11:38 PM, Andy Lutomirski l...@amacapital.net wrote: On Wed, Apr 1, 2015 at 2:36 PM, Kay Sievers k...@vrfy.org wrote: They should

Re: [systemd-devel] [PATCH] systemd-bootchart: Prevent closing random file descriptors

2015-03-29 Thread Kay Sievers
On Sun, Mar 29, 2015 at 5:17 PM, Daniel Mack dan...@zonque.org wrote: On 03/29/2015 03:04 PM, Alexander Sverdlin wrote: On 29/03/15 13:44, Daniel Mack wrote: @@ -184,6 +185,7 @@ vmstat_next: n = pread(schedstat, buf, sizeof(buf) - 1, 0); if (n = 0) { close(schedstat); +

Re: [systemd-devel] [systemd-commits] Makefile.am src/shared src/timedate

2015-03-26 Thread Kay Sievers
On Thu, Mar 26, 2015 at 11:48 AM, Lennart Poettering lenn...@poettering.net wrote: On Tue, 24.03.15 07:04, Kay Sievers (k...@kemper.freedesktop.org) wrote: Makefile.am|2 src/shared/time-dst.c | 329 - src/shared/time

Re: [systemd-devel] [systemd-commits] Makefile.am src/shared src/timedate

2015-03-26 Thread Kay Sievers
On Thu, Mar 26, 2015 at 12:06 PM, Lennart Poettering lenn...@poettering.net wrote: On Thu, 26.03.15 11:57, Kay Sievers (k...@vrfy.org) wrote: Now, to make calendar time triggers complete I think we must enable people to at least trigger on threse three kinds of anomalies in the time scale

Re: [systemd-devel] [PATCH] timedatectl: fix when queried system has differn't timezone

2015-03-24 Thread Kay Sievers
On Mon, Mar 23, 2015 at 12:44 PM, Shawn Landden sh...@churchofgit.com wrote: Also allow getting time from time(2) when BUS_TRANSPORT_MACHINE. v2: check for error Applied. Thanks, Kay ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org

Re: [systemd-devel] [PATCH] timedated: Add a LocalOffset property for timezone offset

2015-03-24 Thread Kay Sievers
On Tue, Mar 24, 2015 at 3:17 PM, Stef Walter st...@redhat.com wrote: On 24.03.2015 15:11, Kay Sievers wrote: On Tue, Mar 24, 2015 at 2:15 PM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: Exactly because they do not require being upgraded in lock-step, doing conversion to the local

Re: [systemd-devel] [PATCH] timedated: Add a LocalOffset property for timezone offset

2015-03-24 Thread Kay Sievers
On Tue, Mar 24, 2015 at 2:15 PM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: Exactly because they do not require being upgraded in lock-step, doing conversion to the local time locally is racy. Assuming we have up-to-date timezone database locally, with the patch that was merged today

Re: [systemd-devel] [PATCH] timedated: add LocalTimeUSec via dbus

2015-03-24 Thread Kay Sievers
On Tue, Mar 24, 2015 at 2:52 AM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: On Mon, Mar 23, 2015 at 04:24:38AM -0700, Shawn Landden wrote: --- src/timedate/timedated.c | 24 1 file changed, 24 insertions(+) diff --git a/src/timedate/timedated.c

Re: [systemd-devel] [PATCH] timedated: add LocalTimeUSec via dbus

2015-03-24 Thread Kay Sievers
On Tue, Mar 24, 2015 at 5:34 AM, Shawn Landden sh...@churchofgit.com wrote: On Mon, Mar 23, 2015 at 6:52 PM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: On Mon, Mar 23, 2015 at 04:24:38AM -0700, Shawn Landden wrote: --- src/timedate/timedated.c | 24 1 file

Re: [systemd-devel] [PATCH 1/2] rules: storage - whitelist partitioned MS MMC devices

2015-03-24 Thread Kay Sievers
On Mon, Mar 23, 2015 at 8:55 AM, Mantas Mikulėnas graw...@gmail.com wrote: On Tue, Mar 17, 2015 at 11:50 PM, Kay Sievers k...@vrfy.org wrote: On Tue, Mar 17, 2015 at 5:00 PM, Mantas Mikulėnas graw...@gmail.com wrote: Accidentally dropped in 1aff20687f4868575. --- rules/60-persistent

Re: [systemd-devel] [PATCH] automount: add expire support

2015-03-24 Thread Kay Sievers
On Sun, Mar 22, 2015 at 1:36 PM, Michael Olbrich m.olbr...@pengutronix.de wrote: --- man/systemd.automount.xml | 8 ++ man/systemd.mount.xml | 9 ++ src/core/automount.c | 209 -- src/core/automount.h

Re: [systemd-devel] [PATCH 2/2] rules: storage - support MemoryStick (non-Pro) cards

2015-03-24 Thread Kay Sievers
On Tue, Mar 17, 2015 at 5:00 PM, Mantas Mikulėnas graw...@gmail.com wrote: These are handled by a different driver than MemoryStick Pro. Applied. Thanks, Kay ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org

Re: [systemd-devel] [systemd-commits] Makefile.am src/shared src/timedate

2015-03-24 Thread Kay Sievers
On Tue, Mar 24, 2015 at 3:24 PM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: On Tue, Mar 24, 2015 at 07:04:11AM -0700, Kay Sievers wrote: Makefile.am|2 src/shared/time-dst.c | 329 - src/shared/time-dst.h

Re: [systemd-devel] [systemd-commits] Makefile.am src/shared src/timedate

2015-03-24 Thread Kay Sievers
On Tue, Mar 24, 2015 at 4:07 PM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: On Tue, Mar 24, 2015 at 03:32:31PM +0100, Kay Sievers wrote: On Tue, Mar 24, 2015 at 3:24 PM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: On Tue, Mar 24, 2015 at 07:04:11AM -0700, Kay Sievers wrote

Re: [systemd-devel] [PATCH 1/2] timedatectl: check for getenv(TZDIR)

2015-03-24 Thread Kay Sievers
On Tue, Mar 24, 2015 at 7:11 PM, Shawn Landden sh...@churchofgit.com wrote: /* Enforce the values of /etc/localtime */ if (getenv(TZ)) { -fprintf(stderr, Warning: Ignoring the TZ variable.\n\n); +fprintf(stderr, Warning: Ignoring the %s

Re: [systemd-devel] [PATCH 1/2] timedatectl: check for getenv(TZDIR)

2015-03-24 Thread Kay Sievers
On Tue, Mar 24, 2015 at 7:39 PM, Shawn Landden sh...@churchofgit.com wrote: On Tue, Mar 24, 2015 at 11:32 AM, Kay Sievers k...@vrfy.org wrote: On Tue, Mar 24, 2015 at 7:11 PM, Shawn Landden sh...@churchofgit.com wrote: /* Enforce the values of /etc/localtime */ if (getenv(TZ

Re: [systemd-devel] [PATCH 1/2] timedatectl: check for getenv(TZDIR)

2015-03-24 Thread Kay Sievers
On Tue, Mar 24, 2015 at 7:11 PM, Shawn Landden sh...@churchofgit.com wrote: I liked having the DST information. It is a pity glibc doesn't export this information. Yeah, date(1) could use and show that information too, I think. Adding custom parsers to work-around glibc's development style was

Re: [systemd-devel] [PATCH] timedated: Add a LocalOffset property for timezone offset

2015-03-23 Thread Kay Sievers
On Mon, Mar 23, 2015 at 1:46 PM, David Herrmann dh.herrm...@gmail.com wrote: Hi On Mon, Mar 23, 2015 at 6:32 AM, Lennart Poettering lenn...@poettering.net wrote: On Thu, 19.03.15 14:39, David Herrmann (dh.herrm...@gmail.com) wrote: Hmm, so this is a convenience call. You could just set

Re: [systemd-devel] [PATCH] timedated: Add a LocalOffset property for timezone offset

2015-03-23 Thread Kay Sievers
On Mon, Mar 23, 2015 at 3:49 PM, Stef Walter st...@redhat.com wrote: On 23.03.2015 15:26, Kay Sievers wrote: On Mon, Mar 23, 2015 at 1:46 PM, David Herrmann dh.herrm...@gmail.com wrote: Hi On Mon, Mar 23, 2015 at 6:32 AM, Lennart Poettering lenn...@poettering.net wrote: On Thu, 19.03.15

Re: [systemd-devel] [PATCH] timedated: Add a LocalOffset property for timezone offset

2015-03-23 Thread Kay Sievers
On Mon, Mar 23, 2015 at 4:56 PM, Kay Sievers k...@vrfy.org wrote: On Mon, Mar 23, 2015 at 3:49 PM, Stef Walter st...@redhat.com wrote: It seems that timedatectl itself needs information about remote local time, since when connecting remotely over DBus it gets the local time wrong. [1] Yeah

Re: [systemd-devel] [PATCH 1/2] rules: storage - whitelist partitioned MS MMC devices

2015-03-17 Thread Kay Sievers
On Tue, Mar 17, 2015 at 5:00 PM, Mantas Mikulėnas graw...@gmail.com wrote: Accidentally dropped in 1aff20687f4868575. --- rules/60-persistent-storage.rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) +KERNEL!=loop*|mmcblk[0-9]*|mspblk[0-9]*|nvme*|sd*|sr*|vd*,

Re: [systemd-devel] [PATCH 2/2] fsck: Add support for EFI variable based fsck indication

2015-03-17 Thread Kay Sievers
On Tue, Mar 17, 2015 at 9:15 AM, Jan Janssen medhe...@web.de wrote: Gesendet: Sonntag, 15. März 2015 um 19:58 Uhr Nobody would write to the flash on kernel updates, we only possibly write to the ESP filesystem. The flash is not meant for such use cases, it is known to brick all sorts of

Re: [systemd-devel] [PATCH 1/2] systemctl: Add reboot to firmware support

2015-03-17 Thread Kay Sievers
On Tue, Mar 17, 2015 at 9:10 AM, Jan Janssen medhe...@web.de wrote: I certainly see the point of not adding fsck mode indication, but I'd still like to see this one go in. If your firmware and/or bootloader won't give you a chance to, the os is your only chance should you still be able to

Re: [systemd-devel] [PATCH 1/2] systemctl: Add reboot to firmware support

2015-03-17 Thread Kay Sievers
On Tue, Mar 17, 2015 at 1:12 PM, Jan Janssen medhe...@web.de wrote: Dimitri John Ledkov dimitri.j.ledkov at intel.com writes: Also, the fact that there have been people asking questions about how to get to the EFI/BIOS has always been there. With this you can just tell them to systemctl

Re: [systemd-devel] bootloader time on a non-EFI bootloader

2015-03-16 Thread Kay Sievers
On Mon, Mar 16, 2015 at 11:29 AM, Umut Tezduyar Lindskog u...@tezduyar.com wrote: I would like to pass the time it was spent in bootloader to systemd. Is there a kernel command line to pass this information on non EFI bootloader? Or is there an another way? No, there isn't anything I know of.

Re: [systemd-devel] [PATCH 2/2] fsck: Add support for EFI variable based fsck indication

2015-03-15 Thread Kay Sievers
On Sun, Mar 15, 2015 at 11:56 AM, Jan Janssen medhe...@web.de wrote: --- man/systemctl.xml | 26 shell-completion/bash/systemctl.in | 8 - shell-completion/zsh/_systemctl.in | 2 ++ src/fsck/fsck.c| 63

Re: [systemd-devel] udev breaks hostap linkage of raw/user interfaces, causing wpa_supplicant problems

2015-03-15 Thread Kay Sievers
On Sun, Mar 15, 2015 at 1:40 PM, Thomas Richter t...@math.tu-berlin.de wrote: udev seems to create a problem here with the hostap (prism2) kernel driver. Unlike many wifi devices, the hostap device driver always creates paired interfaces, a raw interface (wifiX) and a network interface (wlanX)

Re: [systemd-devel] [PATCH] shutdown: add kexec loading, avoid calling `kexec` binary unnessecarily

2015-03-15 Thread Kay Sievers
On Sun, Mar 15, 2015 at 7:31 PM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: On Wed, Mar 11, 2015 at 05:22:18PM -0700, Shawn Landden wrote: Still use helper when Xen Dom0, to avoid duplicating some hairy code. I think the rbtree version was far more understandable as greedy_realloc0()

Re: [systemd-devel] [PATCH 2/2] fsck: Add support for EFI variable based fsck indication

2015-03-15 Thread Kay Sievers
On Sun, Mar 15, 2015 at 4:44 PM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: On Sun, Mar 15, 2015 at 03:23:19PM +0100, Kay Sievers wrote: On Sun, Mar 15, 2015 at 11:56 AM, Jan Janssen medhe...@web.de wrote: --- man/systemctl.xml | 26 shell

Re: [systemd-devel] Enabling timesyncd in virtual machines

2015-03-15 Thread Kay Sievers
On Fri, Mar 13, 2015 at 8:25 PM, Michael Marineau michael.marin...@coreos.com wrote: Greetings, Currently systemd-timesyncd.service includes ConditionVirtualization=no, disabling it in both containers and virtual machines. Each VM platform tends to deal with or ignore the time problem in

Re: [systemd-devel] [PATCH 2/2] fsck: Add support for EFI variable based fsck indication

2015-03-15 Thread Kay Sievers
On Sun, Mar 15, 2015 at 7:48 PM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: On Sun, Mar 15, 2015 at 06:48:24PM +0100, Kay Sievers wrote: It is legacy and does not need new features. It worked in the past and will continue to work in the future, but it does not need new questionable

Re: [systemd-devel] [PATCH 2/2] fsck: Add support for EFI variable based fsck indication

2015-03-15 Thread Kay Sievers
On Sun, Mar 15, 2015 at 7:59 PM, Andrei Borzenkov arvidj...@gmail.com wrote: В Sun, 15 Mar 2015 19:48:10 +0100 Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl пишет: No, they are absolutely not. Changing the EFI flash comes with unpredictable risks, the flash is not meant to or designed for

Re: [systemd-devel] Enabling timesyncd in virtual machines

2015-03-15 Thread Kay Sievers
On Sun, Mar 15, 2015 at 7:50 PM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: On Sun, Mar 15, 2015 at 07:47:46PM +0100, Kay Sievers wrote: On Fri, Mar 13, 2015 at 8:25 PM, Michael Marineau michael.marin...@coreos.com wrote: Greetings, Currently systemd-timesyncd.service includes

Re: [systemd-devel] [PATCH 2/2] fsck: Add support for EFI variable based fsck indication

2015-03-15 Thread Kay Sievers
On Sun, Mar 15, 2015 at 8:08 PM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: On Sun, Mar 15, 2015 at 07:58:35PM +0100, Kay Sievers wrote: If the filesytem is too dumb to have that info in the superblock flags to store, to request a forced fsck, it is the problem of the file system

Re: [systemd-devel] [PATCH] build: generate pkg-config files during configure

2015-03-12 Thread Kay Sievers
On Thu, Mar 12, 2015 at 5:09 AM, Lucas De Marchi lucas.de.mar...@gmail.com wrote: On Tue, Mar 10, 2015 at 3:04 PM, Jeff Waugh j...@bethesignal.org wrote: Generate pkg-config files during configure as God (Havoc) intended. This fixes all of systemd's pkg-config files when cross-compiling (and

Re: [systemd-devel] How to factory reset?

2015-03-12 Thread Kay Sievers
On Thu, Mar 12, 2015 at 11:30 AM, David Herrmann dh.herrm...@gmail.com wrote: On Thu, Mar 12, 2015 at 4:57 AM, Andrei Borzenkov arvidj...@gmail.com wrote: В Wed, 11 Mar 2015 18:50:23 +0100 Kay Sievers k...@vrfy.org пишет: On Wed, Mar 11, 2015 at 6:32 PM, Chris Murphy li...@colorremedies.com

Re: [systemd-devel] [PATCH] rules: Fix by-path of mmc RPMB partitions and don't blkid them

2015-03-12 Thread Kay Sievers
On Fri, Feb 13, 2015 at 10:35 AM, Martin Pitt martin.p...@ubuntu.com wrote: Kay Sievers [2015-02-13 10:12 +0100]: This looks awful. We should not litter generic rules with exotic niche use cases like this. It will end up in a mess. Fully agreed :/ It is a rather small whitelist for now

Re: [systemd-devel] How to factory reset?

2015-03-11 Thread Kay Sievers
On Wed, Mar 11, 2015 at 6:32 PM, Chris Murphy li...@colorremedies.com wrote: On Wed, Mar 11, 2015 at 2:22 AM, Tobias Hunger tobias.hun...@gmail.com wrote: If you're concerned about bootloader configuration modification as a threat vector, then it needs to go on an encrypted volume. This

Re: [systemd-devel] How to factory reset?

2015-03-11 Thread Kay Sievers
On Wed, Mar 11, 2015 at 7:45 PM, Chris Murphy li...@colorremedies.com wrote: On Wed, Mar 11, 2015 at 11:50 AM, Kay Sievers k...@vrfy.org wrote: The all included kernels are found at /boot/EFI/Linux/*.efi Yeah until the distros stop persistently mounting the ESP, I'm not a fan at all

Re: [systemd-devel] How to factory reset?

2015-03-11 Thread Kay Sievers
On Wed, Mar 11, 2015 at 7:45 PM, Chris Murphy li...@colorremedies.com wrote: On Wed, Mar 11, 2015 at 11:50 AM, Kay Sievers k...@vrfy.org wrote: There is no point in handling raid without native firmware support; manual intervention is needed anyway on these systems if things go wrong

Re: [systemd-devel] [PATCH] shutdown: add kexec loading, avoid calling `kexec` binary unnessecarily

2015-03-11 Thread Kay Sievers
On Thu, Mar 12, 2015 at 2:12 AM, Shawn Landden sh...@churchofgit.com wrote: On Wed, Mar 11, 2015 at 5:51 PM, Kay Sievers k...@vrfy.org wrote: On Thu, Mar 12, 2015 at 1:22 AM, Shawn Landden sh...@churchofgit.com wrote: Still use helper when Xen Dom0, to avoid duplicating some hairy code

Re: [systemd-devel] [PATCH] shutdown: add kexec loading, avoid calling `kexec` binary unnessecarily

2015-03-11 Thread Kay Sievers
On Thu, Mar 12, 2015 at 1:22 AM, Shawn Landden sh...@churchofgit.com wrote: Still use helper when Xen Dom0, to avoid duplicating some hairy code. I think the rbtree version was far more understandable as greedy_realloc0() is very messy to do correctly. Take fopenat() from lsof. Add

Re: [systemd-devel] [PATCH] shutdown: add kexec loading, avoid calling `kexec` binary unnessecarily

2015-03-11 Thread Kay Sievers
On Thu, Mar 12, 2015 at 2:07 AM, Shawn Landden sh...@churchofgit.com wrote: On Wed, Mar 11, 2015 at 5:51 PM, Kay Sievers k...@vrfy.org wrote: On Thu, Mar 12, 2015 at 1:22 AM, Shawn Landden sh...@churchofgit.com wrote: Still use helper when Xen Dom0, to avoid duplicating some hairy code

Re: [systemd-devel] [PATCH] shutdown: add kexec loading, avoid calling `kexec` binary unnessecarily

2015-03-11 Thread Kay Sievers
On Thu, Mar 12, 2015 at 2:36 AM, Shawn Landden sh...@churchofgit.com wrote: On Wed, Mar 11, 2015 at 6:24 PM, Kay Sievers k...@vrfy.org wrote: On Thu, Mar 12, 2015 at 2:07 AM, Shawn Landden sh...@churchofgit.com wrote: On Wed, Mar 11, 2015 at 5:51 PM, Kay Sievers k...@vrfy.org wrote

Re: [systemd-devel] [PATCH] boot: efi - move background pixel variable into different scope

2015-02-27 Thread Kay Sievers
On Fri, Feb 27, 2015 at 1:35 AM, Marcel Holtmann mar...@holtmann.org wrote: CC src/boot/efi/splash.o src/boot/efi/splash.c: In function ‘graphics_splash’: src/boot/efi/splash.c:256:9: warning: missing initializer for field ‘Blue’ of ‘EFI_GRAPHICS_OUTPUT_BLT_PIXEL’

Re: [systemd-devel] [PATCH] rules: Fix by-path of mmc RPMB partitions and don't blkid them

2015-02-13 Thread Kay Sievers
On Fri, Feb 13, 2015 at 10:35 AM, Martin Pitt martin.p...@ubuntu.com wrote: Kay Sievers [2015-02-13 10:12 +0100]: This looks awful. We should not litter generic rules with exotic niche use cases like this. It will end up in a mess. Fully agreed :/ First, what is the use-case for by-path

  1   2   3   4   5   6   7   8   9   10   >