|
OneSIS OneSIS debian patch for Squeeze debian.6.32/usr/share/oneSIS/distro-patches/debian-6.32.patch
--- etc/init.d/rmnologin.orig 2011-11-11 13:54:35.000000000 -0800
+++ etc/init.d/rmnologin 2011-11-11 13:55:08.000000000 -0800
@@ -12,6 +12,7 @@
# bootmisc earlier in the boot process.
### END INIT INFO
+exit
PATH=/sbin:/bin
[ "$DELAYLOGIN" ] || DELAYLOGIN=yes
. /lib/init/vars.sh
--- etc/init.d/bootmisc.sh.orig 2011-11-11 14:06:53.000000000 -0800
+++ etc/init.d/bootmisc.sh 2011-11-11 14:07:20.000000000 -0800
@@ -19,11 +19,11 @@
# If login delaying is enabled then create the flag file
# which prevents logins before startup is complete
#
- case "$DELAYLOGIN" in
- Y*|y*)
- echo "System bootup in progress - please wait" > /var/lib/initscripts/nologin
- ;;
- esac
+ #case "$DELAYLOGIN" in
+ # Y*|y*)
+ # echo "System bootup in progress - please wait" > /var/lib/initscripts/nologin
+ # ;;
+ #esac
# Create /var/run/utmp so we can login.
: > /var/run/utmp
OneSIS Configuration/var/lib/oneSIS/image/etc/sysimage.conf####-----------------------------------------------------------------------#### # example oneSIS configuration file. # # This config is more complex than the typical setup. # It is trying to show an example of how to use each type of directive. # # For more information on configuration directives/syntax, refer to the # oneSIS Administrator's manual: http://onesis.sourceforge.net/docs.html ####-----------------------------------------------------------------------#### ####-----------------------------------------------------------------------#### # DISTRO: <name> <version> # DISTRO: debian 6.32 ####-----------------------------------------------------------------------#### ####-----------------------------------------------------------------------#### # INCLUDE: <path> # ####-----------------------------------------------------------------------#### ####-----------------------------------------------------------------------#### # NODECLASS_REGEXP: <perl_regexp> <CLASS> # # NODECLASS_MAP: <NODE> <CLASS> # # NODECLASS_RANGE: <prefix[RANGE]...suffix> <CLASS> # # RANGE can be of the form [a-b,x-y,...], where a<b and x<y # #NODECLASS_REGEXP node\d+ compute # There is now no difference between compute and dcs NODECLASS_REGEXP: .* compute ####-----------------------------------------------------------------------#### ####-----------------------------------------------------------------------#### # PROPERTY: <propname> [-c CLASS[,CLASS]...] [-n NODE[,NODE]...] # # [-r RANGE] [-re REGEXP] # ####-----------------------------------------------------------------------#### ####-----------------------------------------------------------------------#### # SERVICE: <name> -c CLASS[,CLASS]... -n NODE[,NODE]... # #SERVICE: mdce -c dcs # torque and mdce run on all machines, submit to bettye, # then distributed to those machines listed on bettye (all) #SERVICE: torque-mom #SERVICE: torque-mom -c dcs #using uw server for regular matlab now, sarah for DCS, bettye for pbs_server SERVICE: flexnet -n sarah #herbie is backup server for torque SERVICE: pbs_server -n herbie ####-----------------------------------------------------------------------#### ####-----------------------------------------------------------------------#### # RAMSIZE: <max_size [k|m|g]> [-c CLASS[,CLASS]...] [-n NODE[,NODE]...] # # [-p PROPERTY[,PROPERTY]...] # RAMSIZE 100m ####-----------------------------------------------------------------------#### ####-----------------------------------------------------------------------#### # RAMDIR: <dir> [-d] [-p] [-m mode] [-u user] [-g group] # # [-c CLASS[,CLASS]...] [-n NODE[,NODE]...] # # [-p PROPERTY[,PROPERTY]...] # # RAMFILE: <file> [-d] [-m mode] [-u user] [-g group] # # [-c CLASS[,CLASS]...] [-n NODE[,NODE]...] # # [-p PROPERTY[,PROPERTY]...] # ####-----------------------------------------------------------------------#### ####-----------------------------------------------------------------------#### # LINKDIR: <dir> [-d] [-p] [-c CLASS[,CLASS]...] [-n NODE[,NODE]...] # # [-p PROPERTY[,PROPERTY]...] # # LINKFILE: <file> [-d] [-c CLASS[,CLASS]...] [-n NODE[,NODE]...] # # [-p PROPERTY[,PROPERTY]...] # LINKDIR /var/run -d LINKDIR /var/log -d LINKDIR /var/lock -d LINKDIR /tmp LINKDIR /var/tmp LINKDIR /var/lib/gdm -d LINKDIR /var/lib/mdce -d LINKDIR /var/lib/munin LINKDIR /var/lib/nfs/sm -d LINKDIR /var/lib/xkb -d LINKDIR /var/lib/ntp -d LINKDIR /root -d LINKDIR /usr/tmp LINKDIR /var/spool/torque -d LINKDIR /var/cache/nscd LINKFILE /etc/hosts.deny -d ####-----------------------------------------------------------------------#### ####-----------------------------------------------------------------------#### # LINKBACK: <file|dir> [*] <'CLASS'|'NODE'|target> [-h] # # [-c CLASS[,CLASS]...] [-n NODE[,NODE]...] # # [-p PROPERTY[,PROPERTY]...] # #LINKBACK /etc/fstab CLASS #LINKBACK /etc/profile CLASS # no more uncommented options below ####-----------------------------------------------------------------------#### ####-----------------------------------------------------------------------#### # DISKMOUNT: <disk> <size[%]> <mointpoint> # # [-c CLASS[,CLASS]...] [-n NODE[,NODE]...] # # [-p PROPERTY[,PROPERTY]...] # # DISKSWAP: <disk> <size[%]> # # [-c CLASS[,CLASS]...] [-n NODE[,NODE]...] # # [-p PROPERTY[,PROPERTY]...] # ####-----------------------------------------------------------------------#### ####-----------------------------------------------------------------------#### # DEPLOYMOUNT: <disk> <size[%]> <mointpoint> # # [-c CLASS[,CLASS]...] [-n NODE[,NODE]...] # # [-p PROPERTY[,PROPERTY]...] # # DEPLOYSWAP: <disk> <size[%]> [-c CLASS[,CLASS]...] [-n NODE[,NODE]...] # # [-p PROPERTY[,PROPERTY]...] # # BOOTLOADER: <grub | lilo> [-c CLASS[,CLASS]...] [-n NODE[,NODE]...] # # [-p PROPERTY[,PROPERTY]...] # # SYNCDIR: <path> [-c CLASS[,CLASS]...] [-n NODE[,NODE]...] # # [-p PROPERTY[,PROPERTY]...] # # EXCLUDESYNC: <path> [-c CLASS[,CLASS]...] [-n NODE[,NODE]...] # # [-p PROPERTY[,PROPERTY]...] # ####-----------------------------------------------------------------------#### ####-----------------------------------------------------------------------#### # ETH_PRELOAD: <driver,[driver]...> # # MAC_ADDR: <hostname> <mac_address> # ####-----------------------------------------------------------------------#### ####-----------------------------------------------------------------------#### # CONSOLECMD: [-c CLASS[,CLASS]...] [-n NODE[,NODE]...] # # [-p PROPERTY[,PROPERTY]...] <command> # # POWERCMD: <function> [-c CLASS[,CLASS]...] [-n NODE[,NODE]...] # # [-p PROPERTY[,PROPERTY]...] <command> # # function can be: ON,OFF,CYCLE,STATUS,LEDON,LEDOFF,LEDSTATUS # # SPECFORMAT: <spec_id> <format> [HOST:/// | IP:///] [SPEC:///] # # format can be: hostname,ipaddr,basic_range,ext_range # ####-----------------------------------------------------------------------#### Current suspicious logging at startup: .udev/ already exists on the static /dev! (warning). ... Setting kernel variables (/etc/sysctl.conf) ... done. Mounting local filesystem ... mount: none already mounted or /dev/pts busy mount: according to mtab, devpts is already mounted on /dev/pts failed. Activating swapfile swap ... done. /lib/init/bootclean.sh: line 24: /var/lock/.clean: Read-only file system bootclean: Failure creating '/var/lock/.clean'. failed! Setting up networking... ... Starting nfs common utilities. statd. /lib/init/bootclean.sh: line 24: /var/lock/clean: Read-only file system bootclean: Failure creating '/var/lock/.clean'. failed! Setting console screen modes and fonts. Setting up ALSA ... done chown: failed to get attributes of `/var/log/dmesg': No such file or directory chmod: failed to get attributes of `/var/log/dmesg': No such file or directory rm: cannot remove `/var/lib/urandom/random-seed': Read-only file system INIT: Entering runlevel: 2 ... Starting GNOME Display Manager: gdmgdm[2072]: WARNING: gdm_config_parse: Logdir /var/log/gdm does not exist or isn't a directory Using ServAuthDir /var/lib/gdm. |