[26629] in Athena Bugs

home help back first fref pref prev next nref lref last post

Possible bug in 9.4 Linux /etc/rc.d/rc5.d/S05athena-sysconfig

daemon@ATHENA.MIT.EDU (Bill Cattey)
Thu Sep 22 20:05:46 2005

From: Bill Cattey <wdc@mit.edu>
To: bugs@mit.edu
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
Date: Thu, 22 Sep 2005 20:04:57 -0400
Message-Id: <1127433897.26870.59.camel@tokata.mit.edu>
Mime-Version: 1.0
X-Spam-Score: 2.38
X-Spam-Level: ** (2.38)
X-Spam-Flag: NO
Errors-To: bugs-bounces@mit.edu

I've been struggling to understand why, after reboot, the HP laptop I've
been testing reverts to the wrong monitor settings.

The relevant logic is:

        # Revert xorg.conf if kudzu has changed it.
        if find /etc/X11/xorg.conf -cmin -1 > /dev/null \
            && test -f /etc/X11/xorg.conf.backup ; then
          echo "xorg.conf has changed; saving new version
as /etc/X11/xorg.conf.kudzunew"
          mv /etc/X11/xorg.conf /etc/X11/xorg.conf.kudzunew
          mv /etc/X11/xorg.conf.backup /etc/X11/xorg.conf
        fi

What it's supposed to do is see if kudzu change xorg.conf, and if so,
move it aside.

Instead, it detects a manual change of xorg.conf, and dutifully undoes
the manual setup THINKING that kudzu did it.

-wdc


home help back first fref pref prev next nref lref last post