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 <stef...@us.ibm.com> >>> >>> To sync with systemd, use the filepath /etc/ima/ima-policy a

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

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

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

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

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

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 francis.m...@gmail.com wrote: $ systemd-analyze critical-chain graphical.target @7.921s multi-user.target @7.921s autofs.service

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:

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: https://github.com/systemd/systemd/compare/master...systemd-mailing-devs:20150610.144033.42163196.d.hatayama%40jp.fujitsu.com

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 j...@eclis.ch wrote: I have a system where the modem have multiple /dev/ttyACMx ports where x is

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 harald.ho...@gmail.com 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 13:18, Aleksander Morgado

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 harald.ho...@gmail.com mailto:harald.ho...@gmail.com wrote: On 05.06.2015 15:09, poma wrote: On 05.06.2015 14:14, Jean

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 ors... +

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: From: Harald Hoyer har...@redhat.com If cryptsetup

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, har...@redhat.com wrote: From: Harald Hoyer har...@redhat.com 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'm not sure why

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 har...@redhat.com If cryptsetup is called with a source device as argv[3], then craft the ID for the password agent with a unique device path

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 nir...@gmail.com wrote: On Sat, Apr 11, 2015 at 1:36 PM, David Herrmann dh.herrm...@gmail.com wrote: @@ -139,6 +142,9 @@ static int adm_settle(struct udev *udev, int argc, char *argv[]) {

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@sysroot-device.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

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

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.service - File System Check on Root Device Loaded

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: В Sun, 3 May 2015 16:17:15 +0200 Lennart Poettering

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 lenn...@poettering.net пишет: On Sat, 02.05.15 13:16, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: So,

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

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: https://github.com/systemd-devs/systemd/compare/master...systemd-mailing-devs:20150416115501.GB3890%40piware.de -- Generated by

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 k...@vrfy.org wrote: On Tue, Apr 7, 2015 at 8:54 PM, Marc-Antoine Perennou marc-anto...@perennou.com wrote: --- Makefile.am | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git

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 har...@redhat.com: From: Harald Hoyer har...@redhat.com The speedup is significant Original libtool $ ccache -C make clean time make -j4 […] real

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 har...@redhat.com If the fstab-generator generates a mount unit for /sysroot, we shall not run systemd-fsck-root in the real root. --- Makefile.am

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 should be removed entirely and generated by the fstab-generator

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 mrma...@earthlink.net 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

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 week). As an

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

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 har...@redhat.com ROOT= mounts the initial ramdisk with a tmpfs filesystem. Ok, not true. Omitting

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

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 crrodrig...@opensuse.org пишет: 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

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 mount points. Well, this service

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 harald.ho...@gmail.com пишет: 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

[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

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 har...@redhat.com 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

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 to run before

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 har...@redhat.com пишет: On 04.12.2014 18:19, Andrei Borzenkov wrote: В Thu, 04 Dec 2014 15:14:00 +0100 Harald Hoyer har...@redhat.com пишет: On 04.12.2014 15:10, Zbigniew Jędrzejewski-Szmek wrote

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 id

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 har...@redhat.com If ID_FS_TYPE of a parent is already set, then it's something like linux_raid_member or mpath_member and the disk is already in use

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 har...@redhat.com пишет: 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 har...@redhat.com

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 t...@jklm.no 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 think

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 + num_cpu * 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

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 t...@jklm.no 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

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 har...@redhat.com --- TODO | 2 +- m4/attributes.m4 | 2 +- man/systemd-bootchart.xml | 4 ++-- man/systemd-delta.xml | 2

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 har...@redhat.com mailto:har...@redhat.com: From: Harald Hoyer har...@redhat.com mailto:har...@redhat.com Not all

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 lenn...@poettering.net 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

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), the

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 tobias.hun...@digia.com Date: Wed, 24 Sep 2014 21:57:00 +0200 Subject: [PATCH] fstab-generator: Honor usr=, usrfstype= and usrflags= on kernel command line

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 harald.ho...@gmail.com mailto:harald.ho...@gmail.com wrote: What is the rationale of this patch? Supporting systems without /etc/fstab in the root device? Overriding the /etc/fstab settings? In a systemd

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 harald.ho...@gmail.com wrote: What is the rationale of this patch? Supporting systems without /etc/fstab in the root device? Overriding

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 harald.ho...@gmail.com wrote: What is the rationale of this patch? Supporting systems without

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 har...@redhat.com: From: Harald Hoyer har...@redhat.com This turns journalctl to the counterpart of systemd-cat. Messages sent with systemd-cat --identifier foo --prioritiy debug can now be shown with journalctl

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 har...@redhat.com removes code duplication --- Removed all references to /mnt in switch_root() and the bogus comment. Makefile.am| 1 + src/core/main.c| 2 +- src/core/shutdown.c| 77

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: The only thing: PROGRAM=..., ENV{SYSTEMD_WANTS}+=...%c

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 zbys...@in.waw.pl: It would be more useful to remove the / 1min 30s part. Maybe the cylon code could be smart enough for

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; shouldn't there

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 har...@redhat.com Thanks to Brent Baude bba...@redhat.com, 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

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 har...@redhat.com 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 ENOENT. This patch lets udevadm settle

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. We do

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 not

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 har...@redhat.com Doing a kexec with no kernel loaded would currently issue a normal reboot. This might not be wanted, if the goal of kexec

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 har...@redhat.com If systemctl switch-root is called with a specific INIT or /proc/cmdline contains init=, then systemd would not serialize itsself

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 gm...@colin.guthr.ie: What kernel are you using out of interest? This kernel is a git snapshot between 3.12.0-rc2 and -rc3. Compiled on

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_t

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 Rodríguez crrodrig...@opensuse.org wrote: Real

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 crrodrig...@opensuse.org wrote: Real executable might be in /usr and not in /bin I'm not against the patch, but the justification

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 installed

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

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 +- 1 file changed, 1 insertion(+), 1 deletion

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 think

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

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 harald.ho...@gmail.com 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. Any word

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

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

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 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 harald.ho...@gmail.com wrote: On 08/21/2013 01:53 PM, Tom Gundersen wrote: -if (!isbind -!path_equal(where, /)) { - -r = device_name(what

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; - -if (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, schrieb Harald Hoyer: Hmm, the naming

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 har...@redhat.com Tested-by: Thomas Bächler tho...@archlinux.org --- Hi guys

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 more encryption modes, than LUKS. If you

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 har...@redhat.com Since the journal can handle multiple lines just well natively, and rsyslog can be configured to handle them as well, there is no need

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 har...@redhat.com Since the journal can handle multiple lines just well natively, and rsyslog can

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] Not sure if this

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

2013-07-30 Thread Harald Hoyer
On 07/30/2013 03:46 PM, Zbigniew Jędrzejewski-Szmek wrote: On Tue, Jul 30, 2013 at 09:43:16AM -0400, Vivek Goyal wrote: [CC harald] Not sure if this is right way to do or not but I will give more background about the issue. This assumption seems to be built into initramfs and systemd that

Re: [systemd-devel] runtime directories for services vs. tmpfiles

2013-07-17 Thread Harald Hoyer
On 07/16/2013 09:28 PM, Jóhann B. Guðmundsson wrote: On 07/16/2013 06:26 PM, Lennart Poettering wrote: I discussed this a bit more with Kay on the phone. Here's what we'd propose: I'd be very conservative regarding adding full tmpfiles support into unit files directly. Instead, I'd suggest

Re: [systemd-devel] no installed machine-id vs systemd-in-initramfs

2013-07-11 Thread Harald Hoyer
On 07/10/2013 05:26 PM, Colin Walters wrote: The gnome-ostree build system generates disk images that can be downloaded directly; there is no installer. In the old model of dracut shell script + systemd, systemd's main.c has: if (arg_running_as == SYSTEMD_SYSTEM ...) { ...

Re: [systemd-devel] no installed machine-id vs systemd-in-initramfs

2013-07-11 Thread Harald Hoyer
On 07/11/2013 12:04 PM, Kay Sievers wrote: On Thu, Jul 11, 2013 at 11:55 AM, Harald Hoyer harald.ho...@gmail.com wrote: On 07/10/2013 05:26 PM, Colin Walters wrote: The gnome-ostree build system generates disk images that can be downloaded directly; there is no installer. In the old model

Re: [systemd-devel] [PATCH 2/2] systemd, systemctl: export and show failing condition

2013-06-26 Thread Harald Hoyer
On 06/26/2013 02:11 PM, Zbigniew Jędrzejewski-Szmek wrote: $ systemctl --user status hoohoo hoohoo.service Loaded: loaded (/home/zbyszek/.config/systemd/user/hoohoo.service; static) Active: inactive (dead) start condition failed at Tue 2013-06-25 18:08:42 EDT; 1s ago

Re: [systemd-devel] [PATCH] udev hwdb: Store binary database in libdir, not in /etc

2013-06-18 Thread Harald Hoyer
On 06/14/2013 02:14 PM, Tom Gundersen wrote: On Fri, Jun 14, 2013 at 2:03 PM, Łukasz Stelmach l.stelm...@samsung.com wrote: It was 2013-06-14 pią 13:30, when Jan Janssen wrote: On 06/14/2013 01:08 PM, Tom Gundersen wrote: That said, I don't think libdir is appropriate as this data is not

[systemd-devel] OnFailureIsolate=no for initrd* targets

2013-05-31 Thread Harald Hoyer
$ git grep OnFailureIsolate=yes units/initrd-fs.target:OnFailureIsolate=yes units/initrd-root-fs.target:OnFailureIsolate=yes units/initrd.target:OnFailureIsolate=yes Can we change those to OnFailureIsolate=no ? ___ systemd-devel mailing list

Re: [systemd-devel] [PATCH] honor SELinux labels, when creating and writing config files

2013-05-29 Thread Harald Hoyer
On 05/29/2013 07:42 AM, poma wrote: On 14.02.2013 16:21, Harald Hoyer wrote: Am 14.02.2013 12:27, schrieb har...@redhat.com: From: Harald Hoyer har...@redhat.com see https://bugzilla.redhat.com/show_bug.cgi?id=881577 obsoleted by http://cgit.freedesktop.org/systemd/systemd/commit/?id

Re: [systemd-devel] [PATCH] kernel-install: add default 50-depmod.install script

2013-05-06 Thread Harald Hoyer
On 04/30/2013 06:04 PM, har...@redhat.com wrote: From: Harald Hoyer har...@redhat.com Do the depmod in the kernel-install hooks, so hooks can produce/install kernel modules and be part of the depmod. --- Makefile.am | 7 --- src/kernel-install/50

  1   2   >