Bug#240027: kdm: KDM does not start correctly on boot
Chris Cheney writes:
> As far as I can tell it is already using /dev/urandom among other
> things. Unless I am reading the code incorrectly or there is a bug
> somewhere it should be using /dev/urandom according the
> kdm/backend/Imakefile setting.
> Domi any ideas?
I'm not sure about the build process of kdm, but:
domi: ~> strings /usr/bin/kdm | grep urandom
domi: ~> strings /usr/bin/kdm | grep random
/dev/random
Cannot read randomDevice %"s: %s
Cannot open randomDevice %"s: %s
domi: ~>
As far as looking at kdm source code, apparently, after configuring, I
get:
domi: ~/src/3_2_BRANCH/kdebase> grep DEV_RANDOM config.status
s,@XDM_CFLAGS@,-Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L
-D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE
-DUNIXCONN -DTCPCONN -DOSMAJORVERSION=2 -DOSMINORVERSION=6
-DHASXDMAUTH -DFRAGILE_DEV_MEM -DDEV_RANDOM=\"/dev/random\"
-DPOLL_DEV_RANDOM -DHAS_MKSTEMP -DHAVE_GETUSERSHELL -DUSE_SYSLOG
-DUSE_PAM -ansi -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith
-Wmissing-prototypes -Wwrite-strings -g3 -fno-inline
-Wformat-security -Wmissing-format-attribute,;t t
( note: '-DDEV_RANDOM=\"/dev/random\"' )
I have spent a bit of time figuring out where this is coming from, and
apparently, it is generated with the Imakefile stuff in
kdebase/kdm/backend ( the part where it has "#if RandomDefines" must
be selected somehow ).
I haven't got time to look into this further atm, but I hope this
should already help...
cheers
domi
Reply to: