Closed Bug 419935 Opened 17 years ago Closed 16 years ago

ubuntu talos boxes lose settings on reboot.

Categories

(Release Engineering :: General, defect, P2)

All
Linux
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: anodelman, Assigned: anodelman)

References

Details

Attachments

(1 file)

When we reboot the ubuntu talos boxes we lose the following settings: - vnc - correct settings for random/urandom - correct cpufreq settings - possibly apache needs to be restarted - buildbot slave does not auto restart
These machines also need to auto-login after reboot.
Component: Testing → Release Engineering
Priority: -- → P3
Product: Core → mozilla.org
Version: unspecified → other
QA Contact: testing → release
Assignee: anodelman → nobody
Component: Release Engineering → Release Engineering: Projects
Blocks: 447686
Assignee: nobody → anodelman
Component: Release Engineering: Future → Release Engineering: Talos
- added the following to rc.local: #set up vnc x11vnc -display :0 -shared -forever -rfbauth /home/mozqa/.vnc/passwd -auth /var/lib/gdm/:0.Xauth -bg #replace random with urandom rm /dev/random mknod /dev/random c 1 9 #set up throttling cpufreq-set -g userspace cpufreq-set -c 1 -g userspace cpufreq-set -f 1000 cpufreq-set -c 1 -f 1000 - /usr/share/hal/fdi/policy/10osvendor remove 10-cpufreq.fdi (disables hald-addon-cpufreq to allow rc.local settings to take effect) - sudo gksu /usr/sbin/gdmsetup (to have mozqa autologin) - Preferences -> Sessions -> gnome-terminal -x buildbot start talos-slave (for auto starting talos slave, also ensure that gnome-terminal is configured to stay open after command completion)
Priority: P3 → P2
I can add these settings to the talos linux image, but we'll need a plan to roll out the changes to currently up machines. If all the changes are applied you can cleanly reboot a linux talos slave - there will no longer be requirements to set additional configuration options after reboot.
Attached file rebootUbuntu.zip (deleted) —
Installation instructions: - System -> Administration -> Login Window -> Security -> Enable Automatic Login - Terminal -> Edit -> Profiles -> Select 'Default', click Edit -> Title and Command -> 'When command exits' -> 'Hold the terminal open' - System -> Preferences -> Sessions -> Startup Programs -> Add -> name: 'start talos slave', command: 'gnome-terminal -x buildbot start talos-slave' - grab rebootUbuntu.zip - unzip in home directory - sudo ./reboot.sh - test reboot * is the cpu frequency correct? * has random been replaced with urandom? * did buildbot auto start? - remove rebootUbuntu.zip and reboot.sh
Depends on: 453854
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Component: Release Engineering: Talos → Release Engineering
Product: mozilla.org → Release Engineering
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: