Re: [systemd-devel] [HEADS-UP] Intent to remove readahead from systemd

2014-09-26 Thread Samuli Suominen
On 26/09/14 09:58, Tom Gundersen wrote: On Thu, Sep 25, 2014 at 6:40 PM, Pacho Ramos pa...@gentoo.org wrote: El jue, 25-09-2014 a las 16:44 +0200, Tom Gundersen escribió: On Thu, Aug 14, 2014 at 7:16 PM, Lennart Poettering lenn...@poettering.net wrote: So, I think with the release after the

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

2014-09-22 Thread Samuli Suominen
On 22/09/14 17:58, Tom Gundersen wrote: Hi Maurizio, On Mon, Sep 22, 2014 at 11:48 AM, Maurizio Lombardi mlomb...@redhat.com 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

[systemd-devel] systemd-216 (and git) fails to compile with Linux 3.7 headers (error: 'IFF_MULTI_QUEUE' undeclared)

2014-08-31 Thread Samuli Suominen
Looks like src/shared/missing.h is missing IFF_MULTI_QUEUE The relavent part of the build log, configured with --enable-networkd: /bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I/tmp/portage/sys-apps/systemd-216/work/systemd-216 -include

Re: [systemd-devel] [PATCH] Removed PPC 32 bit LE architecture

2014-08-14 Thread Samuli Suominen
On 11/08/14 17:14, Lennart Poettering wrote: On Mon, 11.08.14 15:57, Lennart Poettering (lenn...@poettering.net) wrote: On Fri, 08.08.14 17:00, har...@redhat.com (har...@redhat.com) wrote: From: Harald Hoyer har...@redhat.com According to Brent Baude bba...@redhat.com, who provided the

[systemd-devel] [patch] #include src/shared/missing.h in src/shared/util.h for missing struct file_handle definition

2014-08-01 Thread Samuli Suominen
, mnt_id, flags); } #endif Please, #include missing.h in src/shared/util.h to fix the build for old systems w/ no system header defining the struct Thanks! - Samuli From 4e44677efbcc586716fe65ed044836877315b3f0 Mon Sep 17 00:00:00 2001 From: Samuli Suominen ssuomi...@gentoo.org Date: Fri, 1 Aug 2014 17

Re: [systemd-devel] [patch] #include src/shared/missing.h in src/shared/util.h for missing struct file_handle definition

2014-08-01 Thread Samuli Suominen
On 01/08/14 17:53, Simon McVittie wrote: On 01/08/14 15:43, Samuli Suominen wrote: Please, #include missing.h in src/shared/util.h to fix the build for old systems w/ no system header defining the struct I ran into the same thing on a slightly odd system (Debian 7 with a backported kernel

Re: [systemd-devel] [patch] #include src/shared/missing.h in src/shared/util.h for missing struct file_handle definition

2014-08-01 Thread Samuli Suominen
On 01/08/14 18:31, Simon McVittie wrote: On 01/08/14 15:53, Simon McVittie wrote: Best-practice in Autotools projects seems to be to include config.h at the very top of every .c file, whether it is currently needed or not. Sorry, I'd missed that systemd uses cc -include

Re: [systemd-devel] [PATCH] build-sys: check for intltool also when polkit is enabled

2014-07-31 Thread Samuli Suominen
On 31/07/14 15:18, Robert Schiele wrote: intltool is needed for nls _and_ polkit, thus the check needs to be changed to do the test whenever one of them is enables. Without this build fails when configured with --disable-nls --enable-polkit --- configure.ac | 2 +- 1 file changed, 1

[systemd-devel] Forward from linux-raid@ ML: systemd-215 creates inactive MD devices upon stopping them

2014-07-24 Thread Samuli Suominen
Forwarding to systemd-devel@ for http://bugs.gentoo.org/show_bug.cgi?id=517986 Original Message Subject:Re: udev 215 creates inactive MD devices upon stopping them Date: Thu, 24 Jul 2014 17:48:05 +0200 From: Sebastian Parschauer sebastian.rie...@profitbricks.com To:

Re: [systemd-devel] using /dev/root in fstab

2014-07-07 Thread Samuli Suominen
On 07/07/14 07:29, microcai wrote: a long ago, /dev/root is an symblic to real root device. no matter it is on NFS or HDD, we can use /dev/root / auto defaults 0 0 in fstab to mount / as readwrite. recently, I recall this old feature, and tryed to use it, but the system failed

Re: [systemd-devel] using /dev/root in fstab

2014-07-07 Thread Samuli Suominen
On 07/07/14 14:32, Michael Biebl wrote: 2014-07-07 10:14 GMT+02:00 Samuli Suominen ssuomi...@gentoo.org: We restore the /dev/root symlink in Gentoo same way Debian is restoring it on non-systemd This has been removed from Debian's udev package a while ago http://anonscm.debian.org/gitweb

Re: [systemd-devel] [PATCH 0/3] build-sys: do not require intltool when building from archive

2014-06-25 Thread Samuli Suominen
On 25/06/14 09:06, Filipe Brandenburger wrote: Hi Zbigniew, This set of patches does explicit handling of --disable-nls and some extra detection of intltool in order to make configure not fail when intltool is not present. For reference, we are using this workaround to disable intltool when

Re: [systemd-devel] udev-212 and up on Sparc v8

2014-06-23 Thread Samuli Suominen
On 23/06/14 15:30, Lennart Poettering wrote: On Sat, 21.06.14 09:05, Chase Rayfield (cusbr...@yahoo.com) wrote: If I interpret that correctly, systemd would need to define _sync_sub_and_fetch_4 when building for 32-bit processors which do not support the __sync_sub_and_fetch operation

Re: [systemd-devel] udev-212 and up on Sparc v8

2014-06-20 Thread Samuli Suominen
On 21/06/14 08:38, Chase Rayfield wrote: udev up to version 208 builds correctly on Sparc v8. However 212 and greater does not. Complete build logs of 208 and 214 can be found here: https://bugs.gentoo.org/show_bug.cgi?id=514016 Any suggestions or alternatives to how we can fix this would

Re: [systemd-devel] systemd-213 fails to compile without kmod, no way to fix it using ./configure options

2014-06-02 Thread Samuli Suominen
On 03/06/14 01:48, Tom Gundersen wrote: On Sun, Jun 1, 2014 at 2:58 PM, Michael Biebl mbi...@gmail.com wrote: I quickly looked at the patch and it seems ok. While glancing over Makefile.am I noticed that e.g. libsystemd_network links against $(KMOD_LIBS). That looks wrong to me (faulty

Re: [systemd-devel] [PATCH] Drop the udev firmware loader

2014-06-01 Thread Samuli Suominen
On 01/06/14 08:45, Lennart Poettering wrote: On Fri, 30.05.14 04:32, Michael Biebl (mbi...@gmail.com) wrote: 2014-05-30 4:26 GMT+02:00 Greg KH gre...@linuxfoundation.org: You update systemd but you don't update the kernel? How does that make any sense? There might be very valid reasons

Re: [systemd-devel] systemd-213 fails to compile without kmod, no way to fix it using ./configure options

2014-06-01 Thread Samuli Suominen
On 01/06/14 10:04, Tom Gundersen wrote: On 1 Jun 2014 06:31, Lennart Poettering lenn...@poettering.net mailto:lenn...@poettering.net wrote: On Sat, 31.05.14 19:43, Samuli Suominen (ssuomi...@gentoo.org mailto:ssuomi...@gentoo.org) wrote: On 31/05/14 17:10, Samuli Suominen

[systemd-devel] systemd-213 fails to compile without kmod, no way to fix it using ./configure options

2014-05-31 Thread Samuli Suominen
1. libsystemd_network_la_SOURCES = in Makefile.am includes src/libsystemd-network/network-internal.h and there is no anykind of #ifdef -logic behind it 2. src/libsystemd-network/network-internal.h has #include libkmod.h and there is no anykind of #ifdef -logic behind it so kmod is hardcoded

Re: [systemd-devel] systemd-213 fails to compile without kmod, no way to fix it using ./configure options

2014-05-31 Thread Samuli Suominen
On 31/05/14 14:14, Samuli Suominen wrote: 1. libsystemd_network_la_SOURCES = in Makefile.am includes src/libsystemd-network/network-internal.h and there is no anykind of #ifdef -logic behind it 2. src/libsystemd-network/network-internal.h has #include libkmod.h and there is no anykind

Re: [systemd-devel] systemd-213 fails to compile without kmod, no way to fix it using ./configure options

2014-05-31 Thread Samuli Suominen
On 31/05/14 17:10, Samuli Suominen wrote: On 31/05/14 14:14, Samuli Suominen wrote: 1. libsystemd_network_la_SOURCES = in Makefile.am includes src/libsystemd-network/network-internal.h and there is no anykind of #ifdef -logic behind it 2. src/libsystemd-network/network-internal.h has

Re: [systemd-devel] systemd-213 fails to compile without kmod, no way to fix it using ./configure options

2014-05-31 Thread Samuli Suominen
A proper git formatted patch for inclusion. From 9be13cce871d1d7275acee8bcb106cd2f9e909b7 Mon Sep 17 00:00:00 2001 From: Mike Gilbert flop...@gentoo.org Date: Sat, 31 May 2014 19:58:47 +0300 Subject: [PATCH] Fix building with --disable-kmod --disable-networkd when kmod is not installed. ---

Re: [systemd-devel] [PATCH] Drop the udev firmware loader

2014-05-30 Thread Samuli Suominen
On 30/05/14 09:17, Cristian Rodríguez wrote: El vie 30 may 2014 01:41:37 CLT, Samuli Suominen escribió: On 30/05/14 04:55, Greg KH wrote: On Fri, May 30, 2014 at 03:40:52AM +0200, Zbigniew Jędrzejewski-Szmek wrote: On Thu, May 29, 2014 at 08:54:22PM -0400, Cristian Rodríguez wrote

Re: [systemd-devel] [PATCH] Drop the udev firmware loader

2014-05-30 Thread Samuli Suominen
On 30/05/14 17:13, Greg KH wrote: On Fri, May 30, 2014 at 12:50:50PM +0300, Samuli Suominen wrote: On 30/05/14 09:17, Cristian Rodríguez wrote: El vie 30 may 2014 01:41:37 CLT, Samuli Suominen escribió: On 30/05/14 04:55, Greg KH wrote: On Fri, May 30, 2014 at 03:40:52AM +0200, Zbigniew

Re: [systemd-devel] [PATCH] Drop the udev firmware loader

2014-05-29 Thread Samuli Suominen
On 30/05/14 04:55, Greg KH wrote: On Fri, May 30, 2014 at 03:40:52AM +0200, Zbigniew Jędrzejewski-Szmek wrote: On Thu, May 29, 2014 at 08:54:22PM -0400, Cristian Rodríguez wrote: As discussed ad-nauseum previously, it is the kernel's task to load firmware, not udev's. I think this patch is a

Re: [systemd-devel] udev too late renaming network interfaces

2014-05-13 Thread Samuli Suominen
On 13/05/14 16:43, Grant wrote: I'm on Gentoo and when the system tries to start my network interfaces at boot, I get: Cannot find device enp0s20u2u1 * ERROR: interface enp0s20u2u1 does not exist * Ensure that you have loaded the correct kernel module for your hardware * ERROR:

Re: [systemd-devel] Move use of locale_t to different shared file, so that udev can still be built without it (MinimalBuild)

2014-04-09 Thread Samuli Suominen
On 08/04/14 19:16, Cristian Rodríguez wrote: El 08/04/14 03:04, Samuli Suominen escribió: This is the *only* patch we are carrying for udev currently, otherwise uClibc builds work fine, so please at least consider what I just said. All this locale_t thing is standarized in POSIX 2008

[systemd-devel] Move use of locale_t to different shared file, so that udev can still be built without it (MinimalBuild)

2014-04-08 Thread Samuli Suominen
First, some history, we have within Gentoo been pushing changes to uClibc head for functions that are used by the udev code of systemd, that were prior to that, only in glibc. I assume this is the way you want to see things integrated, to not carry uClibc specific hacks in systemd's code.

Re: [systemd-devel] Move use of locale_t to different shared file, so that udev can still be built without it (MinimalBuild)

2014-04-08 Thread Samuli Suominen
I can work on a patch that creates the new header, if this is something you'd be willing to consider. On 08/04/14 09:04, Samuli Suominen wrote: First, some history, we have within Gentoo been pushing changes to uClibc head for functions that are used by the udev code of systemd, that were

Re: [systemd-devel] Move use of locale_t to different shared file, so that udev can still be built without it (MinimalBuild)

2014-04-08 Thread Samuli Suominen
On 08/04/14 18:52, Lennart Poettering wrote: On Tue, 08.04.14 09:04, Samuli Suominen (ssuomi...@gentoo.org) wrote: I am sorry, but we are not interested in carrying compat code for exotic libc's. We have made this clear in the past. The onus is on those libc's to be compatible with glibc

Re: [systemd-devel] Move use of locale_t to different shared file, so that udev can still be built without it (MinimalBuild)

2014-04-08 Thread Samuli Suominen
On 08/04/14 15:25, Zbigniew Jędrzejewski-Szmek wrote: On Tue, Apr 08, 2014 at 09:04:37AM +0300, Samuli Suominen wrote: File src/shared/util.h is using locale_t which isn't used by the strictly udev parts of the systemd code, I propose to move this to a different header, so it is only used

Re: [systemd-devel] Masking .network files

2014-04-05 Thread Samuli Suominen
On 05/04/14 12:26, Tom Gundersen wrote: matching file will be applied. The 'masking' logic that you know from unit files does not really make much sense for .network files (but maybe this is something we should change...). Symlinks to /dev/null are just treated as empty .network files, so

[systemd-devel] git requires now linux api userspace headers = 3.13 to build?

2014-03-31 Thread Samuli Suominen
User reported me today, http://bpaste.net/show/195803/ IFLA_VLAN_PROTOCOL is not defined before 3.12, but even with 3.12 there are different errors, so at least = 3.13 is now required snip /var/tmp/portage/sys-apps/systemd-/work/systemd-/src/libsystemd/sd-rtnl/rtnl-types.c:66:10:

Re: [systemd-devel] [patch] Add -lresolv to libsystemd_intenal_la_LIBADD to prevent underlinking issues

2014-03-25 Thread Samuli Suominen
On 26/03/14 03:38, Kay Sievers wrote: On Mon, Mar 17, 2014 at 1:43 AM, Lennart Poettering lenn...@poettering.net wrote: On Sun, 16.03.14 19:49, Samuli Suominen (ssuomi...@gentoo.org) wrote: On 16/03/14 15:52, Zbigniew Jędrzejewski-Szmek wrote: On Sun, Mar 16, 2014 at 10:10:15AM +0200

[systemd-devel] [patch] Add -lresolv to libsystemd_intenal_la_LIBADD to prevent underlinking issues

2014-03-16 Thread Samuli Suominen
to libsystemd_internal_la_LIBADD = accordingly, so building works with or without --gc-sections working properly. See also, http://bugs.gentoo.org/show_bug.cgi?id=504700 From 2b9ae40d830596eda80cc5bc5252c6685cb75eaa Mon Sep 17 00:00:00 2001 From: Samuli Suominen ssuomi...@gentoo.org Date: Sat

Re: [systemd-devel] [patch] Fix AC_PATH_PROG usage in configure.ac for systems with (still) bin vs. sbin distiction

2014-03-10 Thread Samuli Suominen
On 10/03/14 13:23, Michael Olbrich wrote: On Sun, Mar 09, 2014 at 08:49:58PM +0100, Michael Biebl wrote: 2014-03-08 8:52 GMT+01:00 Samuli Suominen ssuomi...@gentoo.org: If eg. setcap is in /sbin and user is building as a normal user without $PATH having /sbin, the build system will default

Re: [systemd-devel] [patch] Fix AC_PATH_PROG usage in configure.ac for systems with (still) bin vs. sbin distiction

2014-03-09 Thread Samuli Suominen
On 09/03/14 21:49, Michael Biebl wrote: 2014-03-08 8:52 GMT+01:00 Samuli Suominen ssuomi...@gentoo.org: If eg. setcap is in /sbin and user is building as a normal user without $PATH having /sbin, the build system will default to /usr/sbin/setcap as it's defined in AC_PATH_PROG and fail

[systemd-devel] Minor improvement to footnote in http://freedesktop.org/wiki/Software/systemd/MinimalBuilds/

2014-03-08 Thread Samuli Suominen
To footnote of http://freedesktop.org/wiki/Software/systemd/MinimalBuilds/ Because libcap doesn't have a pkg-config file yet, you can `export ac_cv_search_cap_init=yes` and `export ac_cv_header_sys_capability_h=yes` to skip the matching AC_CHECK_HEADERS and AC_SEARCH_LIBS checks from

[systemd-devel] [patch] Fix AC_PATH_PROG usage in configure.ac for systems with (still) bin vs. sbin distiction

2014-03-07 Thread Samuli Suominen
, this patch is cheap to apply, no regressions to others. Ref, http://www.delorie.com/gnu/docs/autoconf/autoconf_41.html Thanks! From 7a0300dddefa8cfbb5ca4af20901df41ba177a82 Mon Sep 17 00:00:00 2001 From: Samuli Suominen ssuomi...@gentoo.org Date: Sat, 8 Mar 2014 09:49:29 +0200 Subject: [PATCH

Re: [systemd-devel] How to build systemd with statically linking

2014-03-02 Thread Samuli Suominen
On 01/03/14 22:07, Lennart Poettering wrote: On Sat, 01.03.14 20:36, Samuli Suominen (ssuomi...@gentoo.org) wrote: On 01/03/14 20:11, Lennart Poettering wrote: On Sat, 01.03.14 17:46, Ȳ�翵 (j-zero.hw...@samsung.com) wrote: Hello, I've tried to build systemd(v43) with statically linking

Re: [systemd-devel] Process Manager?

2014-03-02 Thread Samuli Suominen
On 03/03/14 03:48, David Farning wrote: Over the last couple of weeks I have been looking over and testing the systemd. Thanks for all the hard work and interesting ideas. One issue that has come to mind is the quality and structure of the documentation. The quality and clarity of the

Re: [systemd-devel] How to build systemd with statically linking

2014-03-01 Thread Samuli Suominen
On 01/03/14 20:11, Lennart Poettering wrote: On Sat, 01.03.14 17:46, Ȳ�翵 (j-zero.hw...@samsung.com) wrote: Hello, I've tried to build systemd(v43) with statically linking. I revised Makefile.am and spec file but it was not built statically. We do not support static linking. We probably

Re: [systemd-devel] [PATCH 2/2] build-sys: Also move libsystemd-journal to rootlibdir

2014-02-25 Thread Samuli Suominen
On 24/02/14 18:34, Kay Sievers wrote: On Mon, Feb 24, 2014 at 4:04 PM, Alexey Shabalin a.shaba...@gmail.com wrote: Needed only libudev-install-hook, not more. It does not matter for proper filesystem layouts where everything is in one location, in /usr. The split of / vs. /usr never made

[systemd-devel] [patch] Install 99-default.link to rootprefix instead of prefix (as required)

2014-02-21 Thread Samuli Suominen
the great work! Thanks! - Samuli From 44180dccea7ea9dee2c40f012d6b0b3e558c0e0b Mon Sep 17 00:00:00 2001 From: Samuli Suominen ssuomi...@gentoo.org Date: Fri, 21 Feb 2014 16:14:51 +0200 Subject: [PATCH] With --rootprefix= systemd-udevd gets installed to /lib/systemd, and since the network

Re: [systemd-devel] Unmentioned 209 change: 80-net-name-slot.rules is gone

2014-02-21 Thread Samuli Suominen
On 21/02/14 17:37, Colin Guthrie wrote: 'Twas brillig, and Zbigniew Jędrzejewski-Szmek at 21/02/14 13:58 did gyre and gimble: On Fri, Feb 21, 2014 at 02:24:58PM +0100, Tom Gundersen wrote: On Fri, Feb 21, 2014 at 3:29 AM, Jason A. Donenfeld ja...@zx2c4.com wrote: Hey guys, This commit