Page head image

Viewing posts tagged opensuse

Upgrading from openSUSE 11.1 to 11.2, continued

After more or less successfully upgrading three very different machines online and at least ending up with usable network afterwards, I dared to upgrade the machine in the data center at the other end of town. And promptly ran into bnc#546575, which earned me a trip to said data center as the machine wasn't accessible by network anymore.

Upgrading from openSUSE 11.1 to 11.2

I've encountered some unusual obstacles during the upgrade from openSUSE 11.1 to 11.2. Apparently, my setup is a bit outside of the spec... This is what I had to do.

About eating your own dog food

I've successfully updated my machine located at the data centre from openSUSE 11.0 to 11.1 via a remote SSH connection and "zypper dup" yesterday. Contrary to my previous experiences with online upgrades, only minor obstacles were encountered:

  • Jabberd, the only package from OBS, got rebuilt between downloading the meta data and the package itself

  • Zypper somehow got confused by blank characters in repo locations midway through the update (simply restarting zypper helped)

  • I had to copy back my manually edited postfix configuration as it was replaced by the generic one from the RPM

  • Tomcat6 startup scripts missing JAVA_HOME

Just two hours of work (mainly observing zypper working and checking functionality), no serious breakage, no trip to the data centre, no manual update of half of the packages. I'm truly impressed.

Wake on LAN doesn't

One difference between openSUSE 11.0 and 11.1 really bugged me: even though I enabled Wake on LAN (WOL) on eth0, the driver would switch off the transceiver on suspend to RAM. After some investigation I found that the atl1e driver has the "wakeup" flag for power management set to "disabled", regardless what I set with ethtool. After enabling it with "echo enabled >/sys/class/net/eth0/device/power/wakeup", WOL works again. As a quick workaround I created a file /etc/udev/rules.d/78-enablewol.rules with the following udev rules:

SUBSYSTEM=="net", ENV{INTERFACE}!="eth*", GOTO="skip_wol"
SUBSYSTEM=="net", ACTION=="add", RUN+="/bin/sh -c 'echo enabled >/sys/class/net/$env{INTERFACE}/device/power/wakeup' "
LABEL="skip_wol"

Edit: Forgot that redirections aren't implemented in udev. Sigh.

Disabling bash completion scripts

Do you hate the "intelligent" bash completions on openSUSE or SLES/SLED as much as I do? touch ~/.bash.expert turns them off.