Bug 8233 - startkde magic/random problem.
Summary: startkde magic/random problem.
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: kdebase
Version: 6.1
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bernhard Rosenkraenzer
QA Contact:
URL: www.lastfoot.com
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-01-06 17:46 UTC by Michael Maher
Modified: 2008-05-01 15:37 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2000-01-18 11:47:27 UTC


Attachments (Terms of Use)

Description Michael Maher 2000-01-06 17:46:17 UTC
In the /usr/bin/startkde script, it will hang on the 'random' section of
the script.

f=$HOME/.kde/share/apps/kfm/magic
[ -f $f ] || dd if=/dev/random bs=1 count=16 | md5sum > $f

Should be:

f=$HOME/.kde/share/apps/kfm/magic
[ -f $f ] || dd if=/dev/urandom bs=1 count=16 | md5sum > $f

Note this test:
[root@vnc1-1 bin]# dd if=/dev/random bs=1 count=16 of=foo
0+0 records in
0+0 records out

[root@vnc1-1 bin]# dd if=/dev/urandom bs=1 count=16 of=foo
16+0 records in
16+0 records out


If the startkde script enters this state it will hang.

Comment 1 Bernhard Rosenkraenzer 2000-01-18 11:47:59 UTC
Thanks, fixed.


Note You need to log in before you can comment on or make changes to this bug.