Bug 115387 - YaST2 hangs forever
Summary: YaST2 hangs forever
Status: RESOLVED FIXED
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: YaST2 (show other bugs)
Version: Beta 4 Plus
Hardware: Other All
: P5 - None : Blocker
Target Milestone: ---
Assignee: Jiri Srain
QA Contact: Klaus Kämpf
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-06 10:21 UTC by Thorsten Kukuk
Modified: 2005-09-07 07:39 UTC (History)
2 users (show)

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
YaST2 log files and ps output (142.80 KB, application/x-gtar)
2005-09-06 10:23 UTC, Thorsten Kukuk
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thorsten Kukuk 2005-09-06 10:21:18 UTC
YasT2 calls a perl command without input, perl wait forever for input on stdin.

Process table:

 7040 tty1     S+     0:00 y2base installation ("continue") ncurses
 7041 tty1     S+     0:00 sh -c ?hwinfo --pci --block --mouse --keyboard --isdn
--save-config=all??[ -d /var/lib/hardware/udi/org/freedesktop/Hal/devices ] && 
?perl -pi -e "s/hwinfo.configured = 'new'/hwinfo
.configured = 'no'/"  ?/var/lib/hardware/udi/org/freedesktop/Hal/devices/*
 7065 tty1     S+     0:00 perl -pi -e s/hwinfo.configured =
'new'/hwinfo.configured = 'no'/
Comment 1 Thorsten Kukuk 2005-09-06 10:23:05 UTC
Created attachment 48899 [details]
YaST2 log files and ps output
Comment 2 Martin Vidner 2005-09-06 10:33:38 UTC
Jirka added that code. 
Comment 3 Martin Vidner 2005-09-06 10:38:28 UTC
BTW, since some time sed can do in-place editing too. 'perl -p' can be 
replaced by 'sed' to save resources. 
Comment 4 Jiri Srain 2005-09-06 11:27:14 UTC
The code was provided by Steffen. I tested it before submitting, and it didn't  
freeze.  
   
Steffen, any idea? If you look at y2log in the tarball, you can get whole 
output of the script. 
Comment 5 Steffen Winterfeldt 2005-09-06 12:02:00 UTC
The last line shows that the perl command that is actually run is not correct. 
Maybe some quoting problem? 
Comment 6 Jiri Srain 2005-09-06 15:05:37 UTC
The problem was (hopefully) in blank spaces following backslashes at the end  
of the lines (copy-pasting from bzilla). 
 
Fixed in SVN, submitting to STABLE. 
Comment 7 Andreas Jaeger 2005-09-07 07:07:58 UTC
Still in RC1.  Which package is this?
Comment 9 Jiří Suchomel 2005-09-07 07:39:01 UTC
yast2-installation with last changes submited