[Bug 384840] New: sabayon: nasty boot-time slowdown ...
https://bugzilla.novell.com/show_bug.cgi?id=384840 Summary: sabayon: nasty boot-time slowdown ... Product: openSUSE 11.0 Version: Factory Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: GNOME - Admin AssignedTo: federico@novell.com ReportedBy: mmeeks@novell.com QAContact: qa@suse.de Found By: --- So - as we boot & login to the system, ~0 python applications are launched. Consequently when we launch sabayon in our xinitrc - we burn a -ton- of disk I/O and memory and other thrash just to find that this one file is missing. I have boot-charts somewhere that show that from SLED10. Luckily we can add another simple line to the shell-script wrapper to fix this: Index: admin-tool/sabayon-xinitrc.sh.in =================================================================== --- admin-tool/sabayon-xinitrc.sh.in (revision 975) +++ admin-tool/sabayon-xinitrc.sh.in (working copy) @@ -5,7 +5,10 @@ # if [ "x$DISABLE_SABAYON_XINITRC" = "x" ] ; then - if [ -x @SBINDIR@/sabayon-apply ] ; then - @SBINDIR@/sabayon-apply + # ensure we do no work if there are no profiles to apply + if [ -f @SCONFDIR@/desktop-profiles/users.xml ]; then + if [ -x @SBINDIR@/sabayon-apply ] ; then + @SBINDIR@/sabayon-apply + fi fi fi Index: admin-tool/Makefile.am =================================================================== --- admin-tool/Makefile.am (revision 975) +++ admin-tool/Makefile.am (working copy) @@ -47,6 +47,7 @@ %.sh: %.sh.in sed \ -e s!\@SBINDIR\@!$(sbindir)! \ + -e s!\@SCONFDIR\@!$(sysconfdir)! \ < $< > $@ chmod a+x $@ I'd love to see that in our packages & up-stream; can I commit it there ? -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=384840
Gary Ekker
https://bugzilla.novell.com/show_bug.cgi?id=384840
User mmeeks@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=384840#c1
Michael Meeks
https://bugzilla.novell.com/show_bug.cgi?id=384840
User jpr@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=384840#c2
JP Rosevear
https://bugzilla.novell.com/show_bug.cgi?id=384840
User federico@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=384840#c3
--- Comment #3 from Federico Mena Quintero
https://bugzilla.novell.com/show_bug.cgi?id=384840
User federico@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=384840#c4
--- Comment #4 from Federico Mena Quintero
https://bugzilla.novell.com/show_bug.cgi?id=384840
User federico@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=384840#c5
Federico Mena Quintero
participants (1)
-
bugzilla_noreply@novell.com