Re: [systemd-devel] [PATCH v2] 98integrity: Use /etc/ima as dir for IMA policy and config file

2016-11-30 Thread Harald Hoyer
On 30.11.2016 16:24, Stefan Berger wrote: > On 11/30/2016 10:16 AM, Harald Hoyer wrote: >> On 30.11.2016 16:10, Stefan Berger wrote: >>> From: Stefan Berger >>> >>> To sync with systemd, use the filepath /etc/ima/ima-policy as >>> the file location for

Re: [systemd-devel] [PATCH v2] 98integrity: Use /etc/ima as dir for IMA policy and config file

2016-11-30 Thread Harald Hoyer
On 30.11.2016 16:10, Stefan Berger wrote: > From: Stefan Berger > > To sync with systemd, use the filepath /etc/ima/ima-policy as > the file location for the IMA policy. At the same time we > move the ima config file location to /etc/ima/ima. Adapt the > documentation to the new path. > > Signed

Re: [systemd-devel] [PATCH] 98integrity: Use /etc/ima/ima-policy as file location for IMA policy

2016-11-30 Thread Harald Hoyer
On 30.11.2016 15:05, Stefan Berger wrote: > From: Stefan Berger > > To sync with systemd, use the filepath /etc/ima/ima-policy as > the file location for the IMA policy. > > Signed-off-by: Stefan Berger > --- > modules.d/98integrity/ima-policy-load.sh | 7 ++- > 1 file changed, 6 insertion

Re: [systemd-devel] systemd hibernator generator does not function on default Fedora install

2016-04-21 Thread Harald Hoyer
On 20.04.2016 06:47, Chris Murphy wrote: > On Tue, Apr 19, 2016 at 4:10 AM, Lennart Poettering > wrote: > >> >> So what precisely are you proposing? That we actively search for the >> swap partition in the hibernate-resume generator? > > I think the main thing James is after, I know I'm in this

Re: [systemd-devel] systemd hibernator generator does not function on default Fedora install

2016-04-19 Thread Harald Hoyer
Am 19.04.2016 um 12:10 schrieb Lennart Poettering: > On Mon, 18.04.16 23:19, James Hogarth (james.hoga...@gmail.com) wrote: > >> Hi all, >> >> There's been some discussion today about the impact of >> https://bugzilla.redhat.com/show_bug.cgi?id=1206936 and where the problem >> actually lies. >> >>

Re: [systemd-devel] [PATCH] v3 Read NIC partitions on Dell Servers

2015-11-25 Thread Harald Hoyer
On 10.11.2015 21:57, jhar...@gmail.com wrote: > +char path[256]; Is that on the safe side? ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

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

2015-10-13 Thread Harald Hoyer
On 13.10.2015 14:08, Panu Matilainen wrote: > On 09/30/2015 08:43 PM, Flavio Leitner wrote: >> On Tue, Sep 29, 2015 at 12:30:54AM +0300, Mantas Mikulėnas wrote: >>> I wonder if this could be handled with a generic Type=oneshot, >>> ExecStart=driverctl bind foo... >> >> Could you elaborate more on t

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

2015-10-13 Thread Harald Hoyer
On 13.10.2015 14:08, Panu Matilainen wrote: > On 09/30/2015 08:43 PM, Flavio Leitner wrote: >> On Tue, Sep 29, 2015 at 12:30:54AM +0300, Mantas Mikulėnas wrote: >>> I wonder if this could be handled with a generic Type=oneshot, >>> ExecStart=driverctl bind foo... >> >> Could you elaborate more on t

Re: [systemd-devel] Help needed for optimizing my boot time

2015-07-16 Thread Harald Hoyer
On 11.06.2015 16:54, Francis Moreau wrote: > On 06/11/2015 01:40 PM, Andrei Borzenkov wrote: >> On Thu, Jun 11, 2015 at 2:26 PM, Francis Moreau >> wrote: > >$ systemd-analyze critical-chain > >graphical.target @7.921s > multi-user.target @7.921s >autof

Re: [systemd-devel] Improve boot-time of systemd-based device, revisited

2015-06-15 Thread Harald Hoyer
On 14.06.2015 15:17, cee1 wrote: > Hi all, > > I've recently got another chance to improve the boot-time of a > systemd-based device. I'd like to share the experience here, and some > thoughts and questions. > > The first time I tried to improve the boot-time of systemd: > http://lists.freedeskto

Re: [systemd-devel] [PATCH v2] selinux: fix missing SELinux unit access check

2015-06-10 Thread Harald Hoyer
Am 10.06.2015 um 08:05 schrieb systemd github import bot: > Patchset imported to github. > To create a pull request, one of the main developers has to initiate one via: >

Re: [systemd-devel] Use a specific device ?

2015-06-05 Thread Harald Hoyer
On 05.06.2015 15:41, poma wrote: > On 05.06.2015 15:29, Harald Hoyer wrote: >> On 05.06.2015 15:28, Mantas Mikulėnas wrote: >>> On Fri, Jun 5, 2015 at 4:22 PM, Harald Hoyer >> <mailto:harald.ho...@gmail.com>> wrote: >>> >>> On 05.06.2015 15:

Re: [systemd-devel] Use a specific device ?

2015-06-05 Thread Harald Hoyer
On 05.06.2015 15:28, Mantas Mikulėnas wrote: > On Fri, Jun 5, 2015 at 4:22 PM, Harald Hoyer <mailto:harald.ho...@gmail.com>> wrote: > > On 05.06.2015 15:09, poma wrote: > > On 05.06.2015 14:14, Jean-Christian de Rivaz wrote: > >> Le 05. 06. 15

Re: [systemd-devel] Use a specific device ?

2015-06-05 Thread Harald Hoyer
On 05.06.2015 15:09, poma wrote: > On 05.06.2015 14:14, Jean-Christian de Rivaz wrote: >> Le 05. 06. 15 13:18, Aleksander Morgado a écrit : >>> On Tue, May 26, 2015 at 12:19 AM, Jean-Christian de Rivaz >>> wrote: I have a system where the modem have multiple /dev/ttyACMx ports where x is >>>

Re: [systemd-devel] [PATCH] cryptsetup: craft a unique ID with the source device

2015-05-29 Thread Harald Hoyer
Am 29.05.2015 um 17:04 schrieb Lennart Poettering: > On Fri, 29.05.15 12:17, har...@redhat.com (har...@redhat.com) wrote: > >> >> +static char* disk_maj_min(const char *path) { > > I'd really not abbreivate things here... call it "major" and > "minor". there's no point in saving two "or"s... >

Re: [systemd-devel] [PATCH] cryptsetup: craft a unique ID with the source device

2015-05-29 Thread Harald Hoyer
Am 29.05.2015 um 16:38 schrieb Lennart Poettering: > On Fri, 29.05.15 16:30, Harald Hoyer (har...@redhat.com) wrote: > >> Am 29.05.2015 um 16:26 schrieb Lennart Poettering: >>> On Fri, 29.05.15 12:17, har...@redhat.com (har...@redhat.com) wrote: >>> >>

Re: [systemd-devel] [PATCH] cryptsetup: craft a unique ID with the source device

2015-05-29 Thread Harald Hoyer
Am 29.05.2015 um 16:45 schrieb Dimitri John Ledkov: > On 29 May 2015 at 11:17, wrote: >> From: Harald Hoyer >> >> If cryptsetup is called with a source device as argv[3], then craft the >> ID for the password agent with a unique device path. >> > > I&

Re: [systemd-devel] [PATCH] cryptsetup: craft a unique ID with the source device

2015-05-29 Thread Harald Hoyer
Am 29.05.2015 um 16:26 schrieb Lennart Poettering: > On Fri, 29.05.15 12:17, har...@redhat.com (har...@redhat.com) wrote: > >> From: Harald Hoyer >> >> If cryptsetup is called with a source device as argv[3], then craft the >> ID for the password agent with

Re: [systemd-devel] [PATCH] udev: Restore udevadm settle timeout

2015-05-07 Thread Harald Hoyer
On 20.04.2015 10:33, David Herrmann wrote: > Hi > > On Sat, Apr 11, 2015 at 9:38 PM, Nir Soffer wrote: >> On Sat, Apr 11, 2015 at 1:36 PM, David Herrmann >> wrote: @@ -139,6 +142,9 @@ static int adm_settle(struct udev *udev, int argc, char *argv[]) { bre

Re: [systemd-devel] [PATCH] Generate a fake systemd-fsck-root.service in the initramfs

2015-05-06 Thread Harald Hoyer
On 06.05.2015 15:58, Zbigniew Jędrzejewski-Szmek wrote: > On Wed, May 06, 2015 at 03:50:08PM +0200, Harald Hoyer wrote: >> Works for me... booted with "ro" on the kernel cmdline: >> >> $ systemctl status systemd-fsck-root.service >> ● systemd-fsck-root.servi

Re: [systemd-devel] [PATCH] Generate a fake systemd-fsck-root.service in the initramfs

2015-05-06 Thread Harald Hoyer
Works for me... booted with "ro" on the kernel cmdline: $ systemctl status systemd-fsck-root.service ● systemd-fsck-root.service - File System Check on Root Device Loaded: loaded (/usr/lib/systemd/system/systemd-fsck-root.service; static; vendor preset: disabled) Active: inactive (dead) sinc

Re: [systemd-devel] [PATCH] Generate a fake systemd-fsck-root.service in the initramfs

2015-05-06 Thread Harald Hoyer
On 06.05.2015 07:26, Zbigniew Jędrzejewski-Szmek wrote: > In the initramfs, we run systemd-fsck@.service. > In the real system we run systemd-fsck-root.service. Generate > a fake systemd-fsck-root.service if we are running a unit check > for the root file system. We don't really care if the real fs

Re: [systemd-devel] [PATCH 3/3] Use a stamp file to avoid running systemd-fsck-root.service twice

2015-05-05 Thread Harald Hoyer
On 05.05.2015 15:24, Zbigniew Jędrzejewski-Szmek wrote: > On Tue, May 05, 2015 at 10:48:48AM +0200, Harald Hoyer wrote: >> On 03.05.2015 17:33, Zbigniew Jędrzejewski-Szmek wrote: >>> On Sun, May 03, 2015 at 06:06:58PM +0300, Andrei Borzenkov wrote: >>>> В

Re: [systemd-devel] [PATCH 0/3] avoid running fsck twice

2015-05-05 Thread Harald Hoyer
On 02.05.2015 19:16, Zbigniew Jędrzejewski-Szmek wrote: > This is an attempt to fix the issue with fsck running twice. Patch 3/3 is > the only important one, the other two are nice-to-have. > > dracut configuration also has to be modified to include /bin/touch. > I'll work on a patch for that late

Re: [systemd-devel] [PATCH 3/3] Use a stamp file to avoid running systemd-fsck-root.service twice

2015-05-05 Thread Harald Hoyer
On 03.05.2015 17:33, Zbigniew Jędrzejewski-Szmek wrote: > On Sun, May 03, 2015 at 06:06:58PM +0300, Andrei Borzenkov wrote: >> В Sun, 3 May 2015 16:17:15 +0200 >> Lennart Poettering пишет: >> >>> On Sat, 02.05.15 13:16, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) >>> wrote: >>> >>> So, the la

Re: [systemd-devel] [GitHub] Patchset imported to github

2015-04-16 Thread Harald Hoyer
Am 16.04.2015 um 16:28 schrieb Tomasz Torcz: > On Thu, Apr 16, 2015 at 01:17:13PM -, systemd github import bot wrote: >> Patchset imported to github. >> Pull request: >> >> >> -- >>

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

2015-04-14 Thread Harald Hoyer
Am 08.04.2015 um 19:34 schrieb Marc-Antoine Perennou: > 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 deletions(-) >>> >>> diff --git a/Makefile.am b/Makefile.

Re: [systemd-devel] [PATCH] use dolt.m4 to speedup compilation

2015-03-06 Thread Harald Hoyer
On 06.03.2015 01:58, j...@joshtriplett.org wrote: > On Fri, Mar 06, 2015 at 12:55:38AM +0100, Michael Biebl wrote: >> 2015-03-05 11:58 GMT+01:00 : >>> From: Harald Hoyer >>> >>> The speedup is significant >>> >>> Original libtool >>&

Re: [systemd-devel] [PATCH] fstab-generator: mask systemd-fsck-root for /sysroot unit

2015-02-23 Thread Harald Hoyer
On 21.02.2015 12:44, Andrei Borzenkov wrote: > В Fri, 20 Feb 2015 12:24:33 +0100 > har...@redhat.com пишет: > >> From: Harald Hoyer >> >> If the fstab-generator generates a mount unit for /sysroot, we shall not >> run systemd-fsck-root in the

Re: [systemd-devel] Second (erroneous) check of rootfs?

2015-02-03 Thread Harald Hoyer
On 03.02.2015 00:44, Lennart Poettering wrote: > On Tue, 03.02.15 00:27, Lennart Poettering (lenn...@poettering.net) wrote: > >> On Thu, 08.01.15 16:34, Harald Hoyer (harald.ho...@gmail.com) wrote: >> >>> IMHO >>> >>> systemd-fsck-root.service sh

Re: [systemd-devel] root= ignored

2015-02-03 Thread Harald Hoyer
On 29.01.2015 17:38, Chris Murphy wrote: > On Thu, Jan 29, 2015 at 2:20 AM, Felix Miata wrote: >> I wrote "clone" for a reason. I don't "just copy" files. I clone (logical, >> root, autonomous) *partitions*, subsequently modifying only fstab, volume >> label and UUID before attempting boot from it

Re: [systemd-devel] [Patch 0/6] Small adjustments to make QEMU tests work under Debian/Ubuntu

2015-02-03 Thread Harald Hoyer
On 02.02.2015 17:48, Lennart Poettering wrote: > On Mon, 02.02.15 00:19, Martin Pitt (martin.p...@ubuntu.com) wrote: > >> Hey all, >> >> as discussed on the hackfest, I'd like to revive the QEMU/nspawn integration >> tests, such as adding one for EFI or swap discovery (cf. the bugs fixed last >> w

Re: [systemd-devel] Second (erroneous) check of rootfs?

2015-01-21 Thread Harald Hoyer
On 11.01.2015 12:57, Andrei Borzenkov wrote: > Does it using systemd *inside* of initrd? From upstream dracut: > > if ! dracut_module_included "systemd"; then > inst_hook cmdline 95 "$moddir/parse-block.sh" > inst_hook pre-udev 30 "$moddir/block-genrules.sh" > inst_hook

Re: [systemd-devel] [PATCH] Add support for "ROOT=" on the kernel command line

2015-01-16 Thread Harald Hoyer
On 15.01.2015 17:40, Harald Hoyer wrote: > On 15.01.2015 16:51, Harald Hoyer wrote: >> On 15.01.2015 16:45, Harald Hoyer wrote: >>> On 15.01.2015 16:24, har...@redhat.com wrote: >>>> From: Harald Hoyer >>>> >>>> "ROOT=" mounts t

Re: [systemd-devel] [PATCH] Add support for "ROOT=" on the kernel command line

2015-01-15 Thread Harald Hoyer
On 15.01.2015 16:51, Harald Hoyer wrote: > On 15.01.2015 16:45, Harald Hoyer wrote: >> On 15.01.2015 16:24, har...@redhat.com wrote: >>> From: Harald Hoyer >>> >>> "ROOT=" mounts the initial ramdisk with a tmpfs filesystem. >> >> Ok, not

Re: [systemd-devel] [PATCH] Add support for "ROOT=" on the kernel command line

2015-01-15 Thread Harald Hoyer
On 15.01.2015 16:45, Harald Hoyer wrote: > On 15.01.2015 16:24, har...@redhat.com wrote: >> From: Harald Hoyer >> >> "ROOT=" mounts the initial ramdisk with a tmpfs filesystem. > > Ok, not true. Omitting "root=" will mount the initial ramdisk as a t

Re: [systemd-devel] [PATCH] Add support for "ROOT=" on the kernel command line

2015-01-15 Thread Harald Hoyer
On 15.01.2015 16:24, har...@redhat.com wrote: > From: Harald Hoyer > > "ROOT=" mounts the initial ramdisk with a tmpfs filesystem. Ok, not true. Omitting "root=" will mount the initial ramdisk as a tmpfs filesystem, if tmpfs support is compiled in the kernel. Se

Re: [systemd-devel] systemctl status not showing still running processes in inactive .mount unit cgroups (NFS specifically)

2015-01-15 Thread Harald Hoyer
On 15.01.2015 10:28, Colin Guthrie wrote: > Although if the script is in bash I'd use "if [ -d ..." rather than "if > test -d ..." as (and bash experts (Harald?) can correct me here if I'm > wrong) I believe [ is a bash built in (even if it is a binary in > /usr/bin/), whereas it would have to for

Re: [systemd-devel] Second (erroneous) check of rootfs?

2015-01-08 Thread Harald Hoyer
On 08.01.2015 18:30, Andrei Borzenkov wrote: > В Thu, 08 Jan 2015 17:12:25 +0100 > Harald Hoyer пишет: > >> On 08.01.2015 16:55, Lennart Poettering wrote: >>> On Thu, 08.01.15 16:34, Harald Hoyer (harald.ho...@gmail.com) wrote: >>> >>>> IMHO >>

Re: [systemd-devel] Second (erroneous) check of rootfs?

2015-01-08 Thread Harald Hoyer
On 08.01.2015 16:55, Lennart Poettering wrote: > On Thu, 08.01.15 16:34, Harald Hoyer (harald.ho...@gmail.com) wrote: > >> IMHO >> >> systemd-fsck-root.service should be removed entirely and generated by the >> fstab-generator in the real root like all the other

Re: [systemd-devel] Second (erroneous) check of rootfs?

2015-01-08 Thread Harald Hoyer
On 08.01.2015 07:18, Andrei Borzenkov wrote: > В Wed, 07 Jan 2015 23:23:27 -0300 > Cristian Rodríguez пишет: > >> El 07/01/15 a las 22:55, Nikolai Zhubr escribió: >>> 08.01.2015 4:12, Cristian Rodríguez: El 07/01/15 a las 21:43, Lennart Poettering escribió: > Maybe suse forgot to in

Re: [systemd-devel] Problem with shutdown and automount units

2014-12-08 Thread Harald Hoyer
On 08.12.2014 15:24, Lennart Poettering wrote: > On Mon, 08.12.14 11:54, Harald Hoyer (har...@redhat.com) wrote: > >> Today I changed the dracut-shutdown.service [1] to do its job on ExecStop, >> This was done, to order the action before local-fs.target is stopped. Mainly &

Re: [systemd-devel] Problem with shutdown and automount units

2014-12-08 Thread Harald Hoyer
On 08.12.2014 14:21, Harald Hoyer wrote: > On 08.12.2014 13:28, Dave Reisner wrote: >> >> On Dec 8, 2014 5:54 AM, "Harald Hoyer" > <mailto:har...@redhat.com>> wrote: >>> >>> Today I changed the dracut-shutdown.service [1] to do its job on

Re: [systemd-devel] Problem with shutdown and automount units

2014-12-08 Thread Harald Hoyer
On 08.12.2014 13:28, Dave Reisner wrote: > > On Dec 8, 2014 5:54 AM, "Harald Hoyer" <mailto:har...@redhat.com>> wrote: >> >> Today I changed the dracut-shutdown.service [1] to do its job on ExecStop, >> This was done, to order the action before local

[systemd-devel] Problem with shutdown and automount units

2014-12-08 Thread Harald Hoyer
Today I changed the dracut-shutdown.service [1] to do its job on ExecStop, This was done, to order the action before local-fs.target is stopped. Mainly to run before boot.automount / boot.mount is stopped. Works so far, but, if boot was _not_ yet automounted on shutdown, the boot.automount is bloc

Re: [systemd-devel] [PATCH] 60-persistent-storage.rules: ignore partitions with ID_FS_TYPE of parent

2014-12-05 Thread Harald Hoyer
On 05.12.2014 08:20, Andrei Borzenkov wrote: > В Thu, 04 Dec 2014 18:24:11 +0100 > Harald Hoyer пишет: > >> On 04.12.2014 18:19, Andrei Borzenkov wrote: >>> В Thu, 04 Dec 2014 15:14:00 +0100 >>> Harald Hoyer пишет: >>> >>>> On 04.12.2014

Re: [systemd-devel] [PATCH] 60-persistent-storage.rules: ignore partitions with ID_FS_TYPE of parent

2014-12-04 Thread Harald Hoyer
On 04.12.2014 18:19, Andrei Borzenkov wrote: > В Thu, 04 Dec 2014 15:14:00 +0100 > Harald Hoyer пишет: > >> On 04.12.2014 15:10, Zbigniew Jędrzejewski-Szmek wrote: >>> On Thu, Dec 04, 2014 at 12:57:36PM +0100, har...@redhat.com wrote: >>>> From: Harald Hoyer

Re: [systemd-devel] [PATCH] 60-persistent-storage.rules: ignore partitions with ID_FS_TYPE of parent

2014-12-04 Thread Harald Hoyer
On 04.12.2014 15:10, Zbigniew Jędrzejewski-Szmek wrote: > On Thu, Dec 04, 2014 at 12:57:36PM +0100, har...@redhat.com wrote: >> From: Harald Hoyer >> >> If ID_FS_TYPE of a parent is already set, >> then it's something like "linux_raid_member" or "

Re: [systemd-devel] [PATCH] udevd: SAS: use SAS addr + PHY id in by-path whenever possible.

2014-12-04 Thread Harald Hoyer
On 22.09.2014 11:48, Maurizio Lombardi wrote: > This patch changes the naming scheme for sas disks. The original names used > disk's sas address and lun, the new scheme uses sas address of the > nearest expander (if available) and a phy id of the used connection. > If no expander is used, the phy i

Re: [systemd-devel] udevd: increase maximum number of children

2014-11-28 Thread Harald Hoyer
On 28.11.2014 14:35, Robert Milasan wrote: > On Fri, 28 Nov 2014 14:28:31 +0100 > "Harald Hoyer" wrote: > >> >> I think what we are seeing here is, that module loading saturates the >> udev workers here. So there are at least 16 modprobes (kmod) running >

Re: [systemd-devel] udevd: increase maximum number of children

2014-11-28 Thread Harald Hoyer
On 28.11.2014 14:09, Harald Hoyer wrote: > On 28.11.2014 13:59, Robert Milasan wrote: >> On Fri, 28 Nov 2014 13:51:04 +0100 >> "Tom Gundersen" wrote: >> >>>> Also the patch changes the logging level of 'maximum number of >>>> child

Re: [systemd-devel] udevd: increase maximum number of children

2014-11-28 Thread Harald Hoyer
On 28.11.2014 08:57, Robert Milasan wrote: > Hello, since a while back, there was a commit (haven't found it) which > limits the number of children/workers to 8 + * 2, which in a > normal case like a 4 core/cpu machine is 16 children/workers. > > This limit is way too low even for a single core V

Re: [systemd-devel] udevd: increase maximum number of children

2014-11-28 Thread Harald Hoyer
On 28.11.2014 13:59, Robert Milasan wrote: > On Fri, 28 Nov 2014 13:51:04 +0100 > "Tom Gundersen" wrote: > >>> Also the patch changes the logging level of 'maximum number of >>> children reached' to an error, this should be visible as an error >>> when the number has been reached. >> >> I don't

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

2014-11-06 Thread Harald Hoyer
On 09.09.2014 17:01, Colin Guthrie wrote: > Tobias Hunger wrote on 05/09/14 19:34: >> Any place that you would care to recomend? It would suck to have each >> distro put kernels somewhere else. > > Good question. > > On Mageia and Fedora (at least originally, not sure if it's changed > recently),

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

2014-11-06 Thread Harald Hoyer
On 22.10.2014 21:08, Tobias Hunger wrote: > Hi Lennart, > > On Wed, Oct 22, 2014 at 7:03 PM, Lennart Poettering > wrote: >> Sorry for the late response, been travelling for a month, and then >> have been more travelling, and still trying to process all the mails >> that queued up since. > > No p

Re: [systemd-devel] [PATCH] switch_root: do not fail, if base_filesystem_create() failed

2014-11-06 Thread Harald Hoyer
On 04.11.2014 19:17, Daniel Buch wrote: > I think you might want to cast it to avoid compiler warning. Like: > (void) base_filesystem_create() > > Den 04/11/2014 17.36 skrev mailto:har...@redhat.com>>: > > From: Harald Hoyer mailto:har...@redhat.com>> > &g

Re: [systemd-devel] [PATCH] s/commandline/command line/g

2014-11-06 Thread Harald Hoyer
On 05.11.2014 14:56, har...@redhat.com wrote: > From: Harald Hoyer > > --- > TODO | 2 +- > m4/attributes.m4 | 2 +- > man/systemd-bootchart.xml | 4 ++-- > man/systemd-delta.xml

Re: [systemd-devel] [PATCH] fstab-generator: Honor usr=, usrfstype= and usrflags=

2014-10-24 Thread Harald Hoyer
On 24.09.2014 22:08, Tobias Hunger wrote: > From f3a193de94959875cd1d83f941ed8fc8275c82eb Mon Sep 17 00:00:00 2001 > From: Tobias Hunger > Date: Wed, 24 Sep 2014 21:57:00 +0200 > Subject: [PATCH] fstab-generator: Honor usr=, usrfstype= and usrflags= on > kernel command line > > This allows to co

Re: [systemd-devel] [PATCH] fstab-generator: Honor usr=, usrfstype= and usrflags=

2014-10-09 Thread Harald Hoyer
On 09.10.2014 16:24, Harald Hoyer wrote: > On 09.10.2014 16:08, Lennart Poettering wrote: >> On Thu, 09.10.14 09:37, Tobias Hunger (tobias.hun...@gmail.com) wrote: >> >>> On Oct 8, 2014 2:15 PM, "Harald Hoyer" wrote: >>>>> What is the rationale of

Re: [systemd-devel] [PATCH] fstab-generator: Honor usr=, usrfstype= and usrflags=

2014-10-09 Thread Harald Hoyer
On 09.10.2014 16:08, Lennart Poettering wrote: > On Thu, 09.10.14 09:37, Tobias Hunger (tobias.hun...@gmail.com) wrote: > >> On Oct 8, 2014 2:15 PM, "Harald Hoyer" wrote: >>>> What is the rationale of this patch? >>>> Supporting systems without /etc

Re: [systemd-devel] [PATCH] fstab-generator: Honor usr=, usrfstype= and usrflags=

2014-10-09 Thread Harald Hoyer
On 09.10.2014 09:37, Tobias Hunger wrote: > > On Oct 8, 2014 2:15 PM, "Harald Hoyer" <mailto:harald.ho...@gmail.com>> wrote: >> > What is the rationale of this patch? >> > Supporting systems without /etc/fstab in the root device? >> > Overri

Re: [systemd-devel] [PATCH V7] use the switch_root function in shutdown

2014-08-28 Thread Harald Hoyer
On 28.08.2014 15:24, Lennart Poettering wrote: > On Thu, 28.08.14 15:23, har...@redhat.com (har...@redhat.com) wrote: > >> From: Harald Hoyer >> >> removes code duplication >> >> also move switch-root to shared > > > Looks good! Please

Re: [systemd-devel] [PATCH V2] use the switch_root function in shutdown

2014-08-21 Thread Harald Hoyer
On 21.08.2014 16:28, har...@redhat.com wrote: > From: Harald Hoyer > > removes code duplication > --- > > Removed all references to "/mnt" in switch_root() and the bogus comment. > > Makefile.am| 1 + > src/core/main.c|

Re: [systemd-devel] [PATCH] journalctl: add "-t --identifier=STRING" option

2014-08-21 Thread Harald Hoyer
On 19.08.2014 21:18, Ronny Chevalier wrote: > 2014-08-19 12:12 GMT+02:00 : >> From: Harald Hoyer >> >> This turns journalctl to the counterpart of systemd-cat. >> Messages sent with >> >> systemd-cat --identifier foo --prioritiy debug >> >> can

Re: [systemd-devel] eye of cylon / timeout timer is cut off

2014-08-15 Thread Harald Hoyer
On 14.08.2014 19:20, Zbigniew Jędrzejewski-Szmek wrote: > On Thu, Aug 14, 2014 at 06:44:03PM +0200, Michael Biebl wrote: >> 2014-08-14 18:36 GMT+02:00 Zbigniew Jędrzejewski-Szmek : >>> It would be more useful to remove the "/ 1min 30s" part. Maybe the cylon >>> code could be smart enough for that.

Re: [systemd-devel] Pairing udev's SYSTEMD_WANTS and systemd's templated units

2014-08-15 Thread Harald Hoyer
On 14.08.2014 17:27, Lennart Poettering wrote: > On Thu, 14.08.14 17:10, Harald Hoyer (harald.ho...@gmail.com) wrote: > >> >> On 14.08.2014 13:00, Lennart Poettering wrote: >>> On Thu, 14.08.14 10:02, Ivan Shapovalov (intelfx...@gmail.com) wrote: >>> >

Re: [systemd-devel] Pairing udev's SYSTEMD_WANTS and systemd's templated units

2014-08-14 Thread Harald Hoyer
On 14.08.2014 13:00, Lennart Poettering wrote: > On Thu, 14.08.14 10:02, Ivan Shapovalov (intelfx...@gmail.com) wrote: > >> The only thing: PROGRAM="...", ENV{SYSTEMD_WANTS}+="...%c..." idiom seems a >> pretty ugly way to invoke systemd-escape. This looks like a pretty common >> thing to do; shoul

Re: [systemd-devel] [PATCH] Added arch tuple for PPC64LE

2014-08-09 Thread Harald Hoyer
On 08.08.2014 16:56, har...@redhat.com wrote: > From: Harald Hoyer > > Thanks to Brent Baude , who checked with the debian > guys, that this is correct and provided the patch. > --- > src/shared/architecture.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > &

Re: [systemd-devel] failed to bring up bonding interface (dracut+system)

2014-05-28 Thread Harald Hoyer
On 24.05.2014 09:02, Vasiliy Tolstov wrote: > Hello. > I'm using dracut to create initramfs and systemd. > Dracut configures bond and all works fine, but then it shutdowns and > switch rooti, mac address of slave interfaces (eth0 and eth1) changed, > but bonding mac saves the same. After that bond

Re: [systemd-devel] [PATCH] core/cryptsetup: Add WantsMountFor option to enable fallback to password request for crypt mounts.

2014-05-27 Thread Harald Hoyer
On 21.05.2014 10:03, Lennart Poettering wrote: > On Sun, 18.05.14 19:36, Przemek Rudy (pru...@o2.pl) wrote: > >> diff --git a/src/core/automount.c b/src/core/automount.c >> index 65e6d6f..d4359b9 100644 >> --- a/src/core/automount.c >> +++ b/src/core/automount.c >> @@ -124,7 +124,7 @@ static int a

Re: [systemd-devel] [PATCH] udevadm-settle: fixed return code for empty queue

2014-05-20 Thread Harald Hoyer
On 20.05.2014 12:33, har...@redhat.com wrote: > From: Harald Hoyer > > If the udev queue is empty and "/run/udev/queue" does not exist, > "udevadm settle" would return with EXIT_FAILURE, because the inotify on > "/run/udev/queue" would fail with ENOEN

Re: [systemd-devel] [RFC PATCH] Fix so install will work without 'ln --relative' support

2014-05-16 Thread Harald Hoyer
On 16.05.2014 13:00, Kay Sievers wrote: > I do not think we should do such hacks in upstream systemd. > > It is a commonly available feature since quite some years, and > building without chroot on old systems is a bit too exotic to justify > carrying this rather large work around upstream. > > W

Re: [systemd-devel] [RFC PATCH] Fix so install will work without 'ln --relative' support

2014-05-16 Thread Harald Hoyer
On 16.05.2014 06:22, Zbigniew Jędrzejewski-Szmek wrote: > On Fri, May 16, 2014 at 12:30:45AM +0200, Lennart Poettering wrote: >> >> I'd really prefer if somebody who's a true shell guru could look over >> this. Harald? (Or Zbigniew?) > If I review it, do I get to become a true shell guru? ;) So..

Re: [systemd-devel] systemd freezes after rshd execution, if network connection is down

2014-04-29 Thread Harald Hoyer
Am 28.04.2014 13:33, schrieb Jimmy Assarsson: > Hi, > > We stumbled upon a freeze/block in systemd. > The problem occurs when a rshd (socket activated) execution is completed, the > network connection is down and systemd is closing the socket. > This causes a long (60 seconds) freeze where it's n

Re: [systemd-devel] [PATCH] systemctl: refuse to do kexec, if no kernel is loaded

2014-03-25 Thread Harald Hoyer
Am 24.03.2014 20:43, schrieb Lennart Poettering: > On Tue, 18.03.14 14:14, har...@redhat.com (har...@redhat.com) wrote: > >> From: Harald Hoyer >> >> Doing a kexec with no kernel loaded would currently issue a normal reboot. >> This might not be wanted, if the goal

Re: [systemd-devel] [PATCH 2/2] systemctl: for switch-root check, if we switch to a systemd init

2014-03-05 Thread Harald Hoyer
On 03/05/2014 02:55 PM, Zbigniew Jędrzejewski-Szmek wrote: > On Wed, Mar 05, 2014 at 02:37:47PM +0100, har...@redhat.com wrote: >> From: Harald Hoyer >> >> If "systemctl switch-root" is called with a specific "INIT" or >> /proc/cmdline contains "

Re: [systemd-devel] [PATCH] selinux: fix selinux check for transient units

2013-11-14 Thread Harald Hoyer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/05/2013 11:12 PM, Daniel J Walsh wrote: > On 11/05/2013 12:22 PM, Lennart Poettering wrote: > > Ok lets add a check that checks for start on a service labeled with the remote > process label, then we can add rules like > > allow systemd_logind_

Re: [systemd-devel] [PATCH 0/2] (dracut) hwdb needed in early boot for some keyboards

2013-11-14 Thread Harald Hoyer
On 11/14/2013 09:10 AM, Colin Guthrie wrote: > 'Twas brillig, and Alexander E. Patrakov at 13/11/13 19:02 did gyre and > gimble: >> 2013/11/14 Colin Guthrie : >>> What kernel are you using out of interest? >> >> This kernel is a git snapshot between 3.12.0-rc2 and -rc3. Compiled on >> Gentoo. > >

Re: [systemd-devel] [PATCH] build: lookup for the "mount" binary

2013-10-31 Thread Harald Hoyer
On 10/30/2013 09:25 PM, Cristian Rodríguez wrote: > El 30/10/13 15:34, Harald Hoyer escribió: >> On 10/30/2013 07:27 PM, Cristian Rodríguez wrote: >>> El mié 30 oct 2013 15:18:48 CLST, Tom Gundersen escribió: >>>> On Wed, Oct 30, 2013 at 7:12 PM, Cristian Rod

Re: [systemd-devel] [PATCH] build: lookup for the "mount" binary

2013-10-30 Thread Harald Hoyer
On 10/30/2013 07:27 PM, Cristian Rodríguez wrote: > El mié 30 oct 2013 15:18:48 CLST, Tom Gundersen escribió: >> On Wed, Oct 30, 2013 at 7:12 PM, Cristian Rodríguez >> wrote: >>> Real executable might be in /usr and not in /bin >> >> I'm not against the patch, but the justification seems lacking..

Re: [systemd-devel] [PATCH 2/2] kernel-install: add compat with 'installkernel'

2013-10-01 Thread Harald Hoyer
On 09/26/2013 12:38 AM, Tom Gundersen wrote: > If 'kernel-install' is called as 'installkernel' it will be compatible with > the > syntax used by the kernel's build system. > > This means it can be called by doing 'make install' in a kernel build > directory, if the correct symlink has been insta

Re: [systemd-devel] [PATCH 1/2] libudev: fix move_later comparison

2013-09-13 Thread Harald Hoyer
On 09/13/2013 03:25 PM, Harald Hoyer wrote: > On 09/13/2013 02:12 PM, Lukas Nykryn wrote: >> At the beginning move_later is set to -1, but it is set to different >> value only if expression !move_later is true. >> --- >> src/libudev/libudev-enumerate.c | 2 +- >>

Re: [systemd-devel] [PATCH 1/2] libudev: fix move_later comparison

2013-09-13 Thread Harald Hoyer
On 09/13/2013 02:12 PM, Lukas Nykryn wrote: > At the beginning move_later is set to -1, but it is set to different > value only if expression !move_later is true. > --- > src/libudev/libudev-enumerate.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/src/libudev/libudev-e

Re: [systemd-devel] [PATCH] cryptsetup-generator: allow specifying options in /proc/cmdline

2013-09-12 Thread Harald Hoyer
On 09/11/2013 05:35 PM, Lennart Poettering wrote: > On Mon, 19.08.13 00:15, Tom Gundersen (t...@jklm.no) wrote: > >> The main usecase for this is to make it possible to use cryptsetup in >> the initrd without it having to include a host-specific /etc/crypttab. > > Hmm, I contrast to Harald I thin

Re: [systemd-devel] [PATCH 1/7] filesystem targets: disable default dependencies

2013-09-11 Thread Harald Hoyer
On 09/10/2013 06:41 PM, Lennart Poettering wrote: > On Fri, 23.08.13 15:09, Tom Gundersen (t...@jklm.no) wrote: > >> This means we can use default dependencies on mount units without having to >> get them automatically >> ordered before the filesystem targets. > > Looks good. But before we merge

Re: [systemd-devel] Hackfest at Linux Plumbers Conference?

2013-09-10 Thread Harald Hoyer
On 09/10/2013 06:46 AM, David Strauss wrote: > On Wed, Aug 14, 2013 at 11:11 PM, Harald Hoyer wrote: >> Linux Foundation is looking into it. Right now they don't have space, but >> they >> are trying to find something for us. We should know early/mid next week. >

Re: [systemd-devel] [PATCH 2/2] systemd-coredump: Log crashes without coredumps on failure

2013-09-06 Thread Harald Hoyer
On 09/04/2013 03:27 PM, Andrew Cook wrote: > Make a best-effort attempt to store information about crashes during > failure, currently if these are encountered the crash is completely > silenced. > > ideally coredumpctl would show if a coredump is available. > > --- > src/journal/coredump.c | 7

Re: [systemd-devel] [PATCH 1/2] systemd-coredump: Ignore coredumps larger than COREDUMP_MAX

2013-09-06 Thread Harald Hoyer
On 09/04/2013 03:27 PM, Andrew Cook wrote: > Currently this check happens when the coredump has been collected in > it's entirety and being received by journald. this is not ideal > behaviour when the crashing process is consuming significant percentage > of physical memory such as a large instance

Re: [systemd-devel] [PATCH 1/2] journald: fix vacuuming of archived journals

2013-09-06 Thread Harald Hoyer
On 09/04/2013 02:12 PM, George McCollister wrote: > d_name is modified on line 227 so if the entire journal name is needed > again p must be used. Before this change when journal_file_empty was called > on archived journals it would always return with -2. > > Signed-off-by: George McCollister > -

Re: [systemd-devel] [PATCH 2/2] journald: fix fd leak in journal_file_empty

2013-09-06 Thread Harald Hoyer
On 09/04/2013 02:12 PM, George McCollister wrote: > Before my previous patch, journal_file_empty wasn't be called with the > correct filename. Now that it's being called with the correct filename > it leaks file descriptors. This patch closes the file descriptors before > returning. > > Signed-off

Re: [systemd-devel] [PATCH 2/3] mount: move device links handling from generator

2013-08-26 Thread Harald Hoyer
On 08/21/2013 03:46 PM, Tom Gundersen wrote: > On Wed, Aug 21, 2013 at 8:50 PM, Harald Hoyer wrote: >> On 08/21/2013 01:53 PM, Tom Gundersen wrote: >>> -if (!isbind && >>> -!path_equal(where, "/")) { >>&g

Re: [systemd-devel] [PATCH 2/3] mount: move device links handling from generator

2013-08-21 Thread Harald Hoyer
On 08/21/2013 01:53 PM, Tom Gundersen wrote: > -if (!isbind && > -!path_equal(where, "/")) { > - > -r = device_name(what, &device); > -if (r < 0) > -return r; > - > -

Re: [systemd-devel] [PATCH] cryptsetup-generator: allow specifying options in /proc/cmdline

2013-08-20 Thread Harald Hoyer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 08/19/2013 07:30 PM, Thomas Bächler wrote: > Am 19.08.2013 13:25, schrieb Thomas Bächler: >> Am 19.08.2013 11:58, schrieb Harald Hoyer: >>> On 08/19/2013 11:21 AM, Thomas Bächler wrote: >>>> Am 19.08.2013 10:34, schrie

Re: [systemd-devel] [PATCH] cryptsetup-generator: allow specifying options in /proc/cmdline

2013-08-19 Thread Harald Hoyer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 08/19/2013 11:21 AM, Thomas Bächler wrote: > Am 19.08.2013 10:34, schrieb Harald Hoyer: >> Hmm, the naming "luks.options" is IMHO poorly chosen. "options" as an >> option name... hmm. Also crypttab can contain

Re: [systemd-devel] [PATCH] cryptsetup-generator: allow specifying options in /proc/cmdline

2013-08-19 Thread Harald Hoyer
On 08/18/2013 06:15 PM, Tom Gundersen wrote: > The main usecase for this is to make it possible to use cryptsetup in > the initrd without it having to include a host-specific /etc/crypttab. > > Cc: Harald Hoyer > Tested-by: Thomas Bächler > --- > > Hi guys, > >

Re: [systemd-devel] Hackfest at Linux Plumbers Conference?

2013-08-14 Thread Harald Hoyer
On 08/14/2013 11:42 PM, David Strauss wrote: > However, I should ask if we have space formally reserved yet. I'm > willing to go in on costs here if we need that. Linux Foundation is looking into it. Right now they don't have space, but they are trying to find something for us. We should know earl

Re: [systemd-devel] [PATCH] journal: handle multiline syslog messages

2013-08-06 Thread Harald Hoyer
On 08/06/2013 11:32 AM, Harald Hoyer wrote: > On 08/05/2013 02:12 PM, Lennart Poettering wrote: >> On Thu, 01.08.13 12:22, har...@redhat.com (har...@redhat.com) wrote: >> >>> From: Harald Hoyer >>> >>> Since the journal can handle multiple lines

Re: [systemd-devel] [PATCH] journal: handle multiline syslog messages

2013-08-06 Thread Harald Hoyer
On 08/05/2013 02:12 PM, Lennart Poettering wrote: > On Thu, 01.08.13 12:22, har...@redhat.com (har...@redhat.com) wrote: > >> From: Harald Hoyer >> >> Since the journal can handle multiple lines just well natively, >> and rsyslog can be configured to handle them a

Re: [systemd-devel] macros in systemd unit files question

2013-08-01 Thread Harald Hoyer
On 08/01/2013 12:53 PM, lux-integ wrote: > On Wednesday 31 July 2013 14:36:25 Colin Guthrie wrote: >> Mount units have to be named specially after their mount points, so be >> careful there e.g. if the mount point is /mnt/mymountpoint then the unit >> should be called mnt-mymountpoint.mount > > th

Re: [systemd-devel] [PATCH] fstab-generator: introduce rd.weak_sysroot to bypass failures in sysroot.mount

2013-07-31 Thread Harald Hoyer
On 07/30/2013 09:14 PM, Vivek Goyal wrote: > On Wed, Jul 31, 2013 at 12:46:22AM +0800, WANG Chao wrote: >> On 07/31/13 at 12:32am, WANG Chao wrote: >>> On 07/30/13 at 03:46pm, Zbigniew Jędrzejewski-Szmek wrote: On Tue, Jul 30, 2013 at 09:43:16AM -0400, Vivek Goyal wrote: > [CC harald]

  1   2   3   >