This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Arch Linux initscripts repository". The branch, master has been updated via cb7c9e8b87f4aae5b9726c9feac0b36907d6b72d (commit) via 8a445c6d35f75eac1b13ace4a855934c597e9982 (commit) via 71e8540921bba7df926a3af9714d380c5af2b538 (commit) via 98363ca955850c62064934265c56a7ca159b0035 (commit) via a16cbaeda9ee38d581e8556cc31cc9aa10afb9d2 (commit) via 89a56bde72418c289155b3eb5725f10f146899f6 (commit) via 4cc6dba9c7c709c40b8e70df68569cc9a34e4b69 (commit) via 540e6b39885ccbcb11b8622f902bb9462368501c (commit) via 834d47fedd68a5adbd6152649363d99b6ad642b4 (commit) via ed0a943cc9762a1ccaf38bd3c36c31bf56f60fd9 (commit) via 328e15f698f4c280d61bfce1f27bf21c1a7f057d (commit) via d1f4307c2e7fb56a6f699bf2bfaa3e67197c46ef (commit) via 02de29190c10dab4d1b43062d71eff11b9c980b5 (commit) via d36c8a882bfdb863693d749db980af18d49e4e86 (commit) via f036700f0e4c112e533d0468da91ffa5e06929b9 (commit) via cd34f837bfe3cc4798aeb5789f7717000ccdbf60 (commit) via fee9a12c24c058adcf79051ffe0431dda0b1600d (commit) via 1259ab3a31e619b755424e226ca4ddf0dcc2410d (commit) via 356eb55dc1594ce0ce2714b3debfeaaca9926c0d (commit) via 7e54af25d4d97150d508d8edba8614718988fc3c (commit) from 9abda43474520dbc98674fed13bb647322e3c30f (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit cb7c9e8b87f4aae5b9726c9feac0b36907d6b72d Merge: 8a445c6 1259ab3 Author: Tom Gundersen <teg@jklm.no> Date: Sun Jul 10 21:59:16 2011 +0200 Merge remote-tracking branch 'seblu/master' commit 8a445c6d35f75eac1b13ace4a855934c597e9982 Author: Kurt J. Bosch <kjb-temp-2009@alpenjodel.de> Date: Sat Jul 9 20:02:05 2011 +0200 rc.single: Remove $PATH assignment No need to set $PATH any more now that is in functions commit 71e8540921bba7df926a3af9714d380c5af2b538 Author: Kurt J. Bosch <kjb-temp-2009@alpenjodel.de> Date: Thu Jul 7 01:23:45 2011 +0200 rc.sysinit: Simplify /var/run/daemons workaround There are only two possible situations: a) /var/run is a symlink to /run: Conditional result is always 'false' even without checking /var/run/daemons (which doesn't exist). b) /var/run is a directory: Conditional result is always 'true' because any symlink was removed when cleaning /var/run. So following changes can be made: * /var/run/daemons can be removed unconditionally because a symlink doesn't survive cleaning of /var/run anyway. * The check whether /var/run/daemons is a symlink can be dropped because it has actually no effect. Furthermore we can refactor to use the same conditional used for cleaning /var/run because we can't create the symlink if /var/run is not a directory. commit 98363ca955850c62064934265c56a7ca159b0035 Author: Kurt J. Bosch <kjb-temp-2009@alpenjodel.de> Date: Tue Jul 5 23:35:07 2011 +0200 functions/netfs: Refactor filesystem type lists and $NETFS Currently $NETFS is used only for fsck and mount in rc.sysinit. Since we moved it into functions, we can use it in netfs too to get rid of redundancy. functions: * Move 'nosysfs' from $NETFS into the mount -a type list because thats obviously the only meaningfull place. * Add 'nofuse.glusterfs' to $NETFS to match the lists in netfs. * Remove all 'no'-prefixes from $NETFS to make it more useful and readable. * Add 'no'-prefixes to fsck and mount -a commands by parameter substitution. netfs: * Instead of the literals use $NETFS from functions which contains the same types now commit a16cbaeda9ee38d581e8556cc31cc9aa10afb9d2 Author: Kurt J. Bosch <kjb-temp-2009@alpenjodel.de> Date: Tue Jul 5 23:01:06 2011 +0200 netfs: Refactor to provide meaningful exit code Get rid of simple if-clauses and provide meaningfull exit code. Maybe someone wants to abort suspend to disk/ram or something if umount fails or even start this in a loop. commit 89a56bde72418c289155b3eb5725f10f146899f6 Author: Kurt J. Bosch <kjb-temp-2009@alpenjodel.de> Date: Tue Jul 5 22:53:20 2011 +0200 netfs: Strip paths from binaries We set $PATH in functions now, so use it. commit 4cc6dba9c7c709c40b8e70df68569cc9a34e4b69 Author: Kurt J. Bosch <kjb-temp-2009@alpenjodel.de> Date: Sun Jul 10 11:21:26 2011 +0200 netfs: cleanup whitespace commit 540e6b39885ccbcb11b8622f902bb9462368501c Author: Kurt J. Bosch <kjb-temp-2009@alpenjodel.de> Date: Sat Jul 2 18:40:09 2011 +0200 functions: Speed up reboot/shutdown by recognizing killall5 exit code 2 killall5 returns 2 if it didn't find any processes to send to. Using this avoids sleeping longer than needed. This saves another up to six seconds of reboot/shutdown/go-single time. commit 834d47fedd68a5adbd6152649363d99b6ad642b4 Author: Kurt J. Bosch <kjb-temp-2009@alpenjodel.de> Date: Sun Jul 3 19:36:29 2011 +0200 functions: Make status() return the actual exit code The exit code returned by the given command might be useful/expected, so don't discard but return it. commit ed0a943cc9762a1ccaf38bd3c36c31bf56f60fd9 Author: Kurt J. Bosch <kjb-temp-2009@alpenjodel.de> Date: Sun Jul 10 18:12:53 2011 +0200 rc.sysinit: Remove unneeded variables initializations Variables should be empty anyway here. commit 328e15f698f4c280d61bfce1f27bf21c1a7f057d Author: Kurt J. Bosch <kjb-temp-2009@alpenjodel.de> Date: Sun Jul 3 21:13:50 2011 +0200 functions/rc.sysinit: Refactor fsck-redirection to prevent breakage $FSCK_OUT/$FSCK_ERR might not be set when: * unset in some custom sysinit_prefsck hook * calling fsck() from a shutdown hook commit d1f4307c2e7fb56a6f699bf2bfaa3e67197c46ef Author: Kurt J. Bosch <kjb-temp-2009@alpenjodel.de> Date: Sun Jul 3 18:44:53 2011 +0200 rc.sysinit: Declare $FORCEFSCK read-only This prevents sysinit_prefsck hooks from overwriting the value. commit 02de29190c10dab4d1b43062d71eff11b9c980b5 Author: Kurt J. Bosch <kjb-temp-2009@alpenjodel.de> Date: Sat Jul 2 17:28:10 2011 +0200 Refactor kill_everything, fsck_all and mount_all code Genaral scheme for hook positions is now: run_hook pre_foo if [[$WE_WANT_TO_DO_FOO]]]; then stat_busy "Doing foo" if [[$PRECONDITIONS_FOR_FOO_NOT_SATISFIED]]; then stat_fail else ... stat_done fi fi run hook post_foo rc.sysinit ----------- run_hook pre_foo [[$WE_WANT_TO_DO_FOO]] && status "Doing foo" foo run hook post_foo functions ------------ foo() { [[$PRECONDITIONS_FOR_FOO_NOT_SATISFIED]] && return 1 ... } Rationale Following this scheme as close as possible (without duplicating code and status messages) makes stuff more readable and uniform. Splitting kill_everything() into two new functions stop_all_daemons() and kill_all() also allows customization of either daemons stopping or process killing in an easy way. Suggested-by: Tom Gundersen <teg@jklm.no> commit d36c8a882bfdb863693d749db980af18d49e4e86 Author: Kurt J. Bosch <kjb-temp-2009@alpenjodel.de> Date: Sat Jul 2 18:10:24 2011 +0200 functions/rc.multi: Strip paths from binaries Now that we set PATH in functions, we can use is everywhere. commit f036700f0e4c112e533d0468da91ffa5e06929b9 Author: Kurt J. Bosch <kjb-temp-2009@alpenjodel.de> Date: Sun Jul 3 18:46:56 2011 +0200 functions: Add missing quotes in mount_all() Prevent any word splitting where not intended. commit cd34f837bfe3cc4798aeb5789f7717000ccdbf60 Author: Kurt J. Bosch <kjb-temp-2009@alpenjodel.de> Date: Sat Jul 2 17:48:57 2011 +0200 functions: Get rid of superfluous braces in udevd_modprobe() Braces are not needed in this case as a variable name can not begin with a number. commit fee9a12c24c058adcf79051ffe0431dda0b1600d Author: Kurt J. Bosch <kjb-temp-2009@alpenjodel.de> Date: Sun Jul 3 20:15:32 2011 +0200 rc.sysinit: Fix stat_busy block indentation The general rule is now: Align stat_{fail,done} with stat_busy commit 1259ab3a31e619b755424e226ca4ddf0dcc2410d Author: Sebastien Luttringer <seblu@seblu.net> Date: Thu Jul 7 13:59:40 2011 +0200 Remove usage of head in PKGBUILD Signed-off-by: Sebastien Luttringer <seblu@seblu.net> commit 356eb55dc1594ce0ce2714b3debfeaaca9926c0d Author: derhoch <derhoch@googlemail.com> Date: Thu Jul 7 03:13:28 2011 -0700 changing _rd.d to _rc_d to avoid: /etc/bash_completion.d/rc.d: line 19: `_rc.d': not a valid identifier Signed-off-by: Sebastien Luttringer <seblu@seblu.net> commit 7e54af25d4d97150d508d8edba8614718988fc3c Author: Kurt J. Bosch <kjb-temp-2009@alpenjodel.de> Date: Sat Jul 2 17:10:35 2011 +0200 functions/rc.single: Clean up whitespace ----------------------------------------------------------------------- Summary of changes: PKGBUILD | 2 +- bash-completion | 4 +- functions | 107 ++++++++++++++++++++++++++----------------------------- netfs | 31 ++++++---------- rc.multi | 2 +- rc.shutdown | 8 ++++- rc.single | 15 +++++--- rc.sysinit | 31 ++++++++++++---- 8 files changed, 107 insertions(+), 93 deletions(-) hooks/post-receive -- Arch Linux initscripts repository