Bug 398790

Summary: YaST not working with high pid counter
Product: [openSUSE] openSUSE 10.2 Reporter: Bjoern Jacke <bjacke>
Component: YaST2Assignee: Martin Vidner <mvidner>
Status: RESOLVED DUPLICATE QA Contact: Jiri Srain <jsrain>
Severity: Major    
Priority: P5 - None CC: mvidner
Version: Final   
Target Milestone: ---   
Hardware: 64bit   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: strace of yast start with high pid counter

Description Bjoern Jacke 2008-06-10 10:15:04 UTC
yast does not start with a high PID counter. You need to have a 64bit system and pid_max set to a high value like 2000000. My counter was at 1300000 and yast did not start. From y2log:

2008-06-10 12:00:31 <1> opi(1325408) [liby2] genericfrontend.cc(main):244 Launched YaST2 component 'y2base' 'menu' 'ncurses' '--nothreads'
2008-06-10 12:00:31 <1> opi(1325408) [wfm] Y2WFMComponent.cc(SetLanguage):501 GET encoding for en_US.UTF-8:  UTF-8
2008-06-10 12:00:31 <1> opi(1325408) [wfm] Y2WFMComponent.cc(import):696 Y2WFMComponent::import (Desktop)
2008-06-10 12:00:31 <1> opi(1325408) [wfm] Y2WFMComponent.cc(import):696 Y2WFMComponent::import (Map)
2008-06-10 12:00:31 <1> opi(1325408) [wfm] Y2WFMComponent.cc(import):696 Y2WFMComponent::import (String)
2008-06-10 12:00:31 <1> opi(1325408) [wfm] Y2WFMComponent.cc(import):696 Y2WFMComponent::import (Directory)
2008-06-10 12:00:31 <1> opi(1325408) [wfm] Y2WFMComponent.cc(import):696 Y2WFMComponent::import (FileUtils)
2008-06-10 12:00:31 <1> opi(1325408) [wfm] Y2WFMComponent.cc(import):696 Y2WFMComponent::import (Popup)
2008-06-10 12:00:31 <1> opi(1325408) [wfm] Y2WFMComponent.cc(import):696 Y2WFMComponent::import (Label)
2008-06-10 12:00:31 <1> opi(1325408) [wfm] Y2WFMComponent.cc(import):696 Y2WFMComponent::import (Mode)
2008-06-10 12:00:31 <1> opi(1325408) [wfm] Y2CCWFM.cc(createInLevel):153 Parsing finished
2008-06-10 12:00:31 <1> opi(1325408) [ui-ncurses] Y2CCNCursesUI.h(create):60 Creating ncurses component
2008-06-10 12:00:31 <1> opi(1325408) [liby2] genericfrontend.cc(main):528 YAST_IS_RUNNING is yes
2008-06-10 12:00:31 <3> opi(1325408) [agent-system] SystemAgent.cc(SystemAgent):116 Can't create tmp directory: Invalid argument
2008-06-10 12:00:32 <1> opi(1325433) [liby2] genericfrontend.cc(main):244 Launched YaST2 component 'y2base' 'menu' 'ncurses' '--nothreads'
2008-06-10 12:00:32 <1> opi(1325433) [wfm] Y2WFMComponent.cc(SetLanguage):501 GET encoding for en_US.UTF-8:  UTF-8
2008-06-10 12:00:32 <1> opi(1325433) [wfm] Y2WFMComponent.cc(import):696 Y2WFMComponent::import (Desktop)
2008-06-10 12:00:32 <1> opi(1325433) [wfm] Y2WFMComponent.cc(import):696 Y2WFMComponent::import (Map)
2008-06-10 12:00:32 <1> opi(1325433) [wfm] Y2WFMComponent.cc(import):696 Y2WFMComponent::import (String)
2008-06-10 12:00:32 <1> opi(1325433) [wfm] Y2WFMComponent.cc(import):696 Y2WFMComponent::import (Directory)
2008-06-10 12:00:32 <1> opi(1325433) [wfm] Y2WFMComponent.cc(import):696 Y2WFMComponent::import (FileUtils)
2008-06-10 12:00:32 <1> opi(1325433) [wfm] Y2WFMComponent.cc(import):696 Y2WFMComponent::import (Popup)
2008-06-10 12:00:32 <1> opi(1325433) [wfm] Y2WFMComponent.cc(import):696 Y2WFMComponent::import (Label)
2008-06-10 12:00:32 <1> opi(1325433) [wfm] Y2WFMComponent.cc(import):696 Y2WFMComponent::import (Mode)
2008-06-10 12:00:32 <1> opi(1325433) [wfm] Y2CCWFM.cc(createInLevel):153 Parsing finished
2008-06-10 12:00:32 <1> opi(1325433) [ui-ncurses] Y2CCNCursesUI.h(create):60 Creating ncurses component
2008-06-10 12:00:32 <1> opi(1325433) [liby2] genericfrontend.cc(main):528 YAST_IS_RUNNING is yes
2008-06-10 12:00:32 <3> opi(1325433) [agent-system] SystemAgent.cc(SystemAgent):116 Can't create tmp directory: Invalid argument


after setting the pid_max to 30000 so that pids from the low range started to be used again, yast did start up immediately.
Comment 1 Bjoern Jacke 2008-06-10 10:16:12 UTC
Created attachment 221206 [details]
strace of yast start with high pid counter
Comment 2 Martin Vidner 2008-06-10 11:34:11 UTC
Hi Bjoern, long time no see.

This is a duplicate of bug 237481, a non-public one filed for SLES. It is fixed in SLES 9 SP4, SLE 10 SP1, and openSUSE 10.3, in yast2-core.rpm.

I gather that it has a workaround, "sysctl -w kernel.pid_max=99999", so I think that an online update for 10.2 is not necessary.

*** This bug has been marked as a duplicate of bug 237481 ***
Comment 3 Bjoern Jacke 2008-06-10 11:44:17 UTC
Hi Martin, thanks for the update! I'm hoping one day sooner than later these bogus non-public bug reports will go away. To see that this has been reported earier and there has been no way to find that problem in bugzilla is quite discouraging.