All of lore.kernel.org
 help / color / mirror / Atom feed
* udev.permissions: symbolic group/owner broken
@ 2003-11-25 14:22 Arnd Bergmann
  0 siblings, 0 replies; only message in thread
From: Arnd Bergmann @ 2003-11-25 14:22 UTC (permalink / raw)
  To: linux-hotplug

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-11-25 14:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-25 14:22 udev.permissions: symbolic group/owner broken Arnd Bergmann

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.