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

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

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

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

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] 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] 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] 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 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] 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] 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] 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] 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] 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] 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] 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] 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] waiting for device creation

2010-05-16 Thread Kay Sievers
On Sun, May 16, 2010 at 02:33, Lennart Poettering wrote: > Now, what I don't really understand is why your /dev/rtc device doesn't > exist anyway. Are you loading the rtc driver as a kernel module? If you > do, then stop doing that, it's a useless excercise in making your boot > artificially slow.

Re: [systemd-devel] Archlinux patch for services and getty

2010-05-19 Thread Kay Sievers
On Wed, May 19, 2010 at 11:00, Michael Meeks wrote: > On Wed, 2010-05-19 at 00:27 +0200, Marius O wrote: >> --- /dev/null >> +++ b/units/arch/halt.service >> @@ -0,0 +1,28 @@ >> +#  This file is part of systemd. >> +# >> +#  systemd is free software; you can redistribute it and/or modify > >      

Re: [systemd-devel] [HEADS-UP] Packaging systemd

2010-06-24 Thread Kay Sievers
On Tue, Jun 22, 2010 at 18:53, Lennart Poettering wrote: > A few hints for those who package systemd for the various distributions: > If you need inspiration for packaging, have a look at: > > http://cvs.fedoraproject.org/viewvc/devel/systemd/systemd.spec?view=markup The current SUSE spec file i

Re: [systemd-devel] [HEADS-UP] Packaging systemd

2010-06-24 Thread Kay Sievers
On Fri, Jun 25, 2010 at 03:14, Michael Biebl wrote: > 2010/6/25 Kay Sievers : >> >> and converted udev init scripts to native systemd configurations to >> place into /lib/systemd/system/ are here: >>  http://people.freedesktop.org/~kay/systemd/ > > Looking at

Re: [systemd-devel] [HEADS-UP] Packaging systemd

2010-06-25 Thread Kay Sievers
On Fri, Jun 25, 2010 at 01:23, Kay Sievers wrote: > On Tue, Jun 22, 2010 at 18:53, Lennart Poettering > wrote: >> A few hints for those who package systemd for the various distributions: > >> If you need inspiration for packaging, have a look at: >> >> http://c

Re: [systemd-devel] This patch adds SELinux support to systemd for socket creation.

2010-07-23 Thread Kay Sievers
On Fri, Jul 23, 2010 at 12:30, Daniel J Walsh wrote: > I though I saw avc's caused because systemd creating some devices with > the wrong labels?  I searched for mknod but found no calls.  Does > systemd create any nodes? It should not create any nodes. Systemd depends on the kernel-maintained de

Re: [systemd-devel] This patch adds SELinux support to systemd for socket creation.

2010-07-23 Thread Kay Sievers
On Fri, Jul 23, 2010 at 13:21, Daniel J Walsh wrote: > On 07/23/2010 06:56 AM, Kay Sievers wrote: >> On Fri, Jul 23, 2010 at 12:30, Daniel J Walsh wrote: >>> I though I saw avc's caused because systemd creating some devices with >>> the wrong labels?  I searc

Re: [systemd-devel] Systemd is causing mislabeled devices to be created and then attempting to read them.

2010-07-27 Thread Kay Sievers
On Mon, Jul 26, 2010 at 22:42, Daniel J Walsh wrote: > comm="systemd" name="autofs" dev=devtmpfs ino=9482 > scontext=system_u:system_r:init_t:s0 > tcontext=system_u:object_r:device_t:s0 tclass=chr_file > > Lennart, we talked about this earlier.  I think this is caused by the > modprobe calls to cr

Re: [systemd-devel] Systemd is causing mislabeled devices to be created and then attempting to read them.

2010-07-28 Thread Kay Sievers
On Wed, Jul 28, 2010 at 11:43, Lennart Poettering wrote: > On Mon, 26.07.10 16:42, Daniel J Walsh (dwa...@redhat.com) wrote: >> tcontext=system_u:object_r:device_t:s0 tclass=chr_file >> type=1400 audit(1280174589.476:7): avc:  denied  { read } for  pid=1 >> comm="systemd" name="autofs" dev=devtmpf

Re: [systemd-devel] After in new var-lock.service

2010-08-18 Thread Kay Sievers
On Wed, Aug 18, 2010 at 17:55, jean-michel.poll...@laposte.net wrote: > > I've seen that the new var-lock.service have a dependency > "After=var-run.mount". > Is there a specific reason why var-lock.service depends on var-run.mount > being up ? It creates stuff in /var/run that is only needed w

Re: Running a systemd-based Gentoo system

2010-09-08 Thread Kay Sievers
On Wed, Sep 8, 2010 at 07:04, Michael Biebl wrote: > 2010/9/8 Gustavo Sverzut Barbieri : >>  - calling any of /etc/init.d scripts is bad, as it will call openrc >> and it will bring all dependencies on its own, including services >> managed by systemd that are up already. This means we better disa

Re: Systemd port on custom embedded linux

2010-09-08 Thread Kay Sievers
On Wed, Sep 8, 2010 at 14:43, Cristian Axenie wrote: > I have some questions regarding some options to enable/disable when using > systemd on a custom embedded  Linux distro. I've managed to port systemd-8 > for a Tegra2 similar board, based on ARMv7 CPU. The embedded OS is a Fedora > like system

Re: Running a systemd-based Gentoo system

2010-09-08 Thread Kay Sievers
On Wed, Sep 8, 2010 at 14:40, Jack Byer wrote: > Will systemd support the kind of flexibility that Gentoo provides with the > /etc/conf.d structure? > > I can change the behavior of any file in /etc/init.d by editing or creating > a corresponding file in /etc/conf.d. Sometimes this configuration c

Re: Running a systemd-based Gentoo system

2010-09-08 Thread Kay Sievers
On Wed, Sep 8, 2010 at 15:28, Jack Byer wrote: > If you mean "no, there are no plans to support that" then please just say so > plainly. I was just making fun of your question. How could anyone answer something like: "is it as flexible as"? You would need to come up with very specific problems to

Re: Systemd port on custom embedded linux

2010-09-08 Thread Kay Sievers
On Wed, Sep 8, 2010 at 15:34, Gustavo Sverzut Barbieri wrote: > On Wed, Sep 8, 2010 at 10:06 AM, Kay Sievers wrote: >>> After the compilation I've added init=/bin/systemd to my kernel boot line >>> and after freeing the init memory the system hangs with a "Fai

Re: Systemd port on custom embedded linux

2010-09-08 Thread Kay Sievers
On Wed, Sep 8, 2010 at 15:39, Cristian Axenie wrote: > I've managed to rebuild my kernel with the CONFIG_DEVTMPFS activated and now > the problem doesn't reproduces anymore. Now it seems that /sys/fs/cgroup > cannot be mounted. Any other known issues or other kernel config options to > be activate

Re: Running a systemd-based Gentoo system

2010-09-08 Thread Kay Sievers
On Wed, Sep 8, 2010 at 15:41, Jack Byer wrote: >> > The two examples you've listed are supported already. >> >> Jack, did you check EnvironmentFile=/etc/conf.d/xyz? >> if this file defines ABC=123, then you can use ExecStart=/path/to/app $ABC >> > I don't believe that feature existed when I first

Re: [PATCH] Allow compile without IPv6.

2010-09-08 Thread Kay Sievers
On Wed, Sep 8, 2010 at 16:36, Gustavo Sverzut Barbieri wrote: > This patch isolates code using IPv6, AF_INET6 and in6 usage inside > '#ifdef HAVE_IPV6' blocks. I think new projects from 2010 should not have ipv4-only. This time should be over, finally. And people should get used to see ipv6 every

Re: [systemd-devel] Systemd port on custom embedded linux

2010-09-14 Thread Kay Sievers
On Tue, Sep 14, 2010 at 18:40, Lennart Poettering wrote: > On Tue, 14.09.10 11:58, Gustavo Sverzut Barbieri (barbi...@profusion.mobi) > wrote: > >> Lennart, maybe we should make the kmod-setup take another flag "MUST" >> and "OPTIONAL", do modprobe for each module in separate and fail if >> "MUST

Re: [systemd-devel] Services enabled by default?

2010-09-20 Thread Kay Sievers
On Mon, Sep 20, 2010 at 14:16, Gustavo Sverzut Barbieri wrote: >  - systemd-modules-load.service: why do we need this as a separated > service? What else would it be? > Anyway, shouldn't it be in > /lib/systemd/system/sysinit.target.wants by default? It should, yes. >  - systemd-vconsole-setup

Re: [systemd-devel] Services enabled by default?

2010-09-20 Thread Kay Sievers
On Mon, Sep 20, 2010 at 20:47, Lennart Poettering wrote: > On Mon, 20.09.10 09:16, Gustavo Sverzut Barbieri (barbi...@profusion.mobi) > wrote: >>   - should we provide a "clean /tmp" service? > > Ideally, we'd just mount tmpfs there, bug I guess given that we don't do > that we might want to add

Re: [systemd-devel] How to disable unit under /lib/systemd/system/*.wants?

2010-09-21 Thread Kay Sievers
On Tue, Sep 21, 2010 at 00:20, Lennart Poettering wrote: > On Sat, 18.09.10 21:39, Andrey Borzenkov (arvidj...@mail.ru) wrote: > >> Let's assume unit foo is installed as wanted by other unit under >> $systemunitdir (/lib/systemd/system/bar.wants/foo). How can I now >> disable it? systemctl (enable

Re: [systemd-devel] [PATCH] fix tmpwatch service and timer installation.

2010-09-21 Thread Kay Sievers
On Tue, Sep 21, 2010 at 06:54, Gustavo Sverzut Barbieri wrote: >        ( cd $(DESTDIR)$(systemunitdir)/shutdown.target.wants && \ > -               rm -f systemd-update-utmp-shutdown.service && \ > -               $(LN_S) ../systemd-update-utmp-shutdown.service ) > +               rm -f systemd-

Re: [systemd-devel] Standard directory for shell scripts?

2010-09-23 Thread Kay Sievers
On Wed, Sep 22, 2010 at 23:32, Gustavo Sverzut Barbieri wrote: > On Wed, Sep 22, 2010 at 4:14 PM, Wulf C. Krueger > wrote: >> I'm asking because Exherbo is shipping a(n) (almost) native-only systemd >> implementation and, thus, we don't want to keep something like /etc/init.d. > Yet, aside fro

Re: [systemd-devel] [PATCH 2/6] readahead-common:fs_on_ssd() stat might not get the real device name

2010-09-24 Thread Kay Sievers
On Fri, Sep 24, 2010 at 12:06, wrote: > From: Harald Hoyer > > btrfs returns a major(0) for its device, so try to find the mountpoint and > real device. > +        fp = fopen("/proc/self/mountinfo", "r"); > +        if (fp == NULL) > +                return NULL; > +        while (fscanf(fp, "

Re: [systemd-devel] [PATCH 2/6] readahead-common:fs_on_ssd() stat might not get the real device name

2010-09-24 Thread Kay Sievers
2010/9/24 Tomasz Torcz : > On Fri, Sep 24, 2010 at 12:22:34PM +0200, Kay Sievers wrote: >> On Fri, Sep 24, 2010 at 12:06,   wrote: >> > From: Harald Hoyer >> > >> > btrfs returns a major(0) for its device, so try to find the mountpoint and >> > re

Re: [systemd-devel] [PATCH] var-run.service: create console dir needed by pam

2010-09-24 Thread Kay Sievers
On Fri, Sep 24, 2010 at 16:26, wrote: > +ExecStart=/bin/mkdir /var/run/console ; /bin/chmod 0755 /var/run/console ; > -/sbin/restorecon /var/run/console Please let the broken pam_console finally die. It was never correct do that. The last user might be the conceptually broken at_console in D-B

Re: [systemd-devel] Standard directory for shell scripts?

2010-09-26 Thread Kay Sievers
On Mon, Sep 27, 2010 at 02:30, Lennart Poettering wrote: > On Wed, 22.09.10 21:14, Wulf C. Krueger (philant...@exherbo.org) wrote: >> Is there a consensus among distributions about a standard directory for shell >> scripts to be used with systemd? >> >> I've seen /lib/systemd/system/scripts being

Re: [systemd-devel] [PATCH 2/6] readahead-common:fs_on_ssd() stat might not get the real device name

2010-09-26 Thread Kay Sievers
On Mon, Sep 27, 2010 at 02:00, Lennart Poettering wrote: > On Fri, 24.09.10 12:22, Kay Sievers (kay.siev...@vrfy.org) wrote: > >> On Fri, Sep 24, 2010 at 12:06,   wrote: >> > From: Harald Hoyer >> > >> > btrfs returns a major(0) for its device, so try to fi

Re: [systemd-devel] [PATCH] var-run.service: create console dir needed by pam

2010-09-27 Thread Kay Sievers
On Mon, Sep 27, 2010 at 01:42, Lennart Poettering wrote: > On Fri, 24.09.10 16:26, har...@redhat.com (har...@redhat.com) wrote: > >> From: Harald Hoyer > > After the comments from Kay and Bill I believe that a change like this > is probably something we should add as a patch in the Fedora package

Re: [systemd-devel] Systemd port on custom embedded linux

2010-09-27 Thread Kay Sievers
2010/9/27 Andrey Borzenkov : > Mon, 27 Sep 2010 17:39:15 +0200 письмо от Lennart Poettering > : >> On Mon, 27.09.10 13:07, Cristian Axenie (cristian.axe...@gmail.com) wrote: >> > I've managed to add the proper symlinks in sbin and the >> > reboot/halt/poweroff/shutdown are now handled by systemct

Re: [systemd-devel] Fix typo in comment

2010-09-29 Thread Kay Sievers
On Wed, Sep 29, 2010 at 04:49, Andreas Jaeger wrote: > Just noticed the following while reading the git diff, Applied. Thanks, Kay ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-

Re: [systemd-devel] [PATCH 1/2] Adding unmount functions to be used in shutdown

2010-10-06 Thread Kay Sievers
On Wed, Oct 6, 2010 at 14:17, Karel Zak wrote: >> +        if ((dir = opendir("/sys/class/block")) == NULL) >> +                return -errno; >> + >> +        while ((d = readdir(dir))) { >> +                MountPoint *lb; >> +                char buf[PATH_MAX]; >> +                char *loop; >

Re: [systemd-devel] [PATCH 1/2] Adding unmount functions to be used in shutdown

2010-10-06 Thread Kay Sievers
On Wed, Oct 6, 2010 at 15:09, Lennart Poettering wrote: > On Wed, 06.10.10 02:05, Gustavo Sverzut Barbieri (barbi...@profusion.mobi) > wrote: > >> +#define LOOP_CLR_FD     0x4C01 > > Is there any particular reason you define this here? To me it appears > that linux/loop.h is perfectly fit to be i

Re: [systemd-devel] [PATCH 2/4] Adding unmount functions to be used in shutdown

2010-10-07 Thread Kay Sievers
On Thu, Oct 7, 2010 at 06:03, wrote: > +        if (udev_enumerate_add_match_subsystem(e, "block") < 0) { > +                r = -EIO; > +                goto finish; > +        } > + > +        if (udev_enumerate_scan_devices(e) < 0) { > +                r = -EIO; > +                goto finish;

Re: [systemd-devel] [PATCH 2/4] Adding unmount functions to be used in shutdown

2010-10-07 Thread Kay Sievers
On Thu, Oct 7, 2010 at 13:24, wrote: > +static int loopback_list_get(MountPoint **loopback_list_head) { > +        int r; > +        struct udev *udev; > +        struct udev_enumerate *e = NULL; > +        struct udev_list_entry *item = NULL, *first = NULL; > + > +        if (!(udev = udev_new()

Re: [systemd-devel] Is removal of kbrequest.target intentional?

2010-10-08 Thread Kay Sievers
On Fri, Oct 8, 2010 at 18:25, Andrey Borzenkov wrote: > Commit 45cf9716724eb949982d311e94cbd257b7b387bc removed > /etc/systemd/system/kbrequest.target, but there is nothing in log; it > only mentions: Yeah, it should not be in the default for security reasons. People can enable it, but only if th

Re: [systemd-devel] Log of all processes

2010-10-25 Thread Kay Sievers
On Mon, Oct 25, 2010 at 13:27, Gustavo Sverzut Barbieri wrote: > It boots into my Enlightenment17 with pid around 500, > with a hack to ignore some acpid udev modprobes I can get it to 300). Yeah, it's acpi in /sys (not the deprecated daemon acpid). After you mentioned it on IRC a while back and

Re: [systemd-devel] [PATCH 3/3] units: Ubuntu has different mount options for /var/lock & /var/run

2010-10-25 Thread Kay Sievers
On Mon, Oct 25, 2010 at 15:24, Andrew Edmunds wrote: > +Where=/var/lock > +Type=tmpfs > +m4_dnl > +m4_ifdef(`TARGET_UBUNTU', > +`Options=nosuid,nodev,noexec', > +`Options=mode=775,gid=lock') Are you sure that /var/lock is world-writable? That's something that should be fixed on Ubuntu, I guess.

Re: [systemd-devel] [PATCH] do not overwrite other udev tags

2010-11-02 Thread Kay Sievers
On Tue, Nov 2, 2010 at 17:45, Andrey Borzenkov wrote: > Systemd was unconditionally replacing all tags with own. > The net effect was udev-acl tag was lost and devices were > not given proper ACLs, making them inaccessible. Applied. Thanks, Kay ___ sys

Re: [systemd-devel] [PATCH] vconsole: properly set terminal UTF-8 mode

2010-11-05 Thread Kay Sievers
On Fri, Nov 5, 2010 at 15:35, Andrey Borzenkov wrote: > We cannot assume terminal is in UTF-8 (actually, unless > setup by initrd it likely is not). Properly set requested > mode. This avoids errors similar to Why isn't it utf8 by default? That should have been changed long ago: http://lkml.or

Re: [systemd-devel] [PATCH] vconsole: properly set terminal UTF-8 mode

2010-11-05 Thread Kay Sievers
On Fri, Nov 5, 2010 at 16:58, Andrey Borzenkov wrote: > On Fri, Nov 5, 2010 at 6:10 PM, Kay Sievers wrote: >> On Fri, Nov 5, 2010 at 15:35, Andrey Borzenkov wrote: >>> We cannot assume terminal is in UTF-8 (actually, unless >>> setup by initrd it likely is not). Prop

Re: [systemd-devel] systemd-remount-api-vfs fails for me

2010-11-11 Thread Kay Sievers
On Thu, Nov 11, 2010 at 10:34, Andreas Jaeger wrote: > > I noticed for some time that systemd-remount-api-vfs is in the failed state > and found now the following in the log files > > <4>[    3.063357] systemd[1]: systemd 11 running in system mode. (+PAM > +LIBWRAP +AUDIT +SELINUX +SYSVINIT; sus

Re: [systemd-devel] ge...@.service.m4 and serial-ge...@.service.m4

2010-11-11 Thread Kay Sievers
On Thu, Nov 11, 2010 at 00:37, Lennart Poettering wrote: > On Wed, 03.11.10 22:49, Andrew Edmunds (andrew.edmu...@yahoo.com.au) wrote: >> A few points about these two source files. >> >> 1. ge...@.service.m4 has: >> > m4_ifdef(`TARGET_FEDORA', `m4_define(`GETTY', `/sbin/agetty 38400')')m4_dnl >>

Re: [systemd-devel] ge...@.service.m4 and serial-ge...@.service.m4

2010-11-11 Thread Kay Sievers
On Thu, Nov 11, 2010 at 12:39, Andrew Edmunds wrote: > Kay Sievers wrote: >> Michael, any chance to check if it's possible to avoid the mangling of >> common util-linux tool names, and get a symlink in Debian package? >> After that we can drop the ifdef stuff here. >

Re: [systemd-devel] [PATCH] man: Fix various typos

2010-11-11 Thread Kay Sievers
On Thu, Nov 11, 2010 at 13:30, Andrew Edmunds wrote: >  man/systemd.exec.xml    |   19 ++- >  man/systemd.service.xml |    6 +++--- >  man/systemd.unit.xml    |    2 +- >  man/systemd.xml         |   12 ++-- >  4 files changed, 20 insertions(+), 19 deletions(-) Applied. T

Re: [systemd-devel] ge...@.service.m4 and serial-ge...@.service.m4

2010-11-12 Thread Kay Sievers
On Thu, Nov 11, 2010 at 20:08, Lennart Poettering wrote: > On Thu, 11.11.10 12:50, Kay Sievers (kay.siev...@vrfy.org) wrote: > >> > Anyway, the point of this was only to have getty start late(ish) in >> > the boot process, after most of the other services that are

Re: [systemd-devel] ge...@.service.m4 and serial-ge...@.service.m4

2010-11-12 Thread Kay Sievers
On Thu, Nov 11, 2010 at 20:10, Lennart Poettering wrote: > On Thu, 11.11.10 14:06, Andreas Jaeger (a...@novell.com) wrote: > >> >> On Thursday 11 November 2010 12:50:44 Kay Sievers wrote: >> > [...] >> > > Anyway, the point of this was only to have getty sta

Re: [systemd-devel] ge...@.service.m4 and serial-ge...@.service.m4

2010-11-12 Thread Kay Sievers
On Fri, Nov 12, 2010 at 03:19, LaMont Jones wrote: > On Thu, Nov 11, 2010 at 12:49:11PM +0100, Michael Biebl wrote: >> > We can ask, but it has been that way for at least a decade so I'm >> > guessing it's unlikely to be changed now. See this Debian bug from >> > 2001, marked wontfix. >> > http://

Re: [systemd-devel] ge...@.service.m4 and serial-ge...@.service.m4

2010-11-12 Thread Kay Sievers
On Thu, Nov 11, 2010 at 00:37, Lennart Poettering wrote: >> 2. serial-ge...@.service.m4 invokes agetty with option "-s", which >> seems to have been recently added to agetty at Lennart's request. >> getty on Debian/Ubuntu doesn't have that option yet and I would >> guess that other distros may be

Re: [systemd-devel] ge...@.service.m4 and serial-ge...@.service.m4

2010-11-14 Thread Kay Sievers
On Sun, Nov 14, 2010 at 19:49, Tollef Fog Heen wrote: > ]] Kay Sievers > > | /etc/rc.local should not be in the default setup, it's legacy only > | some distros did, and it does not make much sense in the systemd > | context, especially not to run an empty shell script. :)

Re: [systemd-devel] [PATCH] Don't require vala if gtk is disabled

2010-11-16 Thread Kay Sievers
On Tue, Nov 16, 2010 at 23:50, Lucas De Marchi wrote: > On Tue, Nov 16, 2010 at 8:04 PM, Lennart Poettering > wrote: >> On Tue, 16.11.10 11:47, Lucas De Marchi (lucas.demar...@profusion.mobi) >> wrote: >> >> Vala is actually not required for building the tarball, since the >> tarball includes ge

Re: [systemd-devel] [PATCH] buildsys: allow building without libnotify

2010-11-24 Thread Kay Sievers
On Wed, Nov 24, 2010 at 08:36, Thierry Reding wrote: > This patch makes the libnotify dependency optional and doesn't build the > systemd-gnome-ask-password-agent utility if libnotify is not available. > > Since libnotify >= 0.7.0 requires gtk+-3.0, this patch may be useful for > environments wher

Re: [systemd-devel] [PATCH] buildsys: allow building without libnotify

2010-11-24 Thread Kay Sievers
On Wed, Nov 24, 2010 at 15:12, Matthias Clasen wrote: > On Wed, Nov 24, 2010 at 5:57 AM, Kay Sievers wrote: >> On Wed, Nov 24, 2010 at 08:36, Thierry Reding >> wrote: >>> This patch makes the libnotify dependency optional and doesn't build the >>> syste

Re: [systemd-devel] [PATCH] buildsys: allow building without libnotify

2010-11-24 Thread Kay Sievers
On Wed, Nov 24, 2010 at 15:50, Matthias Clasen wrote: > On Wed, Nov 24, 2010 at 9:21 AM, Kay Sievers wrote: > >>> libnotify 0.7 does not require gtk at all. >> >> Hmm, whatever it is, there is an incompatible change, and the old an >> the new version can not b

Re: [systemd-devel] [PATCH] buildsys: allow building without libnotify

2010-11-24 Thread Kay Sievers
On Wed, Nov 24, 2010 at 16:02, Matthias Clasen wrote: > On Wed, Nov 24, 2010 at 9:56 AM, Kay Sievers wrote: >> >>> Of course, distributions may still decide the other way, and introduce >>> a libnotify06 package... >> >> Sure, that's the default f

Re: [systemd-devel] [PATCH] buildsys: allow building without libnotify

2010-11-25 Thread Kay Sievers
On Wed, 2010-11-24 at 21:20 +0100, Lennart Poettering wrote: > On Wed, 24.11.10 11:57, Kay Sievers (kay.siev...@vrfy.org) wrote: > > On Wed, Nov 24, 2010 at 08:36, Thierry Reding > > wrote: > > > This patch makes the libnotify dependency optional and doesn't buil

Re: [systemd-devel] fsck and -l switch

2010-11-25 Thread Kay Sievers
On Thu, Nov 25, 2010 at 22:15, Tomasz Torcz wrote: > On Thu, Nov 25, 2010 at 09:44:41PM +0100, Andrej Gelenberg wrote: >> Hi, >> >> -l break fsch*.service for me. fsck.ext4 don't like it. Besides why -l? >> From man e2fsck: >> >> -l filename >>               Add the block numbers listed in the fil

Re: [systemd-devel] [PATCH] buildsys: allow building without libnotify

2010-11-25 Thread Kay Sievers
On Thu, 2010-11-25 at 21:53 +0300, Andrey Borzenkov wrote: > On Thu, Nov 25, 2010 at 8:49 PM, Kay Sievers wrote: > > On Wed, 2010-11-24 at 21:20 +0100, Lennart Poettering wrote: > >> On Wed, 24.11.10 11:57, Kay Sievers (kay.siev...@vrfy.org) wrote: > >> > On Wed,

Re: [systemd-devel] preparing unit definition for squid – some questions

2010-11-26 Thread Kay Sievers
On Fri, Nov 26, 2010 at 13:04, Gustavo Sverzut Barbieri wrote: > 2010/11/26 Tomasz Torcz : >> On Thu, Nov 25, 2010 at 09:31:55PM -0200, Gustavo Sverzut Barbieri wrote: >>> On Thu, Nov 25, 2010 at 7:43 PM, Tomasz Torcz wrote: >>> > Hi, >>> > >>> >  I'm slowly porting init scripts of software I use

Re: [systemd-devel] [PATCH] buildsys: allow building without libnotify

2010-11-26 Thread Kay Sievers
On Fri, 2010-11-26 at 00:45 +0100, Kay Sievers wrote: > On Thu, 2010-11-25 at 21:53 +0300, Andrey Borzenkov wrote: > > On Thu, Nov 25, 2010 at 8:49 PM, Kay Sievers wrote: > > > On Wed, 2010-11-24 at 21:20 +0100, Lennart Poettering wrote: > > >> On Wed, 24.11.1

Re: [systemd-devel] [PATCH] buildsys: allow building without libnotify

2010-11-26 Thread Kay Sievers
On Fri, Nov 26, 2010 at 16:47, Kay Sievers wrote: > On Fri, 2010-11-26 at 00:45 +0100, Kay Sievers wrote: >> On Thu, 2010-11-25 at 21:53 +0300, Andrey Borzenkov wrote: >> > On Thu, Nov 25, 2010 at 8:49 PM, Kay Sievers wrote: >> > > On Wed, 2010-11-24 at 21:20 +

Re: [systemd-devel] Missing shared library for functions of sd-daemon.c

2010-11-26 Thread Kay Sievers
On Fri, Nov 26, 2010 at 18:56, Gustavo Sverzut Barbieri wrote: > On Fri, Nov 26, 2010 at 2:17 PM, Dr. Werner Fink wrote: >> just what the subject says, I'm missing a shared library which >> shares the functions of sd-daemon.c. Then the developers here >> around could remove the several copies of

Re: [systemd-devel] Missing shared library for functions of sd-daemon.c

2010-11-26 Thread Kay Sievers
On Fri, Nov 26, 2010 at 19:40, Michael Biebl wrote: > 2010/11/26 Kay Sievers : > >> The main issue is build dependencies, systemd links against udev, >> D-Bus, ... and udev, D-Bus, ... would link against systemd. That would >> need to be sorted out. > > If it's

Re: [systemd-devel] fsck and -l switch

2010-11-26 Thread Kay Sievers
On Fri, Nov 26, 2010 at 07:12, Ozan Çağlayan wrote: > Cuma 26 Kasım 2010 günü (saat 07:40:32) Andrey Borzenkov şunları yazmıştı: >> On Fri, Nov 26, 2010 at 12:19 AM, Kay Sievers wrote: > >> Well, it is not available in any released version of util-linux-ng, so >> it is h

  1   2   3   4   5   6   7   8   9   10   >