From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arnd Bergmann Date: Tue, 25 Nov 2003 14:22:59 +0000 Subject: udev.permissions: symbolic group/owner broken Message-Id: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org I noticed (after debugging for about an hour) that the calls to getgrnam() and getpwnam() in udev-add.c always fail when udev is statically linked to a recent glibc version (here: Fedora glibc-2.3.2-57 on s390x). Thinking about it a bit more, I found it to be fairly pointless to have a statically linked /sbin/udev in the root fs when it is not used on initramfs. The obvious fix is not to link statically when building udev for glibc. Arnd <>< === Makefile 1.38 vs edited ==--- 1.38/Makefile Mon Nov 24 05:38:01 2003 +++ edited/Makefile Tue Nov 25 15:18:36 2003 @@ -106,7 +106,7 @@ endif # If we are using our version of klibc, then we need to build and link it. -# Otherwise, use glibc and link statically. +# Otherwise, use glibc and link dynamically. ifeq ($(strip $(KLIBC)),true) KLIBC_DIR = klibc/klibc INCLUDE_DIR := $(KLIBC_DIR)/include @@ -130,7 +130,6 @@ LIBC = CFLAGS += -I$(GCCINCDIR) LIB_OBJS = -lc - LDFLAGS = --static + LDFLAGS endif all: $(LIBC) $(ROOT) ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel