[yast-commit] r63184 - in /branches/SuSE-SLE-10-SP4-Branch/vm: VERSION package/yast2-vm.changes src/vm_finish.ycp
Author: charlesa Date: Fri Jan 14 17:29:30 2011 New Revision: 63184 URL: http://svn.opensuse.org/viewcvs/yast?rev=63184&view=rev Log: - bnc#628256 - sysvinit: Id "x0" respawning too fast - bnc#664172 - CitrixXenServer popup error messages about sles10-sp4 Modified: branches/SuSE-SLE-10-SP4-Branch/vm/VERSION branches/SuSE-SLE-10-SP4-Branch/vm/package/yast2-vm.changes branches/SuSE-SLE-10-SP4-Branch/vm/src/vm_finish.ycp Modified: branches/SuSE-SLE-10-SP4-Branch/vm/VERSION URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-SLE-10-SP4-Branch/vm/VERSION?rev=63184&r1=63183&r2=63184&view=diff ============================================================================== --- branches/SuSE-SLE-10-SP4-Branch/vm/VERSION (original) +++ branches/SuSE-SLE-10-SP4-Branch/vm/VERSION Fri Jan 14 17:29:30 2011 @@ -1 +1 @@ -2.13.78 +2.13.79 Modified: branches/SuSE-SLE-10-SP4-Branch/vm/package/yast2-vm.changes URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-SLE-10-SP4-Branch/vm/package/yast2-vm.changes?rev=63184&r1=63183&r2=63184&view=diff ============================================================================== --- branches/SuSE-SLE-10-SP4-Branch/vm/package/yast2-vm.changes (original) +++ branches/SuSE-SLE-10-SP4-Branch/vm/package/yast2-vm.changes Fri Jan 14 17:29:30 2011 @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Fri Jan 14 09:30:44 MST 2011 - carnold@novell.com + +- bnc#628256 - sysvinit: Id "x0" respawning too fast +- bnc#664172 - CitrixXenServer popup error messages about + sles10-sp4 + +------------------------------------------------------------------- Thu Apr 3 15:06:18 MDT 2008 - carnold@novell.com - bnc#375482 - Xen networking does not work with the firewall Modified: branches/SuSE-SLE-10-SP4-Branch/vm/src/vm_finish.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-SLE-10-SP4-Branch/vm/src/vm_finish.ycp?rev=63184&r1=63183&r2=63184&view=diff ============================================================================== --- branches/SuSE-SLE-10-SP4-Branch/vm/src/vm_finish.ycp (original) +++ branches/SuSE-SLE-10-SP4-Branch/vm/src/vm_finish.ycp Fri Jan 14 17:29:30 2011 @@ -38,6 +38,7 @@ import "Arch"; import "Report"; +import "FileUtils"; any ret = nil; string func = ""; @@ -105,8 +106,15 @@ y2milestone("check for xvc0 in inittab and securetty"); if ( !contains(SCR::Dir(.etc.inittab), "x0") ) { + y2milestone("Adding the x0 entry in the inittab file"); SCR::Write (.etc.inittab.x0, sformat ("12345:respawn:/sbin/agetty -L 9600 xvc0 xterm")); SCR::Write (.etc.inittab, nil); + string dev_xvc0 = "/dev/xvc0"; + if ( ! FileUtils::Exists(dev_xvc0) ) + { + y2milestone("%1 not found, commenting out the x0 entry in the inittab", dev_xvc0); + SCR::Execute(.target.bash,"/bin/sed --in-place 's/^x0:/#x0:/g' /etc/inittab"); + } } SCR::Execute(.target.bash,"/usr/bin/grep -q xvc0 /etc/securetty || echo xvc0 >> /etc/securetty"); -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
charlesa@svn2.opensuse.org