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 = PCI device number (co

Re: [systemd-devel] Fwd: [PATCH] Add support for detecting NIC partitions on Dell Servers

2015-11-10 Thread Kay Sievers
On Tue, Nov 10, 2015 at 5:49 AM, Jordan Hargrave wrote: > Cleaned up linux coding style > > This patch will integrate some of the features of biosdevname into systemd. > The code detects the port and index for detecting NIC partitions. This creates > a new environment variable, ID_NET_NAME_PARTITI

Re: [systemd-devel] Fwd: [PATCH] Add support for detecting NIC partitions on Dell Servers

2015-11-09 Thread Kay Sievers
On Mon, Nov 9, 2015 at 11:43 PM, Lennart Poettering wrote: > On Mon, 09.11.15 12:42, Jordan Hargrave (jhar...@gmail.com) wrote: > >> From: Jordan Hargrave >> >> This patch will integrate some of the features of biosdevname into systemd. >> The code detects the port and index for detecting NIC par

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 ___ system

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 for network cards, >>> biosdevname and systemd. Syste

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 https://github.com/systemd/systemd/issues/1

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 and continue to boo

Re: [systemd-devel] Block device shutdown "hook"

2015-10-16 Thread Kay Sievers
On Fri, Oct 16, 2015 at 1:55 AM, Ian Pilcher wrote: > Does systemd provide any sort of "hook" mechanism to call a script > program when a block device is unmounted (or otherwise no longer being > used) on shutdown? > > I'm toying with the idea of creating an alternative way of managing > dm-cache

Re: [systemd-devel] systemd and kernel process

2015-10-01 Thread Kay Sievers
On Thu, Oct 1, 2015 at 9:30 PM, Steve Dickson wrote: > > > On 10/01/2015 09:24 AM, Kay Sievers wrote: >> 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. >

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 point me in the right direction. I'm attempting

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 about them. They can

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 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 wrote: >> > I am looking for guidance on how to properly resolve driver binding >> > with systemd

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 implement high-level knob

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. Instead it seems to me

[systemd-devel] [ANNOUNCE] systemd v224

2015-07-31 Thread Kay Sievers
an be enabled via the new boolean configuration option called 'GroupPolicyExtension='. Contributions from: Andreas Kempf, Christian Hesse, Daniel Mack, David Herrmann, Herman Fries, Johannes Nixdorf, Kay Sievers, Lennart Poettering, Peter Hut

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 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 > systemd-udevd-contro

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 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. > I built these extensi

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 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 integrated by this content mana

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. 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 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 almost exclusively of b

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

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

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 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 stdou

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 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 github? Patch

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 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 the reason f

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 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

[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 wil

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

2015-06-20 Thread Kay Sievers
On Sat, Jun 20, 2015 at 6:08 PM, cee1 wrote: > 2015-06-20 2:06 GMT+08:00 Lennart Poettering : >> 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 public. (A blog story on sd

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

2015-06-19 Thread Kay Sievers
On Fri, Jun 19, 2015 at 5:07 PM, Filipe Brandenburger 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 state you need to

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 wrote: > > Am 17.06.2015 um 14:21 schrieb cee1: >> >> 2015-06-17 16:40 GMT+08:00 Reindl Harald : systemd-random-seed.service will load the "seed on disk" to /dev/urandom, and save a "seed" to disk when shutdown, right? The art

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 wrote: > On Tue, Jun 2, 2015 at 5:03 PM Kay Sievers 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 at

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 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 > instance service to get

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 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 probably update CI to

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 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 and should get

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

2015-05-31 Thread Kay Sievers
On Fri, May 29, 2015 at 6:53 PM, Lennart Poettering 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 configu

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 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

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 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 trigger` (I presu

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 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 this superficial tes

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 wrote: > Hi > > On Sun, Apr 19, 2015 at 11:46 PM, Matthew Garrett 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 >>

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 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 this) we observ

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 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

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 wrote: > From: Matthew Garrett > > 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", SUBSYSTEM=="pci", ATTR{class}=="0x040300",

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 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" >> wrote: >> >>>> We generally follow the rule: we develop for the future,

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" 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 added to i

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 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 >> bootloader? Or

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 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 come from: > I'm develo

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 wrote: > On 8 April 2015 at 20:02, Kay Sievers wrote: >> On Wed, Apr 8, 2015 at 7:52 PM, Marc-Antoine Perennou >> wrote: >>> On 8 April 2015 at 19:46, Kay Sievers wrote: >>>> On Wed, Apr 8, 2015 at 7:34 P

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 wrote: > On 8 April 2015 at 19:46, Kay Sievers wrote: >> On Wed, Apr 8, 2015 at 7:34 PM, Marc-Antoine Perennou >> wrote: >>> On 8 April 2015 at 18:47, Kay Sievers wrote: >>>> On Tue, Apr 7, 2015 at 8:54 P

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 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}" >> >> LABEL="pointingstick_end" > > hm

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

2015-04-08 Thread Kay Sievers
On Wed, Apr 8, 2015 at 7:36 PM, Marc-Antoine Perennou wrote: > On 8 April 2015 at 19:03, Kay Sievers wrote: >> On Tue, Apr 7, 2015 at 8:54 PM, Marc-Antoine Perennou >> wrote: >>> --- >>> Makefile.am | 4 ++-- >>> 1 file changed, 2 insertions(+), 2 del

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 wrote: > On 8 April 2015 at 18:47, Kay Sievers wrote: >> On Tue, Apr 7, 2015 at 8:54 PM, Marc-Antoine Perennou >> wrote: >>> --- >>> Makefile.am | 3 +-- >>> 1 file changed, 1 insertion(+), 2 delet

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 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 @@ $(systemd_boot_so

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 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 @@ udevconfdir = $(sys

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 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 >> code in systemd

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 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 Thu, Apr 2, 2015 at 12:00 AM, Andy Lutomirski wrote: > On Wed, Apr 1, 2015 at 2:47 PM, Kay Sievers wrote: >> On Wed, Apr 1, 2015 at 11:38 PM, Andy Lutomirski wrote: >>> On Wed, Apr 1, 2015 at 2:36 PM, Kay Sievers wrote: >> >>>> They should only get

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 wrote: > On Wed, Apr 1, 2015 at 2:36 PM, Kay Sievers 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 11:19 PM, Andy Lutomirski wrote: > On Wed, Apr 1, 2015 at 1:53 PM, Kay Sievers wrote: >> On Wed, Apr 1, 2015 at 10:45 PM, Andy Lutomirski wrote: >>> On Apr 1, 2015 12:56 PM, "Kay Sievers" wrote: >> >>>> Do you have an idea

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 wrote: > On Apr 1, 2015 12:56 PM, "Kay Sievers" 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 wrote: > On Wed, Apr 1, 2015 at 12:32 PM, Kay Sievers wrote: >> On Wed, Apr 1, 2015 at 8:56 PM, Andy Lutomirski wrote: >>> On Thu, Jan 22, 2015 at 6:29 PM, Andy Lutomirski >>> wrote: >>>> On Thu, Jan

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 wrote: > On Thu, Jan 22, 2015 at 6:29 PM, Andy Lutomirski wrote: >> On Thu, Jan 22, 2015 at 6:13 PM, Lennart Poettering >> wrote: >>> On Wed, 21.01.15 19:15, Andy Lutomirski (l...@amacapital.net) wrote: >>> Hi all- When running virtm

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 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); +schedst

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 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 &g

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 wrote: > On Tue, 24.03.15 07:04, Kay Sievers (k...@kemper.freedesktop.org) wrote: > >> Makefile.am|2 >> src/shared/time-dst.c | 329 >> - &

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 wrote: > --- > man/systemd.automount.xml | 8 ++ > man/systemd.mount.xml | 9 ++ > src/core/automount.c | 209 > -- > src/core/automount.h | 6 +- >

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 wrote: > On Tue, Mar 17, 2015 at 11:50 PM, Kay Sievers wrote: >> >> On Tue, Mar 17, 2015 at 5:00 PM, Mantas Mikulėnas >> wrote: >> > Accidentally dropped in 1aff20687f4868575. >> > --- >> > rules

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 wrote: > These are handled by a different driver than MemoryStick Pro. Applied. Thanks, Kay ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listin

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 wrote: > On Tue, Mar 24, 2015 at 11:32 AM, Kay Sievers wrote: >> On Tue, Mar 24, 2015 at 7:11 PM, Shawn Landden wrote: >> >>> /* Enforce the values of /etc/localtime */ >>> if (getenv("TZ&qu

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 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 variable.\n\n", >

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 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 needed in the past,

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 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 >> wrote: >> > On Tue, Mar 24, 2015 at 07:04:11AM -0700, Kay Sievers w

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 wrote: > On Tue, Mar 24, 2015 at 07:04:11AM -0700, Kay Sievers wrote: >> Makefile.am|2 >> src/shared/time-dst.c | 329 >> - >> src/sh

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 wrote: > On 24.03.2015 15:11, Kay Sievers wrote: >> On Tue, Mar 24, 2015 at 2:15 PM, Zbigniew Jędrzejewski-Szmek >> wrote: >>> Exactly because they do not require being upgraded in lock-step, doing >>> conversion t

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 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 we can > answ

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 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 http://lists.freed

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 wrote: > On Mon, Mar 23, 2015 at 6:52 PM, Zbigniew Jędrzejewski-Szmek > wrote: >> On Mon, Mar 23, 2015 at 04:24:38AM -0700, Shawn Landden wrote: >>> --- >>> src/timedate/timedated.c | 24 >>> 1 file changed, 24 insertions(+)

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 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 b/src/timedate/tim

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 wrote: > On Mon, Mar 23, 2015 at 3:49 PM, Stef Walter 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] >

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 wrote: > On 23.03.2015 15:26, Kay Sievers wrote: >> On Mon, Mar 23, 2015 at 1:46 PM, David Herrmann >> wrote: >>> Hi >>> >>> On Mon, Mar 23, 2015 at 6:32 AM, Lennart Poettering >>> wrote: &g

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 wrote: > Hi > > On Mon, Mar 23, 2015 at 6:32 AM, Lennart Poettering > 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 tm.tm_zone >>> locally and use mktime

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 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*", > GOTO="persistent_storage_end"

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 wrote: > Dimitri John Ledkov 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 --firmware reboot" on any modern

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 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 boot to it.

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 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 machines, and

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 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. The kernel boo

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 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 >&

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 wrote: > В Sun, 15 Mar 2015 19:48:10 +0100 > Zbigniew Jędrzejewski-Szmek пишет: >> > No, they are absolutely not. Changing the EFI flash comes with >> > unpredictable risks, the flash is not meant to or designed for be >> > written to during any

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 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 >> wrote: >> > Greetings, >> > >> > Currently systemd-timesyncd.servic

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 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 >

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 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 their own special ways, K

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 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() >> is very

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 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 wrote: >> > --- >> > man/systemctl.xml | 26

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 4:07 PM, Thomas Richter wrote: > On 15.03.2015 15:38, Kay Sievers wrote: > >> grep ./sys/class/net/*/name_assign_type > > grep: /sys/class/net/eth0/name_assign_type: Invalid argument > grep: /sys/class/net/lo/name_assign_type: Invalid argument > gr

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 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) that > represents th

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 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] [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 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

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

2015-03-12 Thread Kay Sievers
On Thu, Mar 12, 2015 at 11:30 AM, David Herrmann wrote: > On Thu, Mar 12, 2015 at 4:57 AM, Andrei Borzenkov wrote: >> В Wed, 11 Mar 2015 18:50:23 +0100 >> Kay Sievers пишет: >> >>> On Wed, Mar 11, 2015 at 6:32 PM, Chris Murphy >>> wrote: >>>

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 wrote: > On Tue, Mar 10, 2015 at 3:04 PM, Jeff Waugh wrote: >> Generate pkg-config files during configure as God (Havoc) intended. This >> fixes >> all of systemd's pkg-config files when cross-compiling (and possibly other >> use >> cases). > Ka

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 wrote: > On Wed, Mar 11, 2015 at 6:24 PM, Kay Sievers wrote: >> >> On Thu, Mar 12, 2015 at 2:07 AM, Shawn Landden >> wrote: >> > On Wed, Mar 11, 2015 at 5:51 PM, Kay Sievers wrote: >> >> >> &

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 wrote: > On Wed, Mar 11, 2015 at 5:51 PM, Kay Sievers wrote: >> >> On Thu, Mar 12, 2015 at 1:22 AM, Shawn Landden >> 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:12 AM, Shawn Landden wrote: > On Wed, Mar 11, 2015 at 5:51 PM, Kay Sievers wrote: >> >> On Thu, Mar 12, 2015 at 1:22 AM, Shawn Landden >> wrote: >> > Still use helper when Xen Dom0, to avoid duplicating some hairy code. >> > >&

  1   2   3   4   5   6   7   8   9   10   >