Mailinglist Archive: opensuse-bugs (6140 mails)

< Previous Next >
[Bug 285920] Yast2 Runlevel editor returns wrong exit code of services
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Mon, 9 Jul 2007 08:47:22 -0600 (MDT)
  • Message-id: <20070709144722.C1C21CC78D@xxxxxxxxxxxxxxxxxxxxxx>
https://bugzilla.novell.com/show_bug.cgi?id=285920#c7


Lukas Ocilka <locilka@xxxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO
      Info Provider|                            |lslezak@xxxxxxxxxx




--- Comment #7 from Lukas Ocilka <locilka@xxxxxxxxxx>  2007-07-09 08:47:22 MST ---
For status checking, Status::RunInitScriptWithTimeOut("boot.quota", "status")
was used

Running service initscript boot.quota status 2>&1
1>/tmp/YaST2-03827-Gjtl2k/runlevel_out
Time spent: 20 msecs, retcode: 0

Then Status::RunInitScriptWithTimeOut("boot.quota", ...) was used several times
with different result:

Service.ycp:297 Running service initscript boot.quota status 2>&1
1>/tmp/YaST2-03827-Gjtl2k/runlevel_out
Service.ycp:332 Time spent: 40 msecs, retcode: 4

Service.ycp:297 Running service initscript boot.quota status 2>&1
1>/tmp/YaST2-03827-Gjtl2k/runlevel_out
Service.ycp:332 Time spent: 40 msecs, retcode: 0

Service.ycp:297 Running service initscript boot.quota start 2>&1
1>/tmp/YaST2-03827-Gjtl2k/runlevel_out
Service.ycp:332 Time spent: 20 msecs, retcode: 0

Service.ycp:297 Running service initscript boot.quota stop 2>&1
1>/tmp/YaST2-03827-Gjtl2k/runlevel_out
Service.ycp:332 Time spent: 240 msecs, retcode: 0

Service.ycp:297 Running service initscript boot.quota status 2>&1
1>/tmp/YaST2-03827-Gjtl2k/runlevel_out
Service.ycp:332 Time spent: 160 msecs, retcode: 0

Service.ycp:297 Running service initscript boot.quota status 2>&1
1>/tmp/YaST2-03827-Gjtl2k/runlevel_out
Service.ycp:332 Time spent: 140 msecs, retcode: 3

Service.ycp:297 Running service initscript boot.quota status 2>&1
1>/tmp/YaST2-03827-Gjtl2k/runlevel_out
Service.ycp:332 Time spent: 80 msecs, retcode: 3

Agent .target.background is used for that
Lslezak: could you, please, check Service::RunInitScriptWithTimeOut()?
Thanks.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >