]>
git.pld-linux.org Git - projects/rc-scripts.git/log
Elan Ruusamäe [Fri, 16 Oct 2015 13:02:27 +0000 (16:02 +0300)]
0.4.15
Elan Ruusamäe [Thu, 8 Oct 2015 15:13:35 +0000 (18:13 +0300)]
makefile fix
Elan Ruusamäe [Thu, 8 Oct 2015 15:12:48 +0000 (18:12 +0300)]
daemon: makepid implies fork
Elan Ruusamäe [Thu, 8 Oct 2015 15:10:31 +0000 (18:10 +0300)]
daemon: make --makepid work with rc-logging
need a wrapper to achieve this
Elan Ruusamäe [Thu, 8 Oct 2015 15:05:32 +0000 (18:05 +0300)]
daemon: rewrite $@ to modify command, use runuser instead of su
this simplifies and avoids shell syntax. but until initlog, sigh
Elan Ruusamäe [Thu, 8 Oct 2015 14:46:41 +0000 (17:46 +0300)]
move inner body of daemon() into separate func
this will ease understanding it's logic and avoid bugs
Elan Ruusamäe [Thu, 8 Oct 2015 14:40:11 +0000 (17:40 +0300)]
subshell inherits as well
Elan Ruusamäe [Thu, 8 Oct 2015 14:37:29 +0000 (17:37 +0300)]
daemon: move $prog build to RC_LOGGING=yes part, ssd does not use it
Elan Ruusamäe [Thu, 8 Oct 2015 14:33:28 +0000 (17:33 +0300)]
test that "local" variables work for sub-functions as well
Tomasz Pala [Sun, 6 Sep 2015 17:08:18 +0000 (19:08 +0200)]
LANGUAGE variable gets passed via ssh as well, do not overwrite it
Tomasz Pala [Sun, 6 Sep 2015 07:02:43 +0000 (09:02 +0200)]
load systemd locale.conf after PLD-specific /etc/sysconfig/i18n
Elan Ruusamäe [Sat, 1 Aug 2015 19:48:09 +0000 (22:48 +0300)]
update comment for kernel.sysrq
Arkadiusz Miśkiewicz [Thu, 9 Jul 2015 07:18:37 +0000 (09:18 +0200)]
Make DELAY_LOGIN checks consistent with the one in rc.sysinit (broken in
277e5f5352e622c4317852cded63e2a287506655 ).
Elan Ruusamäe [Thu, 2 Jul 2015 21:01:45 +0000 (00:01 +0300)]
waitproc: i not used
Elan Ruusamäe [Mon, 18 May 2015 14:44:48 +0000 (17:44 +0300)]
daemon(): fix --waittime usage
previous implementation was copy paste from killproc, which assumed pid
already exists when loop is entered.
Elan Ruusamäe [Mon, 18 May 2015 14:01:13 +0000 (17:01 +0300)]
pidofproc: do not fallback, if pidfile was specified
Elan Ruusamäe [Mon, 18 May 2015 13:46:05 +0000 (16:46 +0300)]
filter_chroot, exit early if no pids
this is optimization to lessen noise when debugging, not performance
optimize
Elan Ruusamäe [Mon, 18 May 2015 13:22:14 +0000 (16:22 +0300)]
fix 12 year old bug in pidofproc
fallback to pidof did not work, i.e the output was sent without
filtering via filter_chroot
maybe it's not neccessary at all then? :)
Elan Ruusamäe [Mon, 18 May 2015 13:08:28 +0000 (16:08 +0300)]
daemon: fix infinitive loop
currently sleep returns always true, so the loop is never broken
Elan Ruusamäe [Mon, 18 May 2015 12:58:46 +0000 (15:58 +0300)]
ssd: --name is option for --stop, not --start
Elan Ruusamäe [Mon, 18 May 2015 09:34:45 +0000 (12:34 +0300)]
killproc: retry when --waitfortime was specified
so services like ldap (using killproc --waitfortime 300 -TERM), would
wait for previous instance to be stopped
as TERM is default, ldap should not specify -TERM signal in fact.
also respect --waitname in ssd kill mode
Elan Ruusamäe [Sat, 16 May 2015 08:03:05 +0000 (11:03 +0300)]
ensure /var/run/netreport dir exists
Jacek Konieczny [Wed, 22 Apr 2015 13:34:58 +0000 (15:34 +0200)]
Version: 0.4.14
Jacek Konieczny [Wed, 22 Apr 2015 06:44:41 +0000 (08:44 +0200)]
Drop all Upstart support
– it was ugly
– it was not maintained
– Upstart has not been usable in Th for some time anyway
Elan Ruusamäe [Wed, 11 Feb 2015 12:24:03 +0000 (14:24 +0200)]
makefile: add AM_DISTCHECK_CONFIGURE_FLAGS
Mariusz Mazur [Tue, 10 Feb 2015 14:33:47 +0000 (15:33 +0100)]
If an iface type is specified NEVER override it
Elan Ruusamäe [Thu, 22 Jan 2015 16:02:47 +0000 (18:02 +0200)]
v0.4.13
Elan Ruusamäe [Thu, 16 Oct 2014 07:56:53 +0000 (10:56 +0300)]
use /proc/sys/kernel/dmesg_restrict to set file mode for /var/log/dmesg
Mariusz Mazur [Thu, 22 Jan 2015 15:39:12 +0000 (16:39 +0100)]
Fix bonding and actually enable ETHTOOL_OPTS
1. Applying ETHTOOL_OPTS was inside a code block only run for bond
slaves. This is now fixed.
2. Dependency on 'ifenslave' for bonding device configuration was
dropped. Use iproute2 instead.
3. ifup/ifdown behavior for bondX and enslaved devices was fixed. Both
commands should be symmetrical: running 'ifdown SOMEIF; ifup SOMEIF'
should get SOMEIF as close to what its state was before ifdown as is
possible. This was very not the case.
Mariusz Mazur [Thu, 22 Jan 2015 14:16:17 +0000 (15:16 +0100)]
Allow overriding of vlan base device name
Now it's possible to, say, call all your vlan interfaces vlan.1, vlan.2,
vlan.N (or lan.X, pub.Y) regardless of the name of the physical
interface handling a given vlan.
Adam Osuchowski [Mon, 6 Oct 2014 12:19:34 +0000 (14:19 +0200)]
- `ip link' command syntax changed between versions 3.15 and 3.16
Elan Ruusamäe [Mon, 7 Jul 2014 15:36:39 +0000 (18:36 +0300)]
update make tag helper from geninitrd
Elan Ruusamäe [Mon, 7 Jul 2014 15:31:09 +0000 (18:31 +0300)]
version 0.4.12
Elan Ruusamäe [Thu, 19 Jun 2014 19:58:35 +0000 (22:58 +0300)]
add AUTOSWAP feature
inspired from initscripts 9.39-1
Elan Ruusamäe [Tue, 10 Jun 2014 06:56:07 +0000 (09:56 +0300)]
netfs: respect VSERVER_ISOLATION_NET here as well
Elan Ruusamäe [Sat, 29 Mar 2014 20:22:04 +0000 (22:22 +0200)]
add links to docs and sample script
Elan Ruusamäe [Sat, 29 Mar 2014 18:22:04 +0000 (20:22 +0200)]
update to 0.4.11
Elan Ruusamäe [Thu, 27 Mar 2014 22:57:00 +0000 (00:57 +0200)]
handle only firmware add requests
with handling all hotplug events, we ran into some kind of race condition
which resulted only one of the two bnx2 devices to appear working:
[ 16.425932] bnx2: Firmware file "bnx2/bnx2-rv2p-06-6.0.15.fw" is invalid
after inspecting bnx2.c sourcecode, appears that this error is printed only if
firmware file is too short and the firmware itself is and has always been 5696
bytes (in pld packages).
internally in firmware loader, the race appeared as:
+ '[' ! -e /sys/devices/pci0000:00/0000:00:1c.0/0000:02:00.0/0000:03:00.0/firmware/0000:03:00.0/loading ']'
+ '[' -e /lib/firmware/updates/3.4.83-1/bnx2/bnx2-rv2p-06-6.0.15.fw ']'
+ continue
+ '[' -e /lib/firmware/updates/bnx2/bnx2-rv2p-06-6.0.15.fw ']'
+ continue
+ '[' -e /lib/firmware/3.4.83-1/bnx2/bnx2-rv2p-06-6.0.15.fw ']'
+ >/sys/devices/pci0000:00/0000:00:1c.0/0000:02:00.0/0000:03:00.0/firmware/0000:03:00.0/loading
+ echo 1
+ >/sys/devices/pci0000:00/0000:00:1c.0/0000:02:00.0/0000:03:00.0/firmware/0000:03:00.0/data
+ cat /lib/firmware/3.4.83-1/bnx2/bnx2-rv2p-06-6.0.15.fw
/lib/firmware/firmware-loader.sh[29]: cat: <stdout>: No such device
Elan Ruusamäe [Thu, 27 Mar 2014 22:56:00 +0000 (00:56 +0200)]
log to kmsg, as syslog is not available early to notice the errors
Elan Ruusamäe [Thu, 27 Mar 2014 21:26:49 +0000 (23:26 +0200)]
cosmetic
Elan Ruusamäe [Thu, 20 Mar 2014 19:53:19 +0000 (21:53 +0200)]
0.4.10 release preparations
Elan Ruusamäe [Thu, 20 Mar 2014 19:40:54 +0000 (21:40 +0200)]
release notes: should pull latest changes of course :)
Arkadiusz Miśkiewicz [Thu, 20 Mar 2014 18:18:35 +0000 (19:18 +0100)]
Uh, for readability sake leave else and drop exit.
Arkadiusz Miśkiewicz [Thu, 20 Mar 2014 18:13:52 +0000 (19:13 +0100)]
Add additional vs isolation net detection method using /proc/self/ninfo (available for example on 3.13 kernel).
Arkadiusz Miśkiewicz [Thu, 20 Mar 2014 18:09:58 +0000 (19:09 +0100)]
Really fake network start if VSERVER_ISOLATION_NET is set.
Elan Ruusamäe [Sun, 2 Mar 2014 10:18:22 +0000 (10:18 +0000)]
fix ssd usage
Elan Ruusamäe [Sun, 2 Mar 2014 10:05:39 +0000 (10:05 +0000)]
daemon ssd mode: always setsid, so programs that properly don't daemonize get detached from terminal
there will be probably more programs that don't daemonie themselves due
that systemd movement which does all that for programs themselves
Elan Ruusamäe [Sun, 2 Mar 2014 10:05:01 +0000 (10:05 +0000)]
daemon ssd mode: keep consistent "$@"
Elan Ruusamäe [Sun, 2 Mar 2014 00:40:52 +0000 (02:40 +0200)]
daemon: always close stdin, avoids weird program deaths; redirect stdin "in", not "out"
Elan Ruusamäe [Sat, 1 Mar 2014 22:06:04 +0000 (00:06 +0200)]
service: --status-all: recognize systemd, more verbose output
Elan Ruusamäe [Fri, 17 Jan 2014 23:09:19 +0000 (01:09 +0200)]
mdadm: accept "DEVICE partitions" as indication to start mdadm
Elan Ruusamäe [Fri, 17 Jan 2014 22:10:53 +0000 (00:10 +0200)]
simplify & readability
Elan Ruusamäe [Mon, 30 Dec 2013 15:59:02 +0000 (17:59 +0200)]
Merge branch 'lxc'
Jacek Konieczny [Fri, 20 Dec 2013 13:58:01 +0000 (14:58 +0100)]
sysconfig/i18n: C.UTF-8 locale added
Some software may expect this.
localedb-src >= 2.18-6 needed (otherwise the entry will be skipped with
warning)
Jacek Konieczny [Fri, 20 Dec 2013 13:57:09 +0000 (14:57 +0100)]
sysconfig/i18n: single SUPPORTED_LOCALES is enough
Elan Ruusamäe [Wed, 20 Nov 2013 10:24:43 +0000 (12:24 +0200)]
filter_ns: always add dead processes
Elan Ruusamäe [Wed, 20 Nov 2013 10:18:01 +0000 (12:18 +0200)]
filter_chroot: filter also by pid namespace
Elan Ruusamäe [Mon, 18 Nov 2013 21:16:50 +0000 (23:16 +0200)]
make lxc behave same as vserver
this probably deserves config variable for cases where people do want to
mount or configure network inside container
Elan Ruusamäe [Mon, 4 Nov 2013 22:40:39 +0000 (00:40 +0200)]
drop po/rc-scripts.pot from git, autogenerated by make dist
Kacper Kornet [Mon, 11 Nov 2013 16:40:43 +0000 (17:40 +0100)]
fix tag pushing in make-tag.sh
Jan Rękorajski [Mon, 11 Nov 2013 11:36:00 +0000 (12:36 +0100)]
Version 0.4.9
Jan Rękorajski [Mon, 11 Nov 2013 11:00:52 +0000 (12:00 +0100)]
Drop support for utmpx/wtmpx
There was never any difference between regular and "extended" utmp/wtmp
file on linux. Some programs (like last from util-linux 2.24, or systemd)
have no knowledge about them, and keeping those files supported in PLD
is useless pain.
Elan Ruusamäe [Mon, 4 Nov 2013 22:11:29 +0000 (00:11 +0200)]
up to 0.4.8
Kacper Kornet [Sun, 3 Nov 2013 01:35:38 +0000 (01:35 +0000)]
remove $Id$ lines
Kacper Kornet [Sat, 2 Nov 2013 22:50:32 +0000 (23:50 +0100)]
update release instructions to git
Kacper Kornet [Sat, 2 Nov 2013 22:48:06 +0000 (23:48 +0100)]
update make-tag.sh to git
Kacper Kornet [Sat, 2 Nov 2013 22:00:15 +0000 (23:00 +0100)]
autogen.sh: always generate ChangeLog
Kacper Kornet [Sat, 2 Nov 2013 22:03:18 +0000 (23:03 +0100)]
.gitignore: fix typo in ChangeLog file name
Kacper Kornet [Sat, 2 Nov 2013 21:46:56 +0000 (22:46 +0100)]
don't track ChangeLog
It is generated from scratch during every release process so there is no
sense to track it in git.
Kacper Kornet [Sat, 2 Nov 2013 21:23:13 +0000 (22:23 +0100)]
new script to generate ChangeLog from git repository
Elan Ruusamäe [Sat, 2 Nov 2013 21:25:58 +0000 (23:25 +0200)]
more ignores
Elan Ruusamäe [Sat, 2 Nov 2013 21:21:13 +0000 (23:21 +0200)]
fix call to autoheader
Elan Ruusamäe [Sat, 2 Nov 2013 21:18:57 +0000 (23:18 +0200)]
update vim ignores
Elan Ruusamäe [Sat, 2 Nov 2013 21:15:37 +0000 (23:15 +0200)]
update gitgnore from github
https://raw.github.com/github/gitignore/master/Autotools.gitignore
Elan Ruusamäe [Sat, 2 Nov 2013 21:14:00 +0000 (23:14 +0200)]
ignore compile (from automake)
Elan Ruusamäe [Sat, 2 Nov 2013 20:55:37 +0000 (22:55 +0200)]
add .gitignore from svn:ignore
Elan Ruusamäe [Sat, 26 Oct 2013 20:15:53 +0000 (20:15 +0000)]
run-parts: handle patterns like we did in pld
svn-id: @12727
Elan Ruusamäe [Sun, 20 Oct 2013 10:49:37 +0000 (10:49 +0000)]
set DHCP_HOSTNAME only basename, domain part is filled by dhcp server
svn-id: @12726
Elan Ruusamäe [Fri, 18 Oct 2013 16:35:25 +0000 (16:35 +0000)]
use AM_CPPFLAGS instead of INCLUDES
svn-id: @12725
Elan Ruusamäe [Fri, 18 Oct 2013 16:32:33 +0000 (16:32 +0000)]
add run-parts from debianutils 4.4
switch to debian one, it's more complete and at least maintained
basic usage without args works without modifications.
old script preserved as run-parts.sh in case need quickly to revert to previous script
svn-id: @12724
Elan Ruusamäe [Sun, 1 Sep 2013 21:46:44 +0000 (21:46 +0000)]
tabs
svn-id: @12720
Elan Ruusamäe [Sun, 1 Sep 2013 21:46:38 +0000 (21:46 +0000)]
localize $cmdline in parse_cmdnline
svn-id: @12719
Elan Ruusamäe [Sun, 1 Sep 2013 20:56:01 +0000 (20:56 +0000)]
update functions relative location
svn-id: @12718
Elan Ruusamäe [Sun, 1 Sep 2013 20:37:23 +0000 (20:37 +0000)]
release 0.4.7
svn-id: @12716
Kacper Kornet [Mon, 19 Aug 2013 11:13:25 +0000 (11:13 +0000)]
increase timeout for link up
svn-id: @12715
Elan Ruusamäe [Sat, 27 Jul 2013 10:55:41 +0000 (10:55 +0000)]
fix pdksh incompatibility of ok/fail printing
svn-id: @12712
Elan Ruusamäe [Wed, 17 Jul 2013 20:52:15 +0000 (20:52 +0000)]
add apply_sysctl() to load sysctl parameters
uses systemd-sysctl(8) to load, if present, otherwise
loads files in same way as systemd-sysctl(8):
/usr/lib/sysctl.d, /run/sysctl.d, /etc/sysctl.d, /etc/sysctl.conf
where matching files from .d files are not loaded
see sysctl.d(5) for description
svn-id: @12700
Elan Ruusamäe [Tue, 11 Jun 2013 22:19:50 +0000 (22:19 +0000)]
modprobe cache: cache only wanted params
svn-id: @12695
Elan Ruusamäe [Tue, 11 Jun 2013 22:19:05 +0000 (22:19 +0000)]
handle kmod translating `-` to `_`
svn-id: @12694
Elan Ruusamäe [Tue, 11 Jun 2013 22:17:33 +0000 (22:17 +0000)]
unify modprobe alias lookups
svn-id: @12693
Elan Ruusamäe [Sat, 1 Jun 2013 08:09:33 +0000 (08:09 +0000)]
update comment to match code for stuffed statements in meanwhile
svn-id: @12692
Elan Ruusamäe [Sat, 1 Jun 2013 07:59:08 +0000 (07:59 +0000)]
eval halt makes no sense, added in r574 doesn't give any clue either
svn-id: @12691
Elan Ruusamäe [Fri, 31 May 2013 13:11:22 +0000 (13:11 +0000)]
add autologin sample
svn-id: @12690
Elan Ruusamäe [Thu, 30 May 2013 23:48:45 +0000 (23:48 +0000)]
grep fixed strings where appropriate
svn-id: @12689
Elan Ruusamäe [Thu, 30 May 2013 23:30:05 +0000 (23:30 +0000)]
move kernel.panic to sysconfig, deprecating PANIC_REBOOT_TIME
svn-id: @12688
Elan Ruusamäe [Thu, 30 May 2013 23:26:01 +0000 (23:26 +0000)]
use sysctl -q instead of /dev/null redirections
svn-id: @12687
Elan Ruusamäe [Thu, 30 May 2013 23:16:37 +0000 (23:16 +0000)]
/sys is likely already mounted, fgrep /proc/filesystems
svn-id: @12686
Elan Ruusamäe [Thu, 30 May 2013 23:01:09 +0000 (23:01 +0000)]
move hwprofiles enable/disable option to sysconfig/system
old config location still supported (overrides if present)
svn-id: @12684
Elan Ruusamäe [Thu, 30 May 2013 22:55:48 +0000 (22:55 +0000)]
fix typo
svn-id: @12683
Elan Ruusamäe [Thu, 30 May 2013 22:48:05 +0000 (22:48 +0000)]
move $SELINUX variable setup to function
svn-id: @12682
This page took 0.730277 seconds and 4 git commands to generate.