]> git.pld-linux.org Git - projects/rc-scripts.git/log
projects/rc-scripts.git
10 years ago0.4.10 release preparations 0.4.10
Elan Ruusamäe [Thu, 20 Mar 2014 19:53:19 +0000 (21:53 +0200)]
0.4.10 release preparations

10 years agorelease notes: should pull latest changes of course :)
Elan Ruusamäe [Thu, 20 Mar 2014 19:40:54 +0000 (21:40 +0200)]
release notes: should pull latest changes of course :)

10 years agoUh, for readability sake leave else and drop exit.
Arkadiusz Miśkiewicz [Thu, 20 Mar 2014 18:18:35 +0000 (19:18 +0100)]
Uh, for readability sake leave else and drop exit.

10 years agoAdd additional vs isolation net detection method using /proc/self/ninfo (available...
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).

10 years agoReally fake network start if VSERVER_ISOLATION_NET is set.
Arkadiusz Miśkiewicz [Thu, 20 Mar 2014 18:09:58 +0000 (19:09 +0100)]
Really fake network start if VSERVER_ISOLATION_NET is set.

10 years agofix ssd usage
Elan Ruusamäe [Sun, 2 Mar 2014 10:18:22 +0000 (10:18 +0000)]
fix ssd usage

10 years agodaemon ssd mode: always setsid, so programs that properly don't daemonize get detache...
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

10 years agodaemon ssd mode: keep consistent "$@"
Elan Ruusamäe [Sun, 2 Mar 2014 10:05:01 +0000 (10:05 +0000)]
daemon ssd mode: keep consistent "$@"

10 years agodaemon: always close stdin, avoids weird program deaths; redirect stdin "in", not...
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"

10 years agoservice: --status-all: recognize systemd, more verbose output
Elan Ruusamäe [Sat, 1 Mar 2014 22:06:04 +0000 (00:06 +0200)]
service: --status-all: recognize systemd, more verbose output

10 years agomdadm: accept "DEVICE partitions" as indication to start mdadm
Elan Ruusamäe [Fri, 17 Jan 2014 23:09:19 +0000 (01:09 +0200)]
mdadm: accept "DEVICE partitions" as indication to start mdadm

10 years agosimplify & readability
Elan Ruusamäe [Fri, 17 Jan 2014 22:10:53 +0000 (00:10 +0200)]
simplify & readability

10 years agoMerge branch 'lxc'
Elan Ruusamäe [Mon, 30 Dec 2013 15:59:02 +0000 (17:59 +0200)]
Merge branch 'lxc'

10 years agosysconfig/i18n: C.UTF-8 locale added
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)

10 years agosysconfig/i18n: single SUPPORTED_LOCALES is enough
Jacek Konieczny [Fri, 20 Dec 2013 13:57:09 +0000 (14:57 +0100)]
sysconfig/i18n: single SUPPORTED_LOCALES is enough

10 years agofilter_ns: always add dead processes
Elan Ruusamäe [Wed, 20 Nov 2013 10:24:43 +0000 (12:24 +0200)]
filter_ns: always add dead processes

10 years agofilter_chroot: filter also by pid namespace
Elan Ruusamäe [Wed, 20 Nov 2013 10:18:01 +0000 (12:18 +0200)]
filter_chroot: filter also by pid namespace

10 years agomake lxc behave same as vserver
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

10 years agodrop po/rc-scripts.pot from git, autogenerated by make dist
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

10 years agofix tag pushing in make-tag.sh
Kacper Kornet [Mon, 11 Nov 2013 16:40:43 +0000 (17:40 +0100)]
fix tag pushing in make-tag.sh

10 years agoVersion 0.4.9 0.4.9
Jan Rękorajski [Mon, 11 Nov 2013 11:36:00 +0000 (12:36 +0100)]
Version 0.4.9

10 years agoDrop support for utmpx/wtmpx
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.

10 years agoup to 0.4.8 0.4.8
Elan Ruusamäe [Mon, 4 Nov 2013 22:11:29 +0000 (00:11 +0200)]
up to 0.4.8

10 years agoremove $Id$ lines
Kacper Kornet [Sun, 3 Nov 2013 01:35:38 +0000 (01:35 +0000)]
remove $Id$ lines

10 years agoupdate release instructions to git
Kacper Kornet [Sat, 2 Nov 2013 22:50:32 +0000 (23:50 +0100)]
update release instructions to git

10 years agoupdate make-tag.sh to git
Kacper Kornet [Sat, 2 Nov 2013 22:48:06 +0000 (23:48 +0100)]
update make-tag.sh to git

10 years agoautogen.sh: always generate ChangeLog
Kacper Kornet [Sat, 2 Nov 2013 22:00:15 +0000 (23:00 +0100)]
autogen.sh: always generate ChangeLog

10 years ago.gitignore: fix typo in ChangeLog file name
Kacper Kornet [Sat, 2 Nov 2013 22:03:18 +0000 (23:03 +0100)]
.gitignore: fix typo in ChangeLog file name

10 years agodon't track ChangeLog
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.

10 years agonew script to generate ChangeLog from git repository
Kacper Kornet [Sat, 2 Nov 2013 21:23:13 +0000 (22:23 +0100)]
new script to generate ChangeLog from git repository

10 years agomore ignores
Elan Ruusamäe [Sat, 2 Nov 2013 21:25:58 +0000 (23:25 +0200)]
more ignores

10 years agofix call to autoheader
Elan Ruusamäe [Sat, 2 Nov 2013 21:21:13 +0000 (23:21 +0200)]
fix call to autoheader

10 years agoupdate vim ignores
Elan Ruusamäe [Sat, 2 Nov 2013 21:18:57 +0000 (23:18 +0200)]
update vim ignores

10 years agoupdate gitgnore from github
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

10 years agoignore compile (from automake)
Elan Ruusamäe [Sat, 2 Nov 2013 21:14:00 +0000 (23:14 +0200)]
ignore compile (from automake)

10 years agoadd .gitignore from svn:ignore
Elan Ruusamäe [Sat, 2 Nov 2013 20:55:37 +0000 (22:55 +0200)]
add .gitignore from svn:ignore

10 years agorun-parts: handle patterns like we did in pld trunk
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

10 years agoset DHCP_HOSTNAME only basename, domain part is filled by dhcp server
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

10 years agouse AM_CPPFLAGS instead of INCLUDES
Elan Ruusamäe [Fri, 18 Oct 2013 16:35:25 +0000 (16:35 +0000)]
use AM_CPPFLAGS instead of INCLUDES

svn-id: @12725

10 years agoadd run-parts from debianutils 4.4
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

10 years agotabs
Elan Ruusamäe [Sun, 1 Sep 2013 21:46:44 +0000 (21:46 +0000)]
tabs

svn-id: @12720

10 years agolocalize $cmdline in parse_cmdnline
Elan Ruusamäe [Sun, 1 Sep 2013 21:46:38 +0000 (21:46 +0000)]
localize $cmdline in parse_cmdnline

svn-id: @12719

10 years agoupdate functions relative location
Elan Ruusamäe [Sun, 1 Sep 2013 20:56:01 +0000 (20:56 +0000)]
update functions relative location

svn-id: @12718

10 years agorelease 0.4.7 0.4.7
Elan Ruusamäe [Sun, 1 Sep 2013 20:37:23 +0000 (20:37 +0000)]
release 0.4.7

svn-id: @12716

10 years agoincrease timeout for link up
Kacper Kornet [Mon, 19 Aug 2013 11:13:25 +0000 (11:13 +0000)]
increase timeout for link up

svn-id: @12715

10 years agofix pdksh incompatibility of ok/fail printing
Elan Ruusamäe [Sat, 27 Jul 2013 10:55:41 +0000 (10:55 +0000)]
fix pdksh incompatibility of ok/fail printing

svn-id: @12712

10 years agoadd apply_sysctl() to load sysctl parameters
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

10 years agomodprobe cache: cache only wanted params
Elan Ruusamäe [Tue, 11 Jun 2013 22:19:50 +0000 (22:19 +0000)]
modprobe cache: cache only wanted params

svn-id: @12695

10 years agohandle kmod translating `-` to `_`
Elan Ruusamäe [Tue, 11 Jun 2013 22:19:05 +0000 (22:19 +0000)]
handle kmod translating `-` to `_`

svn-id: @12694

10 years agounify modprobe alias lookups
Elan Ruusamäe [Tue, 11 Jun 2013 22:17:33 +0000 (22:17 +0000)]
unify modprobe alias lookups

svn-id: @12693

10 years agoupdate comment to match code for stuffed statements in meanwhile
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

10 years agoeval halt makes no sense, added in r574 doesn't give any clue either
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

10 years agoadd autologin sample
Elan Ruusamäe [Fri, 31 May 2013 13:11:22 +0000 (13:11 +0000)]
add autologin sample

svn-id: @12690

10 years agogrep fixed strings where appropriate
Elan Ruusamäe [Thu, 30 May 2013 23:48:45 +0000 (23:48 +0000)]
grep fixed strings where appropriate

svn-id: @12689

10 years agomove kernel.panic to sysconfig, deprecating PANIC_REBOOT_TIME
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

10 years agouse sysctl -q instead of /dev/null redirections
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

10 years ago/sys is likely already mounted, fgrep /proc/filesystems
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

10 years agomove hwprofiles enable/disable option to sysconfig/system
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

10 years agofix typo
Elan Ruusamäe [Thu, 30 May 2013 22:55:48 +0000 (22:55 +0000)]
fix typo

svn-id: @12683

10 years agomove $SELINUX variable setup to function
Elan Ruusamäe [Thu, 30 May 2013 22:48:05 +0000 (22:48 +0000)]
move $SELINUX variable setup to function

svn-id: @12682

10 years agorevert r12677
Elan Ruusamäe [Thu, 30 May 2013 21:55:33 +0000 (21:55 +0000)]
revert r12677

arekm says it would break existing configs

svn-id: @12681

10 years agomove mdadm and lvm init to functions for better maintainability
Elan Ruusamäe [Thu, 30 May 2013 21:49:37 +0000 (21:49 +0000)]
move mdadm and lvm init to functions for better maintainability

svn-id: @12680

10 years agodrop raidutils (raidstart, /etc/raidtab) support. our geninitrd doesn't support it...
Elan Ruusamäe [Thu, 30 May 2013 20:44:04 +0000 (20:44 +0000)]
drop raidutils (raidstart, /etc/raidtab) support. our geninitrd doesn't support it for long time already

svn-id: @12679

10 years agorename option to RC_UPTIME and add to default config
Elan Ruusamäe [Thu, 30 May 2013 20:40:02 +0000 (20:40 +0000)]
rename option to RC_UPTIME and add to default config

svn-id: @12678

10 years agodhclient seems to be faster than dhcpcd, so prefer it if both present
Elan Ruusamäe [Thu, 30 May 2013 20:31:19 +0000 (20:31 +0000)]
dhclient seems to be faster than dhcpcd, so prefer it if both present

svn-id: @12677

10 years agosyncing hardware clock to system time on shutdown
Elan Ruusamäe [Thu, 30 May 2013 20:30:12 +0000 (20:30 +0000)]
syncing hardware clock to system time on shutdown

svn-id: @12676

10 years agorc.sysinit: check upstart var before binary check
Elan Ruusamäe [Thu, 30 May 2013 20:05:51 +0000 (20:05 +0000)]
rc.sysinit: check upstart var before binary check

svn-id: @12675

10 years agoadd RC_BOOTTIME option to include uptime counter to all show messages
Elan Ruusamäe [Thu, 30 May 2013 20:04:30 +0000 (20:04 +0000)]
add RC_BOOTTIME option to include uptime counter to all show messages

svn-id: @12674

10 years agorc.sysinit: add repair_shell moving common code to single place instead of copycat
Elan Ruusamäe [Thu, 30 May 2013 19:52:47 +0000 (19:52 +0000)]
rc.sysinit: add repair_shell moving common code to single place instead of copycat

svn-id: @12673

10 years agorc.sysinit: allow disabling dmraid
Elan Ruusamäe [Thu, 30 May 2013 19:31:02 +0000 (19:31 +0000)]
rc.sysinit: allow disabling dmraid

svn-id: @12672

10 years agorc.sysinit: check vars first, allow disable multipath from kernel cmdline
Elan Ruusamäe [Thu, 30 May 2013 19:29:15 +0000 (19:29 +0000)]
rc.sysinit: check vars first, allow disable multipath from kernel cmdline

svn-id: @12671

10 years agorc.sysinit: do not run evms code if not enabled
Elan Ruusamäe [Thu, 30 May 2013 19:23:08 +0000 (19:23 +0000)]
rc.sysinit: do not run evms code if not enabled

svn-id: @12670

10 years agocheck vars first before checking fs objects
Elan Ruusamäe [Thu, 30 May 2013 19:20:13 +0000 (19:20 +0000)]
check vars first before checking fs objects

svn-id: @12669

10 years agoturn off by default RUN_USERPNP and RUN_KERNELPNP
Elan Ruusamäe [Thu, 30 May 2013 18:23:49 +0000 (18:23 +0000)]
turn off by default RUN_USERPNP and RUN_KERNELPNP

svn-id: @12668

10 years agorc.sysinit: move /proc/cmdline parsing to single function
Elan Ruusamäe [Thu, 30 May 2013 18:09:23 +0000 (18:09 +0000)]
rc.sysinit: move /proc/cmdline parsing to single function

svn-id: @12667

10 years agorc.sysinit: make sure /proc is mounted first
Elan Ruusamäe [Thu, 30 May 2013 17:56:52 +0000 (17:56 +0000)]
rc.sysinit: make sure /proc is mounted first

svn-id: @12666

10 years agorc.sysinit: unify modprobe calls
Elan Ruusamäe [Thu, 30 May 2013 17:41:22 +0000 (17:41 +0000)]
rc.sysinit: unify modprobe calls

svn-id: @12665

10 years agorc.sysinit: cache multiple modprobe -c calls
Elan Ruusamäe [Thu, 30 May 2013 17:36:17 +0000 (17:36 +0000)]
rc.sysinit: cache multiple modprobe -c calls

svn-id: @12664

10 years agocheck things first that do not involve fs; use grep -F where regexp match not needed
Elan Ruusamäe [Thu, 30 May 2013 17:33:11 +0000 (17:33 +0000)]
check things first that do not involve fs; use grep -F where regexp match not needed

svn-id: @12663

10 years agodo not use `:>` which aborts whole script on error
Elan Ruusamäe [Sun, 26 May 2013 19:20:46 +0000 (19:20 +0000)]
do not use `:>` which aborts whole script on error

special builtins like `:>` abort whole script on error while `>` doesn't

and that is so by POSIX:
http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_08_01

svn-id: @12662

10 years agoProtect hardlinks and symlinks.
Arkadiusz Miśkiewicz [Wed, 22 May 2013 18:51:10 +0000 (18:51 +0000)]
Protect hardlinks and symlinks.

svn-id: @12661

10 years agoup to 0.4.6 0.4.6
Elan Ruusamäe [Wed, 15 May 2013 21:07:13 +0000 (21:07 +0000)]
up to 0.4.6

adds better fedora initscripts compat

svn-id: @12659

10 years agomake update-po
Elan Ruusamäe [Wed, 15 May 2013 21:04:38 +0000 (21:04 +0000)]
make update-po

svn-id: @12658

11 years agoFedora compat: fix echo_success and echo_failure formatting
Elan Ruusamäe [Tue, 9 Apr 2013 22:07:23 +0000 (22:07 +0000)]
Fedora compat: fix echo_success and echo_failure formatting

svn-id: @12650

11 years agoRedHat/Fedora compatibility
Elan Ruusamäe [Tue, 9 Apr 2013 21:48:11 +0000 (21:48 +0000)]
RedHat/Fedora compatibility

turn daemon() and friends into syntax their scripts understand (shell syntax)
if initscript interpreter is set to bash

svn-id: @12649

11 years agorevert [12647] it was correct before that
Elan Ruusamäe [Tue, 9 Apr 2013 21:45:33 +0000 (21:45 +0000)]
revert [12647] it was correct before that

svn-id: @12648

11 years agodo not reset RC_LOGGING when IN_SHUTDOWN is not set
Elan Ruusamäe [Tue, 9 Apr 2013 21:41:56 +0000 (21:41 +0000)]
do not reset RC_LOGGING when IN_SHUTDOWN is not set

refs [6452] and [9733]

svn-id: @12647

11 years agoimprove fedora compatibility:
Elan Ruusamäe [Wed, 3 Apr 2013 08:51:25 +0000 (08:51 +0000)]
improve fedora compatibility:

add:
- daemon --pidfile=FOO
- killproc -d DELAY

use usleep 50000 instead of 100000, computers are bit faster now :)

svn-id: @12643

11 years agoRelease 0.4.5.5.
Arkadiusz Miśkiewicz [Mon, 18 Mar 2013 08:26:05 +0000 (08:26 +0000)]
Release 0.4.5.5.

svn-id: @12633

11 years agoRelease 0.4.5.5.
Arkadiusz Miśkiewicz [Mon, 18 Mar 2013 08:25:16 +0000 (08:25 +0000)]
Release 0.4.5.5.

svn-id: @12632

11 years agoAM_CONFIG_HEADER is obsolete.
Arkadiusz Miśkiewicz [Sat, 9 Mar 2013 23:12:19 +0000 (23:12 +0000)]
AM_CONFIG_HEADER is obsolete.

svn-id: @12630

11 years agousbfs is deprecated for some time.
Arkadiusz Miśkiewicz [Sat, 9 Mar 2013 23:09:07 +0000 (23:09 +0000)]
usbfs is deprecated for some time.

svn-id: @12629

11 years agoavoid loading /etc/modules contents twice (modules-load.d/modules.conf is symlink...
Elan Ruusamäe [Mon, 11 Feb 2013 22:23:36 +0000 (22:23 +0000)]
avoid loading /etc/modules contents twice (modules-load.d/modules.conf is symlink to that)

svn-id: @12626

11 years ago- clarified (LANG is also whole locale code; LANGUAGE not LINGUAS is used at runtime)
Jakub Bogusz [Wed, 6 Feb 2013 16:22:05 +0000 (16:22 +0000)]
- clarified (LANG is also whole locale code; LANGUAGE not LINGUAS is used at runtime)

svn-id: @12625

11 years agomore complete update for NM skipping. improves [12481] and [12616]
Elan Ruusamäe [Wed, 6 Feb 2013 15:35:41 +0000 (15:35 +0000)]
more complete update for NM skipping. improves [12481] and [12616]

should the `$USERS` be dropped now, i don't see it from current NM generated configs

M    init.d/network

svn-id: @12624

11 years agonote that lang.csh is broken
Elan Ruusamäe [Wed, 6 Feb 2013 15:32:27 +0000 (15:32 +0000)]
note that lang.csh is broken

svn-id: @12623

11 years agomore specific language code specification
Elan Ruusamäe [Wed, 6 Feb 2013 15:27:36 +0000 (15:27 +0000)]
more specific language code specification

svn-id: @12622

11 years agoignore ifcfg-* files which have no DEVICE line present, i.e WiFi networks generated...
Elan Ruusamäe [Tue, 5 Feb 2013 15:04:58 +0000 (15:04 +0000)]
ignore ifcfg-* files which have no DEVICE line present, i.e WiFi networks generated by NM

svn-id: @12616

11 years agoStore raw dmesg format, so few dmesg features can be used (like -T) when reading...
Arkadiusz Miśkiewicz [Wed, 9 Jan 2013 08:48:49 +0000 (08:48 +0000)]
Store raw dmesg format, so few dmesg features can be used (like -T) when reading from this file.

svn-id: @12613

11 years agoethtool example.
Arkadiusz Miśkiewicz [Mon, 17 Dec 2012 07:39:46 +0000 (07:39 +0000)]
ethtool example.

svn-id: @12610

This page took 0.140127 seconds and 4 git commands to generate.