* [gentoo-commits] proj/openrc:master commit in: /
@ 2011-02-22 2:59 Robin H. Johnson
0 siblings, 0 replies; 150+ messages in thread
From: Robin H. Johnson @ 2011-02-22 2:59 UTC (permalink / raw
To: gentoo-commits
commit: 22918ccf514a3c10459842f917bf742d7620f031
Author: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 22 01:27:10 2011 +0000
Commit: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
CommitDate: Tue Feb 22 01:27:31 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=22918ccf
Update README.net to note that it represents newnet only.
---
README.net => README.newnet | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/README.net b/README.newnet
similarity index 89%
rename from README.net
rename to README.newnet
index 41db1c5..2e157e2 100644
--- a/README.net
+++ b/README.newnet
@@ -1,3 +1,7 @@
+The following applies only to the newnet stack, which is not presently
+maintained in OpenRC. The oldnet stack is maintained instead.
+- Robin H. Johnson <robbat2@gentoo.org>, 2011/02/21
+
OpenRC Network Ideals
---------------------
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2011-03-22 5:49 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2011-03-22 5:49 UTC (permalink / raw
To: gentoo-commits
commit: b875abd1a58ef4a10928921007321d5b04fc1f04
Author: William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 22 05:46:24 2011 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Tue Mar 22 05:46:24 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=b875abd1
release openrc-0.8.0
---
Makefile.inc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Makefile.inc b/Makefile.inc
index bda812d..b888caa 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -1,3 +1,3 @@
NAME= openrc
-VERSION= 0.7.0
+VERSION= 0.8.0
PKG= ${NAME}-${VERSION}
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2011-04-12 13:49 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2011-04-12 13:49 UTC (permalink / raw
To: gentoo-commits
commit: 2d14b172fa377d9633f30cb7d6956469373ce6ae
Author: William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 12 13:47:03 2011 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Tue Apr 12 13:47:03 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=2d14b172
release openrc 0.8.1
---
Makefile.inc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Makefile.inc b/Makefile.inc
index b888caa..a4edd0e 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -1,3 +1,3 @@
NAME= openrc
-VERSION= 0.8.0
+VERSION= 0.8.1
PKG= ${NAME}-${VERSION}
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2011-04-16 1:02 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2011-04-16 1:02 UTC (permalink / raw
To: gentoo-commits
commit: ad8f455726c5d66cea191b652053440118b89705
Author: William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 16 00:48:30 2011 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Sat Apr 16 00:48:30 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=ad8f4557
release openrc-0.8.2
---
Makefile.inc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Makefile.inc b/Makefile.inc
index a4edd0e..78486b9 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -1,3 +1,3 @@
NAME= openrc
-VERSION= 0.8.1
+VERSION= 0.8.2
PKG= ${NAME}-${VERSION}
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2011-04-19 17:19 Robin H. Johnson
0 siblings, 0 replies; 150+ messages in thread
From: Robin H. Johnson @ 2011-04-19 17:19 UTC (permalink / raw
To: gentoo-commits
commit: 1e1b896fd8e809dad875136c23d71a0e7a1e87c4
Author: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 19 17:18:45 2011 +0000
Commit: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
CommitDate: Tue Apr 19 17:18:45 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=1e1b896f
Merge branch 'master' of git+ssh://git.overlays.gentoo.org/proj/openrc
Makefile.inc | 2 +-
etc/rc.conf.FreeBSD | 3 +++
etc/rc.conf.Linux | 6 +++---
etc/rc.conf.NetBSD | 3 +++
init.d/localmount.in | 2 +-
init.d/procfs.in | 2 +-
init.d/termencoding.in | 1 +
sh/init.sh.Linux.in | 24 ++++++++++++++++++++++++
8 files changed, 37 insertions(+), 6 deletions(-)
^ permalink raw reply [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2011-05-16 22:05 Mike Frysinger
0 siblings, 0 replies; 150+ messages in thread
From: Mike Frysinger @ 2011-05-16 22:05 UTC (permalink / raw
To: gentoo-commits
commit: bb34ea886a872a7fcc07f1b6f8972a20718800e5
Author: Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Mon May 16 22:00:18 2011 +0000
Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Mon May 16 22:00:18 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=bb34ea88
drop rc_sys funcs from removal schedule
The automagic detection isn't really problematic, and we allow people to
easily override this when detection isn't possible. On the other hand,
if people haven't configured rc_sys in their rc.conf, the lack of auto
detection can easily lead to an unbootable system.
Further, we're attempting to have a stable shared library ABI, which
dropping funcs from is not feasible.
Signed-off-by: Mike Frysinger <vapier <AT> gentoo.org>
---
FEATURE-REMOVAL-SCHEDULE | 21 ---------------------
1 files changed, 0 insertions(+), 21 deletions(-)
diff --git a/FEATURE-REMOVAL-SCHEDULE b/FEATURE-REMOVAL-SCHEDULE
index 50c81f8..1803fda 100644
--- a/FEATURE-REMOVAL-SCHEDULE
+++ b/FEATURE-REMOVAL-SCHEDULE
@@ -5,27 +5,6 @@ removed, it should also be removed from this file.
---------------------------
-What: rc_sys automatic detection code
- - Functions for removal: rc_sys_v1, rc_sys_v2
-
-When: 2011/03/01
-
-Why: The original automatic sub-system detection is flawed in that it cannot
- safely detect some variables (Using cgroups confused it to think you were
- using LXC, and Prefix cannot be detect by definition). Also, almost all of
- the detection requires that /proc is available and readable. During early
- boot, /proc may not be mounted yet, leading to mis-detection. The readable
- condition can also fail under some hardened kernels when running as an
- unprivileged user.
-
- The new rc_sys_v2 function uses the rc_sys variable from rc.conf. After
- the removal, the contents of the rc_sys_v2 function will move into the
- rc_sys function.
-
-Who: Robin H. Johnson <robbat2@gentoo.org>
-
----------------------------
-
What: oldnet ADSL rp-pppoe mode
When: undecided
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2011-06-20 2:39 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2011-06-20 2:39 UTC (permalink / raw
To: gentoo-commits
commit: e152199860b5b9932e727b20eeefa34d870cc93a
Author: William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 20 02:37:55 2011 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Mon Jun 20 02:37:55 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=e1521998
release openrc-0.8.3
---
Makefile.inc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Makefile.inc b/Makefile.inc
index 78486b9..9590d87 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -1,3 +1,3 @@
NAME= openrc
-VERSION= 0.8.2
+VERSION= 0.8.3
PKG= ${NAME}-${VERSION}
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2011-06-24 17:47 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2011-06-24 17:47 UTC (permalink / raw
To: gentoo-commits
commit: 512c69a1067a17b3616aba17925f077ada68d271
Author: William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 24 17:47:04 2011 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Fri Jun 24 17:47:04 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=512c69a1
update bug reporting information in README
---
README | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/README b/README
index 517ddb3..5f3745c 100644
--- a/README
+++ b/README
@@ -70,9 +70,11 @@ of the system.
Reporting Bugs
--------------
-Bugs should go to the Gentoo Bugzilla:
+Since Gentoo Linux is hosting OpenRC development, Bugs should go to
+the Gentoo Bugzilla:
http://bugs.gentoo.org/
-You'll want the "Gentoo Linux" product and the "baselayout" component.
+They should be filed under the "Gentoo Hosted Projects" product and
+the "openrc" component.
History - by Roy Marples
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2011-07-13 22:54 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2011-07-13 22:54 UTC (permalink / raw
To: gentoo-commits
commit: 5541e5ba24532687ff490161ea9907382e88405e
Author: William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 13 18:30:38 2011 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Wed Jul 13 20:33:04 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=5541e5ba
Add commit message information to style guide
---
STYLE | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 51 insertions(+), 0 deletions(-)
diff --git a/STYLE b/STYLE
index f1ae5c1..6be4a86 100644
--- a/STYLE
+++ b/STYLE
@@ -32,3 +32,54 @@ void foo(int c)
return ret;
}
+
+##################
+# COMMIT MESSAGES #
+##################
+
+The following is an example of a correctly formatted git commit message
+for this repository. Most of this information came from this blog post
+[1], so I would like to thank the author.
+
+### cut here ###
+Capitalized, short (50 chars or less) summary
+
+More detailed explanatory text, if necessary. Wrap it to about 72
+characters or so. In some contexts, the first line is treated as the
+subject of an email and the rest of the text as the body. The blank
+line separating the summary from the body is critical (unless you omit
+the body entirely); tools like rebase can get confused if you run the
+two together.
+
+Write your commit message in the present tense: "Fix bug" and not "Fixed
+bug." This convention matches up with commit messages generated by
+commands like git merge and git revert.
+
+Further paragraphs come after blank lines.
+
+- Bullet points are okay, too
+
+- Typically a hyphen or asterisk is used for the bullet, preceded by a
+ single space, with blank lines in between, but conventions vary here
+
+- Use a hanging indent
+
+Reported-by: User Name <email>
+X-[Distro]-Bug: BugID
+X-[Distro]-Bug-URL: URL for the bug (on the distribution's web site typically)
+### cut here ###
+
+If you did not write the code and the patch does not include authorship
+information in a format git can use, please use the --author option of the
+git commit command to make the authorship correct.
+
+The Reported-by tag is required if the person who reported the bug is
+different from the author and committer.
+
+ The X-[Distro]-Bug/Bug-URL tags are required if this commit is related
+ to a bug reported to us by a specific distribution of linux or a
+ *BSD. Also, [Distro] should be replaced with the name of the
+ distribution, e.g. X-Gentoo-Bug.
+
+[1] http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html
+
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2011-09-01 15:35 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2011-09-01 15:35 UTC (permalink / raw
To: gentoo-commits
commit: c5b14edda807d1cd28938860b159f21a0e8c6e44
Author: William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 1 15:33:14 2011 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Thu Sep 1 15:33:14 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=c5b14edd
release openrc-0.9.0
---
Makefile.inc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Makefile.inc b/Makefile.inc
index 9590d87..b15eecc 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -1,3 +1,3 @@
NAME= openrc
-VERSION= 0.8.3
+VERSION= 0.9.0
PKG= ${NAME}-${VERSION}
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2011-09-01 22:21 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2011-09-01 22:21 UTC (permalink / raw
To: gentoo-commits
commit: 70c159d47c2824e57e0bfd3f7f3d85458943cff2
Author: William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 1 22:18:34 2011 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Thu Sep 1 22:19:20 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=70c159d4
release openrc-0.9.1
---
Makefile.inc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Makefile.inc b/Makefile.inc
index b15eecc..481cfac 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -1,3 +1,3 @@
NAME= openrc
-VERSION= 0.9.0
+VERSION= 0.9.1
PKG= ${NAME}-${VERSION}
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2011-09-02 20:26 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2011-09-02 20:26 UTC (permalink / raw
To: gentoo-commits
commit: 9be1a2a67b840918da752efefc3a21cffda173e6
Author: William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 2 20:19:10 2011 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Fri Sep 2 20:19:10 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=9be1a2a6
release openrc-0.9.2
---
Makefile.inc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Makefile.inc b/Makefile.inc
index 481cfac..65f02ac 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -1,3 +1,3 @@
NAME= openrc
-VERSION= 0.9.1
+VERSION= 0.9.2
PKG= ${NAME}-${VERSION}
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2011-09-08 18:31 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2011-09-08 18:31 UTC (permalink / raw
To: gentoo-commits
commit: 5cb985b6cc819de8242ae1ba82e9b65f9edc273b
Author: William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 8 18:27:11 2011 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Thu Sep 8 18:28:43 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=5cb985b6
Credits for previous commit
Reported-By: i.Dark_Templar <dark_templar <AT> hotbox.ru>
X-Gentoo-Bug: 381783
X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=381783
^ permalink raw reply [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2011-09-08 20:13 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2011-09-08 20:13 UTC (permalink / raw
To: gentoo-commits
commit: a9738a85085773bb5047466a98044cf06513b49e
Author: William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 8 20:09:45 2011 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Thu Sep 8 20:09:45 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=a9738a85
release openrc-0.9.3
---
Makefile.inc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Makefile.inc b/Makefile.inc
index 65f02ac..1172dca 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -1,3 +1,3 @@
NAME= openrc
-VERSION= 0.9.2
+VERSION= 0.9.3
PKG= ${NAME}-${VERSION}
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2011-10-16 15:36 Christian Ruppert
0 siblings, 0 replies; 150+ messages in thread
From: Christian Ruppert @ 2011-10-16 15:36 UTC (permalink / raw
To: gentoo-commits
commit: 7644e027fd3ecc539a56a1e7a5698db32370b194
Author: Christian Ruppert <idl0r <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 16 15:35:12 2011 +0000
Commit: Christian Ruppert <idl0r <AT> gentoo <DOT> org>
CommitDate: Sun Oct 16 15:35:12 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=7644e027
Release OpenRC-0.9.4
X-Gentoo-Bug: 382299
X-Gentoo-Bug-URL: https://bugs.gentoo.org/382299
---
Makefile.inc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Makefile.inc b/Makefile.inc
index 1172dca..77eec78 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -1,3 +1,3 @@
NAME= openrc
-VERSION= 0.9.3
+VERSION= 0.9.4
PKG= ${NAME}-${VERSION}
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2011-11-23 14:38 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2011-11-23 14:38 UTC (permalink / raw
To: gentoo-commits
commit: 40576a32d321b6807aad485daf389781cbb814c1
Author: William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 23 14:31:55 2011 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Wed Nov 23 14:31:55 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=40576a32
release openrc-0.9.5
---
Makefile.inc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Makefile.inc b/Makefile.inc
index 77eec78..bbfb555 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -1,3 +1,3 @@
NAME= openrc
-VERSION= 0.9.4
+VERSION= 0.9.5
PKG= ${NAME}-${VERSION}
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2011-11-25 21:40 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2011-11-25 21:40 UTC (permalink / raw
To: gentoo-commits
commit: 467f91d870926f7a0c5d47f5bfc1e8e596dbd669
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Fri Nov 25 21:39:59 2011 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Fri Nov 25 21:39:59 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=467f91d8
release openrc-0.9.6
---
Makefile.inc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Makefile.inc b/Makefile.inc
index bbfb555..d83620f 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -1,3 +1,3 @@
NAME= openrc
-VERSION= 0.9.5
+VERSION= 0.9.6
PKG= ${NAME}-${VERSION}
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2011-12-09 23:49 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2011-12-09 23:49 UTC (permalink / raw
To: gentoo-commits
commit: 325a7bf206fc1d86c614e8409255b6c82341a3dc
Author: William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 9 23:43:54 2011 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Fri Dec 9 23:43:54 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=325a7bf2
release openrc-0.9.7
---
Makefile.inc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Makefile.inc b/Makefile.inc
index d83620f..df2d6d1 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -1,3 +1,3 @@
NAME= openrc
-VERSION= 0.9.6
+VERSION= 0.9.7
PKG= ${NAME}-${VERSION}
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2012-01-07 0:02 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2012-01-07 0:02 UTC (permalink / raw
To: gentoo-commits
commit: adde73141f67f7772ba1efcd8820f63ff2a45374
Author: William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 6 23:34:38 2012 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Fri Jan 6 23:34:38 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=adde7314
release openrc-0.9.8
---
Makefile.inc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Makefile.inc b/Makefile.inc
index df2d6d1..73ca945 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -1,3 +1,3 @@
NAME= openrc
-VERSION= 0.9.7
+VERSION= 0.9.8
PKG= ${NAME}-${VERSION}
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2012-01-14 20:11 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2012-01-14 20:11 UTC (permalink / raw
To: gentoo-commits
commit: 6fcc55cef80dfaab449b2e5379cb737988f68c24
Author: William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 14 20:00:36 2012 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Sat Jan 14 20:00:36 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=6fcc55ce
release openrc-0.9.8.1
---
Makefile.inc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Makefile.inc b/Makefile.inc
index 73ca945..b787a29 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -1,3 +1,3 @@
NAME= openrc
-VERSION= 0.9.8
+VERSION= 0.9.8.1
PKG= ${NAME}-${VERSION}
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2012-01-25 19:04 Robin H. Johnson
0 siblings, 0 replies; 150+ messages in thread
From: Robin H. Johnson @ 2012-01-25 19:04 UTC (permalink / raw
To: gentoo-commits
commit: 43a155a313488a89a5d7d23f08b9692a3a836911
Author: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 25 19:04:22 2012 +0000
Commit: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
CommitDate: Wed Jan 25 19:04:22 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=43a155a3
This new release will be 0.9.9 with idl0r's changes
Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org>
---
Makefile.inc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Makefile.inc b/Makefile.inc
index b787a29..3a70a97 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -1,3 +1,3 @@
NAME= openrc
-VERSION= 0.9.8.1
+VERSION= 0.9.9
PKG= ${NAME}-${VERSION}
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2012-02-12 19:38 Christian Ruppert
0 siblings, 0 replies; 150+ messages in thread
From: Christian Ruppert @ 2012-02-12 19:38 UTC (permalink / raw
To: gentoo-commits
commit: 5396bf185157a8a825c19215fb741f93444487ff
Author: Christian Ruppert <idl0r <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 12 19:38:32 2012 +0000
Commit: Christian Ruppert <idl0r <AT> gentoo <DOT> org>
CommitDate: Sun Feb 12 19:38:32 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=5396bf18
Merge branch 'master' of git+ssh://git.overlays.gentoo.org/proj/openrc
init.d/swap.in | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
^ permalink raw reply [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2012-03-02 19:55 Robin H. Johnson
0 siblings, 0 replies; 150+ messages in thread
From: Robin H. Johnson @ 2012-03-02 19:55 UTC (permalink / raw
To: gentoo-commits
commit: 0dc9431bdb989231cfa20560d69aebebd487a926
Author: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 2 19:51:09 2012 +0000
Commit: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
CommitDate: Fri Mar 2 19:51:09 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=0dc9431b
Add a potential future problem I can see with metric calculation and interfaces that change often.
Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org>
---
TODO | 14 ++++++++++++++
1 files changed, 14 insertions(+), 0 deletions(-)
diff --git a/TODO b/TODO
index cd9ac0c..ccc074b 100644
--- a/TODO
+++ b/TODO
@@ -5,3 +5,17 @@
- oldnet[bridging]: Review setting of bridge configuration on dynamic interface add
- Document rc-depend binary.
+
+- _ifindex is not a reliable means of calculating metrics:
+ _ifindex is used for calculating metrics for new devices but has a major
+ problem: Since it's only the nth entry in /proc/net/dev
+ And devices may be removed from that file, and reordered, you won't always
+ get the same result.
+ If you do:
+ - add eth0 - _ifindex (eth0=0)
+ - add vlan1 - _ifindex (eth0=0,vlan1=1)
+ - add vlan2 - _ifindex (eth0=0,vlan1=1,vlan2=2)
+ - rem vlan1 - _ifindex (eth0=0,vlan2=1)
+ - add vlan3 - _ifindex (eth0=0,vlan2=1,vlan3=2)
+ Now your routing table has entries for both vlan2 and vlan3 with a metric of 2.
+
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2012-05-22 15:14 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2012-05-22 15:14 UTC (permalink / raw
To: gentoo-commits
commit: 7e9861da0e5f7ddc2d1baedbf50008a36ce403a9
Author: William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Tue May 22 15:04:34 2012 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Tue May 22 15:04:34 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=7e9861da
Release openrc-0.10
---
Makefile.inc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Makefile.inc b/Makefile.inc
index 3a70a97..dfc7269 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -1,3 +1,3 @@
NAME= openrc
-VERSION= 0.9.9
+VERSION= 0.10
PKG= ${NAME}-${VERSION}
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2012-07-09 2:05 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2012-07-09 2:05 UTC (permalink / raw
To: gentoo-commits
commit: 5d8b1b689b2fb04eb7840dcc1d07c82f3e9a9960
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Mon Jul 9 02:04:05 2012 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Mon Jul 9 02:04:05 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=5d8b1b68
make oldnet the default for now
---
Makefile | 1 +
README | 2 +-
2 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/Makefile b/Makefile
index 0462f02..028c363 100644
--- a/Makefile
+++ b/Makefile
@@ -7,6 +7,7 @@ include Makefile.inc
SUBDIR= conf.d etc init.d local.d man scripts sh src sysctl.d
# Build our old net foo or not
+MKOLDNET?= yes
ifeq (${MKOLDNET},yes)
SUBDIR+= net doc
endif
diff --git a/README b/README
index f02557e..70f334f 100644
--- a/README
+++ b/README
@@ -16,7 +16,7 @@ MKSELINUX=yes
MKSTATICLIBS=no
MKTERMCAP=ncurses
MKTERMCAP=termcap
-MKOLDNET=yes
+MKOLDNET=no
PKG_PREFIX=/usr/pkg
LOCAL_PREFIX=/usr/local
PREFIX=/usr/local
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2012-09-23 16:12 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2012-09-23 16:12 UTC (permalink / raw
To: gentoo-commits
commit: 20ef3439ea4f14ee431f39fc1925ee48c186e1bb
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Sun Sep 23 16:11:23 2012 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Sun Sep 23 16:11:40 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=20ef3439
fix Makefile indentation
---
Makefile | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Makefile b/Makefile
index 2bbcc8e..45fee28 100644
--- a/Makefile
+++ b/Makefile
@@ -32,7 +32,7 @@ include ${MK}/git.mk
_installafter:
ifeq (${MKPREFIX},yes)
${INSTALL} -d ${DESTDIR}/${LIBEXECDIR}/init.d
- else ifneq (${OS},Linux)
+else ifneq (${OS},Linux)
${INSTALL} -d ${DESTDIR}/${LIBEXECDIR}/init.d
endif
${INSTALL} -d ${DESTDIR}/${LIBEXECDIR}/tmp
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2012-10-18 15:14 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2012-10-18 15:14 UTC (permalink / raw
To: gentoo-commits
commit: 4385d31d9d5adf11517aae978a17bb6f2b40f2ae
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Thu Oct 18 15:10:10 2012 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Thu Oct 18 15:10:10 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=4385d31d
release openrc-0.11
---
Makefile.inc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Makefile.inc b/Makefile.inc
index dfc7269..d2fc52c 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -1,3 +1,3 @@
NAME= openrc
-VERSION= 0.10
+VERSION= 0.11
PKG= ${NAME}-${VERSION}
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2012-11-02 21:41 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2012-11-02 21:41 UTC (permalink / raw
To: gentoo-commits
commit: 5cf5308ab430c60e21bb769f8ee0d860ee15c497
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Fri Nov 2 21:38:57 2012 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Fri Nov 2 21:38:57 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=5cf5308a
increment version
I have learned that it is better to increment the version early. This
way keeps track of the version that is being worked on on the branch and
the tag marks when the release actually happens.
---
Makefile.inc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Makefile.inc b/Makefile.inc
index d2fc52c..e53b580 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -1,3 +1,3 @@
NAME= openrc
-VERSION= 0.11
+VERSION= 0.12
PKG= ${NAME}-${VERSION}
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2013-05-07 19:40 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2013-05-07 19:40 UTC (permalink / raw
To: gentoo-commits
commit: ac00934ecd5d9f13e44d27dafe3ac470fc7a5f18
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Tue May 7 18:17:40 2013 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Tue May 7 19:25:19 2013 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=ac00934e
Document busybox applet incompatibilities
Reported-by: slong <AT> rathaus.eclipse.co.uk
X-Gentoo-Bug: 468396
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=468396
---
README.busybox | 28 ++++++++++++++++++++++++++++
1 files changed, 28 insertions(+), 0 deletions(-)
diff --git a/README.busybox b/README.busybox
new file mode 100644
index 0000000..61b5ffd
--- /dev/null
+++ b/README.busybox
@@ -0,0 +1,28 @@
+Using Busybox as your Default Shell
+-----------------------------------
+
+
+If you have/bin/sh linked to busybox, you need to be aware of several
+incompatibilities between busybox's applets and the standalone
+counterparts. Since it is possible to configure busybox to not include
+these applets or to prefer the standalone counterparts, OpenRC does not
+attempt to support the busybox applets.
+
+All of these apply to busybox 1.20.2, which is the current version of
+busybox as of this writing.
+
+1. The start-stop-daemon applet is not compatible with start-stop-daemon
+in OpenRC. Please make sure CONFIG_START_STOP_DAEMON is not set to y in
+the configuration file you use to build busybox.
+
+2. The -O option for the mount applet does not support the [no]_netdev
+options from util-linux for handling network file systems.
+
+3. The umount applet does not support the -O option from util-linux.
+
+4. The swapon applet does not support the -e option from util-linux.
+
+5. the setfont applet does not support the -u option from kbd.
+
+There is work to get most of these supported by busybox, so this file
+will be updated as things change.
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2013-05-07 22:08 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2013-05-07 22:08 UTC (permalink / raw
To: gentoo-commits
commit: 829c969f9bdada223e22aea501d60015e2c6d43a
Author: Alexander Berntsen <alexander <AT> plaimi <DOT> net>
AuthorDate: Tue May 7 21:53:16 2013 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Tue May 7 22:07:33 2013 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=829c969f
Fix wrong wording in STYLE
---
STYLE | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/STYLE b/STYLE
index 6be4a86..44ff1d5 100644
--- a/STYLE
+++ b/STYLE
@@ -51,7 +51,7 @@ line separating the summary from the body is critical (unless you omit
the body entirely); tools like rebase can get confused if you run the
two together.
-Write your commit message in the present tense: "Fix bug" and not "Fixed
+Write your commit message in the imperative: "Fix bug" and not "Fixed
bug." This convention matches up with commit messages generated by
commands like git merge and git revert.
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2013-06-24 21:31 Robin H. Johnson
0 siblings, 0 replies; 150+ messages in thread
From: Robin H. Johnson @ 2013-06-24 21:31 UTC (permalink / raw
To: gentoo-commits
commit: ccb8c5835c2c59d8f85aec531da8a75f004b030b
Author: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 24 21:30:43 2013 +0000
Commit: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
CommitDate: Mon Jun 24 21:30:43 2013 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=ccb8c583
Merge branch 'master' of git+ssh://git.overlays.gentoo.org/proj/openrc
sh/cgroup-release-agent.sh.in | 4 ++--
sh/rc-cgroup.sh.in | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
^ permalink raw reply [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2013-07-16 18:56 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2013-07-16 18:56 UTC (permalink / raw
To: gentoo-commits
commit: 88cdcc145eb6343b94626ab3910a5eb1f8654212
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Fri Jul 5 15:38:51 2013 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Fri Jul 5 15:38:51 2013 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=88cdcc14
Merge branch 'cgroup.systemd'
Conflicts:
sh/rc-cgroup.sh.in
sh/rc-cgroup.sh.in | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)
diff --cc sh/rc-cgroup.sh.in
index afcbb03,21f5f50..b3bab0f
--- a/sh/rc-cgroup.sh.in
+++ b/sh/rc-cgroup.sh.in
@@@ -70,10 -70,19 +70,19 @@@ cgroup_set_values(
return 0
}
-cgroup_set_limits()
+cgroup_add_service()
{
- if [ -d "$1" ]; then
- cgroup="$1/$RC_SVCNAME"
+ # relocate starting process to the top of the cgroup
+ # it prevents from unwanted inheriting of the user
+ # cgroups. But may lead to a problems where that inheriting
+ # is needed.
+ for d in /sys/fs/cgroup/* ; do
+ echo $$ > "${d}"/tasks
+ done
+
+ openrc_cgroup=/sys/fs/cgroup/openrc
+ if [ -d "$openrc_cgroup" ]; then
+ cgroup="$openrc_cgroup/$RC_SVCNAME"
mkdir -p "$cgroup"
[ -f "$cgroup/tasks" ] && echo 0 > "$cgroup/tasks"
fi
^ permalink raw reply [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2013-07-16 18:56 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2013-07-16 18:56 UTC (permalink / raw
To: gentoo-commits
commit: 00caa1431abd5f7ae28bc9f4284d65f6a3575a7b
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Tue Jun 25 17:11:23 2013 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Tue Jun 25 17:11:23 2013 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=00caa143
Merge branch 'gentoo'
This syncs the gentoo master branch to github.
^ permalink raw reply [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2013-08-14 5:17 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2013-08-14 5:17 UTC (permalink / raw
To: gentoo-commits
commit: 3811ac30db27722638d96a7f23f89357f4292717
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Wed Aug 14 05:15:04 2013 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Wed Aug 14 05:15:12 2013 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=3811ac30
add note to README about the net.* scripts moving to their own package
---
README | 3 +++
1 file changed, 3 insertions(+)
diff --git a/README b/README
index 44d27ca..66d5dc0 100644
--- a/README
+++ b/README
@@ -57,6 +57,9 @@ init.d.misc is not installed by default as the scripts will need
tweaking on a per distro basis. They are also non essential to the operation
of the system.
+As of OpenRc-0.12, the net.* scripts, originally from Gentoo Linux, have
+been removed. If you need these scripts, look for a package called
+netifrc, which is maintained by them.
Reporting Bugs
--------------
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2013-08-14 6:08 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2013-08-14 6:08 UTC (permalink / raw
To: gentoo-commits
commit: df9d1c25a7907c45d5de33d5347de23cef9f82a0
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Wed Aug 14 06:08:12 2013 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Wed Aug 14 06:08:12 2013 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=df9d1c25
typo fix
---
README | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README b/README
index 66d5dc0..e42071d 100644
--- a/README
+++ b/README
@@ -57,7 +57,7 @@ init.d.misc is not installed by default as the scripts will need
tweaking on a per distro basis. They are also non essential to the operation
of the system.
-As of OpenRc-0.12, the net.* scripts, originally from Gentoo Linux, have
+As of OpenRC-0.12, the net.* scripts, originally from Gentoo Linux, have
been removed. If you need these scripts, look for a package called
netifrc, which is maintained by them.
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2013-08-24 23:00 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2013-08-24 23:00 UTC (permalink / raw
To: gentoo-commits
commit: d1b183a2f9595c033489a7913aef1989ccd2d2eb
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Sat Aug 24 22:59:19 2013 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Sat Aug 24 22:59:19 2013 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=d1b183a2
increment version
---
Makefile.inc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile.inc b/Makefile.inc
index e53b580..322fd2a 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -1,3 +1,3 @@
NAME= openrc
-VERSION= 0.12
+VERSION= 0.13
PKG= ${NAME}-${VERSION}
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2014-01-23 18:04 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2014-01-23 18:04 UTC (permalink / raw
To: gentoo-commits
commit: 2cc6ef723a7395993362f8015cd8aab6430301a9
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Thu Jan 23 17:08:35 2014 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Thu Jan 23 17:18:45 2014 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=2cc6ef72
update feature removal schedule
- Remove the netifrc related items since netifrc is now a separate
package.
- State that the features we are planning to remove will be removed
in version 1.0.
- Clarify the last entry; we are refering to start-stop-daemon options.
---
FEATURE-REMOVAL-SCHEDULE | 37 ++++++++++++++-----------------------
1 file changed, 14 insertions(+), 23 deletions(-)
diff --git a/FEATURE-REMOVAL-SCHEDULE b/FEATURE-REMOVAL-SCHEDULE
index 1803fda..57814d3 100644
--- a/FEATURE-REMOVAL-SCHEDULE
+++ b/FEATURE-REMOVAL-SCHEDULE
@@ -5,29 +5,9 @@ removed, it should also be removed from this file.
---------------------------
-What: oldnet ADSL rp-pppoe mode
-
-When: undecided
-
-Why: Replaced by the oldnet PPP module
-
-Who: Robin H. Johnson <robbat2@gentoo.org>
-
----------------------------
-
-What: oldnet /etc/conf.d/wireless
-
-When: undecided
-
-Why: All configuration moved to /etc/conf.d/net
-
-Who: Robin H. Johnson <robbat2@gentoo.org>
-
----------------------------
-
What: Service pause action
-When: Removed already, compatbility warning in place.
+When: 1.0
Why: ...
@@ -35,9 +15,9 @@ Who:
---------------------------
-What: Service --startas, --chuid , --oknodo
+What: start-stop-daemon options --startas, --chuid , --oknodo
-When: undecided
+When: 1.0
Why: Obsolete or replaced by other options.
--startas => use --name or --exec
@@ -47,3 +27,14 @@ Why: Obsolete or replaced by other options.
Who:
---------------------------
+
+What: runscript and rc symbolic links
+
+When: 1.0
+
+Why: Deprecated in favor of openrc-run and openrc due to naming
+ conflicts with other software.
+
+Who:
+
+---------------------------
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2014-04-10 0:58 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2014-04-10 0:58 UTC (permalink / raw
To: gentoo-commits
commit: a817915632f7f2162e7c3740d204989f6cfde554
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Thu Apr 10 00:27:12 2014 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Thu Apr 10 00:29:16 2014 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=a8179156
README.busybox: document incompatibility with built-in ip applet
---
README.busybox | 23 +++++++++++++----------
1 file changed, 13 insertions(+), 10 deletions(-)
diff --git a/README.busybox b/README.busybox
index 61b5ffd..b084d42 100644
--- a/README.busybox
+++ b/README.busybox
@@ -8,21 +8,24 @@ counterparts. Since it is possible to configure busybox to not include
these applets or to prefer the standalone counterparts, OpenRC does not
attempt to support the busybox applets.
-All of these apply to busybox 1.20.2, which is the current version of
-busybox as of this writing.
+For now, it is recommended that you disable the following busybox
+configuration settings for best results with OpenRC.
-1. The start-stop-daemon applet is not compatible with start-stop-daemon
-in OpenRC. Please make sure CONFIG_START_STOP_DAEMON is not set to y in
-the configuration file you use to build busybox.
+CONFIG_START_STOP_DAEMON -- The start-stop-daemon applet is not compatible with
+start-stop-daemon in OpenRC.
-2. The -O option for the mount applet does not support the [no]_netdev
-options from util-linux for handling network file systems.
+CONFIG_MOUNT -- The mount applet does not support the -O [no]_netdev options to
+skip over or include network file systems when the -a option is present.
-3. The umount applet does not support the -O option from util-linux.
+CONFIG_UMOUNT -- The umount applet does not support the -O option along with -a.
-4. The swapon applet does not support the -e option from util-linux.
+CONFIG_SWAPONOFF -- The swapon applet does not support the -e option
+or recognize the nofail option in fstab.
-5. the setfont applet does not support the -u option from kbd.
+CONFIG_SETFONT -- The setfont applet does not support the -u option from kbd.
+
+CONFIG_IP -- The ip applet doesn't support the "scope" modifier for
+"ip route add" and "ip address add".
There is work to get most of these supported by busybox, so this file
will be updated as things change.
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2014-06-24 1:54 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2014-06-24 1:54 UTC (permalink / raw
To: gentoo-commits
commit: 09d81e86f210acf5270ea4bd0fa7319a49f88131
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Tue Jun 24 01:26:18 2014 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Tue Jun 24 01:41:06 2014 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=09d81e86
Make history a separate document
Move the additional history information from Daniel Robbins' wiki
page along with the history from README to a separate file,
README.history.
X-Gentoo-Bug: 513024
X-Gentoo-Bug-URL: https://bugs.gentoo.org/513024
---
README | 22 ----------------------
README.history | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 55 insertions(+), 22 deletions(-)
diff --git a/README b/README
index 798ef4e..917704b 100644
--- a/README
+++ b/README
@@ -76,25 +76,3 @@ the Gentoo Bugzilla:
http://bugs.gentoo.org/
They should be filed under the "Gentoo Hosted Projects" product and
the "openrc" component.
-
-
-History - by Roy Marples
-------------------------
-I became a Gentoo/Linux developer in 2004 and wrote the modular network
-scripts for the Gentoo baselayout package. baselayout is a collection of
-bash scripts to bring up your computer and its services.
-Then towards the end of 2005 I found myself as the primary maintainer
-for baselayout.
-
-At the start of 2007, baselayout-2 is announced to the world, re-writing the
-core of baselayout in C and allowing POSIX sh init scripts instead of
-forcing the use of bash. By Mid 2007 I have re-written everything, including
-init scripts, and alpha and pre baselayout-2 snapshots where put into Gentoo.
-Towards the end of 2007 I retired as a Gentoo developer for reasons I won't
-go into here. baselayout-2 was still in the pre stage, and aside from the
-fbsd users, it was masked everywhere. However, I also desired to keep the
-baselayout-2 project alive, but outside of Gentoo and into other projects
-such as FreeBSD.
-
-As such, the Gentoo Council have allowed the creation of OpenRC under the
-2 clause BSD license, managed by me as an external project.
diff --git a/README.history b/README.history
new file mode 100644
index 0000000..2aeca1b
--- /dev/null
+++ b/README.history
@@ -0,0 +1,55 @@
+This history of OpenRC was written by Daniel Robbins, Roy Marples, William
+Hubbs and others.
+
+The Gentoo modular init scripts were developed by Daniel Robbins for Gentoo
+Linux 1.0_rc6 during most of 2001 and released in September 2001. After their
+development, the dependency-based init script system was maintained by a
+number of senior developers, starting with Azarah (Martin Schlemmer), with
+migration to the new init system assisted by Woodchip (Donnie Davies) who
+converted all ebuild init scripts to work with the new system. As Grant
+Goodyear notes:
+
+"My recollection is that one of woodchip's more impressive early feats
+was the complete replacement of all of the init scripts in Portage
+for Gentoo Linux 1.0_rc6. Through 1.0_rc5 Gentoo had used fairly
+standard rc scripts modified from Stampede Linux, but for 1.0_rc6 Daniel
+Robbins (drobbins) and Martin Schlemmer (azarah) had created a new
+dependency-based init script system that is still used today. Within a
+span of days Donny rewrote every single init script in the Portage tree
+and committed new masked packages to await the release of 1.0_rc6. Thanks to
+woodchip (and drobbins and azarah, of course) the
+transition to the new init scripts was nearly painless." [1]
+
+Roy Marples became a Gentoo/Linux developer in 2004 and wrote the modular
+network scripts for the Gentoo baselayout package. Towards the end of 2005,
+he became the primary maintainer for baselayout and the init scripts.
+
+At the start of 2007, He announced the ongoing development of
+baselayout-2, containing a rewritten core coded in C and allowing POSIX sh
+init scripts instead of forcing the use of bash. By mid 2007, He had
+re-implemented the Gentoo init script design created by Daniel Robbins,
+using an entirely new code base. Alpha and pre-release baselayout-2
+snapshots were added to Gentoo's Portage tree as an optional component.
+
+Toward the end of 2007, Roy retired as a Gentoo developer.
+Baselayout-2 was still in the pre stage, and aside from the gentoo-fbsd
+users, it was masked. However, He desired to keep the baselayout-2
+project moving forward as an independent project. The Gentoo Council
+permitted Him to release OpenRC under the 2-clause BSD license,
+managed by him as an external project.
+
+Around mid-2010, Roy decided to no longer maintain OpenRC. At this
+point, he transferred development back to Gentoo.
+
+William Hubbs, and several other Gentoo developers, started working on
+OpenRC around this point and brought OpenRC-0.8.x to Gentoo Linux's stable
+tree in 2011.
+
+In 2013 the OpenRC team became independent from Gentoo again and moved primary
+development to github.
+
+Daniel Robbins continues to maintain an independent, forked
+version of OpenRC for Funtoo Linux, which includes a Funtoo-specific network
+configuration system.
+
+[1] http://www.gentoo.org/news/en/gwn/20040426-newsletter.xml
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2014-07-01 12:33 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2014-07-01 12:33 UTC (permalink / raw
To: gentoo-commits
commit: b4b34d909c36898095a0036f90a328838137e3a4
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Tue Jul 1 12:14:31 2014 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Tue Jul 1 12:15:22 2014 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=b4b34d90
Schedule removal of the opts variable from service scripts
---
FEATURE-REMOVAL-SCHEDULE | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/FEATURE-REMOVAL-SCHEDULE b/FEATURE-REMOVAL-SCHEDULE
index 57814d3..a6258a0 100644
--- a/FEATURE-REMOVAL-SCHEDULE
+++ b/FEATURE-REMOVAL-SCHEDULE
@@ -38,3 +38,14 @@ Why: Deprecated in favor of openrc-run and openrc due to naming
Who:
---------------------------
+
+What: support for the opts variable in service scripts
+
+When: 1.0
+
+Why: Depprecated in favor of extra_commands, extra_started_commands
+ and extra_stopped_commands.
+
+Who:
+
+---------------------------
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2014-07-10 14:05 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2014-07-10 14:05 UTC (permalink / raw
To: gentoo-commits
commit: f265ddde971d0fdb97a4f14b4cc96140be7b4628
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Thu Jul 10 14:04:04 2014 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Thu Jul 10 14:04:04 2014 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=f265ddde
FEATURE_REMOVAL_SCHEDULE: add entry for local_start/stop
---
FEATURE-REMOVAL-SCHEDULE | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/FEATURE-REMOVAL-SCHEDULE b/FEATURE-REMOVAL-SCHEDULE
index a6258a0..682bed8 100644
--- a/FEATURE-REMOVAL-SCHEDULE
+++ b/FEATURE-REMOVAL-SCHEDULE
@@ -49,3 +49,13 @@ Why: Depprecated in favor of extra_commands, extra_started_commands
Who:
---------------------------
+
+What: support for local_start and local_stop
+
+When: 1.0
+
+Why: Depprecated in favor of executable scripts in @SYSCONFDIR@/local.d
+
+Who:
+
+---------------------------
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2014-08-11 18:18 William Hubbs
2014-08-22 19:10 ` William Hubbs
0 siblings, 1 reply; 150+ messages in thread
From: William Hubbs @ 2014-08-11 18:18 UTC (permalink / raw
To: gentoo-commits
commit: 2c265e13c60be0ed583a871ca12a22e4d379a7c0
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Mon Aug 11 18:17:33 2014 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Mon Aug 11 18:17:33 2014 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=2c265e13
README: expand information about rc and runscript deprecation
---
README | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/README b/README
index 917704b..69e3b54 100644
--- a/README
+++ b/README
@@ -67,7 +67,12 @@ conflicts with other software. The /sbin/rc binary was renamed to
Backward compatible symbolic links are currently in place so your
system will keep working if you are using the old names; however, it is
-strongly advised that you migrate to the new names.
+strongly advised that you migrate to the new names because the symbolic
+links will be removed in the future.
+
+Warnings have been added to assist with this migration; however, they
+only show in verbose mode in this release due to the level of noise they
+produce.
Reporting Bugs
--------------
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2014-08-16 22:18 William Hubbs
2014-08-22 19:10 ` William Hubbs
0 siblings, 1 reply; 150+ messages in thread
From: William Hubbs @ 2014-08-16 22:18 UTC (permalink / raw
To: gentoo-commits
commit: 72b7b32502ff149c0f0f8a7833cfd213f6cf933e
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Sat Aug 16 22:16:20 2014 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Sat Aug 16 22:16:20 2014 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=72b7b325
README: add notes about devfs changes
---
README | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/README b/README
index 69e3b54..60e5a07 100644
--- a/README
+++ b/README
@@ -74,6 +74,15 @@ Warnings have been added to assist with this migration; however, they
only show in verbose mode in this release due to the level of noise they
produce.
+Also, the devfs script now completely controls mounting and the initial
+setup of the /dev directory.
+
+It attempts to mount /dev from fstab first if an entry exists there. If
+it doesn't it attempts to mount devtmpfs if it is configured in the
+kernel. If not, it attempts to mount tmpfs.
+If none of these is available, an error message is displayed and static
+/dev is assumed.
+
Reporting Bugs
--------------
Since Gentoo Linux is hosting OpenRC development, Bugs should go to
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
2014-08-22 19:10 William Hubbs
@ 2014-08-17 5:14 ` William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2014-08-17 5:14 UTC (permalink / raw
To: gentoo-commits
commit: bee3f8463cbc372c344541077924ddd45ca62ef1
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Sun Aug 17 05:11:14 2014 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Sun Aug 17 05:11:14 2014 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=bee3f846
README: Clarify devfs changes
I was informed that the previous explanation of the devfs changes could
be interpreted to mean that we mount a second /dev on top of the one
that was mounted by the kernel or initramfs. This change makes it clear
that is not the case.
---
README | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/README b/README
index 60e5a07..12eb50c 100644
--- a/README
+++ b/README
@@ -74,8 +74,10 @@ Warnings have been added to assist with this migration; however, they
only show in verbose mode in this release due to the level of noise they
produce.
-Also, the devfs script now completely controls mounting and the initial
-setup of the /dev directory.
+Also, the devfs script now handles the initial mounting and setup of the
+/dev directory. If /dev has already been mounted by the kernel or an
+initramfs, devfs will remount /dev with the correct mount options
+instead of mounting a second /dev over the existing mount point.
It attempts to mount /dev from fstab first if an entry exists there. If
it doesn't it attempts to mount devtmpfs if it is configured in the
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2014-08-17 21:07 William Hubbs
2014-08-22 19:10 ` William Hubbs
0 siblings, 1 reply; 150+ messages in thread
From: William Hubbs @ 2014-08-17 21:07 UTC (permalink / raw
To: gentoo-commits
commit: 7b9fe5fced762935c48c90797b3bba2c82f10eb2
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Sun Aug 17 21:06:32 2014 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Sun Aug 17 21:06:32 2014 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=7b9fe5fc
start work on 0.14
---
Makefile.inc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile.inc b/Makefile.inc
index 322fd2a..a1e53fa 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -1,3 +1,3 @@
NAME= openrc
-VERSION= 0.13
+VERSION= 0.14
PKG= ${NAME}-${VERSION}
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
2014-08-11 18:18 William Hubbs
@ 2014-08-22 19:10 ` William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2014-08-22 19:10 UTC (permalink / raw
To: gentoo-commits
commit: 2c265e13c60be0ed583a871ca12a22e4d379a7c0
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Mon Aug 11 18:17:33 2014 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Mon Aug 11 18:17:33 2014 +0000
URL: http://sources.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=2c265e13
README: expand information about rc and runscript deprecation
---
README | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/README b/README
index 917704b..69e3b54 100644
--- a/README
+++ b/README
@@ -67,7 +67,12 @@ conflicts with other software. The /sbin/rc binary was renamed to
Backward compatible symbolic links are currently in place so your
system will keep working if you are using the old names; however, it is
-strongly advised that you migrate to the new names.
+strongly advised that you migrate to the new names because the symbolic
+links will be removed in the future.
+
+Warnings have been added to assist with this migration; however, they
+only show in verbose mode in this release due to the level of noise they
+produce.
Reporting Bugs
--------------
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2014-08-22 19:10 William Hubbs
2014-08-17 5:14 ` William Hubbs
0 siblings, 1 reply; 150+ messages in thread
From: William Hubbs @ 2014-08-22 19:10 UTC (permalink / raw
To: gentoo-commits
commit: bee3f8463cbc372c344541077924ddd45ca62ef1
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Sun Aug 17 05:11:14 2014 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Sun Aug 17 05:11:14 2014 +0000
URL: http://sources.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=bee3f846
README: Clarify devfs changes
I was informed that the previous explanation of the devfs changes could
be interpreted to mean that we mount a second /dev on top of the one
that was mounted by the kernel or initramfs. This change makes it clear
that is not the case.
---
README | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/README b/README
index 60e5a07..12eb50c 100644
--- a/README
+++ b/README
@@ -74,8 +74,10 @@ Warnings have been added to assist with this migration; however, they
only show in verbose mode in this release due to the level of noise they
produce.
-Also, the devfs script now completely controls mounting and the initial
-setup of the /dev directory.
+Also, the devfs script now handles the initial mounting and setup of the
+/dev directory. If /dev has already been mounted by the kernel or an
+initramfs, devfs will remount /dev with the correct mount options
+instead of mounting a second /dev over the existing mount point.
It attempts to mount /dev from fstab first if an entry exists there. If
it doesn't it attempts to mount devtmpfs if it is configured in the
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
2014-08-17 21:07 William Hubbs
@ 2014-08-22 19:10 ` William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2014-08-22 19:10 UTC (permalink / raw
To: gentoo-commits
commit: 7b9fe5fced762935c48c90797b3bba2c82f10eb2
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Sun Aug 17 21:06:32 2014 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Sun Aug 17 21:06:32 2014 +0000
URL: http://sources.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=7b9fe5fc
start work on 0.14
---
Makefile.inc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile.inc b/Makefile.inc
index 322fd2a..a1e53fa 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -1,3 +1,3 @@
NAME= openrc
-VERSION= 0.13
+VERSION= 0.14
PKG= ${NAME}-${VERSION}
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
2014-08-16 22:18 William Hubbs
@ 2014-08-22 19:10 ` William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2014-08-22 19:10 UTC (permalink / raw
To: gentoo-commits
commit: 72b7b32502ff149c0f0f8a7833cfd213f6cf933e
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Sat Aug 16 22:16:20 2014 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Sat Aug 16 22:16:20 2014 +0000
URL: http://sources.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=72b7b325
README: add notes about devfs changes
---
README | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/README b/README
index 69e3b54..60e5a07 100644
--- a/README
+++ b/README
@@ -74,6 +74,15 @@ Warnings have been added to assist with this migration; however, they
only show in verbose mode in this release due to the level of noise they
produce.
+Also, the devfs script now completely controls mounting and the initial
+setup of the /dev directory.
+
+It attempts to mount /dev from fstab first if an entry exists there. If
+it doesn't it attempts to mount devtmpfs if it is configured in the
+kernel. If not, it attempts to mount tmpfs.
+If none of these is available, an error message is displayed and static
+/dev is assumed.
+
Reporting Bugs
--------------
Since Gentoo Linux is hosting OpenRC development, Bugs should go to
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2014-10-20 20:59 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2014-10-20 20:59 UTC (permalink / raw
To: gentoo-commits
commit: 5f1439f1aac14618592789042e05daaf80f55a15
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Mon Oct 20 20:28:13 2014 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Mon Oct 20 20:38:51 2014 +0000
URL: http://sources.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=5f1439f1
Add NEWS file
---
NEWS | 39 +++++++++++++++++++++++++++++++++++++++
README | 28 ----------------------------
2 files changed, 39 insertions(+), 28 deletions(-)
diff --git a/NEWS b/NEWS
new file mode 100644
index 0000000..8858f46
--- /dev/null
+++ b/NEWS
@@ -0,0 +1,39 @@
+OpenRC NEWS
+
+This file will contain a list of notable changes for each release.
+
+OpenRC-0.13.2
+=============
+The netmount service now mounts nfs file systems.
+This change was made to correct a fix for an earlier bug.
+
+OpenRC-0.13
+===========
+
+/sbin/rc was renamed to /sbin/openrc and /sbin/runscript was renamed to
+/sbin/openrc-run due to naming conflicts with other software.
+
+Backward compatible symbolic links are currently in place so your
+system will keep working if you are using the old names; however, it is
+strongly advised that you migrate to the new names because the symbolic
+links will be removed in the future.
+Warnings have been added to assist with this migration; however, due to the
+level of noise they produce, they only appear in verbose mode in this release.
+
+The devfs script now handles the initial mounting and setup of the
+/dev directory. If /dev has already been mounted by the kernel or an
+initramfs, devfs will remount /dev with the correct mount options
+instead of mounting a second /dev over the existing mount point.
+
+It attempts to mount /dev from fstab first if an entry exists there. If
+it doesn't it attempts to mount devtmpfs if it is configured in the
+kernel. If not, it attempts to mount tmpfs.
+If none of these is available, an error message is displayed and static
+/dev is assumed.
+
+OpenRC-0.12
+===========
+
+The net.* scripts, originally from Gentoo Linux, have
+been removed. If you need these scripts, look for a package called
+netifrc, which is maintained by them.
diff --git a/README b/README
index 12eb50c..91e5935 100644
--- a/README
+++ b/README
@@ -57,34 +57,6 @@ init.d.misc is not installed by default as the scripts will need
tweaking on a per distro basis. They are also non essential to the operation
of the system.
-As of OpenRC-0.12, the net.* scripts, originally from Gentoo Linux, have
-been removed. If you need these scripts, look for a package called
-netifrc, which is maintained by them.
-
-As of OpenRC-0.13, two binaries have been renamed due to naming
-conflicts with other software. The /sbin/rc binary was renamed to
-/sbin/openrc, and /sbin/runscript was renamed to /sbin/openrc-run.
-
-Backward compatible symbolic links are currently in place so your
-system will keep working if you are using the old names; however, it is
-strongly advised that you migrate to the new names because the symbolic
-links will be removed in the future.
-
-Warnings have been added to assist with this migration; however, they
-only show in verbose mode in this release due to the level of noise they
-produce.
-
-Also, the devfs script now handles the initial mounting and setup of the
-/dev directory. If /dev has already been mounted by the kernel or an
-initramfs, devfs will remount /dev with the correct mount options
-instead of mounting a second /dev over the existing mount point.
-
-It attempts to mount /dev from fstab first if an entry exists there. If
-it doesn't it attempts to mount devtmpfs if it is configured in the
-kernel. If not, it attempts to mount tmpfs.
-If none of these is available, an error message is displayed and static
-/dev is assumed.
-
Reporting Bugs
--------------
Since Gentoo Linux is hosting OpenRC development, Bugs should go to
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2014-10-20 20:59 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2014-10-20 20:59 UTC (permalink / raw
To: gentoo-commits
commit: 9bf789f78890c8b5879d29acb9fb0e23285baee4
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Mon Oct 20 20:52:11 2014 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Mon Oct 20 20:52:11 2014 +0000
URL: http://sources.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=9bf789f7
Update news file wrt chroot variable
---
NEWS | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/NEWS b/NEWS
index 8858f46..aea5232 100644
--- a/NEWS
+++ b/NEWS
@@ -4,6 +4,11 @@ This file will contain a list of notable changes for each release.
OpenRC-0.13.2
=============
+
+A chroot variable has been added to the service script variables.
+This fixes the support for running a service in a chroot.
+This is documented in man 8 openrc-run.
+
The netmount service now mounts nfs file systems.
This change was made to correct a fix for an earlier bug.
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2015-01-23 18:57 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2015-01-23 18:57 UTC (permalink / raw
To: gentoo-commits
commit: fbdd669ba7c5d1a67129236b4ffcd76198340a1b
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Fri Jan 23 18:52:31 2015 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Fri Jan 23 18:52:31 2015 +0000
URL: http://sources.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=fbdd669b
Makefile: add variable for path to source tree
Add a new variable, ${TOP}, to the top level makefile, which points to
the path of the source tree.
---
Makefile | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
index 6e9198c..dd06bdd 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,10 @@
# Copyright (c) 2007-2009 Roy Marples <roy@marples.name>
# Released under the 2-clause BSD license.
-include Makefile.inc
+TOP:= ${dir ${realpath ${firstword ${MAKEFILE_LIST}}}}
+MK= ${TOP}/mk
+
+include ${TOP}/Makefile.inc
SUBDIR= conf.d etc init.d local.d man scripts sh src sysctl.d
@@ -17,7 +20,6 @@ SUBDIR+= runlevels
INSTALLAFTER= _installafter
-MK= mk
include ${MK}/sys.mk
include ${MK}/os.mk
include ${MK}/subdir.mk
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2015-04-22 20:09 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2015-04-22 20:09 UTC (permalink / raw
To: gentoo-commits
commit: c2aa56a7c49214b1fef355f79dfcd94265efe089
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Wed Apr 22 19:47:56 2015 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Wed Apr 22 19:47:56 2015 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=c2aa56a7
Rename README README.md
This fixes #26.
README => README.md | 0
1 file changed, 0 insertions(+), 0 deletions(-)
diff --git a/README b/README.md
similarity index 100%
rename from README
rename to README.md
^ permalink raw reply [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2015-04-22 20:09 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2015-04-22 20:09 UTC (permalink / raw
To: gentoo-commits
commit: dccc0a91292240022c4b120304b9198055d0d240
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Wed Apr 22 19:54:12 2015 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Wed Apr 22 19:54:12 2015 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=dccc0a91
Update README.md format and bug reporting information
README.md | 99 +++++++++++++++++++++++++++++++++++++++++----------------------
1 file changed, 64 insertions(+), 35 deletions(-)
diff --git a/README.md b/README.md
index 91e5935..83f837b 100644
--- a/README.md
+++ b/README.md
@@ -1,12 +1,23 @@
-OpenRC README
+# OpenRC README
+OpenRC is a dependency-based init system that works with the
+system-provided init program, normally `/sbin/init`. Currently, it does
+not have an init program of its own.
+
+## Installation
+
+OpenRC requires GNU make.
+
+Once you have GNU Make installed, the default OpenRC installation can be
+executed using this command:
-Installation
-------------
make install
-Yup, that simple. Works with GNU make.
-You may wish to tweak the installation with the below arguments
+## Configuration
+
+You may wish to configure the installation by passing one or more of the
+below arguments to the make command
+
PROGLDFLAGS=-static
LIBNAME=lib64
DESTDIR=/tmp/openrc-image
@@ -22,45 +33,63 @@ MKTOOLS=yes
PKG_PREFIX=/usr/pkg
LOCAL_PREFIX=/usr/local
PREFIX=/usr/local
+BRANDING=\"Gentoo/$(uname -s)\"
+
+## Notes
We don't support building a static OpenRC with PAM.
-You may need to use PROGLDFLAGS=-Wl,-Bstatic on glibc instead of just -static.
-If you debug memory under valgrind, add -DDEBUG_MEMORY to your CPPFLAGS
-so that all malloc memory should be freed at exit.
-If you are building OpenRC for a Gentoo Prefix installation, add
-MKPREFIX=yes.
-You can also brand OpenRC if you so wish like so
-BRANDING=\"Gentoo/$(uname -s)\"
+You may need to use `PROGLDFLAGS=-Wl,-Bstatic` on glibc instead of just `-static`.
+
+If you debug memory under valgrind, add `-DDEBUG_MEMORY`
+to your `CPPFLAGS` so that all malloc memory should be freed at exit.
+
+If you are building OpenRC for a Gentoo Prefix installation, add `MKPREFIX=yes`.
+
+`PKG_PREFIX` should be set to where packages install to by default.
+
+`LOCAL_PREFIX` should be set when to where user maintained packages are.
+Only set `LOCAL_PREFIX` if different from `PKG_PREFIX`.
-PKG_PREFIX should be set to where packages install to by default.
-LOCAL_PREFIX should be set when to where user maintained packages are.
-Only set LOCAL_PREFIX if different from PKG_PREFIX.
-PREFIX should be set when OpenRC is not installed to /.
+`PREFIX` should be set when OpenRC is not installed to /.
If any of the following files exist then we do not overwrite them
+
/etc/devd.conf
/etc/rc
/etc/rc.shutdown
/etc/conf.d/*
-rc and rc.shutdown are the hooks from the BSD init into OpenRC.
-devd.conf is modified from FreeBSD to call /etc/rc.devd which is a generic
-hook into OpenRC.
-inittab is the same, but for SysVInit as used by most Linux distributions.
+`rc` and `rc.shutdown` are the hooks from the BSD init into OpenRC.
+
+`devd.conf` is modified from FreeBSD to call `/etc/rc.devd` which is a
+generic hook into OpenRC.
+
+`inittab` is the same, but for SysVInit as used by most Linux distributions.
This can be found in the support folder.
-Obviously, if you're installing this onto a system that does not use OpenRC
-by default then you may wish to backup the above listed files, remove them
-and then install so that the OS hooks into OpenRC.
-
-init.d.misc is not installed by default as the scripts will need
-tweaking on a per distro basis. They are also non essential to the operation
-of the system.
-
-Reporting Bugs
---------------
-Since Gentoo Linux is hosting OpenRC development, Bugs should go to
-the Gentoo Bugzilla:
- http://bugs.gentoo.org/
-They should be filed under the "Gentoo Hosted Projects" product and
-the "openrc" component.
+
+Obviously, if you're installing this onto a system that does not use
+OpenRC by default then you may wish to backup the above listed files,
+remove them and then install so that the OS hooks into OpenRC.
+
+`init.d.misc` is not installed by default as the scripts will need
+tweaking on a per distro basis. They are also non essential to the
+operation of the system.
+
+## Reporting Bugs
+
+If you are using Gentoo Linux, bugs can be filed on their bugzilla under
+the "gentoo hosted projects" product and the "openrc" component [1].
+Otherwise, you can report issues on our github [2].
+
+Better yet, if you can contribute code, please feel free to submit pull
+requests [3].
+
+## IRC Channel
+
+We have an official irc channel, #openrc on freenode, feel free to join
+us there.
+
+[1] https://bugs.gentoo.org/
+[2] https://github.com/openrc/openrc/issues
+[3] https://github.com/openrc/openrc/pulls
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2015-04-22 20:40 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2015-04-22 20:40 UTC (permalink / raw
To: gentoo-commits
commit: 362dfa33804d2ba5bed241f697aac0178be07d3d
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Wed Apr 22 20:39:24 2015 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Wed Apr 22 20:39:24 2015 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=362dfa33
README.md: small formatting changes
README.md | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/README.md b/README.md
index 83f837b..7fadd23 100644
--- a/README.md
+++ b/README.md
@@ -18,6 +18,7 @@ make install
You may wish to configure the installation by passing one or more of the
below arguments to the make command
+```
PROGLDFLAGS=-static
LIBNAME=lib64
DESTDIR=/tmp/openrc-image
@@ -34,6 +35,7 @@ PKG_PREFIX=/usr/pkg
LOCAL_PREFIX=/usr/local
PREFIX=/usr/local
BRANDING=\"Gentoo/$(uname -s)\"
+```
## Notes
@@ -55,10 +57,12 @@ Only set `LOCAL_PREFIX` if different from `PKG_PREFIX`.
If any of the following files exist then we do not overwrite them
+```
/etc/devd.conf
/etc/rc
/etc/rc.shutdown
/etc/conf.d/*
+```
`rc` and `rc.shutdown` are the hooks from the BSD init into OpenRC.
@@ -79,7 +83,7 @@ operation of the system.
## Reporting Bugs
If you are using Gentoo Linux, bugs can be filed on their bugzilla under
-the "gentoo hosted projects" product and the "openrc" component [1].
+the `gentoo hosted projects` product and the `openrc` component [1].
Otherwise, you can report issues on our github [2].
Better yet, if you can contribute code, please feel free to submit pull
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2015-04-22 20:55 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2015-04-22 20:55 UTC (permalink / raw
To: gentoo-commits
commit: ebc32aadada564095b70f0ff439a9863102a2ae5
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Wed Apr 22 20:54:40 2015 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Wed Apr 22 20:54:40 2015 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=ebc32aad
Convert style guide to markdown
STYLE => STYLE-GUIDE.md | 41 ++++++++++++++++++++---------------------
1 file changed, 20 insertions(+), 21 deletions(-)
diff --git a/STYLE b/STYLE-GUIDE.md
similarity index 73%
rename from STYLE
rename to STYLE-GUIDE.md
index 44ff1d5..6c1fcf2 100644
--- a/STYLE
+++ b/STYLE-GUIDE.md
@@ -1,23 +1,23 @@
+# OpenRC Style Guide
+
This is the openrc style manual. It governs the coding style of all code
in this repository. Follow it. Contact openrc@gentoo.org for any questions
or fixes you might notice.
-##########
-# C CODE #
-##########
+## C CODE
-The BSD Kernel Normal Form (KNF) style is used:
- http://en.wikipedia.org/wiki/Indent_style#BSD_KNF_style
-Basically, it's like K&R/LKML, but wrapped lines that are indented use 4 spaces.
+The BSD Kernel Normal Form (KNF) style is used [1]. Basically, it is like
+K&R/LKML, but wrapped lines that are indented use 4 spaces. Here are the
+highlights.
-Highlights:
- - no trailing whitespace
- - indented code use tabs (not line wrapped)
- - cuddle the braces (except for functions)
- - space after native statements and before paren (for/if/while/...)
- - no space between function and paren
- - pointer asterisk cuddles the variable, not the type
+- no trailing whitespace
+- indented code use tabs (not line wrapped)
+- cuddle the braces (except for functions)
+- space after native statements and before paren (for/if/while/...)
+- no space between function and paren
+- pointer asterisk cuddles the variable, not the type
+```
void foo(int c)
{
int ret = 0;
@@ -32,16 +32,15 @@ void foo(int c)
return ret;
}
+```
-##################
-# COMMIT MESSAGES #
-##################
+## COMMIT MESSAGES
The following is an example of a correctly formatted git commit message
for this repository. Most of this information came from this blog post
-[1], so I would like to thank the author.
+[2], so I would like to thank the author.
-### cut here ###
+```
Capitalized, short (50 chars or less) summary
More detailed explanatory text, if necessary. Wrap it to about 72
@@ -67,7 +66,7 @@ Further paragraphs come after blank lines.
Reported-by: User Name <email>
X-[Distro]-Bug: BugID
X-[Distro]-Bug-URL: URL for the bug (on the distribution's web site typically)
-### cut here ###
+```
If you did not write the code and the patch does not include authorship
information in a format git can use, please use the --author option of the
@@ -81,5 +80,5 @@ different from the author and committer.
*BSD. Also, [Distro] should be replaced with the name of the
distribution, e.g. X-Gentoo-Bug.
-[1] http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html
-
+[1] http://en.wikipedia.org/wiki/Indent_style#BSD_KNF_style
+[2] http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2015-04-22 21:17 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2015-04-22 21:17 UTC (permalink / raw
To: gentoo-commits
commit: 628b35e1beeea6aaab181b1511b2a879bdc45b61
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Wed Apr 22 21:15:30 2015 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Wed Apr 22 21:15:30 2015 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=628b35e1
Update busybox documentation
Convert README.busybox to markdown and add the note on the sysctl applet
incompatibility.
README.busybox => BUSYBOX.md | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/README.busybox b/BUSYBOX.md
similarity index 89%
rename from README.busybox
rename to BUSYBOX.md
index b084d42..db7ca51 100644
--- a/README.busybox
+++ b/BUSYBOX.md
@@ -1,6 +1,4 @@
-Using Busybox as your Default Shell
------------------------------------
-
+# Using Busybox as your Default Shell with OpenRC
If you have/bin/sh linked to busybox, you need to be aware of several
incompatibilities between busybox's applets and the standalone
@@ -27,5 +25,8 @@ CONFIG_SETFONT -- The setfont applet does not support the -u option from kbd.
CONFIG_IP -- The ip applet doesn't support the "scope" modifier for
"ip route add" and "ip address add".
+CONFIG_BB_SYSCTL -- The sysctl applet does not support the --system command
+line switch.
+
There is work to get most of these supported by busybox, so this file
will be updated as things change.
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2015-04-22 22:05 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2015-04-22 22:05 UTC (permalink / raw
To: gentoo-commits
commit: e6dd26d185e4a9722f4d4813a084ca77eba913c7
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Wed Apr 22 22:03:59 2015 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Wed Apr 22 22:03:59 2015 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=e6dd26d1
convert README.history to markdown
README.history => HISTORY.md | 2 ++
1 file changed, 2 insertions(+)
diff --git a/README.history b/HISTORY.md
similarity index 99%
rename from README.history
rename to HISTORY.md
index 2aeca1b..03dde1d 100644
--- a/README.history
+++ b/HISTORY.md
@@ -1,3 +1,5 @@
+# OpenRC History
+
This history of OpenRC was written by Daniel Robbins, Roy Marples, William
Hubbs and others.
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2015-04-22 22:14 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2015-04-22 22:14 UTC (permalink / raw
To: gentoo-commits
commit: 1ebffa517f6f1dafc206d5ee943d3cacd25feaf6
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Wed Apr 22 22:13:31 2015 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Wed Apr 22 22:13:31 2015 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=1ebffa51
Convert news to markdown
NEWS => NEWS.md | 14 ++++++--------
1 file changed, 6 insertions(+), 8 deletions(-)
diff --git a/NEWS b/NEWS.md
similarity index 93%
rename from NEWS
rename to NEWS.md
index aea5232..9f36dfd 100644
--- a/NEWS
+++ b/NEWS.md
@@ -1,9 +1,9 @@
-OpenRC NEWS
+# OpenRC NEWS
-This file will contain a list of notable changes for each release.
+This file will contain a list of notable changes for each release. Note
+the information in this file is in reverse order.
-OpenRC-0.13.2
-=============
+## OpenRC-0.13.2
A chroot variable has been added to the service script variables.
This fixes the support for running a service in a chroot.
@@ -12,8 +12,7 @@ This is documented in man 8 openrc-run.
The netmount service now mounts nfs file systems.
This change was made to correct a fix for an earlier bug.
-OpenRC-0.13
-===========
+## OpenRC-0.13
/sbin/rc was renamed to /sbin/openrc and /sbin/runscript was renamed to
/sbin/openrc-run due to naming conflicts with other software.
@@ -36,8 +35,7 @@ kernel. If not, it attempts to mount tmpfs.
If none of these is available, an error message is displayed and static
/dev is assumed.
-OpenRC-0.12
-===========
+## OpenRC-0.12
The net.* scripts, originally from Gentoo Linux, have
been removed. If you need these scripts, look for a package called
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2015-04-22 22:43 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2015-04-22 22:43 UTC (permalink / raw
To: gentoo-commits
commit: 1c2f7bf607ee7e24dca0a2710cef9e9b24e819f7
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Wed Apr 22 22:42:38 2015 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Wed Apr 22 22:42:38 2015 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=1c2f7bf6
Convert feature removal schedule to markdown
...REMOVAL-SCHEDULE => FEATURE-REMOVAL-SCHEDULE.md | 37 ++++++++--------------
1 file changed, 13 insertions(+), 24 deletions(-)
diff --git a/FEATURE-REMOVAL-SCHEDULE b/FEATURE-REMOVAL-SCHEDULE.md
similarity index 59%
rename from FEATURE-REMOVAL-SCHEDULE
rename to FEATURE-REMOVAL-SCHEDULE.md
index 344711f..a1b19ab 100644
--- a/FEATURE-REMOVAL-SCHEDULE
+++ b/FEATURE-REMOVAL-SCHEDULE.md
@@ -1,34 +1,31 @@
+# Features Scheduled for Removal
+
The following is a list of files and features that are going to be removed in
the source tree. Every entry should contain what exactly is going away, why it
is happening, and who is going to be doing the work. When the feature is
removed, it should also be removed from this file.
----------------------------
-
-What: Service pause action
+## Service pause action
When: 1.0
-Why: ...
+Why: The same affect can be obtained with the --nodeps option to stop.
Who:
----------------------------
-
-What: start-stop-daemon options --startas, --chuid , --oknodo
+## start-stop-daemon options --startas, --chuid , --oknodo
When: 1.0
Why: Obsolete or replaced by other options.
- --startas => use --name or --exec
- --chuid => use --user
- --oknodo => ignore return code instead
-Who:
+* --startas => use --name or --exec
+* --chuid => use --user
+* --oknodo => ignore return code instead
----------------------------
+Who:
-What: runscript and rc symbolic links
+## runscript and rc symbolic links
When: 1.0
@@ -37,9 +34,7 @@ Why: Deprecated in favor of openrc-run and openrc due to naming
Who:
----------------------------
-
-What: support for the opts variable in service scripts
+## support for the opts variable in service scripts
When: 1.0
@@ -48,9 +43,7 @@ Why: Depprecated in favor of extra_commands, extra_started_commands
Who:
----------------------------
-
-What: support for local_start and local_stop
+## support for local_start and local_stop
When: 1.0
@@ -58,9 +51,7 @@ Why: Depprecated in favor of executable scripts in @SYSCONFDIR@/local.d
Who:
----------------------------
-
-What: the mtab service script
+## the mtab service script
When: make warnings more visible in 1.0, remove in 2.0
@@ -68,5 +59,3 @@ Why: /etc/mtab should be a symbolic link to /proc/self/mounts on modern
Linux systems
Who:
-
----------------------------
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2015-04-25 0:41 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2015-04-25 0:41 UTC (permalink / raw
To: gentoo-commits
commit: a7c0400177e504fe07e7c39168b7a92e40ab334a
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Fri Apr 24 18:37:42 2015 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Fri Apr 24 19:47:50 2015 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=a7c04001
Update news
NEWS.md | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/NEWS.md b/NEWS.md
index 9f36dfd..d051f2a 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -3,6 +3,27 @@
This file will contain a list of notable changes for each release. Note
the information in this file is in reverse order.
+## OpenRC-0.14
+
+The binfmt service, which registers misc binary formats with the Linux
+kernel, has been separated from the procfs service. This service will be
+automatically added to the sysinit runlevel for new Linux installs. When
+you upgrade, you will need to use rc-update to add it to your sysinit
+runlevel.
+
+The procfs service no longer automounts the deprecated usbfs and
+usbdevfs file systems. Nothing should be using usbdevfs any longer, and
+if you still need usbfs it can be added to fstab.
+
+Related to the above change, the procfs service no longer attempts to
+modprobe the usbcore module. If your device manager does not load it,
+you will need to configure the modules service to do so.
+
+The override order of binfmt.d and tmpfiles.d directories has been
+changed to match systemd. Files in /run/binfmt.d and /run/tmpfiles.d
+override their /usr/lib counterparts, and files in the /etc counterparts
+override both /usr/lib and /run.
+
## OpenRC-0.13.2
A chroot variable has been added to the service script variables.
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2015-04-25 1:01 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2015-04-25 1:01 UTC (permalink / raw
To: gentoo-commits
commit: a8c6dbac96a20eb35ce55befe0e64d89dd30de4d
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Sat Apr 25 00:53:35 2015 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Sat Apr 25 00:53:35 2015 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=a8c6dbac
typo fix in NEWS
The binfmt service should be added to the boot runlevel, not sysinit.
NEWS.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/NEWS.md b/NEWS.md
index d051f2a..20e3c27 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -7,8 +7,8 @@ the information in this file is in reverse order.
The binfmt service, which registers misc binary formats with the Linux
kernel, has been separated from the procfs service. This service will be
-automatically added to the sysinit runlevel for new Linux installs. When
-you upgrade, you will need to use rc-update to add it to your sysinit
+automatically added to the boot runlevel for new Linux installs. When
+you upgrade, you will need to use rc-update to add it to your boot
runlevel.
The procfs service no longer automounts the deprecated usbfs and
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2015-04-25 23:36 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2015-04-25 23:36 UTC (permalink / raw
To: gentoo-commits
commit: 1d6602bb8e7062323ead03eaa0c4ae307c517b9e
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Sat Apr 25 23:30:39 2015 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Sat Apr 25 23:30:39 2015 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=1d6602bb
Add ChangeLog
ChangeLog | 1386 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 1386 insertions(+)
diff --git a/ChangeLog b/ChangeLog
new file mode 100644
index 0000000..8faa621
--- /dev/null
+++ b/ChangeLog
@@ -0,0 +1,1386 @@
+commit a6391f44ee6c68d674ae8425983467b971710d5d
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ mtab: move toward requiring /etc/mtab to be a symbolic link
+
+ This changes the mtab service in the following way:
+
+ - If /etc/mtab is a symbolic link, success is returned.
+ - If /etc is not writable, we warn that we could not update /etc/mtab
+ and return success.
+ - If /etc/mtab does not exist, we create a symbolic link from
+ /etc/mtab to /proc/self/mounts.
+ - Otherwise, we warn that updating /etc/mtab as a file is
+ deprecated and continue to update it after outputting instructions to
+ the user for how to move it to a symbolic link.
+
+commit a8c6dbac96a20eb35ce55befe0e64d89dd30de4d
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ typo fix in NEWS
+
+ The binfmt service should be added to the boot runlevel, not sysinit.
+
+commit a7c0400177e504fe07e7c39168b7a92e40ab334a
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Update news
+
+commit 03803ae8e966755e8bf6d52b61209792cb830cf4
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ start-stop-daemon: redirect stdin if --background option is used
+
+ X-Gentoo-Bug: 498684
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=498684
+
+commit 1c2f7bf607ee7e24dca0a2710cef9e9b24e819f7
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Convert feature removal schedule to markdown
+
+commit 1ebffa517f6f1dafc206d5ee943d3cacd25feaf6
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Convert news to markdown
+
+commit e6dd26d185e4a9722f4d4813a084ca77eba913c7
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ convert README.history to markdown
+
+commit 628b35e1beeea6aaab181b1511b2a879bdc45b61
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Update busybox documentation
+
+ Convert README.busybox to markdown and add the note on the sysctl applet
+ incompatibility.
+
+commit ebc32aadada564095b70f0ff439a9863102a2ae5
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Convert style guide to markdown
+
+commit 362dfa33804d2ba5bed241f697aac0178be07d3d
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ README.md: small formatting changes
+
+commit dccc0a91292240022c4b120304b9198055d0d240
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Update README.md format and bug reporting information
+
+commit c2aa56a7c49214b1fef355f79dfcd94265efe089
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Rename README README.md
+
+ This fixes #26.
+
+commit 23d806ca24845261fd89104c16bc28a60505fe5c
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ savecache: clean up creation of cache directory
+
+ The cache directory should be created via mkdir -p instead of
+ mkdir. This makes sure all parent directories are created.
+
+ Also, we now display an error message explaining that we were unable to
+ create the cache directory if creation fails.
+
+commit de7d184909d561b68b411325d32471c047549bca
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ savecache: fix check for $RC_LIBEXECDIR writability
+
+ We were originally checking to see if $RC_LIBEXECDIR/cache was writable. For
+ a new install, this check will fail since this path does not exist. This
+ is also incorrect because later we create $RC_LIBEXECDIR/cache.
+
+ The correct check is checkpath -W $RC_LIBEXECDIR, and this fixes the
+ issue.
+
+ X-Gentoo-Bug: 544632
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=544632
+
+commit 15ab3f39c69ff8d69fd08a9cde7495a04b4dec9e
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ cgroups: use printf to write to cgroup files
+
+ This fixes #33.
+
+commit ee1768a419122d288256cce1723d4997bd965eab
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Add binfmt service to sysinit runlevel
+
+ This makes binfmt processing behave like tmpfiles processing which
+ follows the same specification as systemd.
+
+ This fixes #48.
+
+ X-Gentoo-Bug: 545162
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=545162
+
+commit 95ed0665393c353dbc24afb8c63c615402136f5d
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ procfs: do not force loading of usbcore module
+
+ It appears that the only reason we were force loading the usbcore
+ module was to facilitate mounting usbfs. Since we no longer mount
+ usbfs, this is no longer necessary.
+
+ X-Gentoo-Bug: 480312
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=480312
+
+commit 4c5132421f37bd6831eab1f9527a197340f2e9ae
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ procfs: remove usbfs and usbdevfs support
+
+ The usbfs and usbdevfs file systems have been deprecated since
+ Linux-2.6.32, so we remove the code to automount them.
+
+ X-Gentoo-Bug: 480312
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=480312
+
+commit 6d81d3be1bcba81a68086f2a17561d13e1f844e6
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ procfs: do not test for the existence of /proc/filesystems
+
+ The test for the existence of /proc/filesystems is redundant since we
+ always return success.
+
+commit 8d307a6fadd516f26d9c72016119277a7a5c1946
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ procfs: remove redundant check for OpenVZ
+
+ The check for OpenVZ is not necessary since the procfs service already
+ will not run on OpenVZ due to the keywords setting.
+
+commit 62addf118067dd2cd57c3f5fee35c9e80f9fec42
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Move SELinux mount to sysfs service
+
+ The selinux file system is mounted under /sys, so move the code for it
+ to the appropriate service.
+
+ X-Gentoo-Bug: 546290
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=546290
+
+commit 1eab656ca1d3258ff00495710a68ad459ce50d3e
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Fix tmpfiles processing
+
+ Tmpfiles.d processing had /run overriding /usr/lib and /etc, but this is
+ not correct. The correct order, from lowest to highest, for tmpfiles
+ processing is:
+
+ * /usr/lib/tmpfiles.d/*.conf
+ * /run/tmpfiles.d/*.conf
+ * /etc/tmpfiles.d
+
+ This means /run/tmpfiles.d/*.conf can override /etc/tmpfiles.d/*.conf,
+ but /etc/tmpfiles.d/*.conf can override both of them.
+
+ This fixes #49.
+
+commit 731a3affdce31e2971a84cde11df2d122049ec99
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Fix script execution in the local service
+
+ The local service should use eval when it executes scripts since it has
+ the redirection set up in a variable.
+
+ This fixes #50.
+ X-Gentoo-Bug: 545012
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=545012
+
+commit 3e9bb3b021620654f99a0ead71ed73d34b5c6826
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Make sysctl on Linux respect rc_verbose setting
+
+ We do not need to spam the console with variable settings by default.
+ This fixes #51.
+
+ X-Gentoo-Bug: 541922
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=541922
+
+commit c068762c4cf49e7ea9719dcab2e5f7d4c4e7e2e5
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: Doug Freed <dwfreed@mtu.edu>
+
+ Fix rc_verbose processing
+
+ We were processing the rc_verbose setting before we sourced the
+ configuration file where it was set; this fixes the issue.
+
+ Fixes #46
+
+commit b8ab99b5d3ee1a93f215157c36fb120857afde64
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ checkpath: Remove the last HAVE_SELINUX test
+
+commit a4cf61e8bf827dc405a547c314e840dab11fc979
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ selinux: unconditionally include the header and provide stub methods
+
+ If selinux is disabled, then stub methods will be provided instead of
+ calling the real methods. This removes some warnings about unused
+ parameters which used to be covered up with #ifdef HAVE_SELINUX.
+
+ Signed-off-by: Jason Zaman <jason@perfinion.com>
+
+commit d38cc8f2210e839c4935208917138e4809ece758
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ checkpath: fix warning about selinux_on being unused
+
+commit f085ae400c60289f61d99e9e80ce037beedf38b4
+Author: Doug Freed <dwfreed@mtu.edu>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Fix some compiler warnings
+
+ librc: Fix C90 warning (mixed declaration and code)
+ rc: Fix warning about discarding const qualifier
+
+ Fixes #45.
+
+commit c1faafcad8197a821282b8e56a10132e27eb5d9f
+Author: Will Miles <wmiles@sgl.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ start-stop-daemon: Fix regression for --test
+
+ The previous fix to --test (PR #34) prevented reading one too many
+ arguments when --exec -or --name was not specified, but created a
+ regression where the last argument would not print if either of those
+ arguments was specified. This corrects the issue.
+
+ Fixes #41.
+
+commit de93587affb17675e6f7cab2b85613d61e11b98b
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: Doug Freed <dwfreed@mtu.edu>
+
+ Silence warning about _DEFAULT_SOURCE for Linux/glibc
+
+ In >=glibc-2.20, the _BSD_SOURCE macro is deprecated in favor of
+ _DEFAULT_SOURCE. This adds -D_DEFAULT_SOURCE to CPPFLAGS on Linux.
+
+ Fixes #44
+
+commit be497229b64613ebfbc4073985107a275d49f78e
+Author: Anthony Donnelly <Amzo@archbsd.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Fix savecore service on FreeBSD
+
+ savecore -C only needs the dumpdevice otherwise it causes an error on startup.
+
+ This fixes #40.
+
+commit e16b7183e90090ecee539697508582d208859a8b
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ mk/os-GNU.mk: fix typo
+
+ MAX_PATH should have been PATH_MAX
+
+commit ccd83a5e9cc24833e1ab098cac1688f69ab6e9b6
+Author: Will Miles <wmiles@sgl.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ savecache: Make sure cache directory exists before running checkpath
+
+ checkpath -W can fail if the specified path doesn't actually exist yet.
+ In this case savecache script should attempt to create the path if it is
+ missing, however it is pre-empted by the checkpath call. This patch adds
+ an explicit existence test before executing checkpath.
+
+ This fixes #36.
+
+commit 7bbb73574b44972b0c1b364e24f71623068d7a1c
+Author: Robin H. Johnson <robbat2@gentoo.org>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ bootmisc: clean_run safety improvements.
+
+ If /tmp or / are read-only, the clean_run function can fail in some very
+ bad ways.
+
+ 1. dir=$(mktemp -d) returns an EMPTY string on error.
+ 2. "mount -o bind / $dir", and don't check the result of that,
+ 3. "rm -rf $dir/run/*", which removes the REAL /run contents
+ 4. box gets very weird from this point forward
+
+ Signed-Off-By: Robin H. Johnson <robbat2@gentoo.org>
+ Signed-Off-By: Chip Parker <infowolfe@gmail.com>
+ Reported-by: Chip Parker <infowolfe@gmail.com>
+ Tested-by: Chip Parker <infowolfe@gmail.com>
+
+commit a0378f38713e630e1af9101c2ece5d27ca2130fe
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ checkpath: do not chown or chmod symbolic links
+
+ This is another security fix. If you use chown() or chmod() on a
+ symbolic link, it affects the referenced file, not the symbolic link
+ itself.
+
+ X-Gentoo-Bug: 540006
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=540006
+
+commit 423f82bae9f91f1f5a27d30a2542d8884c6f757a
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ ChangeLog: show authors and committers
+
+commit 9dfb85d5d236dd126d13d039eb02a97aa0e6c8ac
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ local: fix redirections
+
+ The local service now redirects stdout and stderr for the scripts it
+ runs to /dev/null unless it is run in verbose mode.
+
+ X-Gentoo-Bug: 537444
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=537444
+
+commit 6781667641580fef852ccffc2f42d060f791b354
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ typo fix
+
+commit b17af3c85fc94ecc12857146ba2133a3782ead52
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ checkpath: security fix for -m and -o options
+
+ Do not change permissions on the target if it is a file and has multiple
+ hard links. This is necessary because a hard link can be an attack
+ vector to gain privilege escalation.
+
+ X-Gentoo-Bug: 540006
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=540006
+
+commit 3100114bc104741145fb6c1d4b1664759114cc5c
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Add nfsclient to netmount use dependencies
+
+ X-Gentoo-Bug: 537996
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=537996
+
+commit 3f80f22e22ec16ed517397fd303c3df99f9340fc
+Author: Will Miles <wmiles@sgl.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Prioritize local includes and libraries
+
+ This fixes #35.
+
+commit 8250ac94dfc6156075081e0e2d0986cb51b3098d
+Author: Consus <consus@gmx.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ tmpfiles.*: Follow OpenRC's message style
+
+ Just to be consistent.
+
+commit fbdd669ba7c5d1a67129236b4ffcd76198340a1b
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Makefile: add variable for path to source tree
+
+ Add a new variable, ${TOP}, to the top level makefile, which points to
+ the path of the source tree.
+
+commit cddb4aad08615420320f75050042d946b18d2bb5
+Author: Will Miles <wmiles@sgl.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Fix off-by-one error in --test argument printout in start-stop-daemon.
+
+ Fixes #34.
+
+commit 3c5dc0ec7774a72e243da43ac5180ea36a311ad8
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ tmpfiles.dev: pass --boot to tmpfiles.sh so kmod works properly
+
+commit 7e3a33c8f5ccae03e035cf4c9d1c3c01a0f57b1e
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Add description for cgroup_cleanup
+
+ X-Gentoo-Bug: 535184
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=535184
+
+commit 74478830a8d035c078e986b57efd40a5c48bc896
+Author: Doug Freed <dwfreed@mtu.edu>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ fix double free of pidfile
+
+ This fixes a double free of the pidfile variable. For discussion of this
+ issue, see the bug.
+
+ X-Gentoo-Bug: 531600
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=531600
+
+commit 6a9679377f4de257f02de1d16a513df14b4c25ba
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Do not call the shell to evaluate CHANGELOG_LIMIT
+
+ The git log command understands dates such as "1 year ago", so there is
+ no need to use the date command.
+
+commit 72186ea3bbbf0b09b88a6f3e1fb23bf04ce1ddad
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ etc/rc and etc/rc.shutdown: change references from rc to openrc
+
+commit 3647db7a27f7a5ca14b33b14effeb945fd986210
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Add target to create ChangeLog
+
+ This was added by request because some users are requesting a ChangeLog.
+
+ This fixes #29.
+
+commit 7a92eb888794819a339babd0ee220b6aa3993db1
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ rename git.mk to gitver.mk
+
+ This is a more descriptive name since this file only sets the gitver
+ variable.
+
+commit 30cc3cdb76a66c7c0f89a52db4e5cff77b570e31
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Make sysfs behave like netmount and localmount
+
+ sysfs now mounts all related sysfs file systems and returns success,
+ like netmount and localmount.
+
+ Also, we now check to make sure the cgroups are not mounted before we
+ mount them.
+
+ X-Gentoo-Bug: 530138
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=530138
+
+commit dff6e4a004afeaa64f4ccb07c7d31bb821b043b4
+Author: S. Gilles <sgilles@umd.edu>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Fix mdoc warning for empty line in rc-update man page.
+
+ X-Gentoo-Bug: 529374
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=529374
+
+commit 3fad31a994f7eb14f3f001f3980eb2b0ae8fe4f1
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ init.d: add osclock to ignore patterns
+
+commit 8d0ca13fbd38e782bae655eca6646dabc8d63899
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ devfs: optionally add missing symbolic links
+
+ If symbolic links for /dev/{fd,stdin,stdout,stderr,core} do not exist
+ once /dev is mounted, we should create them.
+
+commit 93ba67eff9333e434c969bb8131467f777546764
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ netmount: unmount nfs file systems
+
+commit 1932360adca3f9fe9b47bcfad7b8bd5efbd33bee
+Author: Jason Zaman <jason@perfinion.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Integrate the functionality from runscript_selinux.so
+
+ runscript used to dlopen() runscript_selinux.so. This adds equivalent
+ functionality directly in to runscript instead. It authenticates with
+ either PAM or shadow and optionally has a dep on audit.
+
+ X-Gentoo-Bug: 517450
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=517450
+
+commit be952bebb3647069fb93b9791ee3439698f697ca
+Author: Alexander Vershilov <alexander.vershilov@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Fix incorrect handling of chroot option.
+ Fixes #28.
+
+ X-Gentoo-Bug: #527370
+ X-Gentoo-Bug-Url: https://bugs.gentoo.org/show_bug.cgi?id=527370
+
+commit 0bfde472d0154f14ea88c0f5ddd21a510443d713
+Author: Ralph Sennhauser <sera@gentoo.org>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Add osclock service
+
+ This scripts sole purpose is to "provide clock" on OSs that already
+ take care of the clock being properly set.
+
+commit ba0a11fc94d303e208dd364b06c1c2a75bcdd62b
+Author: Johan Bergström <bugs@bergstroem.nu>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Pass ncurses cflags to build
+
+ Fixes #25
+ Note from William Hubbs:
+ The original patch overwrote CFLAGS. I modified this patch to add the
+ ncurses cflags to CPPFLAGS instead of overwriting CFLAGS.
+
+commit 7700e6fe796cabfa22eefddc024d66257a28d4dc
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Fix compile errors created by bundling queue.h
+
+commit 6ca79042b9aa9752e577346e6f355356ef8f2f9a
+Author: Anthony G. Basile <blueness@gentoo.org>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ helpers.h, start-stop-daemon.c: remove uneeded macros
+
+ TAILQ_CONCAT, TAILQ_FOREACH_SAFE and LIST_FOREACH_SAFE are defined
+ in our bundled queue.h and are no longer required.
+
+commit 1e0a4bebdefd06af09ba8f2459287d3ca28f89d7
+Author: Anthony G. Basile <blueness@gentoo.org>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Bundle <sys/queue.h> from NetBSD
+
+ We are bundling this to allow building on musl-based systems since musl
+ does not include <sys/queue.h>.
+
+commit ca6b86be44fc7ed618a7ab3bd021e208d38878b1
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Fix all tests for GNU/kFreeBSD
+
+ It is necessary to check for both the kernel and c library because
+ __FreeBSD_kernel is also defined on native FreeBSD [1].
+
+ [1] http://sourceforge.net/p/predef/wiki/OperatingSystems/
+
+commit 4ac289b5397a688393c596a9a01651c94d3b5711
+Author: Gabriele Giacone <1o5g4r8o@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Fix rc_svcdir for GNU/Hurd
+
+commit 875f03e27c3475675f7b9572b071dd8c26257be7
+Author: Svante Signell <svante.signell@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ fix defines for GNU/Hurd
+
+commit 203b754f843fe6af0a40e983d557a9cdbc89f84b
+Author: Svante Signell <svante.signell@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ add missing files for GNU/Hurd
+
+commit 89c8a62a1078e770e12c47f06c8dbc9c2924e771
+Author: Gabriele Giacone <1o5g4r8o@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Fix rc_svcdir for GNU/kFreeBSD
+
+commit d8e1d9a6edf94ecac580e80e1113f4fdbdc5a23b
+Author: Gabriele Giacone <1o5g4r8o@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Add missing files for GNU/kFreeBSD
+
+commit 3f82edbeb9251149c6aff071d6537379af4e5eea
+Author: Svante Signell <svante.signell@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Fix GNU/kFreeBSD port
+
+ Check for __FreeBSD_kernel instead of __GLIBC__ in source files.
+
+ note from William Hubbs:
+ I was told this is a better check for GNU/kFreeBSD than checking the
+ C library the source is being compiled against.
+ GNU/kFreeBSD than checking which library we are using.
+
+commit 86e9aa0d36813e2630c6613cd71c3ce8db642f71
+Author: Anthony G. Basile <blueness@gentoo.org>
+Commit: Anthony G. Basile <blueness@gentoo.org>
+
+ einfo.h, rc.h.in: simplify __BEGIN_DECLS logic
+
+ There is no need to redefine __BEGIN_DECLS and __END_DECLS.
+ We simplify the logic here and avoid undefining these macros.
+
+commit 4a08517cac3c68c232694db7288654b58b68b8ba
+Author: Anthony G. Basile <blueness@gentoo.org>
+Commit: Anthony G. Basile <blueness@gentoo.org>
+
+ einfo.h, rc.h.in: ensure __BEGIN_DECLS is defined
+
+ Some Standard C Libraries, like musl, don't define __BEGIN_DECLS
+ or __END_DECLS. We add some ifdef magic to ensure these are
+ available.
+
+commit 9bf789f78890c8b5879d29acb9fb0e23285baee4
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Update news file wrt chroot variable
+
+commit f9acd65497c6e561fbf5420386a99d681fede859
+Author: Alexander Vershilov <alexander.vershilov@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ librc:look for the pid file in a chroot if defined
+
+ X-Gentoo-Bug: 524388
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=524388
+
+commit 8c7ea4e9e8da500877a514402bbe90aababda2d6
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ runscript.sh: add chroot support
+
+ This adds support for a chroot variable which will be passed to the
+ start-stop-daemon --chroot switch to runscript.sh when starting a
+ daemon. This also needs to be saved so it can be used in locating the
+ pid file when stopping the daemon.
+
+ X-Gentoo-Bug: 524388
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=524388
+
+commit 5f1439f1aac14618592789042e05daaf80f55a15
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Add NEWS file
+
+commit 85da4a5e2621dc5f5356d440735aa058008a1b7e
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ add back nfs and nfs4 file systems
+
+ Fix gentoo bug #427996 correctly.
+ We should attempt to mount the file systems, but not try to start the
+ daemons. The previous fix removed mounting the file systems as well as
+ starting the daemons.
+
+ X-Gentoo-Bug: 508574
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=508574
+
+commit ad770d739cd7d68dd16b4b2e23d4822ebeb3305b
+Author: Rick Farina (ZeroChaos) <sidhayn@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ localmount: unmount aufs branches
+
+commit 866501be1c554de074533ee98400124393d7fe9d
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ typo fix
+
+commit 20006625a6d37c5add84dd4c8454649279645604
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ man: Document start_inactive and in_background_fake
+
+commit e860b7cb4f3749528ae3db0f3cb500ef889d2781
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Revert "sysfs: fix permissions on cgroup mounts"
+
+ This reverts commit 7a25491ced95e14b04b8fe6225171564c87fcde0.
+ This was broken; I need to look further into it.
+
+commit 7a25491ced95e14b04b8fe6225171564c87fcde0
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ sysfs: fix permissions on cgroup mounts
+
+commit 50658449bd46f1a53b8eb11d34f6eefdd1ceba9c
+Author: Roy Marples <roy@marples.name>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Use exception-based approach for cgroup/ulimit setup
+
+ Note from William Hubbs:
+ I spoke with Roy about this, and he pointed out that user-defined
+ functions may need the limits applied, so it is better to go with a
+ method that uses exceptions to determine which functions apply the
+ limits.
+
+ X-Gentoo-Bug: 522408
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=522408
+
+commit de60ffeebe93ffdc09c1dda51e04f29485d96cdb
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ runscript: move verbose mode setting near debug setting
+
+commit d032b17897278659ae103d1bcf2aea7739cdbfbb
+Author: Joe M <joe9mail@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ savecache: check permissions on the correct directory
+
+commit d4204a97a2410fcf37a64385204e6452c6958e8d
+Author: Andrew Gregory <andrew.gregory.8@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ tmpfiles.sh: add support for C action
+
+ Recursively copies files or directories. Added by systemd in 849958d1.
+
+commit 6f3f50d4530f583d0d2aedec8af20077a9d07f4f
+Author: Andrew Gregory <andrew.gregory.8@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ tmpfiles.sh: add support for + modifier
+
+ systemd added support for b+, c+, p+, and L+ in 2e78fa79 and 1554afae to
+ remove the target path if it already exists.
+
+commit 4f4f00d612ce6b43a2dcba9e0c39816e5d6d92a7
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ cgroups: fix cgroup subsystem mounting
+
+ Originally, we aborted all of the cgroup setup if /sys/fs/cgroup/openrc
+ was already mounted. This caused an issue in lxc containers, so we
+ should always allow the subsystems to be mounted.
+
+ X-Gentoo-Bug: 520606
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=520606
+
+commit 7b9fe5fced762935c48c90797b3bba2c82f10eb2
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ start work on 0.14
+
+commit c60ef5c381e9edc7e30be9dcc9cc7e123515452e
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ mtab: add verbose level deprecation warnings
+
+commit bee3f8463cbc372c344541077924ddd45ca62ef1
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ README: Clarify devfs changes
+
+ I was informed that the previous explanation of the devfs changes could
+ be interpreted to mean that we mount a second /dev on top of the one
+ that was mounted by the kernel or initramfs. This change makes it clear
+ that is not the case.
+
+commit 72b7b32502ff149c0f0f8a7833cfd213f6cf933e
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ README: add notes about devfs changes
+
+commit 645f7b6947d9fc44fbece0931a3ddb10d3d79b27
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ adjust deprecation schedule for mtab
+
+ - Quiet the deprecation messages forr now
+ - update the feature removal schedule to reflect that it will be removed
+ in 2.0.
+
+commit 1b26d547a50e2554483bdbfd288fae75fd76bfa0
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Deprecate the mtab service script
+
+ The mtab service script is no longer needed on modern Linux systems, so
+ we can remove it in 1.0. However, we need to set a deprecation notice
+ first.
+
+commit c8018d04a7b238b57a3d74a68e2af02af395f510
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ tmpfiles: fix relabel to run restorecon before chown and chmod
+
+commit 6f080e9c1a2a9b9c308cdc03f9cf782c4ce4d440
+Author: Jason Zaman <jason@perfinion.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ tmpfiles: Move relabelling before any other calls for device nodes
+
+ Device nodes are normally never device_t so this type does not
+ have many permissions. After the mknod, the device should have
+ its label corrected before any other operations (like chmod).
+
+commit 2c265e13c60be0ed583a871ca12a22e4d379a7c0
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ README: expand information about rc and runscript deprecation
+
+commit 24d82d9ff1ca1ba7085814f8f6530124c117aa5f
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ rc.conf: document rc_verbose
+
+commit d1e71b07afd4b900894ce4ea45f94010c70e32cc
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Show rc and runscript deprecation warnings in verbose mode
+
+ These messages are being changed for this release to show in verbose
+ mode because of the number of times they display.
+
+commit 7b744befac2049eb6372a7f0c5420c740aa0a4ea
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ bootmisc: do not run the clean_run function in an LXC container
+
+commit faaaab4bf540b4df011abea5985963dbc9e1646a
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ hwclock: fix comments about the usage of clock_hctosys
+
+ The clock_hctosys variable should be set to YES if you are not using NTP to
+ synchronize your system time; it doesn't have anything to do with the
+ kernel configuration.
+
+commit d29db70efb2adfbd200ba4a03fa78653e97893a6
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ sysctl.linux.in: use the --system option
+
+ According to the sysctl man page, the --system option causes sysctl to
+ process all system configuration files, which include the following:
+
+ /run/sysctl.d/*.conf
+ /etc/sysctl.d/*.conf
+ /usr/local/lib/sysctl.d/*.conf
+ /usr/lib/sysctl.d/*.conf
+ /lib/sysctl.d/*.conf
+ /etc/sysctl.conf
+
+ X-Gentoo-Bug: 484796
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=484796
+
+commit 6a337ff6c531d9d7310253b67b3e95d1ce5d214c
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ devfs: several small clarifications
+
+ - Rename the static_dev switch in conf.d/devfs to skip_mount_dev since
+ this is a better description of what the switch does.
+
+ - Clarify the error messages in the devfs service script based on the
+ new name of the switch.
+
+commit 647e08eb9166d23d0c64f0c8767d93a06bd21a40
+Author: Jason Zaman <jason@perfinion.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ tmpfiles.sh: do not use install
+
+ install is in /usr which causes problems if /usr is not mounted.
+ Instead, checkpath and "mkdir -p" can do everything required and are
+ both available before /usr is mounted.
+ Since checkpath also handles selinux labels correctly,
+ _restorecon after is not required.
+
+ X-Gentoo-Bug: 503408
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=503408
+
+commit 2624a8c8a7030180f9548a6e2fba5b0a82c5f046
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ checkpath: apply ownership to all paths given on command line
+
+ The stat structure was not being initialized correctly in do_check. This
+ was causing the owner adjustment to be skipped if the first path had the
+ correct owner.
+
+ Also, the "correcting owner" message should always be printed when the
+ owner is being changed.
+
+ X-Gentoo-Bug: 518042
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=518042
+
+commit 275714bdc74c363ca1612b2b6b97f74f7a62b50c
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ checkpath: style fix
+
+commit e3bfb68aece9378a0669c2893285808100fd5ea6
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ hwclock: always set the kernel's timezone
+
+ The hwclock service should set the time zone regardless of the setting
+ of the clock_hctosys variable. This needs to be done to prevent issues
+ when the system time is being synchronized using ntp.
+
+ X-Gentoo-Bug: 434410
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=434410
+
+commit 1f7582c78b2697c3f2617a4a89afabaf3550b0fb
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ src/librc/librc-daemon.c: style fix
+
+commit cc1bc6a4cec772c50a1b5232655ff34370d204b1
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ src/rc/Makefile: typo fix
+
+commit 40f42ced21b1c0c99780b801d28fafd91a858f90
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ rc-status: fix infinite loop when using stacked runlevels
+
+ Remove the recursive call in print_stacked_services which was causing an
+ infinite loop when using stacked runlevels.
+ I would like to thank Doug Freed and Jason Zaman for assisting with
+ tracking this down.
+
+ X-Gentoo-Bug: 514972
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=514972
+
+commit 1a1d53335b2e6e3240b738ba1f81de64e552c337
+Author: Jason Zaman <jason@perfinion.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ devfs: fix restorecon ebegin message to match sys
+
+ X-Gentoo-Bug: 516956
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=516956
+
+commit 99939b9839fb45093fe193e06139eab4a95637da
+Author: Jason Zaman <jason@perfinion.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ sysfs: restorecon after mounting /sys
+
+ X-Gentoo-Bug: 516956
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=516956
+
+commit 89907b60bac51db2cda1afe4555676577ef498a8
+Author: Jason Zaman <jason@perfinion.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ move the selinux_setup function into rc-selinux
+
+ X-Gentoo-Bug: 516956
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=516956
+
+commit a94a9740d545817294cc431180db0f22fc923b13
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ checkpath: style fixes
+
+commit 8b8edc29705b843988b97242942a409241c182eb
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ style fixes
+
+commit 010c2ab18b4be2068237cf0db97e9348bba65ac6
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Rename SELinux source files
+
+ The name rc-selinux-util.* is a bit long, so I renamed the source files
+ to rc-selinux.*
+
+ X-Gentoo-Bug: 516956
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=516956
+
+commit 9c689542c3246e793310db938374bc97600435e6
+Author: Jason Zaman <jason@perfinion.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ checkpath: restore the SELinux context
+
+ X-Gentoo-Bug: 516956
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=516956
+
+commit 525d7140b12a8e259f9d919f24148e369e9ff7d1
+Author: Jason Zaman <jason@perfinion.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ devfs: fix SELinux contexts
+
+ SELinux contexts in /dev need to be fixed after it is mounted
+
+ X-Gentoo-Bug: 516956
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=516956
+
+commit 4f784bd46923486773edcd7749246a21bd419e6b
+Author: Jason Zaman <jason@perfinion.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ tmpfiles: set the proper SELinux context
+
+ Restore the label on the created file / dir based on the policy
+ fcontexts.
+
+ X-Gentoo-Bug: 516956
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=516956
+
+commit 4a1afa694cd8ebd6591d5a825ee35e4f57c98469
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Add SELinux support to the build system
+
+ X-Gentoo-Bug: 516956
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=516956
+
+commit 25c229cf830c8e822a206f2e08f9c94964a47aa9
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ sysfs.in: fix indentation
+
+commit 71d6d61b28c4c0f285ec51459551d900dfa4ea71
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ checkpath: fix logic for the writable option
+
+ The -W option does not need an argument of its own; it can take the
+ first path after all other options are processed on the command line.
+
+ Also, move the processing for the -W option out of the switch so it will
+ be in the same loop as the other processing.
+
+commit 40141244e349e6e1d2dfb9ebfbcbf62f68d33a9d
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ man/openrc-run.8: more updates and clarifications for checkpath
+
+ X-Gentoo-Bug: 500606
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=500606
+
+commit d59737afb159d993916836903d9e670a1334c93a
+Author: Alexander V Vershilov <qnikst@gentoo.org>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ man/openrc.8: update checkpath documentation
+
+ X-GENTOO-BUG: 500606
+ X-GENTOO-BUG-URL: https://bugs.gentoo.org/show_bug.cgi?id=500606
+
+commit f66f41c4f03d8077bdaa047a7a93f6c92c0a69de
+Author: Alexander V Vershilov <qnikst@gentoo.org>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ typo fix
+
+commit d80482c2f4ec35a880ee099eeb3983b255d65e8f
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ checkpath: fix error message in previous commit
+
+commit d0040aff0aa033fd5d5c40480008e98ee5e1f11a
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ checkpath: report an error if required options were not specified
+
+ Before this commit, not specifying -d, -f, -p or -W in a checkpath
+ command meant the command exited successfully but actually did nothing.
+
+ This is an error condition, so report it as such.
+
+commit 75e06d85584fc3ebfa26fbca97ea60b687247bb0
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Style Fixes
+
+commit 1a44be0f16a7a1de8a176e7c656f8513494e0e64
+Author: Alexander V Vershilov <qnikst@gentoo.org>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ cgroups: only run cgroup setup when starting a service
+
+ Status call should not set limits as it requires root permissions,
+ also this is not safe, as current process may reach limitation.
+
+ Solution is to set limits and move process to service cgroup only
+ on start.
+
+ X-GENTOO-BUG: 500364
+ X-GENTOO-BUG-URL: https://bugs.gentoo.org/show_bug.cgi?id=500364
+
+commit f265ddde971d0fdb97a4f14b4cc96140be7b4628
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ FEATURE_REMOVAL_SCHEDULE: add entry for local_start/stop
+
+commit 57b9e601a97fac3a044ec5d7e5f11b6219c892b7
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ init.d/local: bring functioning more in line with how sysctl works
+
+ - remove the has_executables variable since it isn't used.
+ - Convert the conditional calls to ewend/vewend to a single call to veend.
+ - Always call eend after all scripts are executed passing the appropriate
+ error code.
+
+ Because of this change, you will see only an overall status when
+ starting or stopping local unless you are using verbose mode.
+
+commit c1de8c09bf4895c6108d297fcebd63046e49e614
+Author: Thomas D <whissi@whissi.de>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Add support for verbose "local" service runscript
+
+ With this patch, the "local" service runscript will be verbose like the
+ "sysctl" service when 'rc_verbose="yes"' is set.
+
+ Example output successful start:
+
+ * Stopping local ...
+ * Executing "/etc/local.d/00will-stop.stop" ... [ ok ]
+ * Starting local ...
+ * Executing "/etc/local.d/00will-start.start" ... [ ok ]
+ * Executing "/etc/local.d/01 test.start" ... [ ok ]
+
+ Example output with failing executables:
+
+ * Stopping local ...
+ * Executing "/etc/local.d/00will-stop.stop" ... [ ok ]
+ * Executing "/etc/local.d/will-fail.stop" ...
+ mount: can't find foo in /etc/fstab
+ * Execution of "/etc/local.d/will-fail.stop" failed. [ !! ]
+ * Starting local ...
+ * Executing "/etc/local.d/00will-start.start" ... [ ok ]
+ * Executing "/etc/local.d/01 test.start" ... [ ok ]
+ * Executing "/etc/local.d/will-fail2.start" ...
+ mount: can't find bar in /etc/fstab
+ * Execution of "/etc/local.d/will-fail2.start" failed. [ !! ]
+ * Executing "/etc/local.d/will-fail.start" ...
+ mount: can't find foo in /etc/fstab
+ * Execution of "/etc/local.d/will-fail.start" failed. [ !! ]
+
+ X-Gentoo-Bug: 489274
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=489274
+
+commit 143f1c64c13e4930e3880a393b7253d6fbc0ed58
+Author: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ sysctl.Linux.in: remove -lxc from keywords
+
+ certain tunables can be set independently for each container
+
+ X-Gentoo-Bug: 516050
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=516050
+
+commit b4b34d909c36898095a0036f90a328838137e3a4
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Schedule removal of the opts variable from service scripts
+
+commit 56112a6f1f176696e5f39a86fe4b52017ccdd04c
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ sysfs: Do not mount openrc cgroup if it is already mounted
+
+ We were not checking to see if /sys/fs/cgroup/openrc was already mounted
+ before we mounted it. This fixes that issue.
+ Thanks to Robin Johnson <robbat2@gentoo.org> for pointing this out.
+
+commit 09d81e86f210acf5270ea4bd0fa7319a49f88131
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Make history a separate document
+
+ Move the additional history information from Daniel Robbins' wiki
+ page along with the history from README to a separate file,
+ README.history.
+
+ X-Gentoo-Bug: 513024
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/513024
+
+commit 23cb55d843b165d5508f330287ed329358fc85dc
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ man/start-stop-daemon.8: correct argument from --nice to --nicelevel
+
+ X-Gentoo-Bug: 510648
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=510648
+
+commit 094bc17cb0ad75da189ebf1a8242a378928a1eef
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ tmpfiles.sh: fix comment processing
+
+ If you happened to format a comment with no white space after the '#',
+ it was not being processed.
+
+ Reported-by: consus@gmx.com
+ X-Gentoo-Bug: 511804
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=511804
+
+commit 6126700a0723efa4ef1e299da0f58498f742c3a1
+Author: Sven Vermeulen <sven.vermeulen@siphos.be>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ SELinux filesystem is at /sys/fs/selinux
+
+ The SELinux filesystem has been moved to /sys/fs/selinux for quite some
+ time. We kept supporting /selinux for backwards compatibility, but it's
+ time to move forward on this.
+
+ X-Gentoo-Bug: 511718
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=511718
+ Signed-off-by: Sven Vermeulen <sven.vermeulen@siphos.be>
+
+commit 19cccb2e9416311b85fcad3c15d4d988fed2f954
+Author: Robin H. Johnson <robbat2@gentoo.org>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ sh/tmpfiles.sh: license under 2-clause BSD
+
+ As the author of our tmpfiles.sh script, I hereby license it under
+ 2-clause BSD, like the rest of openrc.
+
+ Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
+
+commit 9eb9b28d3e3b6725559fb38101ae869c1e4530ce
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ librc: filter out container processes on OpenVZ host
+
+ Thanks to info and testing done by Daniel Robbins <drobbins@funtoo.org>,
+ there is now a fix for this. Below is his description of the steps
+ OpenRC needed to use.
+
+ 1) See if /proc/<pid>/status exists
+ 2) If it does, see if it has a "envID:" field
+ 3) If it does, see if "envID:" is set to "0"
+ 4) If so, then it's one of the host's processes and should be a
+ candidate for the list. Otherwise, it is one of the container's
+ processes and should be ignored.
+
+ This should fix the bug and allow start-stop-daemon to work properly on
+ OpenVZ hosts.
+
+ X-Gentoo-Bug: 376817
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=376817
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2015-04-26 15:31 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2015-04-26 15:31 UTC (permalink / raw
To: gentoo-commits
commit: 4b1b457cd15cc1609c101b99a49a5e4c67b62567
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Sun Apr 26 15:30:49 2015 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Sun Apr 26 15:30:49 2015 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=4b1b457c
Start work on 0.15
Makefile.inc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile.inc b/Makefile.inc
index a1e53fa..ac933e9 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -1,3 +1,3 @@
NAME= openrc
-VERSION= 0.14
+VERSION= 0.15
PKG= ${NAME}-${VERSION}
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2015-05-01 21:19 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2015-05-01 21:19 UTC (permalink / raw
To: gentoo-commits
commit: 60488069c08201cbfbc661a3e7bd1fafa31fceed
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Fri May 1 21:08:24 2015 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Fri May 1 21:08:24 2015 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=60488069
update ChangeLog
ChangeLog | 62 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 62 insertions(+)
diff --git a/ChangeLog b/ChangeLog
index 8faa621..20feded 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,65 @@
+commit 9225bfa6918cfd488c8f1055cf986b542f1f157e
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Build: make snapshot remove .git directory from tarball
+
+commit 7bd456ed7bf35da2d7a53650baa33637e178064e
+Author: Mike Gilbert <floppym@gentoo.org>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Disable service scripts for systemd-nspawn
+
+ This adds the -systemd-nspawn keyword to service scripts which are not
+ intended to run in systemd-nspawn containers.
+
+ This fixes #52.
+
+ X-Gentoo-Bug: 548058
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=548058
+
+commit c709e6077c6eda3f4f7e7222298213413254ee0f
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Add support for systemd-nspawn containers
+
+ This adds support for running OpenRC in a container created by
+ the systemd-nspawn utility.
+
+ This fixes #52.
+
+ X-Gentoo-Bug: 548058
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=548058
+
+commit a27d577da8cf4f1c7f9784a043ecf02d71a81ca6
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Build: fix the dist target
+
+ The dist target now creates an archive based on the version setting.
+ This makes it possible to create an archive identical to the ones github
+ generates once the release is tagged.
+
+commit 8b9349208696e5caed1a8b34f066cec4ee642194
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ convert all references from runscript to openrc-run
+
+commit 4b1b457cd15cc1609c101b99a49a5e4c67b62567
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Start work on 0.15
+
+commit 1d6602bb8e7062323ead03eaa0c4ae307c517b9e
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Add ChangeLog
+
commit a6391f44ee6c68d674ae8425983467b971710d5d
Author: William Hubbs <w.d.hubbs@gmail.com>
Commit: William Hubbs <w.d.hubbs@gmail.com>
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2015-05-02 0:03 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2015-05-02 0:03 UTC (permalink / raw
To: gentoo-commits
commit: 9f6427ea57c6c950b4d1c356ad1bfb0aa8deb40b
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Sat May 2 00:02:49 2015 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Sat May 2 00:02:49 2015 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=9f6427ea
Start work on 0.16
Makefile.inc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile.inc b/Makefile.inc
index ac933e9..89c6894 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -1,3 +1,3 @@
NAME= openrc
-VERSION= 0.15
+VERSION= 0.16
PKG= ${NAME}-${VERSION}
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2015-05-11 23:46 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2015-05-11 23:46 UTC (permalink / raw
To: gentoo-commits
commit: d247ac4cbbe0ab62564ef82a5940b4f1a03973b3
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Mon May 11 23:43:15 2015 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Mon May 11 23:43:15 2015 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=d247ac4c
Update changelog
ChangeLog | 74 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 74 insertions(+)
diff --git a/ChangeLog b/ChangeLog
index 20feded..081f729 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,77 @@
+commit bb2d7becfd3008379f8f69b5d036922281aa211f
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Add support for the s6 supervision suite
+
+commit 0f9354becfbd54f9800c93092aa26be859dcf16a
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ man: Clarify the documentation for command_args
+
+ The command_args variable only works if using start-stop-daemon to start
+ the daemon.
+
+commit a15fa1a3b12a5372c1b3c8d5df7e489648bef913
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Rework supervisor integration framework
+
+ The original way of doing this allowed users to change the supervisor in
+ conf.d/*. This changes this so that the supervisor setup can be done in
+ the service script itself.
+
+commit 0198affc742297b6e203bbcecc14436682119cc7
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ The rc_supervisor variable is a service configuration variable
+
+ This variable should not be changed globally unless you really know what
+ you are doing.
+
+commit abef2fcb2dbcc277bb05f0d9c674d4b47826f17f
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Make the default start, stop and status functions overridable
+
+ This will make it possible to add support for supervision suites such as
+ runit and s6.
+
+commit 0b435ddd834bd18254c4d3341acdebf0829921f5
+Author: Jakob Drexel <jake42@rommel.stw.uni-erlangen.de>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ librc: Fix crash if the service name is the same as the including runlevel
+
+ If a service has the same name as the runlevel it is in, openrc will
+ crash on changing to such runlevel. It goes in a recursive madness and
+ eventually gets a SEGV while in snprintf (don't know why).
+
+ This fixes two errors:
+ 1. ls_dir stats files not with full path -> stat always returns != 0
+ 2. ls_dir adds files to list if stat failed
+
+ This fixes #53.
+
+ X-Gentoo-Bug: 537304
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=537304
+
+commit 9f6427ea57c6c950b4d1c356ad1bfb0aa8deb40b
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Start work on 0.16
+
+commit 60488069c08201cbfbc661a3e7bd1fafa31fceed
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ update ChangeLog
+
commit 9225bfa6918cfd488c8f1055cf986b542f1f157e
Author: William Hubbs <w.d.hubbs@gmail.com>
Commit: William Hubbs <w.d.hubbs@gmail.com>
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2015-05-13 21:07 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2015-05-13 21:07 UTC (permalink / raw
To: gentoo-commits
commit: c2abf4b436b8cca8ebed395ff08f5fdc546eadac
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Wed May 13 21:06:31 2015 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Wed May 13 21:06:31 2015 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=c2abf4b4
Start work on 0.17
Makefile.inc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile.inc b/Makefile.inc
index 89c6894..68a0970 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -1,3 +1,3 @@
NAME= openrc
-VERSION= 0.16
+VERSION= 0.17
PKG= ${NAME}-${VERSION}
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2015-05-29 6:11 Mike Frysinger
0 siblings, 0 replies; 150+ messages in thread
From: Mike Frysinger @ 2015-05-29 6:11 UTC (permalink / raw
To: gentoo-commits
commit: c94c8288cd5217b01c24d6f048c64ebbc30bee02
Author: Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Fri May 29 06:10:39 2015 +0000
Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Fri May 29 06:10:44 2015 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=c94c8288
fix link to s6 website
s6-guide.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/s6-guide.md b/s6-guide.md
index 63c63de..630d778 100644
--- a/s6-guide.md
+++ b/s6-guide.md
@@ -45,4 +45,4 @@ should wait for a service to go down when stopping.
This is very early support, so feel free to file bugs if you have
issues.
-[1] https://www.skarnet.org/software/s6
+[1] http://www.skarnet.org/software/s6
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2015-06-19 14:56 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2015-06-19 14:56 UTC (permalink / raw
To: gentoo-commits
commit: 0c2e4eb3cd7935d375b74099a3a9a5fe519e6cab
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Fri Jun 19 14:55:37 2015 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Fri Jun 19 14:55:37 2015 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=0c2e4eb3
Update ChangeLog
ChangeLog | 95 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 95 insertions(+)
diff --git a/ChangeLog b/ChangeLog
index 081f729..bf87f8b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,98 @@
+commit d2ce07e227ec95370e8aee5f1199edc6ad61aff9
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Add rc-sstat script
+
+ The rc-sstat script is written to display status of s6 services and
+ run rc-status to display all services status.
+
+ This currently only works on Linux.
+
+commit b209fe3859c05c286037843bb34058f849c54b15
+Author: Mike Gilbert <floppym@gentoo.org>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ bootmisc: Don't call dmesg in systemd-nspawn containers
+
+ This fixes #57.
+
+commit c94c8288cd5217b01c24d6f048c64ebbc30bee02
+Author: Mike Frysinger <vapier@gentoo.org>
+Commit: Mike Frysinger <vapier@gentoo.org>
+
+ fix link to s6 website
+
+commit bcb9c44e73ccf332c7c961a6f82520699c6e776d
+Author: Mike Gilbert <floppym@gentoo.org>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ man: Document the stopsig variable
+
+ This variable can be used to set the signal to send if the service is
+ using start-stop-daemon.
+
+ This fixes #56
+
+commit bbabf546f9d72cbfc48bd839a6d01b402ee6cced
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Document bash's handling of ulimit options
+
+ When bash is used in posix mode for the shell, the ulimit command uses
+ a block size of 512 bytes for the -c and -f options.
+
+ X-Gentoo-Bug: 549238
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=549238
+
+commit a7fcc1e264b035177b4e524a40b27145baa86969
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ S6: kick the scanner and sleep 1.5 seconds to avoid a race condition
+
+commit b79d058f162d8b49ccc968744e7cb1b7a7ba729c
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ s6: Use s6-svc -Dd to stop services
+
+ This allows us to get rid of the sleep call in the stop function. Also,
+ we set a configurable timeout value for stopping daemons.
+
+commit ddce529c71c2e9f01d8e5666e27050b6ed6c6761
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ More s6 fixes
+
+ - When no service link is in the scan directory, show the default
+ stopped message.
+ - Do not remove the service link when stopping the service.
+
+commit e372f97bebd4866633ad56aa5d5b1ae59fa88118
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Fix the s6 handling
+
+ This changes the default s6 service directory to /var/svc.d, also
+ it changes the code to work with the individual services instead of
+ forcing a rescan when a service is started or stopped.
+
+commit c2abf4b436b8cca8ebed395ff08f5fdc546eadac
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Start work on 0.17
+
+commit d247ac4cbbe0ab62564ef82a5940b4f1a03973b3
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Update changelog
+
commit bb2d7becfd3008379f8f69b5d036922281aa211f
Author: William Hubbs <w.d.hubbs@gmail.com>
Commit: William Hubbs <w.d.hubbs@gmail.com>
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2015-07-10 18:26 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2015-07-10 18:26 UTC (permalink / raw
To: gentoo-commits
commit: dde339070b4850dc1fadf4992cc01d3468992106
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Fri Jul 10 18:25:43 2015 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Fri Jul 10 18:25:43 2015 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=dde33907
Increment version
Makefile.inc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile.inc b/Makefile.inc
index 68a0970..0f42a4b 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -1,3 +1,3 @@
NAME= openrc
-VERSION= 0.17
+VERSION= 0.18
PKG= ${NAME}-${VERSION}
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2015-10-08 18:34 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2015-10-08 18:34 UTC (permalink / raw
To: gentoo-commits
commit: 050ddfae4ad1ad0dc5993766e0bd90739bd41de9
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Thu Oct 8 18:33:27 2015 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Thu Oct 8 18:33:27 2015 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=050ddfae
Update ChangeLog
ChangeLog | 892 ++++++++++++++++++--------------------------------------------
1 file changed, 254 insertions(+), 638 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index bf87f8b..bbf0105 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,257 @@
+commit d5116cc697c9eb275ab8497939ab41504e5ce578
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ localmount: white space cleanup
+
+commit b86d170037197d7bdcda57c7d4c09c17bda97f31
+Author: Ian Stakenvicius <axs@gentoo.org>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ localmount: clean up handling of aufs branches
+
+ X-Gentoo-Bug: 560008
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=560008
+
+commit 6fa0d6318bcd5c98548cff2ff840bca116892ca5
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ mtab: fix update logic
+
+ This advises users to remove mtab from their runlevels if /etc/mtab is a
+ symlink, and it creates the symlink if /etc/mtab does not exist on a
+ system.
+
+ X-Gentoo-Bug: 560060
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=560060
+
+commit 80d3928b0d13f09a9c1e82bd27c9fff943d84d43
+Author: Austin S. Hemmelgarn <ahferroin7@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ cgroups: Add the hugetlb, net_cls and pids controllers
+
+ Note from WilliamH: I slightly rearranged the code and added the
+ settings in rc.conf.
+
+ X-Gentoo-Bug: 555488
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=555488
+
+commit 17ef205bc63a4e231dccee719394a7a8563f8c3f
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ sysfs: use printf instead of echo to write to cgroup files
+
+ This is needed for compatibility with musl and printf is also posix.
+
+ X-Gentoo-Bug: 562334
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=562334
+
+commit b20a1951adf9a705a903fb3047b7ef26c013103c
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ rc-cgroup.sh: Do not add leading spaces to cgroup values
+
+ We were starting the value we write to the cgroup setting file with
+ leading spaces and this was causing issues. This change makes sure that
+ we aren't adding leading spaces to the value.
+
+ X-Gentoo-Bug: 562354
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=562354
+
+commit bf0c0dd5644436efe4986c2b259b755d111266b9
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ bootmisc: convert errors in clean_run function to warnings
+
+ X-Gentoo-Bug: 552418
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=552418
+
+commit 1558ad2b9ebf319b85876a940d31d513bf21324f
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ bootmisc: only remove temp directory if umount is successful
+
+ Change the clean_run function to only remove the temp directory if the
+ umount was successful.
+
+ X-Gentoo-Bug: 561230
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=561230
+
+commit 5f4f2420364098835522da868a9e75205c9e4f9c
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ mountinfo: fix --netdev and --nonetdev on Linux
+
+ On Linux, the --netdev and --nonetdev switches were not working. They
+ were both returning false. After this change, they operate based on the
+ presence or abscence of the _netdev option in mount options.
+
+commit b3f7ff901f7d3ed00b9f73c601193ac507f62eaf
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ mountinfo: read /proc/self/mounts instead of /proc/mounts on Linux
+
+commit a59365a582c3a8c9a8b863b572fddcb65fccadfd
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ start-stop-daemon.sh: complain in start if command is undefined
+
+ The default start-stop-daemon start function expects the command
+ variable to be defined to point to the daemon we want to start.
+
+ If the variable is undefined, this means that there will be nothing to
+ start, and in this case we should complain because it is possible that
+ the script writer made a typo in the variable name.
+
+commit dac5966ca40610797d2b2aabef17154ca3dc20af
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Revert "local/netmount: remove uses of -O [no]_netdev"
+
+ This reverts commit 2a439c85bd69efc14847b4397bd6783cac051405.
+ There is another use case for -O involving iscsi, so we can't remove it.
+
+commit 3b6a6df4b5b818e576a88444632d5c73cffd1c57
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ openrc-run: rename some dependency variables and a function for clarity
+
+ All of the dependency type lists had the types_ prefix in their names;
+ this has been changed to deptypes_ to make them more self documenting.
+
+ Along the same lines, the setup_types function was renamed
+ setup_deptypes.
+
+commit b047ea47e97d7e8b96d6d0e064613f6860c8eb36
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ localmount/netmount: on Linux, fail if some file systems do not mount
+
+ The following return codes are returned by mount -a:
+
+ 0: all file systems mounted.
+ 32: no file systems mounted.
+ 64: some file systems mounted.
+
+ The localmount/netmount services should fail if all file systems that
+ should mount did not mount.
+
+commit b652752339690e10a55ae50d046f4cf2a98daf1a
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Make localmount and netmount always succeed on non-linux
+
+commit 2a439c85bd69efc14847b4397bd6783cac051405
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ local/netmount: remove uses of -O [no]_netdev
+
+ This was causing an incompatibility with busybox, and we do not use it
+ in Gentoo.
+
+commit 7341cd882fba522c1f1d183603334839bd4df7fc
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ allow localmount and netmount to fail
+
+commit 279f1e5d1013309d99509ab4b7b57521f8a4aba4
+Author: Mike Frysinger <vapier@gentoo.org>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ binfmt: fix indent on return
+
+commit c256a7aa80c683eca6194c80b57294e4d51c9a16
+Author: Doug Freed <dwfreed@mtu.edu>
+Commit: Doug Freed <dwfreed@mtu.edu>
+
+ savecache: clean up implementation
+
+ X-Gentoo-Bug: 557222
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=557222
+
+commit 6a422982579786cb8308af04ccca6622afa06e50
+Author: Jason Zaman <jason@perfinion.com>
+Commit: Doug Freed <dwfreed@mtu.edu>
+
+ tmpfiles: run restorecon on the entire path
+
+ The tmpfiles "d" entry will create a full path and only the last dir in
+ the path will have its SELinux label set correctly. This patch will
+ restorecon the parents as well so that the selinux labels are correct.
+
+ eg, "d /run/libvirt/lxc", then "lxc" would have the correct SELinux
+ label but "libvirt" would not.
+
+ Signed-off-by: Jason Zaman <jason@perfinion.com>
+
+commit f69833a1e17d1cf65e96a34fcc0e48caf9d90d64
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ mountinfo: fix -e and -E options
+
+ Add the -e and -E options to getoptstring so they are recognized.
+
+commit eeadca0b8a5b87c26e60a58563251604350a7a3b
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Add EERROR_QUIET and EINFO_QUIET to environment whitelist
+
+commit dde339070b4850dc1fadf4992cc01d3468992106
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Increment version
+
+commit 1736be3bc3ebbc1440f87b49fc353e81fb0a6037
+Author: Doug Freed <dwfreed@mtu.edu>
+Commit: Doug Freed <dwfreed@mtu.edu>
+
+ savecache: Fix unable to create cache message
+
+ The cache is created in $RC_LIBEXECDIR, not $RC_SVCDIR, so fix the error
+ message when we fail to create it to match.
+
+commit a36a635b016a7427dd1739a26c951fedf22f0dec
+Author: Mike Gilbert <floppym@gentoo.org>
+Commit: Doug Freed <dwfreed@mtu.edu>
+
+ tmpfiles: Recognize type 'v' (create btrfs subvol)
+
+ This change does NOT implement btrfs subvol creation. Instead, it
+ treats 'v' the same as 'd', which is an acceptable fallback
+ according to the manual.
+
+ Fixes #58
+
+commit 9310ccc06bcadd8897aed51cd51c94fccb7d9c07
+Author: Mike Gilbert <floppym@gentoo.org>
+Commit: Doug Freed <dwfreed@mtu.edu>
+
+ Remove execute bit from tmpfiles.sh.in
+
+commit 0c2e4eb3cd7935d375b74099a3a9a5fe519e6cab
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Update ChangeLog
+
commit d2ce07e227ec95370e8aee5f1199edc6ad61aff9
Author: William Hubbs <w.d.hubbs@gmail.com>
Commit: William Hubbs <w.d.hubbs@gmail.com>
@@ -977,641 +1231,3 @@ Commit: William Hubbs <w.d.hubbs@gmail.com>
X-Gentoo-Bug: 508574
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=508574
-
-commit ad770d739cd7d68dd16b4b2e23d4822ebeb3305b
-Author: Rick Farina (ZeroChaos) <sidhayn@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- localmount: unmount aufs branches
-
-commit 866501be1c554de074533ee98400124393d7fe9d
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- typo fix
-
-commit 20006625a6d37c5add84dd4c8454649279645604
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- man: Document start_inactive and in_background_fake
-
-commit e860b7cb4f3749528ae3db0f3cb500ef889d2781
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Revert "sysfs: fix permissions on cgroup mounts"
-
- This reverts commit 7a25491ced95e14b04b8fe6225171564c87fcde0.
- This was broken; I need to look further into it.
-
-commit 7a25491ced95e14b04b8fe6225171564c87fcde0
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- sysfs: fix permissions on cgroup mounts
-
-commit 50658449bd46f1a53b8eb11d34f6eefdd1ceba9c
-Author: Roy Marples <roy@marples.name>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Use exception-based approach for cgroup/ulimit setup
-
- Note from William Hubbs:
- I spoke with Roy about this, and he pointed out that user-defined
- functions may need the limits applied, so it is better to go with a
- method that uses exceptions to determine which functions apply the
- limits.
-
- X-Gentoo-Bug: 522408
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=522408
-
-commit de60ffeebe93ffdc09c1dda51e04f29485d96cdb
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- runscript: move verbose mode setting near debug setting
-
-commit d032b17897278659ae103d1bcf2aea7739cdbfbb
-Author: Joe M <joe9mail@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- savecache: check permissions on the correct directory
-
-commit d4204a97a2410fcf37a64385204e6452c6958e8d
-Author: Andrew Gregory <andrew.gregory.8@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- tmpfiles.sh: add support for C action
-
- Recursively copies files or directories. Added by systemd in 849958d1.
-
-commit 6f3f50d4530f583d0d2aedec8af20077a9d07f4f
-Author: Andrew Gregory <andrew.gregory.8@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- tmpfiles.sh: add support for + modifier
-
- systemd added support for b+, c+, p+, and L+ in 2e78fa79 and 1554afae to
- remove the target path if it already exists.
-
-commit 4f4f00d612ce6b43a2dcba9e0c39816e5d6d92a7
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- cgroups: fix cgroup subsystem mounting
-
- Originally, we aborted all of the cgroup setup if /sys/fs/cgroup/openrc
- was already mounted. This caused an issue in lxc containers, so we
- should always allow the subsystems to be mounted.
-
- X-Gentoo-Bug: 520606
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=520606
-
-commit 7b9fe5fced762935c48c90797b3bba2c82f10eb2
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- start work on 0.14
-
-commit c60ef5c381e9edc7e30be9dcc9cc7e123515452e
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- mtab: add verbose level deprecation warnings
-
-commit bee3f8463cbc372c344541077924ddd45ca62ef1
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- README: Clarify devfs changes
-
- I was informed that the previous explanation of the devfs changes could
- be interpreted to mean that we mount a second /dev on top of the one
- that was mounted by the kernel or initramfs. This change makes it clear
- that is not the case.
-
-commit 72b7b32502ff149c0f0f8a7833cfd213f6cf933e
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- README: add notes about devfs changes
-
-commit 645f7b6947d9fc44fbece0931a3ddb10d3d79b27
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- adjust deprecation schedule for mtab
-
- - Quiet the deprecation messages forr now
- - update the feature removal schedule to reflect that it will be removed
- in 2.0.
-
-commit 1b26d547a50e2554483bdbfd288fae75fd76bfa0
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Deprecate the mtab service script
-
- The mtab service script is no longer needed on modern Linux systems, so
- we can remove it in 1.0. However, we need to set a deprecation notice
- first.
-
-commit c8018d04a7b238b57a3d74a68e2af02af395f510
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- tmpfiles: fix relabel to run restorecon before chown and chmod
-
-commit 6f080e9c1a2a9b9c308cdc03f9cf782c4ce4d440
-Author: Jason Zaman <jason@perfinion.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- tmpfiles: Move relabelling before any other calls for device nodes
-
- Device nodes are normally never device_t so this type does not
- have many permissions. After the mknod, the device should have
- its label corrected before any other operations (like chmod).
-
-commit 2c265e13c60be0ed583a871ca12a22e4d379a7c0
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- README: expand information about rc and runscript deprecation
-
-commit 24d82d9ff1ca1ba7085814f8f6530124c117aa5f
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- rc.conf: document rc_verbose
-
-commit d1e71b07afd4b900894ce4ea45f94010c70e32cc
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Show rc and runscript deprecation warnings in verbose mode
-
- These messages are being changed for this release to show in verbose
- mode because of the number of times they display.
-
-commit 7b744befac2049eb6372a7f0c5420c740aa0a4ea
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- bootmisc: do not run the clean_run function in an LXC container
-
-commit faaaab4bf540b4df011abea5985963dbc9e1646a
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- hwclock: fix comments about the usage of clock_hctosys
-
- The clock_hctosys variable should be set to YES if you are not using NTP to
- synchronize your system time; it doesn't have anything to do with the
- kernel configuration.
-
-commit d29db70efb2adfbd200ba4a03fa78653e97893a6
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- sysctl.linux.in: use the --system option
-
- According to the sysctl man page, the --system option causes sysctl to
- process all system configuration files, which include the following:
-
- /run/sysctl.d/*.conf
- /etc/sysctl.d/*.conf
- /usr/local/lib/sysctl.d/*.conf
- /usr/lib/sysctl.d/*.conf
- /lib/sysctl.d/*.conf
- /etc/sysctl.conf
-
- X-Gentoo-Bug: 484796
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=484796
-
-commit 6a337ff6c531d9d7310253b67b3e95d1ce5d214c
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- devfs: several small clarifications
-
- - Rename the static_dev switch in conf.d/devfs to skip_mount_dev since
- this is a better description of what the switch does.
-
- - Clarify the error messages in the devfs service script based on the
- new name of the switch.
-
-commit 647e08eb9166d23d0c64f0c8767d93a06bd21a40
-Author: Jason Zaman <jason@perfinion.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- tmpfiles.sh: do not use install
-
- install is in /usr which causes problems if /usr is not mounted.
- Instead, checkpath and "mkdir -p" can do everything required and are
- both available before /usr is mounted.
- Since checkpath also handles selinux labels correctly,
- _restorecon after is not required.
-
- X-Gentoo-Bug: 503408
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=503408
-
-commit 2624a8c8a7030180f9548a6e2fba5b0a82c5f046
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- checkpath: apply ownership to all paths given on command line
-
- The stat structure was not being initialized correctly in do_check. This
- was causing the owner adjustment to be skipped if the first path had the
- correct owner.
-
- Also, the "correcting owner" message should always be printed when the
- owner is being changed.
-
- X-Gentoo-Bug: 518042
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=518042
-
-commit 275714bdc74c363ca1612b2b6b97f74f7a62b50c
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- checkpath: style fix
-
-commit e3bfb68aece9378a0669c2893285808100fd5ea6
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- hwclock: always set the kernel's timezone
-
- The hwclock service should set the time zone regardless of the setting
- of the clock_hctosys variable. This needs to be done to prevent issues
- when the system time is being synchronized using ntp.
-
- X-Gentoo-Bug: 434410
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=434410
-
-commit 1f7582c78b2697c3f2617a4a89afabaf3550b0fb
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- src/librc/librc-daemon.c: style fix
-
-commit cc1bc6a4cec772c50a1b5232655ff34370d204b1
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- src/rc/Makefile: typo fix
-
-commit 40f42ced21b1c0c99780b801d28fafd91a858f90
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- rc-status: fix infinite loop when using stacked runlevels
-
- Remove the recursive call in print_stacked_services which was causing an
- infinite loop when using stacked runlevels.
- I would like to thank Doug Freed and Jason Zaman for assisting with
- tracking this down.
-
- X-Gentoo-Bug: 514972
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=514972
-
-commit 1a1d53335b2e6e3240b738ba1f81de64e552c337
-Author: Jason Zaman <jason@perfinion.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- devfs: fix restorecon ebegin message to match sys
-
- X-Gentoo-Bug: 516956
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=516956
-
-commit 99939b9839fb45093fe193e06139eab4a95637da
-Author: Jason Zaman <jason@perfinion.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- sysfs: restorecon after mounting /sys
-
- X-Gentoo-Bug: 516956
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=516956
-
-commit 89907b60bac51db2cda1afe4555676577ef498a8
-Author: Jason Zaman <jason@perfinion.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- move the selinux_setup function into rc-selinux
-
- X-Gentoo-Bug: 516956
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=516956
-
-commit a94a9740d545817294cc431180db0f22fc923b13
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- checkpath: style fixes
-
-commit 8b8edc29705b843988b97242942a409241c182eb
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- style fixes
-
-commit 010c2ab18b4be2068237cf0db97e9348bba65ac6
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Rename SELinux source files
-
- The name rc-selinux-util.* is a bit long, so I renamed the source files
- to rc-selinux.*
-
- X-Gentoo-Bug: 516956
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=516956
-
-commit 9c689542c3246e793310db938374bc97600435e6
-Author: Jason Zaman <jason@perfinion.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- checkpath: restore the SELinux context
-
- X-Gentoo-Bug: 516956
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=516956
-
-commit 525d7140b12a8e259f9d919f24148e369e9ff7d1
-Author: Jason Zaman <jason@perfinion.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- devfs: fix SELinux contexts
-
- SELinux contexts in /dev need to be fixed after it is mounted
-
- X-Gentoo-Bug: 516956
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=516956
-
-commit 4f784bd46923486773edcd7749246a21bd419e6b
-Author: Jason Zaman <jason@perfinion.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- tmpfiles: set the proper SELinux context
-
- Restore the label on the created file / dir based on the policy
- fcontexts.
-
- X-Gentoo-Bug: 516956
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=516956
-
-commit 4a1afa694cd8ebd6591d5a825ee35e4f57c98469
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Add SELinux support to the build system
-
- X-Gentoo-Bug: 516956
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=516956
-
-commit 25c229cf830c8e822a206f2e08f9c94964a47aa9
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- sysfs.in: fix indentation
-
-commit 71d6d61b28c4c0f285ec51459551d900dfa4ea71
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- checkpath: fix logic for the writable option
-
- The -W option does not need an argument of its own; it can take the
- first path after all other options are processed on the command line.
-
- Also, move the processing for the -W option out of the switch so it will
- be in the same loop as the other processing.
-
-commit 40141244e349e6e1d2dfb9ebfbcbf62f68d33a9d
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- man/openrc-run.8: more updates and clarifications for checkpath
-
- X-Gentoo-Bug: 500606
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=500606
-
-commit d59737afb159d993916836903d9e670a1334c93a
-Author: Alexander V Vershilov <qnikst@gentoo.org>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- man/openrc.8: update checkpath documentation
-
- X-GENTOO-BUG: 500606
- X-GENTOO-BUG-URL: https://bugs.gentoo.org/show_bug.cgi?id=500606
-
-commit f66f41c4f03d8077bdaa047a7a93f6c92c0a69de
-Author: Alexander V Vershilov <qnikst@gentoo.org>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- typo fix
-
-commit d80482c2f4ec35a880ee099eeb3983b255d65e8f
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- checkpath: fix error message in previous commit
-
-commit d0040aff0aa033fd5d5c40480008e98ee5e1f11a
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- checkpath: report an error if required options were not specified
-
- Before this commit, not specifying -d, -f, -p or -W in a checkpath
- command meant the command exited successfully but actually did nothing.
-
- This is an error condition, so report it as such.
-
-commit 75e06d85584fc3ebfa26fbca97ea60b687247bb0
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Style Fixes
-
-commit 1a44be0f16a7a1de8a176e7c656f8513494e0e64
-Author: Alexander V Vershilov <qnikst@gentoo.org>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- cgroups: only run cgroup setup when starting a service
-
- Status call should not set limits as it requires root permissions,
- also this is not safe, as current process may reach limitation.
-
- Solution is to set limits and move process to service cgroup only
- on start.
-
- X-GENTOO-BUG: 500364
- X-GENTOO-BUG-URL: https://bugs.gentoo.org/show_bug.cgi?id=500364
-
-commit f265ddde971d0fdb97a4f14b4cc96140be7b4628
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- FEATURE_REMOVAL_SCHEDULE: add entry for local_start/stop
-
-commit 57b9e601a97fac3a044ec5d7e5f11b6219c892b7
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- init.d/local: bring functioning more in line with how sysctl works
-
- - remove the has_executables variable since it isn't used.
- - Convert the conditional calls to ewend/vewend to a single call to veend.
- - Always call eend after all scripts are executed passing the appropriate
- error code.
-
- Because of this change, you will see only an overall status when
- starting or stopping local unless you are using verbose mode.
-
-commit c1de8c09bf4895c6108d297fcebd63046e49e614
-Author: Thomas D <whissi@whissi.de>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Add support for verbose "local" service runscript
-
- With this patch, the "local" service runscript will be verbose like the
- "sysctl" service when 'rc_verbose="yes"' is set.
-
- Example output successful start:
-
- * Stopping local ...
- * Executing "/etc/local.d/00will-stop.stop" ... [ ok ]
- * Starting local ...
- * Executing "/etc/local.d/00will-start.start" ... [ ok ]
- * Executing "/etc/local.d/01 test.start" ... [ ok ]
-
- Example output with failing executables:
-
- * Stopping local ...
- * Executing "/etc/local.d/00will-stop.stop" ... [ ok ]
- * Executing "/etc/local.d/will-fail.stop" ...
- mount: can't find foo in /etc/fstab
- * Execution of "/etc/local.d/will-fail.stop" failed. [ !! ]
- * Starting local ...
- * Executing "/etc/local.d/00will-start.start" ... [ ok ]
- * Executing "/etc/local.d/01 test.start" ... [ ok ]
- * Executing "/etc/local.d/will-fail2.start" ...
- mount: can't find bar in /etc/fstab
- * Execution of "/etc/local.d/will-fail2.start" failed. [ !! ]
- * Executing "/etc/local.d/will-fail.start" ...
- mount: can't find foo in /etc/fstab
- * Execution of "/etc/local.d/will-fail.start" failed. [ !! ]
-
- X-Gentoo-Bug: 489274
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=489274
-
-commit 143f1c64c13e4930e3880a393b7253d6fbc0ed58
-Author: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- sysctl.Linux.in: remove -lxc from keywords
-
- certain tunables can be set independently for each container
-
- X-Gentoo-Bug: 516050
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=516050
-
-commit b4b34d909c36898095a0036f90a328838137e3a4
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Schedule removal of the opts variable from service scripts
-
-commit 56112a6f1f176696e5f39a86fe4b52017ccdd04c
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- sysfs: Do not mount openrc cgroup if it is already mounted
-
- We were not checking to see if /sys/fs/cgroup/openrc was already mounted
- before we mounted it. This fixes that issue.
- Thanks to Robin Johnson <robbat2@gentoo.org> for pointing this out.
-
-commit 09d81e86f210acf5270ea4bd0fa7319a49f88131
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Make history a separate document
-
- Move the additional history information from Daniel Robbins' wiki
- page along with the history from README to a separate file,
- README.history.
-
- X-Gentoo-Bug: 513024
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/513024
-
-commit 23cb55d843b165d5508f330287ed329358fc85dc
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- man/start-stop-daemon.8: correct argument from --nice to --nicelevel
-
- X-Gentoo-Bug: 510648
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=510648
-
-commit 094bc17cb0ad75da189ebf1a8242a378928a1eef
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- tmpfiles.sh: fix comment processing
-
- If you happened to format a comment with no white space after the '#',
- it was not being processed.
-
- Reported-by: consus@gmx.com
- X-Gentoo-Bug: 511804
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=511804
-
-commit 6126700a0723efa4ef1e299da0f58498f742c3a1
-Author: Sven Vermeulen <sven.vermeulen@siphos.be>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- SELinux filesystem is at /sys/fs/selinux
-
- The SELinux filesystem has been moved to /sys/fs/selinux for quite some
- time. We kept supporting /selinux for backwards compatibility, but it's
- time to move forward on this.
-
- X-Gentoo-Bug: 511718
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=511718
- Signed-off-by: Sven Vermeulen <sven.vermeulen@siphos.be>
-
-commit 19cccb2e9416311b85fcad3c15d4d988fed2f954
-Author: Robin H. Johnson <robbat2@gentoo.org>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- sh/tmpfiles.sh: license under 2-clause BSD
-
- As the author of our tmpfiles.sh script, I hereby license it under
- 2-clause BSD, like the rest of openrc.
-
- Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
-
-commit 9eb9b28d3e3b6725559fb38101ae869c1e4530ce
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- librc: filter out container processes on OpenVZ host
-
- Thanks to info and testing done by Daniel Robbins <drobbins@funtoo.org>,
- there is now a fix for this. Below is his description of the steps
- OpenRC needed to use.
-
- 1) See if /proc/<pid>/status exists
- 2) If it does, see if it has a "envID:" field
- 3) If it does, see if "envID:" is set to "0"
- 4) If so, then it's one of the host's processes and should be a
- candidate for the list. Otherwise, it is one of the container's
- processes and should be ignored.
-
- This should fix the bug and allow start-stop-daemon to work properly on
- OpenVZ hosts.
-
- X-Gentoo-Bug: 376817
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=376817
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2015-10-08 21:15 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2015-10-08 21:15 UTC (permalink / raw
To: gentoo-commits
commit: 850ca030777cb0c3e2fb03d9ab1f0ccee7b89e93
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Thu Oct 8 21:14:16 2015 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Thu Oct 8 21:14:34 2015 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=850ca030
increment version number
Makefile.inc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile.inc b/Makefile.inc
index 0f42a4b..415bf9d 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -1,3 +1,3 @@
NAME= openrc
-VERSION= 0.18
+VERSION= 0.19
PKG= ${NAME}-${VERSION}
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2015-12-04 19:52 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2015-12-04 19:52 UTC (permalink / raw
To: gentoo-commits
commit: a1acdeb92ead07f2dc60cb9796aaf5b4ea377713
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Fri Dec 4 19:50:21 2015 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Fri Dec 4 19:50:21 2015 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=a1acdeb9
update ChangeLog
ChangeLog | 449 ++++++++++++++++++++++++++++++--------------------------------
1 file changed, 215 insertions(+), 234 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index bbf0105..88e6be7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,218 @@
+commit b810473e4f7218afbb7047890860c15a8c45472b
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ man/openrc-run.8: Clarify documentation on dependencies and keywords
+
+ Provide an example of using the -containers keyword and clarify
+ documentation on some of the dependency functions.
+
+commit 627e925463068e754ffd869f99a43634d6d9631e
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ add support for -containers keyword
+
+commit f5cf1136e70502ee530f20f0434f312611b12b51
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Use systype variable for rc_sys call
+
+commit a4038e11712d4c3f87f541f90be0b88f2903b82d
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ rc.conf.Linux: document the rkt keyword
+
+commit a0cf8f91246ff4487b36d6432dab787e5b10957d
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Add detection for rkt containers
+
+commit 9fedb3b40b5983372b2c2de29dfe321c6dfaadf4
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Add detection for docker containers
+
+commit 635e33cdc8f18bb290756633ce0714c496383cfb
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ librc: comsolidate rc_sys_v1 and rc_sys_v2 into rc_sys
+
+ These functions were never meant to be used outside of OpenRC, and they
+ were added when we thought we were going to do away with the automatic
+ detection of subsystems. Since the autodetection is not going away, we
+ can combine these functions into rc_sys.
+
+commit bd9456ff3172cc88f32d67bd4e789e2beee43595
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ rc-functions.sh: add support for user-defined want dependencies
+
+commit 33d3f33b3ca7dd2ce616b8182d588d0743c2f124
+Author: Ian Stakenvicius <axs@gentoo.org>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Implement "want" dependency
+
+ The want dependency is similar to the use dependency. If a service
+ script, for example called service1, adds "want service2" to its depend
+ function, OpenRC will attempt to start service2, if it exists on the
+ system, when service1 is started.
+
+ However, service1 will start regardless of the status of
+ service2.
+
+ X-Gentoo-Bug: 406021
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=406021
+
+commit ddb895b355e02c9c07b00bfaf00d1bf8a7abbc03
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ conf.d/netmount: typo fix
+
+ X-Gentoo-Bug: 564846
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=564846
+
+commit 085d77f17e3bedd23ffa96fe7e4eb8515ae8bfc6
+Author: Benda Xu <heroxbd@gentoo.org>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Standardize macro tests for gnu hurd
+
+ This also fixes breakage of GNU/hurd builds introduced by commit 3f82edbeb92.
+
+commit c831f1f994e187afd8edfff15e4063b99440bbcb
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ librc: rework overriding rc.conf options from the kcl
+
+ Rename the rc_conf_override function to describe its purpose better,
+ drop one conditional compile by making it available everywhere, and move
+ the call to it after the optional rc.conf.d directory is processed.
+
+commit 591aea28215a8b5ad8660184dc6f6f15ff0c18b4
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ librc: Remove redundant code from rc_config_load
+
+commit c09eeca49145b034df6527c500099ba22f28e824
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Add rc.conf.d support
+
+ This makes it possible to override settings in rc.conf by adding a
+ directory @SYSCONFDIR@/rc.conf.d and putting files in this directory.
+ The files will be processed in lexical order, and the last setting in
+ these files will be used.
+
+commit 4cf6b0ecf7f5b35a6d80d76c60e77c3e1c7fee5c
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ consolefont: add after modules to dependencies
+
+ X-Gentoo-Bug: 559540
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=559540
+
+commit ee944553a9ea35622046bd1ab5657fd416a7019a
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ bootmisc: optionally save the previous dmesg log
+
+ X-Gentoo-Bug: 561204
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=561204
+
+commit 6cae41a4e63510cdcf3af1153d6e8300435e1838
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ etc/rc.conf: Clean up documentation for rc_hotplug
+
+ X-Gentoo-Bug: 554540
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=554540
+
+commit 960881fcfe974178c0846a816663a258cdd488cc
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Add net-online service
+
+commit d26013494db8ea8699db9815ef4c4b0eb2f55e7f
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ mtab: typo fix
+
+commit b29b2fb3cb3e73b4453483ced908f0ef10e47e9c
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ mtab: make /etc/mtab as a file configurable
+
+commit 7da72ce487a8d92d992e7fd3db881c198ae02609
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ openrc-run.sh: fix new required_* tests to exit properly
+
+commit fc777aeaf3e6e2d47f4599acfe6c8d1bf5bc760a
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ typo fix
+
+ X-Gentoo-Bug: 563010
+ X-Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=563010
+
+commit 9d53d436ae22d6f0f6fc1537e836dd1b4d31cf35
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ sysfs: consolidate cgroup processing code in a single function
+
+commit b81317bdf8e3eed8b8ff2bef757ba29f362ed297
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ mountinfo: make sure the netdev variable is initialized on Linux
+
+ This fixes the following regression:
+
+ X-Gentoo-Bug: 562668
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=562668
+
+commit 29f7e335927d4c1fb151124de8cdf01fb87723fa
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ openrc-run.sh: allow spaces in required_{files,dirs}
+
+ X-Gentoo-Bug: 562320
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=562320
+
+commit 850ca030777cb0c3e2fb03d9ab1f0ccee7b89e93
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ increment version number
+
+commit 050ddfae4ad1ad0dc5993766e0bd90739bd41de9
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Update ChangeLog
+
commit d5116cc697c9eb275ab8497939ab41504e5ce578
Author: William Hubbs <w.d.hubbs@gmail.com>
Commit: William Hubbs <w.d.hubbs@gmail.com>
@@ -997,237 +1212,3 @@ Commit: William Hubbs <w.d.hubbs@gmail.com>
This is a more descriptive name since this file only sets the gitver
variable.
-
-commit 30cc3cdb76a66c7c0f89a52db4e5cff77b570e31
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Make sysfs behave like netmount and localmount
-
- sysfs now mounts all related sysfs file systems and returns success,
- like netmount and localmount.
-
- Also, we now check to make sure the cgroups are not mounted before we
- mount them.
-
- X-Gentoo-Bug: 530138
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=530138
-
-commit dff6e4a004afeaa64f4ccb07c7d31bb821b043b4
-Author: S. Gilles <sgilles@umd.edu>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Fix mdoc warning for empty line in rc-update man page.
-
- X-Gentoo-Bug: 529374
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=529374
-
-commit 3fad31a994f7eb14f3f001f3980eb2b0ae8fe4f1
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- init.d: add osclock to ignore patterns
-
-commit 8d0ca13fbd38e782bae655eca6646dabc8d63899
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- devfs: optionally add missing symbolic links
-
- If symbolic links for /dev/{fd,stdin,stdout,stderr,core} do not exist
- once /dev is mounted, we should create them.
-
-commit 93ba67eff9333e434c969bb8131467f777546764
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- netmount: unmount nfs file systems
-
-commit 1932360adca3f9fe9b47bcfad7b8bd5efbd33bee
-Author: Jason Zaman <jason@perfinion.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Integrate the functionality from runscript_selinux.so
-
- runscript used to dlopen() runscript_selinux.so. This adds equivalent
- functionality directly in to runscript instead. It authenticates with
- either PAM or shadow and optionally has a dep on audit.
-
- X-Gentoo-Bug: 517450
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=517450
-
-commit be952bebb3647069fb93b9791ee3439698f697ca
-Author: Alexander Vershilov <alexander.vershilov@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Fix incorrect handling of chroot option.
- Fixes #28.
-
- X-Gentoo-Bug: #527370
- X-Gentoo-Bug-Url: https://bugs.gentoo.org/show_bug.cgi?id=527370
-
-commit 0bfde472d0154f14ea88c0f5ddd21a510443d713
-Author: Ralph Sennhauser <sera@gentoo.org>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Add osclock service
-
- This scripts sole purpose is to "provide clock" on OSs that already
- take care of the clock being properly set.
-
-commit ba0a11fc94d303e208dd364b06c1c2a75bcdd62b
-Author: Johan Bergström <bugs@bergstroem.nu>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Pass ncurses cflags to build
-
- Fixes #25
- Note from William Hubbs:
- The original patch overwrote CFLAGS. I modified this patch to add the
- ncurses cflags to CPPFLAGS instead of overwriting CFLAGS.
-
-commit 7700e6fe796cabfa22eefddc024d66257a28d4dc
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Fix compile errors created by bundling queue.h
-
-commit 6ca79042b9aa9752e577346e6f355356ef8f2f9a
-Author: Anthony G. Basile <blueness@gentoo.org>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- helpers.h, start-stop-daemon.c: remove uneeded macros
-
- TAILQ_CONCAT, TAILQ_FOREACH_SAFE and LIST_FOREACH_SAFE are defined
- in our bundled queue.h and are no longer required.
-
-commit 1e0a4bebdefd06af09ba8f2459287d3ca28f89d7
-Author: Anthony G. Basile <blueness@gentoo.org>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Bundle <sys/queue.h> from NetBSD
-
- We are bundling this to allow building on musl-based systems since musl
- does not include <sys/queue.h>.
-
-commit ca6b86be44fc7ed618a7ab3bd021e208d38878b1
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Fix all tests for GNU/kFreeBSD
-
- It is necessary to check for both the kernel and c library because
- __FreeBSD_kernel is also defined on native FreeBSD [1].
-
- [1] http://sourceforge.net/p/predef/wiki/OperatingSystems/
-
-commit 4ac289b5397a688393c596a9a01651c94d3b5711
-Author: Gabriele Giacone <1o5g4r8o@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Fix rc_svcdir for GNU/Hurd
-
-commit 875f03e27c3475675f7b9572b071dd8c26257be7
-Author: Svante Signell <svante.signell@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- fix defines for GNU/Hurd
-
-commit 203b754f843fe6af0a40e983d557a9cdbc89f84b
-Author: Svante Signell <svante.signell@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- add missing files for GNU/Hurd
-
-commit 89c8a62a1078e770e12c47f06c8dbc9c2924e771
-Author: Gabriele Giacone <1o5g4r8o@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Fix rc_svcdir for GNU/kFreeBSD
-
-commit d8e1d9a6edf94ecac580e80e1113f4fdbdc5a23b
-Author: Gabriele Giacone <1o5g4r8o@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Add missing files for GNU/kFreeBSD
-
-commit 3f82edbeb9251149c6aff071d6537379af4e5eea
-Author: Svante Signell <svante.signell@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Fix GNU/kFreeBSD port
-
- Check for __FreeBSD_kernel instead of __GLIBC__ in source files.
-
- note from William Hubbs:
- I was told this is a better check for GNU/kFreeBSD than checking the
- C library the source is being compiled against.
- GNU/kFreeBSD than checking which library we are using.
-
-commit 86e9aa0d36813e2630c6613cd71c3ce8db642f71
-Author: Anthony G. Basile <blueness@gentoo.org>
-Commit: Anthony G. Basile <blueness@gentoo.org>
-
- einfo.h, rc.h.in: simplify __BEGIN_DECLS logic
-
- There is no need to redefine __BEGIN_DECLS and __END_DECLS.
- We simplify the logic here and avoid undefining these macros.
-
-commit 4a08517cac3c68c232694db7288654b58b68b8ba
-Author: Anthony G. Basile <blueness@gentoo.org>
-Commit: Anthony G. Basile <blueness@gentoo.org>
-
- einfo.h, rc.h.in: ensure __BEGIN_DECLS is defined
-
- Some Standard C Libraries, like musl, don't define __BEGIN_DECLS
- or __END_DECLS. We add some ifdef magic to ensure these are
- available.
-
-commit 9bf789f78890c8b5879d29acb9fb0e23285baee4
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Update news file wrt chroot variable
-
-commit f9acd65497c6e561fbf5420386a99d681fede859
-Author: Alexander Vershilov <alexander.vershilov@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- librc:look for the pid file in a chroot if defined
-
- X-Gentoo-Bug: 524388
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=524388
-
-commit 8c7ea4e9e8da500877a514402bbe90aababda2d6
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- runscript.sh: add chroot support
-
- This adds support for a chroot variable which will be passed to the
- start-stop-daemon --chroot switch to runscript.sh when starting a
- daemon. This also needs to be saved so it can be used in locating the
- pid file when stopping the daemon.
-
- X-Gentoo-Bug: 524388
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=524388
-
-commit 5f1439f1aac14618592789042e05daaf80f55a15
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Add NEWS file
-
-commit 85da4a5e2621dc5f5356d440735aa058008a1b7e
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- add back nfs and nfs4 file systems
-
- Fix gentoo bug #427996 correctly.
- We should attempt to mount the file systems, but not try to start the
- daemons. The previous fix removed mounting the file systems as well as
- starting the daemons.
-
- X-Gentoo-Bug: 508574
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=508574
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2015-12-06 0:14 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2015-12-06 0:14 UTC (permalink / raw
To: gentoo-commits
commit: a67e3495d0b54ac83a00fc04aef50951646814ad
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Sat Dec 5 16:31:39 2015 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Sat Dec 5 16:31:39 2015 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=a67e3495
Increment version number
Makefile.inc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile.inc b/Makefile.inc
index 415bf9d..1d43192 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -1,3 +1,3 @@
NAME= openrc
-VERSION= 0.19
+VERSION= 0.20
PKG= ${NAME}-${VERSION}
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2015-12-08 19:12 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2015-12-08 19:12 UTC (permalink / raw
To: gentoo-commits
commit: 0d202b5711228bb047140430ea8fe4f749503fb4
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Tue Dec 8 19:02:21 2015 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Tue Dec 8 19:02:26 2015 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=0d202b57
Update feature-removal-schedule wrt mtab service
FEATURE-REMOVAL-SCHEDULE.md | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/FEATURE-REMOVAL-SCHEDULE.md b/FEATURE-REMOVAL-SCHEDULE.md
index a1b19ab..57e8a5a 100644
--- a/FEATURE-REMOVAL-SCHEDULE.md
+++ b/FEATURE-REMOVAL-SCHEDULE.md
@@ -53,7 +53,8 @@ Who:
## the mtab service script
-When: make warnings more visible in 1.0, remove in 2.0
+When: force /etc/mtab to link to /proc/self/mounts in 1.0, remove
+ service in 2.0
Why: /etc/mtab should be a symbolic link to /proc/self/mounts on modern
Linux systems
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2015-12-08 19:12 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2015-12-08 19:12 UTC (permalink / raw
To: gentoo-commits
commit: 935252b1152b4086ccbe76ace21e677d7ac8a357
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Tue Dec 8 19:11:41 2015 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Tue Dec 8 19:11:41 2015 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=935252b1
Add note about removing rc_sys() from librc
FEATURE-REMOVAL-SCHEDULE.md | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/FEATURE-REMOVAL-SCHEDULE.md b/FEATURE-REMOVAL-SCHEDULE.md
index 57e8a5a..54d5597 100644
--- a/FEATURE-REMOVAL-SCHEDULE.md
+++ b/FEATURE-REMOVAL-SCHEDULE.md
@@ -60,3 +60,14 @@ Why: /etc/mtab should be a symbolic link to /proc/self/mounts on modern
Linux systems
Who:
+
+## the rc_sys librc api function
+
+When: 1.0
+
+Why: The OpenRC code now uses two internal functions, detect_container()
+ and detect_vm() to handle this. rc_sys() is broken because it
+ doesn't differentiate between containers and vm's.
+
+Who:
+
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2015-12-09 23:58 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2015-12-09 23:58 UTC (permalink / raw
To: gentoo-commits
commit: 3ef2bbfb19fe3ca0c169f9dcf48b70a59321a5d1
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Wed Dec 9 23:57:20 2015 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Wed Dec 9 23:57:20 2015 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=3ef2bbfb
Add note about deprecating rc_getline()
FEATURE-REMOVAL-SCHEDULE.md | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/FEATURE-REMOVAL-SCHEDULE.md b/FEATURE-REMOVAL-SCHEDULE.md
index 54d5597..7ba0818 100644
--- a/FEATURE-REMOVAL-SCHEDULE.md
+++ b/FEATURE-REMOVAL-SCHEDULE.md
@@ -61,6 +61,15 @@ Why: /etc/mtab should be a symbolic link to /proc/self/mounts on modern
Who:
+## the rc_getline librc api function
+
+When: 1.0
+
+Why: The getline() function was standardized in POSIX.1-2008, so it
+ should be available on POSIX systems.
+
+Who:
+
## the rc_sys librc api function
When: 1.0
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2015-12-11 22:49 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2015-12-11 22:49 UTC (permalink / raw
To: gentoo-commits
commit: fe32ef8e09a2edf2690a3b281cea0be84a5541ca
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Fri Dec 11 22:46:02 2015 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Fri Dec 11 22:48:40 2015 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=fe32ef8e
FEATURE-REMOVAL-SCHEDULE: create section for librc API functions
FEATURE-REMOVAL-SCHEDULE.md | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/FEATURE-REMOVAL-SCHEDULE.md b/FEATURE-REMOVAL-SCHEDULE.md
index 7ba0818..8d07cd4 100644
--- a/FEATURE-REMOVAL-SCHEDULE.md
+++ b/FEATURE-REMOVAL-SCHEDULE.md
@@ -61,7 +61,13 @@ Why: /etc/mtab should be a symbolic link to /proc/self/mounts on modern
Who:
-## the rc_getline librc api function
+## C API Functions in rc.h
+
+If you have a c program that links to librc and uses functions from
+there, this section will list API functions which are deprecated and
+will be removed along with the reason they are being removed.
+
+### rc_getline()
When: 1.0
@@ -70,7 +76,7 @@ Why: The getline() function was standardized in POSIX.1-2008, so it
Who:
-## the rc_sys librc api function
+### rc_sys()
When: 1.0
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2016-01-13 17:04 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2016-01-13 17:04 UTC (permalink / raw
To: gentoo-commits
commit: 04f05c30d13ec83b85164a536eb570f29a66b275
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Wed Jan 13 17:01:41 2016 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Wed Jan 13 17:01:41 2016 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=04f05c30
update ChangeLog
ChangeLog | 227 +++++++++++++++++++++++++++++++++++++++++++++++---------------
1 file changed, 172 insertions(+), 55 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 88e6be7..29ce6fc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,175 @@
+commit 9473ac514cb72663d5c3bac8b5473cced4a20bf7
+Author: joe9 <joe9mail@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ allow the user to decide whether fsck aborts for errors
+
+ X-Gentoo-Bug: 564008
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=564008
+
+commit bf2f40828ee26d3ba9185f29db596ee5d7b9cf61
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Remove multicall binary structure from OpenRC
+
+ This eliminates the need for the selinux-specific wrapper scrript we
+ were installing in /lib*/rc/{bin,sbin}.
+
+commit fe485f44339963fdbee143687dcbef2069924bc6
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ rc: fix compiler warnings cleanup
+
+ This reverts commit 981d2b3308edb0d0a68f7bdce4f2c99110de6940 and fixes
+ the warnings that generated.
+
+commit 53bc986ce5f9725d7117356e28224ac898f9c9bf
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Clean default env_whitelist
+
+ The whitelist of environment variables we pass to service scripts
+ included several unnecessary variables.
+
+ The default whitelist now includes EERROR_QUIET, EINFO_QUIET,
+ IN_BACKGROUND and IN_HOTPLUG.
+
+ X-Gentoo-Bug: 569542
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=569542
+
+commit 981d2b3308edb0d0a68f7bdce4f2c99110de6940
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ rc: clean up compiler warnings
+
+ The get_systype(), detect_container(), detect_prefix() and detect_vm()
+ functions need to return "char *" instead of "const char *".
+
+commit 5d3e85bc310e12411135e98a397b35fb920a72a3
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ add ignore patterns for init.d directory
+
+commit 000503fad72e4eb2ef956a24df358be84b2a9493
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Convert OpenRC to a centralized copyright/license structure
+
+ In the past, OpenRC was a hybrid of a centralized and file-scope
+ license/copyright structure.
+
+ I followed the instructions from the Software Freedom Law Center [1] to
+ convert to a Centralized structure where possible, for easier future
+ maintenance.
+
+ [1] https://softwarefreedom.org/resources/2012/ManagingCopyrightInformation.html
+
+commit 065f034059d7ca26bbb985158c5d361ff75df186
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ format fix
+
+commit fe32ef8e09a2edf2690a3b281cea0be84a5541ca
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ FEATURE-REMOVAL-SCHEDULE: create section for librc API functions
+
+commit c45313dfa9880c4aedb72da1b2ac3159eee05a93
+Author: Rick Farina (Zero_Chaos) <zerochaos@gentoo.org>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ netmount: use want dependency to start nfsclient
+
+ add in parsing of fstab to determine if nfsclient should be automatically
+ started so that netmount can mount nfs without adding nfsclient
+ to the default runlevel
+
+ This fixes #71.
+
+commit 3ef2bbfb19fe3ca0c169f9dcf48b70a59321a5d1
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Add note about deprecating rc_getline()
+
+commit cc9c23c8484ea7d07b1f8e54bcab46cc31ec727d
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Complete support for rc.conf.d
+
+ - gendepends.sh needs to read this directory to allow dependencies to be
+ overridden
+ - init.sh for Linux and Bsd need to read it to allow config settings
+ they use to be overridden.
+
+commit 935252b1152b4086ccbe76ace21e677d7ac8a357
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Add note about removing rc_sys() from librc
+
+commit 0d202b5711228bb047140430ea8fe4f749503fb4
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Update feature-removal-schedule wrt mtab service
+
+commit f9bdb072e8d88079a20834fe921d43e326a9a18a
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ rc.map: remove references to rc_sys_v{1,2}
+
+commit 9f6e05671d6d48faa7b83aec05a637bcdfcb3f82
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Convert rc_sys() calls to detect_container() and detect_vm()
+
+commit 8addd7913a743b75ef3854ab4a96fea81cc5245d
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Create detect_container() and detect_vm() functions
+
+ These functions replace rc_sys so that we can detect containers and vms
+ separately.
+
+ Also, we copy file_regex() to rc-misc.c and open it to all operating
+ systems.
+
+commit 83cd7145e3e7c3ac453b6a87214cf5704e3875ce
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Rename bootlevel variable in _usage.c
+
+ In src/rc/_usage.c, we were using bootlevel as the variable to hold the
+ return value of rc_sys.
+ This changes the variable name to systype because this function returns
+ a system type, not a runlevel.
+
+commit a67e3495d0b54ac83a00fc04aef50951646814ad
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Increment version number
+
+commit a1acdeb92ead07f2dc60cb9796aaf5b4ea377713
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ update ChangeLog
+
commit b810473e4f7218afbb7047890860c15a8c45472b
Author: William Hubbs <w.d.hubbs@gmail.com>
Commit: William Hubbs <w.d.hubbs@gmail.com>
@@ -1157,58 +1329,3 @@ Author: William Hubbs <w.d.hubbs@gmail.com>
Commit: William Hubbs <w.d.hubbs@gmail.com>
tmpfiles.dev: pass --boot to tmpfiles.sh so kmod works properly
-
-commit 7e3a33c8f5ccae03e035cf4c9d1c3c01a0f57b1e
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Add description for cgroup_cleanup
-
- X-Gentoo-Bug: 535184
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=535184
-
-commit 74478830a8d035c078e986b57efd40a5c48bc896
-Author: Doug Freed <dwfreed@mtu.edu>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- fix double free of pidfile
-
- This fixes a double free of the pidfile variable. For discussion of this
- issue, see the bug.
-
- X-Gentoo-Bug: 531600
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=531600
-
-commit 6a9679377f4de257f02de1d16a513df14b4c25ba
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Do not call the shell to evaluate CHANGELOG_LIMIT
-
- The git log command understands dates such as "1 year ago", so there is
- no need to use the date command.
-
-commit 72186ea3bbbf0b09b88a6f3e1fb23bf04ce1ddad
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- etc/rc and etc/rc.shutdown: change references from rc to openrc
-
-commit 3647db7a27f7a5ca14b33b14effeb945fd986210
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Add target to create ChangeLog
-
- This was added by request because some users are requesting a ChangeLog.
-
- This fixes #29.
-
-commit 7a92eb888794819a339babd0ee220b6aa3993db1
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- rename git.mk to gitver.mk
-
- This is a more descriptive name since this file only sets the gitver
- variable.
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2016-01-14 17:37 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2016-01-14 17:37 UTC (permalink / raw
To: gentoo-commits
commit: e7ae08c38d4753d8d54a4ed60ca98794d85aadd9
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Thu Jan 14 17:35:18 2016 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Thu Jan 14 17:35:18 2016 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=e7ae08c3
version 0.21
Makefile.inc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile.inc b/Makefile.inc
index 1d43192..7b83a65 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -1,3 +1,3 @@
NAME= openrc
-VERSION= 0.20
+VERSION= 0.21
PKG= ${NAME}-${VERSION}
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2016-01-19 22:33 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2016-01-19 22:33 UTC (permalink / raw
To: gentoo-commits
commit: 5f2850366ea0f30f0f9cb6b129b69192c11e74ac
Author: Manuel Rüger <manuel <AT> rueg <DOT> eu>
AuthorDate: Thu Dec 3 21:03:13 2015 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Tue Jan 19 22:30:41 2016 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=5f285036
Fix typo
This fixes #70.
FEATURE-REMOVAL-SCHEDULE.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/FEATURE-REMOVAL-SCHEDULE.md b/FEATURE-REMOVAL-SCHEDULE.md
index d66f94f..7058805 100644
--- a/FEATURE-REMOVAL-SCHEDULE.md
+++ b/FEATURE-REMOVAL-SCHEDULE.md
@@ -38,7 +38,7 @@ Who:
When: 1.0
-Why: Depprecated in favor of extra_commands, extra_started_commands
+Why: Deprecated in favor of extra_commands, extra_started_commands
and extra_stopped_commands.
Who:
@@ -47,7 +47,7 @@ Who:
When: 1.0
-Why: Depprecated in favor of executable scripts in @SYSCONFDIR@/local.d
+Why: Deprecated in favor of executable scripts in @SYSCONFDIR@/local.d
Who:
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2016-02-09 21:42 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2016-02-09 21:42 UTC (permalink / raw
To: gentoo-commits
commit: e82653782e1803e3c924aef055113333b18dafd9
Author: Patrick Lauer <patrick <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 9 21:30:46 2016 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Tue Feb 9 21:30:46 2016 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=e8265378
Add a basic OpenRC users guide
X-Gentoo-Bug: 513024
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=513024
guide.md | 251 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 251 insertions(+)
diff --git a/guide.md b/guide.md
new file mode 100644
index 0000000..c8c51d7
--- /dev/null
+++ b/guide.md
@@ -0,0 +1,251 @@
+# Purpose and description
+
+OpenRC is an init system for Unixoid operating systems. It takes care of
+startup and shutdown of the whole system, including services.
+
+It evolved out of the Gentoo "Baselayout" package which was a custom pure-shell
+startup solution. (This was both hard to maintain and debug, and not very
+performant)
+
+Most of the core parts are written in C99 for performance and flexibility
+reasons, while everything else is posix sh.
+The License is 2-clause BSD
+
+Current size is about 10k LoC C, and about 4k LoC shell.
+
+OpenRC is known to work on Linux, many BSDs (FreeBSD, OpenBSD, DragonFlyBSD at
+least) and HURD.
+
+Services are stateful (i.e. start; start will lead to "it's already started")
+
+# Startup
+
+Usually PID1 (aka. init) calls the OpenRC binary ("/sbin/openrc" by default).
+(The default setup assumes sysvinit for this)
+
+openrc scans the runlevels (default: "/etc/runlevels") and builds a dependency
+graph, then starts the needed service scripts, either serialized (default) or in
+parallel.
+
+When all the init scripts are started openrc terminates. There is no persistent
+daemon. (Integration with tools like monit, runit or s6 can be done)
+
+# Shutdown
+
+On change to runlevel 0/6 or running "reboot", "halt" etc., openrc stops all
+services that are started and runs the services in the "shutdown" runlevel.
+
+# Modifying Service Scripts
+
+Any service can, at any time, be started/stopped/restarted by executing
+"rc-service someservice start", "rc-service someservice stop", etc.
+Another, less preferred method, is to run the service script directly,
+e.g. "/etc/init.d/service start", "/etc/init.d/service stop", etc.
+
+OpenRC will take care of dependencies, e.g starting apache will start network
+first, and stopping network will stop apache first.
+
+There is a special command "zap" that makes OpenRC 'forget' that a service is
+started; this is mostly useful to reset a crashed service to stopped state
+without invoking the (possibly broken) stop function of the service script.
+
+Calling "openrc" without any arguments will try to reset all services so
+that the current runlevel is satisfied; if you manually started apache it will be
+stopped, and if squid died but is in the current runlevel it'll be restarted.
+
+There is a "service" helper that emulates the syntax seen on e.g. older Redhat
+and Ubuntu ("service nginx start" etc.)
+
+# Runlevels
+
+OpenRC has a concept of runlevels, similar to what sysvinit historically
+offered. A runlevel is basically a collection of services that needs to be
+started. Instead of random numbers they are named, and users can create their
+own if needed. This allows, for example, to have a default runlevel with
+"everything" enabled, and a "powersaving" runlevel where some services are
+disabled.
+
+The "rc-status" helper will print all currently active runlevels and the state
+of init scripts in them:
+
+# rc-status
+ * Caching service dependencies ... [ ok ]
+Runlevel: default
+ modules [ started ]
+ lvm [ started ]
+
+All runlevels are represented as folders in /etc/runlevels/ with symlinks to
+the actual init scripts.
+
+Calling openrc with an argument ("openrc default") will switch to that
+runlevel; this will start and stop services as needed.
+
+Managing runlevels is usually done through the "rc-update" helper, but could of
+course be done by hand if desired.
+e.g. "rc-update add nginx default" - add nginx to the default runlevel
+Note: This will not auto-start nginx! You'd still have to trigger "rc" or run
+the initscript by hand.
+
+FIXME: Document stacked runlevels
+
+The default startup uses the runlevels "boot", "sysinit" and "default", in that
+order. Shutdown uses the "shutdown" runlevel.
+
+
+# Syntax of Service Scripts
+
+Service scripts are shell scripts. OpenRC aims at using only the standardized
+POSIX sh subset for portability reasons. The default interpreter (build-time
+toggle) is /bin/sh, so using for example mksh is not a problem.
+
+OpenRC has been tested with busybox sh, ash, dash, bash, mksh, zsh and possibly
+others. Using busybox sh has been difficult as it replaces commands with
+builtins that don't offer the expected features.
+
+The interpreter for initscripts is #!/sbin/openrc-run
+Not using this interpreter will break the use of dependencies and is not
+supported. (iow: if you insist on using #!/bin/sh you're on your own)
+
+A "depend" function declares the dependencies of this service script.
+All scripts must have start/stop/status functions, but defaults are provided.
+Extra functions can be added easily:
+
+extra_commands="checkconfig"
+checkconfig() {
+ doSomething
+}
+
+This exports the checkconfig function so that "/etc/init.d/someservice
+checkconfig" will be available, and it "just" runs this function.
+
+While commands defined in extra_commands are always available, commands
+defined in extra_started_commands will only work when the service is started
+and those defined in extra_stopped_commands will only work when the service is
+stopped. This can be used for implementing graceful reload and similar
+behaviour.
+
+Adding a restart function will not work, this is a design decision within
+OpenRC. Since there may be dependencies involved (e.g. network -> apache) a
+restart function is in general not going to work.
+restart is internally mapped to stop() + start() (plus handling dependencies).
+If a service needs to behave differently when it is being restarted vs
+started or stopped, it should test the $RC_CMD variable, for example:
+
+ [ "$RC_CMD" = restart ] && do_something
+
+
+# The Depend Function
+
+This function declares the dependencies for a service script. This
+determines the order the service scripts start.
+
+depend() {
+ need net
+ use dns logger netmount
+ want coolservice
+}
+
+"need" declares a hard dependency - net always needs to be started before this
+ service does
+"use" is a soft dependency - if dns, logger or netmount is in this runlevel
+ start it before, but we don't care if it's not in this runlevel.
+ "want" is between need and use - try to start coolservice if it is
+ installed on the system, regardless of whether it is in the
+ runlevel, but we don't care if it starts.
+"before" declares that we need to be started before another service
+"after" declares that we need to be started after another service, without
+ creating a dependency (so on calling stop the two are independent)
+"provide" allows multiple implementations to provide one service type, e.g.:
+ 'provide cron' is set in all cron-daemons, so any one of them started
+ satisfies a cron dependency
+"keyword" allows platform-specific overrides, e.g. "keyword -lxc" makes this
+ service script a noop in lxc containers. Useful for things like keymaps,
+ module loading etc. that are either platform-specific or not available
+ in containers/virtualization/...
+
+FIXME: Anything missing in this list?
+
+# The Default Functions
+
+All service scripts are assumed to have the following functions:
+
+start()
+stop()
+status()
+
+There are default implementations in rc/sh/runscript.sh - this allows very
+compact service scripts. These functions can be overridden per service script as
+needed.
+
+The default functions assume the following variables to be set in the service
+script:
+
+command=
+command_args=
+pidfile=
+
+Thus the 'smallest' service scripts can be half a dozen lines long
+
+# The Magic of Conf.d
+
+Most service scripts need default values. It would be fragile to
+explicitly source some arbitrary files. By convention openrc-run will source
+the matching file in /etc/conf.d/ for any script in /etc/init.d/
+
+This allows you to set random startup-related things easily. Example:
+
+conf.d/foo:
+START_OPTS="--extraparameter sausage"
+
+init.d/foo:
+start() {
+ /usr/sbin/foo-daemon ${STARTOPTS}
+}
+
+The big advantage of this split is that most of the time editing of the init
+script can be avoided.
+
+# Start-Stop-Daemon
+
+OpenRC has its own modified version of s-s-d, which is historically related and
+mostly syntax-compatible to Debian's s-s-d, but has been rewritten from scratch.
+
+It helps with starting daemons, backgrounding, creating PID files and many
+other convenience functions related to managing daemons.
+
+# /etc/rc.conf
+
+This file manages the default configuration for OpenRC, and it has examples of
+per-service-script variables.
+
+Among these are rc_parallel (for parallelized startup), rc_log (logs all boot
+messages to a file), and a few others.
+
+# ulimit and CGroups
+
+Setting ulimit and nice values per service can be done through the rc_ulimit
+variable.
+
+Under Linux, OpenRC can optionally use CGroups for process management.
+By default each service script's processes are migrated to their own CGroup.
+
+By changing certain values in the conf.d file limits can be enforced per
+service. It is easy to find orphan processes of a service that persist after
+stop(), but by default these will NOT be terminated.
+To change this add rc_cgroup_cleanup="yes" in the conf.d files for services
+where you desire this functionality.
+
+# Caching
+
+For performance reasons OpenRC keeps a cache of pre-parsed initscript metadata
+(e.g. depend). The default location for this is /${RC_SVCDIR}/cache.
+
+The cache uses mtime to check for file staleness. Should any service script
+change it'll re-source the relevant files and update the cache
+
+# Convenience functions
+
+OpenRC has wrappers for many common output tasks in libeinfo.
+This allows to print colour-coded status notices and other things.
+To make the output consistent the bundled initscripts all use ebegin/eend to
+print nice messages.
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2016-05-19 18:37 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2016-05-19 18:37 UTC (permalink / raw
To: gentoo-commits
commit: 9a372812c78ea8efc55b3dea6a39c2d0559bca45
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Thu May 19 18:36:43 2016 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Thu May 19 18:36:43 2016 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=9a372812
guide.md: typo fix
This fixes #86.
guide.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/guide.md b/guide.md
index c8c51d7..a3195b0 100644
--- a/guide.md
+++ b/guide.md
@@ -173,7 +173,7 @@ start()
stop()
status()
-There are default implementations in rc/sh/runscript.sh - this allows very
+There are default implementations in rc/sh/openrc-run.sh - this allows very
compact service scripts. These functions can be overridden per service script as
needed.
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2016-05-24 18:05 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2016-05-24 18:05 UTC (permalink / raw
To: gentoo-commits
commit: 820ef6dab674c2878d72edc8ea21e7250b1b5aec
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Tue May 24 17:55:50 2016 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Tue May 24 17:55:50 2016 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=820ef6da
supervise-daemon: clarify documentation about configuring daemon not to fork
supervise-daemon-guide.md | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/supervise-daemon-guide.md b/supervise-daemon-guide.md
index 7dae0e6..4ac7365 100644
--- a/supervise-daemon-guide.md
+++ b/supervise-daemon-guide.md
@@ -4,6 +4,8 @@ Beginning with OpenRC-0.21 we have our own daemon supervisor,
supervise-daemon., which can start a daemon and restart it if it
terminates unexpectedly.
+The following is a brief guide on using this capability.
+
## Use Default start, stop and status functions
If you write your own start, stop and status functions in your service
@@ -16,8 +18,10 @@ Any deamon that you would like to have monitored by supervise-daemon
must not fork. Instead, it must stay in the foreground. If the daemon
itself forks, the supervisor will be unable to monitor it.
-If the daemon has an option to instruct it not to fork, you should add this
-to the command_args_foreground variable listed below.
+If the daemon can be configured to not fork, this should be done in the
+daemon's configuration file, or by adding a command line option that
+instructs it not to fork to the command_args_foreground variable shown
+below.
## Variable Settings
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2016-05-24 18:14 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2016-05-24 18:14 UTC (permalink / raw
To: gentoo-commits
commit: 12c8248b5f53879935d4e62ef42023f703c7b636
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Tue May 24 18:06:29 2016 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Tue May 24 18:06:29 2016 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=12c8248b
update news for 0.21
NEWS.md | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/NEWS.md b/NEWS.md
index 71a1b7f..c7e2d12 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -3,6 +3,20 @@
This file will contain a list of notable changes for each release. Note
the information in this file is in reverse order.
+## OpenRC-0.21
+
+This version adds a daemon supervisor which can start daemons and
+restart them if they crash. See supervise-daemon-guide.md in the
+distribution for details on its use.
+
+It is now possible to mark certain mount points as critical. If these
+mount points are unable to be mounted, localmount or netmount will fail.
+This is handled in /etc/conf.d/localmount and /etc/conf.d/netmount. See
+these files for the setup.
+
+The deprecation messages in 0.13.x for runscript and rc are now
+made visible in preparation for the removal of these binaries in 1.0.
+
## OpenRC-0.19
This version adds a net-online service. By default, this
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2016-05-24 19:10 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2016-05-24 19:10 UTC (permalink / raw
To: gentoo-commits
commit: 5bfb7d6c77ff533e34e2bbfe5b6e57410d961d70
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Tue May 24 19:02:35 2016 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Tue May 24 19:02:35 2016 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=5bfb7d6c
Update ChangeLog
ChangeLog | 1066 ++++++++++++++++++++++++-------------------------------------
1 file changed, 411 insertions(+), 655 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 29ce6fc..e72970c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,414 @@
+commit 12c8248b5f53879935d4e62ef42023f703c7b636
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ update news for 0.21
+
+commit 820ef6dab674c2878d72edc8ea21e7250b1b5aec
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ supervise-daemon: clarify documentation about configuring daemon not to fork
+
+commit 87884db66767eba6317b506a4d7270dd22721831
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Make deprecation warnings for rc and runscript more visible
+
+ These warnings were inserted in verbose only mode in OpenRC-0.13.A
+ Now, we are making them more visible in preparation for removing these
+ compatibility binaries in the future.
+
+commit 94077d264e14783e6ca5603d64e9d579fb206c20
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ supervise-daemon: log the exit code or signal when a child process dies
+
+commit 3351c8b4c3027f09003f8ba33e43f46762f5c453
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ supervise-daemon.sh: add support for chroot variable
+
+commit a8214af2fe3aa91930e3270af99cf1d9b7ef5b0a
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ start-stop-daemon.sh: fix regression in chroot support
+
+ The support for the chroot variable was broken in 0.16, this fixes that
+ breakage.
+
+commit 9a372812c78ea8efc55b3dea6a39c2d0559bca45
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ guide.md: typo fix
+
+ This fixes #86.
+
+commit 3fa9015b8e5610d38366f781a08789e34159b0dc
+Author: Jason Zaman <jason@perfinion.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ rc-selinux: access check was backwards
+
+commit 3b5a8b331e81ecd9a9362553c16f4527291d5528
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ supervise-daemon: add pam service file
+
+commit b3a04e797e5e459842c2c239886ab6ea08a8dc29
+Author: Anthony G. Basile <blueness@gentoo.org>
+Commit: Anthony G. Basile <blueness@gentoo.org>
+
+ runlevels/Makefile: add support for runlevel ‘nonetwork’
+
+ Traditional System V reserves runlevel 2 for multiuser with no
+ networking. We add support for this which is already defined in
+ the inittab as
+
+ l2:2:wait:/sbin/rc nonetwork
+
+ X-Gentoo-Bug: 533828
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=533828
+
+ Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
+
+commit 92e2f2c7cc958effcec0ef773dda954a153d8e42
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ killprocs: remove calls to sleep
+
+ X-Gentoo-Bug: 487084
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=487084
+
+commit ad23d5b8dbee70815c02271c78f415bcd7088076
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ openrc-run: clean up runscript deprecation message
+
+commit 62410eaf4ba92516a58a550717d7f3faf63bb79f
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ add daemon supervisor
+
+ The supervise-daemon process is meant to be a lightweight supervisor
+ which can monitor and restart a daemon if it crashes.
+
+commit fd80b6fc67ec6a0fe4853167fb67ee40bb51b742
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ localmount/netmount: clean up critical mount processing
+
+ Fix a typo and do not fail if a path in critical_mounts is not listed as
+ a critical mount does not get mounted.
+
+commit 5d130cc45cd334fd38b0c6874bcc81ac74636217
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ localmount/netmount: allow mount points to be marked critical
+
+ In previous releases, we either treated no mount points as critical or
+ all of them.
+
+ Now both localmount and netmount support a critical_mounts setting. If
+ mount points listed in this setting fail to mount, localmount and
+ netmount will fail.
+
+commit 1c3c2cf6d8cb060d03919297f5fe706f6027a4c6
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ netmount: fix mounting on Linux
+
+ Before this commit, on Linux, we were always trying to mount file
+ systems marked with _netdev, even when the previous mount command
+ failed. Now, we do not run the second mount if the first fails.
+
+ X-Gentoo-Bug: 579876
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=579876
+
+commit 171e856ec8a0a64504b4b4a47ab6181d37fc3dbe
+Author: Mike Gilbert <floppym@gentoo.org>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ start-stop-daemon: Allow group read/write when creating output files
+
+ This allows for better interaction with inherited ACL entries.
+ This fixes #84.
+
+ X-Gentoo-Bug: 577362
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/577362
+
+commit beaa71df0ab2cfa61beba4be0303099aa6c75e6a
+Author: Dustin C. Hatch <dustin@hatch.name>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ binfmt.sh: use read in raw mode
+
+ The read builtin in most shells will interpret backslash characters
+ as escapes, and they are lost when reading binfmt files line-by-line.
+ This causes magic strings containing backslashes to be mangled and
+ become invalid, resulting in erroneous 'invalid entry' messages.
+
+ The -r option to read disables special handling of backslashes and
+ keeps all lines intact.
+
+ X-Gentoo-Bug: 575114
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=575114
+
+commit 7eaf71176b87ae69bfa622aa621341a19a9d32b0
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Fix rc_env_allow wildcard usage
+
+ Before this commit, using * in rc_env_allow did not work.
+
+ This fixes #60.
+
+commit 2c1f6a16e10a45397e0872585dcb0e16684b6cbf
+Author: Mike Frysinger <vapier@gentoo.org>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ sysfs: mount pstore when available
+
+commit e82653782e1803e3c924aef055113333b18dafd9
+Author: Patrick Lauer <patrick@gentoo.org>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Add a basic OpenRC users guide
+
+ X-Gentoo-Bug: 513024
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=513024
+
+commit e52b5f59c22283b22e2b5a0d2ab9de6b92a73ebf
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ savecache: stop saving nettree
+
+ Netifrc is no longer part of OpenRC, so we shouldn't save its dep tree
+ as part of savecache.
+
+ This should have been removed when netifrc was split out. also, it
+ might be related to the following bug.
+
+ X-Gentoo-Bug: 563720
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=563720
+
+commit 8a7e4d38a74c714e1a532e1b7a53fd2a5c528b63
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ rc-service: add --ifinactive and --ifnotstarted flags
+
+ X-Gentoo-Bug: 523174
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=523174
+
+commit 47dd5e37cbf372df3ee0fad2c87226dce5b51587
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ add back deprecation warnings lost during refactoring
+
+commit e277ae57efaba3be3eb619fd00084b116c370231
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ fix tests
+
+ X-Gentoo-Bug: 572602
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=572602
+
+commit 69f052b611878d771fc3f56ee77639269db9b6e1
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ librc: Complain when a real and virtual service have the same name
+
+commit e4eacf02cae10eca48f6906592981d701b0c1973
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ openrc-run: in verbose mode, log execution of the shell script
+
+ This is to show when openrc-run runs the openrc-run.sh script; it is
+ used for debugging.
+
+commit 30c3561b6b648d60174a22a73555b680d2cc86fc
+Author: Colin Booth <colin@heliocat.net>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ sh/s6.sh: update s6-svc syntax to be valid for 2.2.0.0+
+
+ The s6-svc syntax changed for wait-up, wait-ready, wait-down, and
+ wait-finished. This changes the s6 handling script to use the current
+ valid syntax.
+
+ This fixes #65.
+
+commit 5f2850366ea0f30f0f9cb6b129b69192c11e74ac
+Author: Manuel Rüger <manuel@rueg.eu>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Fix typo
+
+ This fixes #70.
+
+commit 1cb7eec31f37db0de11a4b39939fd3fbe17c1e24
+Author: Gokturk Yuksek <gokturk@binghamton.edu>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ conf.d/bootmisc: typo fix: s/dmesc/dmesg/
+
+ This fixes #72.
+
+commit cd7883d25d0a9321b68df1c1e6ad9662306fa9e7
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ localmount: Allow users to control whether errors are ignored
+
+ X-Gentoo-Bug: 572138
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=572138
+
+commit 62b49b2a3ad1c13012305b4d7281d7f6543c70d7
+Author: Doug Freed <dwfreed@mtu.edu>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ rc: remove use of magic constant and allow OpenVZ to drop to shell
+
+ OpenVZ has had console support for a long time now; allow them to use it
+ to drop to a shell during interactive boot.
+
+commit 4c814a0a285565bc09d662f602f93dbb938503c6
+Author: Doug Freed <dwfreed@mtu.edu>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ librc: handle rc_sys="prefix" even if we weren't built with a prefix
+
+ This probably isn't needed, but it mimics old behavior.
+
+commit 36dde4e7f21afba36a96837aa86f2b5d2dae3807
+Author: Doug Freed <dwfreed@mtu.edu>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ librc: fix handling the nothing special case for rc_sys
+
+commit 649f63d882d53533ae8b1c3b28967e772e738c45
+Author: Doug Freed <dwfreed@mtu.edu>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ librc: move system detection code into rc_sys and use it
+
+ This fixes an issue where librc code was calling code that only existed
+ in the rc binary.
+
+ This reverts commits 8addd79 and 9f6e056
+
+ This fixes #75.
+
+commit 55a28f5d2524615560698453a5a6afd50460030c
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Revert "rc: make get_systype similar to the old rc_sys function"
+
+ This reverts commit f79a7a7be18d68bf264efc60d82838d03048da6b.
+
+commit 6c0942137572608d02eb4b34bad55c9bf418a6ba
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Revert "librc: fix librc-depend functions to call rc_sys"
+
+ This reverts commit 73482cf13a338051606788957cbd0031ac850c70.
+
+commit 79359f77cc786e18695368bccb6b6186ecfe38c0
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ fix bsd build
+
+ X-Gentoo-Bug: 572068
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=572068
+
+commit f79a7a7be18d68bf264efc60d82838d03048da6b
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ rc: make get_systype similar to the old rc_sys function
+
+commit 73482cf13a338051606788957cbd0031ac850c70
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ librc: fix librc-depend functions to call rc_sys
+
+commit 0910c455d3723ac4d4b793afb61cd82f660547f4
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ src/rc/Makefile: fix make depend target
+
+commit f5e06bc55ab1717ddff8c21f00f48cfcba8cb4a7
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ include rc.h properly in source files
+
+ We were attempting to include rc.h in rc-misc.h instead of the source
+ files where it should be included.
+
+commit e7ae08c38d4753d8d54a4ed60ca98794d85aadd9
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ version 0.21
+
+commit 6da0abc0850dfc99df0ba50cbd0092929ec0107b
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ fix selinux build
+
+ X-Gentoo-Bug: 571798
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=571798
+
+commit b34df9dd817069ade7e0526a59aaa9d3f2beb806
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ fix selinux build
+
+commit 6f02069746f4d8a2331ab7e000abdca9bbdd622d
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Add LANG, LC_MESSAGES and TERM to the environment whitelist
+
+commit d4c7207ef3906daf6f8646e8deb6d968fe76cb36
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ fix seg fault
+
+commit 04f05c30d13ec83b85164a536eb570f29a66b275
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ update ChangeLog
+
commit 9473ac514cb72663d5c3bac8b5473cced4a20bf7
Author: joe9 <joe9mail@gmail.com>
Commit: William Hubbs <w.d.hubbs@gmail.com>
@@ -674,658 +1085,3 @@ Commit: William Hubbs <w.d.hubbs@gmail.com>
using start-stop-daemon.
This fixes #56
-
-commit bbabf546f9d72cbfc48bd839a6d01b402ee6cced
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Document bash's handling of ulimit options
-
- When bash is used in posix mode for the shell, the ulimit command uses
- a block size of 512 bytes for the -c and -f options.
-
- X-Gentoo-Bug: 549238
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=549238
-
-commit a7fcc1e264b035177b4e524a40b27145baa86969
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- S6: kick the scanner and sleep 1.5 seconds to avoid a race condition
-
-commit b79d058f162d8b49ccc968744e7cb1b7a7ba729c
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- s6: Use s6-svc -Dd to stop services
-
- This allows us to get rid of the sleep call in the stop function. Also,
- we set a configurable timeout value for stopping daemons.
-
-commit ddce529c71c2e9f01d8e5666e27050b6ed6c6761
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- More s6 fixes
-
- - When no service link is in the scan directory, show the default
- stopped message.
- - Do not remove the service link when stopping the service.
-
-commit e372f97bebd4866633ad56aa5d5b1ae59fa88118
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Fix the s6 handling
-
- This changes the default s6 service directory to /var/svc.d, also
- it changes the code to work with the individual services instead of
- forcing a rescan when a service is started or stopped.
-
-commit c2abf4b436b8cca8ebed395ff08f5fdc546eadac
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Start work on 0.17
-
-commit d247ac4cbbe0ab62564ef82a5940b4f1a03973b3
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Update changelog
-
-commit bb2d7becfd3008379f8f69b5d036922281aa211f
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Add support for the s6 supervision suite
-
-commit 0f9354becfbd54f9800c93092aa26be859dcf16a
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- man: Clarify the documentation for command_args
-
- The command_args variable only works if using start-stop-daemon to start
- the daemon.
-
-commit a15fa1a3b12a5372c1b3c8d5df7e489648bef913
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Rework supervisor integration framework
-
- The original way of doing this allowed users to change the supervisor in
- conf.d/*. This changes this so that the supervisor setup can be done in
- the service script itself.
-
-commit 0198affc742297b6e203bbcecc14436682119cc7
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- The rc_supervisor variable is a service configuration variable
-
- This variable should not be changed globally unless you really know what
- you are doing.
-
-commit abef2fcb2dbcc277bb05f0d9c674d4b47826f17f
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Make the default start, stop and status functions overridable
-
- This will make it possible to add support for supervision suites such as
- runit and s6.
-
-commit 0b435ddd834bd18254c4d3341acdebf0829921f5
-Author: Jakob Drexel <jake42@rommel.stw.uni-erlangen.de>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- librc: Fix crash if the service name is the same as the including runlevel
-
- If a service has the same name as the runlevel it is in, openrc will
- crash on changing to such runlevel. It goes in a recursive madness and
- eventually gets a SEGV while in snprintf (don't know why).
-
- This fixes two errors:
- 1. ls_dir stats files not with full path -> stat always returns != 0
- 2. ls_dir adds files to list if stat failed
-
- This fixes #53.
-
- X-Gentoo-Bug: 537304
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=537304
-
-commit 9f6427ea57c6c950b4d1c356ad1bfb0aa8deb40b
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Start work on 0.16
-
-commit 60488069c08201cbfbc661a3e7bd1fafa31fceed
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- update ChangeLog
-
-commit 9225bfa6918cfd488c8f1055cf986b542f1f157e
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Build: make snapshot remove .git directory from tarball
-
-commit 7bd456ed7bf35da2d7a53650baa33637e178064e
-Author: Mike Gilbert <floppym@gentoo.org>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Disable service scripts for systemd-nspawn
-
- This adds the -systemd-nspawn keyword to service scripts which are not
- intended to run in systemd-nspawn containers.
-
- This fixes #52.
-
- X-Gentoo-Bug: 548058
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=548058
-
-commit c709e6077c6eda3f4f7e7222298213413254ee0f
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Add support for systemd-nspawn containers
-
- This adds support for running OpenRC in a container created by
- the systemd-nspawn utility.
-
- This fixes #52.
-
- X-Gentoo-Bug: 548058
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=548058
-
-commit a27d577da8cf4f1c7f9784a043ecf02d71a81ca6
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Build: fix the dist target
-
- The dist target now creates an archive based on the version setting.
- This makes it possible to create an archive identical to the ones github
- generates once the release is tagged.
-
-commit 8b9349208696e5caed1a8b34f066cec4ee642194
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- convert all references from runscript to openrc-run
-
-commit 4b1b457cd15cc1609c101b99a49a5e4c67b62567
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Start work on 0.15
-
-commit 1d6602bb8e7062323ead03eaa0c4ae307c517b9e
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Add ChangeLog
-
-commit a6391f44ee6c68d674ae8425983467b971710d5d
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- mtab: move toward requiring /etc/mtab to be a symbolic link
-
- This changes the mtab service in the following way:
-
- - If /etc/mtab is a symbolic link, success is returned.
- - If /etc is not writable, we warn that we could not update /etc/mtab
- and return success.
- - If /etc/mtab does not exist, we create a symbolic link from
- /etc/mtab to /proc/self/mounts.
- - Otherwise, we warn that updating /etc/mtab as a file is
- deprecated and continue to update it after outputting instructions to
- the user for how to move it to a symbolic link.
-
-commit a8c6dbac96a20eb35ce55befe0e64d89dd30de4d
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- typo fix in NEWS
-
- The binfmt service should be added to the boot runlevel, not sysinit.
-
-commit a7c0400177e504fe07e7c39168b7a92e40ab334a
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Update news
-
-commit 03803ae8e966755e8bf6d52b61209792cb830cf4
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- start-stop-daemon: redirect stdin if --background option is used
-
- X-Gentoo-Bug: 498684
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=498684
-
-commit 1c2f7bf607ee7e24dca0a2710cef9e9b24e819f7
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Convert feature removal schedule to markdown
-
-commit 1ebffa517f6f1dafc206d5ee943d3cacd25feaf6
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Convert news to markdown
-
-commit e6dd26d185e4a9722f4d4813a084ca77eba913c7
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- convert README.history to markdown
-
-commit 628b35e1beeea6aaab181b1511b2a879bdc45b61
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Update busybox documentation
-
- Convert README.busybox to markdown and add the note on the sysctl applet
- incompatibility.
-
-commit ebc32aadada564095b70f0ff439a9863102a2ae5
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Convert style guide to markdown
-
-commit 362dfa33804d2ba5bed241f697aac0178be07d3d
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- README.md: small formatting changes
-
-commit dccc0a91292240022c4b120304b9198055d0d240
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Update README.md format and bug reporting information
-
-commit c2aa56a7c49214b1fef355f79dfcd94265efe089
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Rename README README.md
-
- This fixes #26.
-
-commit 23d806ca24845261fd89104c16bc28a60505fe5c
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- savecache: clean up creation of cache directory
-
- The cache directory should be created via mkdir -p instead of
- mkdir. This makes sure all parent directories are created.
-
- Also, we now display an error message explaining that we were unable to
- create the cache directory if creation fails.
-
-commit de7d184909d561b68b411325d32471c047549bca
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- savecache: fix check for $RC_LIBEXECDIR writability
-
- We were originally checking to see if $RC_LIBEXECDIR/cache was writable. For
- a new install, this check will fail since this path does not exist. This
- is also incorrect because later we create $RC_LIBEXECDIR/cache.
-
- The correct check is checkpath -W $RC_LIBEXECDIR, and this fixes the
- issue.
-
- X-Gentoo-Bug: 544632
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=544632
-
-commit 15ab3f39c69ff8d69fd08a9cde7495a04b4dec9e
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- cgroups: use printf to write to cgroup files
-
- This fixes #33.
-
-commit ee1768a419122d288256cce1723d4997bd965eab
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Add binfmt service to sysinit runlevel
-
- This makes binfmt processing behave like tmpfiles processing which
- follows the same specification as systemd.
-
- This fixes #48.
-
- X-Gentoo-Bug: 545162
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=545162
-
-commit 95ed0665393c353dbc24afb8c63c615402136f5d
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- procfs: do not force loading of usbcore module
-
- It appears that the only reason we were force loading the usbcore
- module was to facilitate mounting usbfs. Since we no longer mount
- usbfs, this is no longer necessary.
-
- X-Gentoo-Bug: 480312
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=480312
-
-commit 4c5132421f37bd6831eab1f9527a197340f2e9ae
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- procfs: remove usbfs and usbdevfs support
-
- The usbfs and usbdevfs file systems have been deprecated since
- Linux-2.6.32, so we remove the code to automount them.
-
- X-Gentoo-Bug: 480312
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=480312
-
-commit 6d81d3be1bcba81a68086f2a17561d13e1f844e6
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- procfs: do not test for the existence of /proc/filesystems
-
- The test for the existence of /proc/filesystems is redundant since we
- always return success.
-
-commit 8d307a6fadd516f26d9c72016119277a7a5c1946
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- procfs: remove redundant check for OpenVZ
-
- The check for OpenVZ is not necessary since the procfs service already
- will not run on OpenVZ due to the keywords setting.
-
-commit 62addf118067dd2cd57c3f5fee35c9e80f9fec42
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Move SELinux mount to sysfs service
-
- The selinux file system is mounted under /sys, so move the code for it
- to the appropriate service.
-
- X-Gentoo-Bug: 546290
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=546290
-
-commit 1eab656ca1d3258ff00495710a68ad459ce50d3e
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Fix tmpfiles processing
-
- Tmpfiles.d processing had /run overriding /usr/lib and /etc, but this is
- not correct. The correct order, from lowest to highest, for tmpfiles
- processing is:
-
- * /usr/lib/tmpfiles.d/*.conf
- * /run/tmpfiles.d/*.conf
- * /etc/tmpfiles.d
-
- This means /run/tmpfiles.d/*.conf can override /etc/tmpfiles.d/*.conf,
- but /etc/tmpfiles.d/*.conf can override both of them.
-
- This fixes #49.
-
-commit 731a3affdce31e2971a84cde11df2d122049ec99
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Fix script execution in the local service
-
- The local service should use eval when it executes scripts since it has
- the redirection set up in a variable.
-
- This fixes #50.
- X-Gentoo-Bug: 545012
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=545012
-
-commit 3e9bb3b021620654f99a0ead71ed73d34b5c6826
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Make sysctl on Linux respect rc_verbose setting
-
- We do not need to spam the console with variable settings by default.
- This fixes #51.
-
- X-Gentoo-Bug: 541922
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=541922
-
-commit c068762c4cf49e7ea9719dcab2e5f7d4c4e7e2e5
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: Doug Freed <dwfreed@mtu.edu>
-
- Fix rc_verbose processing
-
- We were processing the rc_verbose setting before we sourced the
- configuration file where it was set; this fixes the issue.
-
- Fixes #46
-
-commit b8ab99b5d3ee1a93f215157c36fb120857afde64
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- checkpath: Remove the last HAVE_SELINUX test
-
-commit a4cf61e8bf827dc405a547c314e840dab11fc979
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- selinux: unconditionally include the header and provide stub methods
-
- If selinux is disabled, then stub methods will be provided instead of
- calling the real methods. This removes some warnings about unused
- parameters which used to be covered up with #ifdef HAVE_SELINUX.
-
- Signed-off-by: Jason Zaman <jason@perfinion.com>
-
-commit d38cc8f2210e839c4935208917138e4809ece758
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- checkpath: fix warning about selinux_on being unused
-
-commit f085ae400c60289f61d99e9e80ce037beedf38b4
-Author: Doug Freed <dwfreed@mtu.edu>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Fix some compiler warnings
-
- librc: Fix C90 warning (mixed declaration and code)
- rc: Fix warning about discarding const qualifier
-
- Fixes #45.
-
-commit c1faafcad8197a821282b8e56a10132e27eb5d9f
-Author: Will Miles <wmiles@sgl.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- start-stop-daemon: Fix regression for --test
-
- The previous fix to --test (PR #34) prevented reading one too many
- arguments when --exec -or --name was not specified, but created a
- regression where the last argument would not print if either of those
- arguments was specified. This corrects the issue.
-
- Fixes #41.
-
-commit de93587affb17675e6f7cab2b85613d61e11b98b
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: Doug Freed <dwfreed@mtu.edu>
-
- Silence warning about _DEFAULT_SOURCE for Linux/glibc
-
- In >=glibc-2.20, the _BSD_SOURCE macro is deprecated in favor of
- _DEFAULT_SOURCE. This adds -D_DEFAULT_SOURCE to CPPFLAGS on Linux.
-
- Fixes #44
-
-commit be497229b64613ebfbc4073985107a275d49f78e
-Author: Anthony Donnelly <Amzo@archbsd.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Fix savecore service on FreeBSD
-
- savecore -C only needs the dumpdevice otherwise it causes an error on startup.
-
- This fixes #40.
-
-commit e16b7183e90090ecee539697508582d208859a8b
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- mk/os-GNU.mk: fix typo
-
- MAX_PATH should have been PATH_MAX
-
-commit ccd83a5e9cc24833e1ab098cac1688f69ab6e9b6
-Author: Will Miles <wmiles@sgl.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- savecache: Make sure cache directory exists before running checkpath
-
- checkpath -W can fail if the specified path doesn't actually exist yet.
- In this case savecache script should attempt to create the path if it is
- missing, however it is pre-empted by the checkpath call. This patch adds
- an explicit existence test before executing checkpath.
-
- This fixes #36.
-
-commit 7bbb73574b44972b0c1b364e24f71623068d7a1c
-Author: Robin H. Johnson <robbat2@gentoo.org>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- bootmisc: clean_run safety improvements.
-
- If /tmp or / are read-only, the clean_run function can fail in some very
- bad ways.
-
- 1. dir=$(mktemp -d) returns an EMPTY string on error.
- 2. "mount -o bind / $dir", and don't check the result of that,
- 3. "rm -rf $dir/run/*", which removes the REAL /run contents
- 4. box gets very weird from this point forward
-
- Signed-Off-By: Robin H. Johnson <robbat2@gentoo.org>
- Signed-Off-By: Chip Parker <infowolfe@gmail.com>
- Reported-by: Chip Parker <infowolfe@gmail.com>
- Tested-by: Chip Parker <infowolfe@gmail.com>
-
-commit a0378f38713e630e1af9101c2ece5d27ca2130fe
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- checkpath: do not chown or chmod symbolic links
-
- This is another security fix. If you use chown() or chmod() on a
- symbolic link, it affects the referenced file, not the symbolic link
- itself.
-
- X-Gentoo-Bug: 540006
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=540006
-
-commit 423f82bae9f91f1f5a27d30a2542d8884c6f757a
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- ChangeLog: show authors and committers
-
-commit 9dfb85d5d236dd126d13d039eb02a97aa0e6c8ac
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- local: fix redirections
-
- The local service now redirects stdout and stderr for the scripts it
- runs to /dev/null unless it is run in verbose mode.
-
- X-Gentoo-Bug: 537444
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=537444
-
-commit 6781667641580fef852ccffc2f42d060f791b354
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- typo fix
-
-commit b17af3c85fc94ecc12857146ba2133a3782ead52
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- checkpath: security fix for -m and -o options
-
- Do not change permissions on the target if it is a file and has multiple
- hard links. This is necessary because a hard link can be an attack
- vector to gain privilege escalation.
-
- X-Gentoo-Bug: 540006
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=540006
-
-commit 3100114bc104741145fb6c1d4b1664759114cc5c
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Add nfsclient to netmount use dependencies
-
- X-Gentoo-Bug: 537996
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=537996
-
-commit 3f80f22e22ec16ed517397fd303c3df99f9340fc
-Author: Will Miles <wmiles@sgl.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Prioritize local includes and libraries
-
- This fixes #35.
-
-commit 8250ac94dfc6156075081e0e2d0986cb51b3098d
-Author: Consus <consus@gmx.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- tmpfiles.*: Follow OpenRC's message style
-
- Just to be consistent.
-
-commit fbdd669ba7c5d1a67129236b4ffcd76198340a1b
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Makefile: add variable for path to source tree
-
- Add a new variable, ${TOP}, to the top level makefile, which points to
- the path of the source tree.
-
-commit cddb4aad08615420320f75050042d946b18d2bb5
-Author: Will Miles <wmiles@sgl.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Fix off-by-one error in --test argument printout in start-stop-daemon.
-
- Fixes #34.
-
-commit 3c5dc0ec7774a72e243da43ac5180ea36a311ad8
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- tmpfiles.dev: pass --boot to tmpfiles.sh so kmod works properly
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2016-06-10 21:12 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2016-06-10 21:12 UTC (permalink / raw
To: gentoo-commits
commit: 1b32af17225a4b18ced7f4326727cbe8265e7fd2
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Fri Jun 10 21:02:25 2016 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Fri Jun 10 21:02:25 2016 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=1b32af17
increment version to 0.22
Makefile.inc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile.inc b/Makefile.inc
index 7b83a65..bd85c44 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -1,3 +1,3 @@
NAME= openrc
-VERSION= 0.21
+VERSION= 0.22
PKG= ${NAME}-${VERSION}
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2016-07-25 18:54 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2016-07-25 18:54 UTC (permalink / raw
To: gentoo-commits
commit: 5341a925c15934674031aebb97533b0adcd10236
Author: Jakub Jirutka <jakub <AT> jirutka <DOT> cz>
AuthorDate: Fri Jul 22 21:24:49 2016 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Mon Jul 25 18:52:38 2016 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=5341a925
s6-guide: fix typo
This fixes #92.
s6-guide.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/s6-guide.md b/s6-guide.md
index 630d778..52262b3 100644
--- a/s6-guide.md
+++ b/s6-guide.md
@@ -1,7 +1,7 @@
# Using S6 with OpenRC
Beginning with OpenRC-0.16, we support using the s6 supervision suite
-from Skarmet Software in place of start-stop-daemon for monitoring
+from Skarnet Software in place of start-stop-daemon for monitoring
daemons [1].
## Setup
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2016-08-25 22:35 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2016-08-25 22:35 UTC (permalink / raw
To: gentoo-commits
commit: 5d5856c193768d24f11d5f0533e48c39526aef5c
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Thu Aug 25 22:33:04 2016 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Thu Aug 25 22:33:04 2016 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=5d5856c1
Update news file
Add information on modules-load service and more explanation about
dealing with the rc -> openrc and runscript -> openrc-run transitions.
NEWS.md | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/NEWS.md b/NEWS.md
index c7e2d12..1a445bd 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -17,6 +17,19 @@ these files for the setup.
The deprecation messages in 0.13.x for runscript and rc are now
made visible in preparation for the removal of these binaries in 1.0.
+The steps you should take to get rid of these warnings is to run openrc
+in initialization steps instead of rc and change the shebang lines in
+service scripts to refer to "openrc-run" instead of "runscript".
+
+In 0.21.4, a modules-load service was added. This works like the
+equivalent service in systemd. It looks for files named *.conf first in
+/usr/lib/modules-load.d, then /run/modules-load.d, then
+/etc/modules-lload.d. These files contain, a list of modules, one per
+line, which should be loaded into the kernel. If a file name appears in
+/run/modules-load.d, it overrides a file of the same name in
+/usr/lib/modules-load.d. A file appearing in /etc/modules-load.d
+overrides a file of the same name in both previous directories.
+
## OpenRC-0.19
This version adds a net-online service. By default, this
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2016-08-30 14:16 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2016-08-30 14:16 UTC (permalink / raw
To: gentoo-commits
commit: 9dd8ee330d8a4449c937bc95fc8393a55913c8d1
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Fri Aug 26 02:05:45 2016 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Fri Aug 26 02:05:45 2016 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=9dd8ee33
typo fix
NEWS.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/NEWS.md b/NEWS.md
index 1a445bd..74dc59a 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -24,7 +24,7 @@ service scripts to refer to "openrc-run" instead of "runscript".
In 0.21.4, a modules-load service was added. This works like the
equivalent service in systemd. It looks for files named *.conf first in
/usr/lib/modules-load.d, then /run/modules-load.d, then
-/etc/modules-lload.d. These files contain, a list of modules, one per
+/etc/modules-load.d. These files contain, a list of modules, one per
line, which should be loaded into the kernel. If a file name appears in
/run/modules-load.d, it overrides a file of the same name in
/usr/lib/modules-load.d. A file appearing in /etc/modules-load.d
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2016-08-30 14:16 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2016-08-30 14:16 UTC (permalink / raw
To: gentoo-commits
commit: 04debf6f25b3748a101b61cb85f78617dbe5be6e
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Tue Aug 30 14:08:17 2016 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Tue Aug 30 14:15:34 2016 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=04debf6f
another news typo fix
NEWS.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/NEWS.md b/NEWS.md
index 74dc59a..4331014 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -24,7 +24,7 @@ service scripts to refer to "openrc-run" instead of "runscript".
In 0.21.4, a modules-load service was added. This works like the
equivalent service in systemd. It looks for files named *.conf first in
/usr/lib/modules-load.d, then /run/modules-load.d, then
-/etc/modules-load.d. These files contain, a list of modules, one per
+/etc/modules-load.d. These files contain a list of modules, one per
line, which should be loaded into the kernel. If a file name appears in
/run/modules-load.d, it overrides a file of the same name in
/usr/lib/modules-load.d. A file appearing in /etc/modules-load.d
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2016-09-09 0:28 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2016-09-09 0:28 UTC (permalink / raw
To: gentoo-commits
commit: 63f8ae466f046dcdbb0ba13ef96e63eeec86e6e6
Author: frickler01 <frickler01 <AT> users <DOT> noreply <DOT> github <DOT> com>
AuthorDate: Fri Sep 2 12:10:05 2016 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Fri Sep 9 00:27:47 2016 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=63f8ae46
Format code blocks and variable/path notations
Add markdown backticks for commands, variable names and path as well
as code blocks for better readability.
This fixes #97.
guide.md | 122 ++++++++++++++++++++++++++++++++++++---------------------------
1 file changed, 70 insertions(+), 52 deletions(-)
diff --git a/guide.md b/guide.md
index a3195b0..6be11b1 100644
--- a/guide.md
+++ b/guide.md
@@ -16,14 +16,14 @@ Current size is about 10k LoC C, and about 4k LoC shell.
OpenRC is known to work on Linux, many BSDs (FreeBSD, OpenBSD, DragonFlyBSD at
least) and HURD.
-Services are stateful (i.e. start; start will lead to "it's already started")
+Services are stateful (i.e. `start`; `start` will lead to "it's already started")
# Startup
-Usually PID1 (aka. init) calls the OpenRC binary ("/sbin/openrc" by default).
+Usually PID1 (aka. `init`) calls the OpenRC binary (`/sbin/openrc` by default).
(The default setup assumes sysvinit for this)
-openrc scans the runlevels (default: "/etc/runlevels") and builds a dependency
+openrc scans the runlevels (default: `/etc/runlevels`) and builds a dependency
graph, then starts the needed service scripts, either serialized (default) or in
parallel.
@@ -32,29 +32,29 @@ daemon. (Integration with tools like monit, runit or s6 can be done)
# Shutdown
-On change to runlevel 0/6 or running "reboot", "halt" etc., openrc stops all
-services that are started and runs the services in the "shutdown" runlevel.
+On change to runlevel 0/6 or running `reboot`, `halt` etc., openrc stops all
+services that are started and runs the services in the `shutdown` runlevel.
# Modifying Service Scripts
Any service can, at any time, be started/stopped/restarted by executing
-"rc-service someservice start", "rc-service someservice stop", etc.
+`rc-service someservice start`, `rc-service someservice stop`, etc.
Another, less preferred method, is to run the service script directly,
-e.g. "/etc/init.d/service start", "/etc/init.d/service stop", etc.
+e.g. `/etc/init.d/service start`, `/etc/init.d/service stop`, etc.
OpenRC will take care of dependencies, e.g starting apache will start network
first, and stopping network will stop apache first.
-There is a special command "zap" that makes OpenRC 'forget' that a service is
+There is a special command `zap` that makes OpenRC 'forget' that a service is
started; this is mostly useful to reset a crashed service to stopped state
without invoking the (possibly broken) stop function of the service script.
-Calling "openrc" without any arguments will try to reset all services so
+Calling `openrc` without any arguments will try to reset all services so
that the current runlevel is satisfied; if you manually started apache it will be
stopped, and if squid died but is in the current runlevel it'll be restarted.
-There is a "service" helper that emulates the syntax seen on e.g. older Redhat
-and Ubuntu ("service nginx start" etc.)
+There is a `service` helper that emulates the syntax seen on e.g. older Redhat
+and Ubuntu (`service nginx start` etc.)
# Runlevels
@@ -65,100 +65,112 @@ own if needed. This allows, for example, to have a default runlevel with
"everything" enabled, and a "powersaving" runlevel where some services are
disabled.
-The "rc-status" helper will print all currently active runlevels and the state
+The `rc-status` helper will print all currently active runlevels and the state
of init scripts in them:
+```
# rc-status
* Caching service dependencies ... [ ok ]
Runlevel: default
modules [ started ]
lvm [ started ]
+```
-All runlevels are represented as folders in /etc/runlevels/ with symlinks to
+All runlevels are represented as folders in `/etc/runlevels/` with symlinks to
the actual init scripts.
-Calling openrc with an argument ("openrc default") will switch to that
+Calling openrc with an argument (`openrc default`) will switch to that
runlevel; this will start and stop services as needed.
-Managing runlevels is usually done through the "rc-update" helper, but could of
+Managing runlevels is usually done through the `rc-update` helper, but could of
course be done by hand if desired.
-e.g. "rc-update add nginx default" - add nginx to the default runlevel
-Note: This will not auto-start nginx! You'd still have to trigger "rc" or run
+e.g. `rc-update add nginx default` - add nginx to the default runlevel
+Note: This will not auto-start nginx! You'd still have to trigger `rc` or run
the initscript by hand.
FIXME: Document stacked runlevels
-The default startup uses the runlevels "boot", "sysinit" and "default", in that
-order. Shutdown uses the "shutdown" runlevel.
+The default startup uses the runlevels `boot`, `sysinit` and `default`, in that
+order. Shutdown uses the `shutdown` runlevel.
# Syntax of Service Scripts
Service scripts are shell scripts. OpenRC aims at using only the standardized
POSIX sh subset for portability reasons. The default interpreter (build-time
-toggle) is /bin/sh, so using for example mksh is not a problem.
+toggle) is `/bin/sh`, so using for example mksh is not a problem.
OpenRC has been tested with busybox sh, ash, dash, bash, mksh, zsh and possibly
others. Using busybox sh has been difficult as it replaces commands with
builtins that don't offer the expected features.
-The interpreter for initscripts is #!/sbin/openrc-run
+The interpreter for initscripts is `#!/sbin/openrc-run`.
Not using this interpreter will break the use of dependencies and is not
-supported. (iow: if you insist on using #!/bin/sh you're on your own)
+supported. (iow: if you insist on using `#!/bin/sh` you're on your own)
-A "depend" function declares the dependencies of this service script.
+A `depend` function declares the dependencies of this service script.
All scripts must have start/stop/status functions, but defaults are provided.
Extra functions can be added easily:
+```
extra_commands="checkconfig"
checkconfig() {
doSomething
}
+```
-This exports the checkconfig function so that "/etc/init.d/someservice
-checkconfig" will be available, and it "just" runs this function.
+This exports the checkconfig function so that `/etc/init.d/someservice
+checkconfig` will be available, and it "just" runs this function.
-While commands defined in extra_commands are always available, commands
-defined in extra_started_commands will only work when the service is started
-and those defined in extra_stopped_commands will only work when the service is
+While commands defined in `extra_commands` are always available, commands
+defined in `extra_started_commands` will only work when the service is started
+and those defined in `extra_stopped_commands` will only work when the service is
stopped. This can be used for implementing graceful reload and similar
behaviour.
Adding a restart function will not work, this is a design decision within
OpenRC. Since there may be dependencies involved (e.g. network -> apache) a
restart function is in general not going to work.
-restart is internally mapped to stop() + start() (plus handling dependencies).
+restart is internally mapped to `stop()` + `start()` (plus handling dependencies).
If a service needs to behave differently when it is being restarted vs
-started or stopped, it should test the $RC_CMD variable, for example:
-
- [ "$RC_CMD" = restart ] && do_something
+started or stopped, it should test the `$RC_CMD` variable, for example:
+```
+[ "$RC_CMD" = restart ] && do_something
+```
# The Depend Function
This function declares the dependencies for a service script. This
determines the order the service scripts start.
+```
depend() {
need net
use dns logger netmount
want coolservice
}
+```
-"need" declares a hard dependency - net always needs to be started before this
+`need` declares a hard dependency - net always needs to be started before this
service does
-"use" is a soft dependency - if dns, logger or netmount is in this runlevel
+
+`use` is a soft dependency - if dns, logger or netmount is in this runlevel
start it before, but we don't care if it's not in this runlevel.
- "want" is between need and use - try to start coolservice if it is
+ `want` is between need and use - try to start coolservice if it is
installed on the system, regardless of whether it is in the
runlevel, but we don't care if it starts.
-"before" declares that we need to be started before another service
-"after" declares that we need to be started after another service, without
+
+`before` declares that we need to be started before another service
+
+`after` declares that we need to be started after another service, without
creating a dependency (so on calling stop the two are independent)
-"provide" allows multiple implementations to provide one service type, e.g.:
- 'provide cron' is set in all cron-daemons, so any one of them started
+
+`provide` allows multiple implementations to provide one service type, e.g.:
+ `provide cron` is set in all cron-daemons, so any one of them started
satisfies a cron dependency
-"keyword" allows platform-specific overrides, e.g. "keyword -lxc" makes this
+
+`keyword` allows platform-specific overrides, e.g. `keyword -lxc` makes this
service script a noop in lxc containers. Useful for things like keymaps,
module loading etc. that are either platform-specific or not available
in containers/virtualization/...
@@ -169,31 +181,36 @@ FIXME: Anything missing in this list?
All service scripts are assumed to have the following functions:
+```
start()
stop()
status()
+```
-There are default implementations in rc/sh/openrc-run.sh - this allows very
+There are default implementations in `lib/rc/sh/openrc-run.sh` - this allows very
compact service scripts. These functions can be overridden per service script as
needed.
The default functions assume the following variables to be set in the service
script:
+```
command=
command_args=
pidfile=
+``
Thus the 'smallest' service scripts can be half a dozen lines long
-# The Magic of Conf.d
+# The Magic of `conf.d`
Most service scripts need default values. It would be fragile to
-explicitly source some arbitrary files. By convention openrc-run will source
-the matching file in /etc/conf.d/ for any script in /etc/init.d/
+explicitly source some arbitrary files. By convention `openrc-run` will source
+the matching file in `/etc/conf.d/` for any script in `/etc/init.d/`
This allows you to set random startup-related things easily. Example:
+```
conf.d/foo:
START_OPTS="--extraparameter sausage"
@@ -201,6 +218,7 @@ init.d/foo:
start() {
/usr/sbin/foo-daemon ${STARTOPTS}
}
+```
The big advantage of this split is that most of the time editing of the init
script can be avoided.
@@ -213,34 +231,34 @@ mostly syntax-compatible to Debian's s-s-d, but has been rewritten from scratch.
It helps with starting daemons, backgrounding, creating PID files and many
other convenience functions related to managing daemons.
-# /etc/rc.conf
+# `/etc/rc.conf`
This file manages the default configuration for OpenRC, and it has examples of
per-service-script variables.
-Among these are rc_parallel (for parallelized startup), rc_log (logs all boot
+Among these are `rc_parallel` (for parallelized startup), `rc_log` (logs all boot
messages to a file), and a few others.
# ulimit and CGroups
-Setting ulimit and nice values per service can be done through the rc_ulimit
+Setting `ulimit` and `nice` values per service can be done through the `rc_ulimit`
variable.
Under Linux, OpenRC can optionally use CGroups for process management.
By default each service script's processes are migrated to their own CGroup.
-By changing certain values in the conf.d file limits can be enforced per
+By changing certain values in the `conf.d` file limits can be enforced per
service. It is easy to find orphan processes of a service that persist after
-stop(), but by default these will NOT be terminated.
-To change this add rc_cgroup_cleanup="yes" in the conf.d files for services
+`stop()`, but by default these will NOT be terminated.
+To change this add `rc_cgroup_cleanup="yes"` in the `conf.d` files for services
where you desire this functionality.
# Caching
For performance reasons OpenRC keeps a cache of pre-parsed initscript metadata
-(e.g. depend). The default location for this is /${RC_SVCDIR}/cache.
+(e.g. `depend`). The default location for this is `/${RC_SVCDIR}/cache`.
-The cache uses mtime to check for file staleness. Should any service script
+The cache uses `mtime` to check for file staleness. Should any service script
change it'll re-source the relevant files and update the cache
# Convenience functions
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2016-09-27 17:26 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2016-09-27 17:26 UTC (permalink / raw
To: gentoo-commits
commit: b71bcc242202752bc74fce3a5c629f172b04fca5
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Tue Sep 27 17:24:40 2016 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Tue Sep 27 17:24:40 2016 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=b71bcc24
update ChangeLog
ChangeLog | 788 +++++++++++++++++++++++++++++++++++++++++++++++++-------------
1 file changed, 621 insertions(+), 167 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index e72970c..7ea1c18 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,624 @@
+commit 24010dcb483cf7284cd8a5db111ae63f0d4e1038
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ dist: convert to tar.gz
+
+ This allows the "make dist" target to be used as well as the github
+ archive generation.
+
+commit 0a76627345a173fc00be9864f3f3f5c3b15319cd
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ init.d/swap: remove the case for linux
+
+ I am removing the separate case for Linux, because we are droppping the
+ "-e" switch.
+
+commit bbf98befb86337a36ef5af7f273e503a6de4b9bd
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ sh/init.sh.Linux.in: update test for live /proc to use md5sum
+
+ This allows us to avoid the warnings from bash-4.4 about null bytes in
+ command substitutions.
+
+ If you have separate /usr, are not using an initramfs, and have a file
+ called /proc/self/environ on your root file system, this will break.
+ X-Gentoo-Bug: 594534
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=594534
+
+commit 316903fbf0da6edc067a98327c8c6cb2b3cdcf93
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ man/openrc-run.8: typo fix
+
+commit 66a9788435e51e658e4ae9d3ce0d0e54ea53e4f9
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ man/openrc-run.8: Add note about eval usage
+
+ This fixes #77.
+
+commit bf73363f220ff086d2559e7c2015801f80862749
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Add --use-blacklist to modprobe calls in modules and modules-load
+
+ This means that we will honor the modprobe black lists.
+
+ X-Gentoo-Bug: 594012
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=594012
+
+commit d6c30ab12a3b335ac57cd1f0ac00231bb34fc0c4
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Revert "Remove eval calls from supervisor start functions"
+
+ This reverts commit 0d1f1010c299a95332f224c3be9e8dfdd85eec54.
+ We need the eval in case someone uses something like:
+ command_args="this \"is a\" test"
+
+ This is related to #77.
+
+commit 0d1f1010c299a95332f224c3be9e8dfdd85eec54
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Remove eval calls from supervisor start functions
+
+ This fixes #77.
+
+commit 83bb827edf5b9be04a326d1970d6f55db239281f
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Revert "Disable parallel startup in interactive mode"
+
+ This reverts commit 8b4fc05ff2645b2ecb0f153492f72dd8b39ba431.
+ The original commit did not explain why this feature was disabled, and I
+ now have a request to enable it.
+
+ This fixes #24.
+
+commit c146b966913ae80652e3be925d3aba60ed82f14d
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Add command_progress variable
+
+ If this is set to yes, 1, true, or on, start-stop-daemon will display a
+ progress meter while waiting for a daemon to stop.
+
+commit 6cabaf274defa11773094a2c85b3d0a9f0bd9b08
+Author: Doug Freed <dwfreed@mtu.edu>
+Commit: Doug Freed <dwfreed@mtu.edu>
+
+ rc-misc: allow EINFO_VERBOSE through too
+
+commit 1edb5f6fd9c4827e5d4ed5c854bc322ba8a7df73
+Author: Doug Freed <dwfreed@mtu.edu>
+Commit: Doug Freed <dwfreed@mtu.edu>
+
+ rc-misc: Allow EINFO_COLOR through env_filter()
+
+ This allows rc-service -C <service> <action> to properly not print color
+ messages.
+
+ Fixes #93
+
+commit c4d7e02abd7008b8e8ad16f62c2abbb60fab252b
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Fix permission checks for cgroups
+
+ This is needed because containers may give read access to cgroups but
+ not allow the settings to be changed.
+
+commit a4e0d675e13f07bf880da10a4d602983a556264d
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ man/openrc-run.8: update variable documentation
+
+ - document command_args_background and command_user.r
+ - clarify documentation for command_background
+
+ This fixes #78.
+
+commit 8a8032478a755f6e2ceaebc5425e61c6817df936
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Make use of name vs RC_SVCNAME consistent in supervisor scripts
+
+ This fixes #79.
+
+commit ac53c9a658589456c678b6bfe674a66a3845e564
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ sh/init.sh: fix the test for cache restoration
+
+ This fixes the test for cache restoration since we are no longer caching
+ the dependency tree.
+
+commit b02ff466fa75cc4b5bcfaff3f2989cc65c823f43
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ savecache: stop saving the dependency tree
+
+ This fixes #85.
+
+commit 6bd0f2d096f149906061a4ac7b66b7e85516784a
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ init.d/procfs: typo fix
+
+commit 63f8ae466f046dcdbb0ba13ef96e63eeec86e6e6
+Author: frickler01 <frickler01@users.noreply.github.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Format code blocks and variable/path notations
+
+ Add markdown backticks for commands, variable names and path as well
+ as code blocks for better readability.
+
+ This fixes #97.
+
+commit 841b883825ddf9982a673b3964757f6df25acd46
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ hwclock: fix module load warning
+
+commit ba10793b0b85b11fae04e6526716c6f7976afde1
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ init.d/procfs: fix binfmt_misc module load warning
+
+ This reworks the logic so that the warning about configuring the
+ binfmt_misc module is only displayed if the module actually has to be
+ loaded.
+
+commit d4d559323819c8a5279bf197d8d3ff80f1e28cdc
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ sh/openrc-run.sh: read global configuration settings first
+
+ X-Gentoo-Bug: 503134
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=503134
+
+commit d5db5489be135ae9295e378e789b4b7b13367fdd
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ init.d/swap: do not unmount all tmpfs file systems
+
+ X-Gentoo-Bug: 568162
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=568162
+
+commit d06db93d5954460668d09cf6ef2fc401ee9d981c
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ remove swapfiles service
+
+ The swapfiles service was basically a copy of the swap service, so this
+ commit consolidates the functionality into the swap service.
+
+ X-Funtoo-Bug-URL: https://bugs.funtoo.org/browse/FL-2523
+ X-Gentoo-Bug: 568162
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=568162
+
+commit 8c14d0c476e06fff7598c526e26b6a13d53a4600
+Author: Martin Väth <martin@mvath.de>
+Commit: Martin Väth <martin@mvath.de>
+
+ Fix typo in RC_UNAME check of modules-load
+
+ The $RC_UNAME "Linux" had been misspelled as "linux".
+ As a consequence, entries in e.g. /etc/modules-load.d failed to
+ load any module succesfully under Linux(!)
+
+commit 04debf6f25b3748a101b61cb85f78617dbe5be6e
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ another news typo fix
+
+commit c289774b00d0d7dc38fdc1f0f623569bd184a4b1
+Author: Doug Freed <dwfreed@mtu.edu>
+Commit: Doug Freed <dwfreed@mtu.edu>
+
+ modules-load: handle comments better
+
+ This handles comments without a trailing space after the comment
+ character.
+
+ Reported-By: josef64
+
+commit 9dd8ee330d8a4449c937bc95fc8393a55913c8d1
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ typo fix
+
+commit 5d5856c193768d24f11d5f0533e48c39526aef5c
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Update news file
+
+ Add information on modules-load service and more explanation about
+ dealing with the rc -> openrc and runscript -> openrc-run transitions.
+
+commit 686e172207ac9e23560da18a6f877be777ded935
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ init.d: add modules-load to ignore patterns
+
+commit fef6268f8d03e3ab3e2564cbf3634d0db2bcd99e
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ modules-load.d: cleanups
+
+ Move list of directories to a local variable and create the fn variable
+ to use for an individual file name rather than using path.
+
+commit 556dbff99d53cdcc00e6b1ec67e1679f72b6f284
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Add modules-load.d support
+
+commit 69ac78d76a31d843c004717eb6aa6a77bb4c9a8e
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ openrc-run: make runscript warning respect quiet option
+
+ X-Gentoo-Bug: 591414
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=591414
+
+commit 4018dfc8de4818101c336ff8bcf0f4762b318c6a
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ init.d/hostname: do not use localhost as a default hostname
+
+ This allows the operating system default hostname to be used if no
+ hostname is configured.
+
+commit 353bb9bc9a0ab3c6650d72d2ceb14c990762a2a0
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ init.d/hostname: add support for /etc/hostname
+
+commit 73cdf10f1f513be7b5dec4f1cc91e0c68cda689b
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Deprecate automatic loading of modules
+
+ In the hwclock, procfs and sysfs service scripts, we automatically
+ attempt to load the kernel modules we need before we take any action. We
+ shouldn't do this, because there are systems which do not use kernel
+ modules and do not have the kmod package installed.
+
+ With this change, we continue to load the modules ourselves, but we warn
+ the admin that they need to be added to /etc/conf.d/modules or built
+ into the kernel.
+
+ In the future, this automatic loading will be dropped.
+
+ X-Gentoo-Bug: 342313
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=342313
+
+commit 1a55d46645b376cd27f394796934150120a08387
+Author: Raymond Jennings <shentino@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ local.d/README: typo fix
+
+ X-Gentoo-Bug: 591258
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=591258
+
+commit cae3976ef1276ce33aa7e49474f13499a48a3fe6
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ init.d: Add runsvdir to ignore patterns
+
+commit da28a3d367b6078deda6bc205806b43b971e67a9
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ init.d: initial service adjustments for docker support
+
+ Add -docker keyword to the same scripts that have -lxc keyword.
+
+commit ca8c29ee60b0e8ca89091aaf801725bd71e28001
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ librc: fix Docker auto detection
+
+ The original auto detection of Docker containers assumed the presence of
+ a container environment variable. However, Docker-1.12 does not
+ implement this, and I'm not sure which versions of docker implemented
+ it.
+
+ The new test is for the presence of a file named .dockerenv in the
+ root directory.
+
+commit f62253b8334a85dac4671e42817b96a3bedd1881
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Add support for runit
+
+ X-Gentoo-Bug: 501364
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=501364
+
+commit f2c2e2dd5a5e0a22da4dcabea6615d0f4697a962
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ init.d/sysctl.in: typo fix
+
+commit 94b98430cb83a8f4e62d837100fc357e9eb12ca6
+Author: Kenneth Lakin <kennethlakin@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ start-stop-daemon: Add SSD_IONICELEVEL
+
+ This is the disk IO counterpart to SSD_NICELEVEL.
+ Modified by William Hubbs to add the variable to the start-stop-daemon
+ man page.
+
+ This fixes #69.
+
+commit b19d0a40d7f20987323d5af91469c720ead39561
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ init.d/loopback: remove unnecessary stop function
+
+commit 0c229faf7e6a57bcff70f2143b83cb69a34c89f4
+Author: Martin Väth <martin@mvath.de>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ tmpfiles.sh: Support lines with q Q h H
+
+ btrfs support is not implemented yet (for q Q v), but at least tmpfiles.sh
+ no longer chokes about tmpfiles.d lines of recent systemd versions
+
+ This fixes #87.
+
+commit 3092e310acd376fc626cc051549e02bcd7697aed
+Author: Mike Gilbert <floppym@gentoo.org>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ tmpfiles: Accept filenames as command line arguments
+
+ This brings us closer to being able to use tmpfiles.sh as a full
+ replacement for systemd-tmpfiles.
+
+ This closes #83.
+
+commit 671911762d1bcd90c10d8ac0eb30fe10be4a65f6
+Author: Mike Gilbert <floppym@gentoo.org>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ tmpfiles: Process command line before gathering config files
+
+ This is part of #83.
+
+commit 7d68839e9ea89b0a92aef69a9b4fd298554bb9b1
+Author: Mike Gilbert <floppym@gentoo.org>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ tmpfiles: Make unrecognized options fatal
+
+ This is part of #83.
+
+commit 5341a925c15934674031aebb97533b0adcd10236
+Author: Jakub Jirutka <jakub@jirutka.cz>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ s6-guide: fix typo
+
+ This fixes #92.
+
+commit 3adb8fb389caaafbed1be13c5ac4d96214c8eed3
+Author: Doug Freed <dwfreed@mtu.edu>
+Commit: Doug Freed <dwfreed@mtu.edu>
+
+ rc-logger: refuse to cat TMPLOG into itself
+
+ This prevents an infinite loop in case somebody decides to set
+ rc_log_path to match TMPLOG.
+
+commit 8927a37fb790e718c956376242a532ab9d1755e7
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ etc: remove rc.conf.* file fragments
+
+commit b085b2cda58bc884acb959e48f14fb044c983042
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ etc: create default rc.conf
+
+ Before now, /etc/rc.conf was created by the build system from multiple
+ rc.conf.* file fragments and there was no reason for this.
+
+commit daf93977641201f16c477b075ce9055a1da8f7b3
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ init.d: combine sysctl scripts
+
+ We had separate sysctl scripts for each operating system. However, there
+ is no need to do this since we can detect the operating system at
+ runtime with $RC_UNAME.
+
+commit 2984504c887afc9a36610eb7c20b097f7d1e70d0
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ conf.d: remove staticroute file fragments
+
+commit 35e8386c24df6483f2918979dae150421f7151df
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ conf.d: makestaticroute file static
+
+commit 2108285d64e2ee8cc03fbe544efc3752fe349bdd
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ conf.d: remove network file fragnents
+
+commit a3133fec250eca3cdfb460c2ce26c707fd593c09
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ conf.d: make network file static
+
+commit 314ae3dc781d7ae8fc26c276a85b0dc6ab6bc326
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ modules: add support for FreeBSD
+
+ This is based on a patch submitted by
+ Joe Maloney <pkgdemonteam@gmail.com>.
+
+ This fixes #91.
+
+commit 695be59083cdf0d2ff9296f2c210e591c51bdf40
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ rc-status: add -m/--manual option to show manually started services
+
+ X-Gentoo-Bug: 585906
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=585906
+
+commit c962678dd6ab1314b55c2a3bcdae03902bda39b8
+Author: Doug Freed <dwfreed@mtu.edu>
+Commit: Doug Freed <dwfreed@mtu.edu>
+
+ rc: Rename some static variables to kill warnings
+
+commit 3a1262703fd20d2e8288d13d908fb282c77d1793
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Remove the DEBUG_MEMORY macro
+
+ This fixes #43.
+
+commit 20035210bdf5d5729734457f35f5f32a53a5b3ad
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ make variable aflag a boolean show_all
+
+commit 7f84b5d741c150cd159d5a3cda3ef532f0381826
+Author: Jaromil <jaromil@dyne.org>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ libeinfo: document the x suffix on function names
+
+ This fixes #88.
+
+commit 8bca2cd4b3c710809131ac036456b34c223e8d12
+Author: Julian Ospald <hasufell@posteo.de>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Build: fix hardcoded pkg-config invocation
+
+ This fixes #89.
+
+commit ac8ad169ae59fece38066c2e08ff57d53d737edd
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ hwclock: always use --noadjfile if available
+
+ When we use the --utc or --localtime switch, also use --noadjfile if it
+ is available. This means hwclock will not use a drift file.
+
+ X-Gentoo-Bug: 584722
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=584722
+
+commit 553799400218903ab495d1154a41c6d8890cb752
+Author: Mike Gilbert <floppym@gentoo.org>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ man: Document the procname variable for openrc-run
+
+ X-Gentoo-Bug: 586794
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/586794
+
+commit 5af5d12f3e56f9f2ff232d124d27c856fd66f551
+Author: Benda Xu <heroxbd@gentoo.org>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Fix PATH for Prefix.
+
+ 1. remove default /bin:/sbin:/usr/bin:/usr/sbin
+ 2. PKG_PREFIX should be defaulted to $(PREFIX)/usr
+ 3. LOCAL_PREFIX should be defaulted to $(PREFIX)/usr/local
+
+ X-Gentoo-Bug:583634
+ X-Gentoo-Bug-URL:https://bugs.gentoo.org/show_bug.cgi?id=583634
+
+commit b2c92b88cc6ce6d81444667efbc6d44542db1788
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ fstabinfo/mountinfo: ensure /etc/fstab exists before calling setmntent
+
+ This is based on a patch by A. Wilcox <awilfox.gentoo@foxkit.us>.
+
+ X-Gentoo-Bug: 478226
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=478226
+
+ X-Gentoo-Bug: 478226
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=478226
+
+commit 1b32af17225a4b18ced7f4326727cbe8265e7fd2
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ increment version to 0.22
+
+commit 5bfb7d6c77ff533e34e2bbfe5b6e57410d961d70
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Update ChangeLog
+
commit 12c8248b5f53879935d4e62ef42023f703c7b636
Author: William Hubbs <w.d.hubbs@gmail.com>
Commit: William Hubbs <w.d.hubbs@gmail.com>
@@ -918,170 +1539,3 @@ Commit: William Hubbs <w.d.hubbs@gmail.com>
This reverts commit 2a439c85bd69efc14847b4397bd6783cac051405.
There is another use case for -O involving iscsi, so we can't remove it.
-
-commit 3b6a6df4b5b818e576a88444632d5c73cffd1c57
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- openrc-run: rename some dependency variables and a function for clarity
-
- All of the dependency type lists had the types_ prefix in their names;
- this has been changed to deptypes_ to make them more self documenting.
-
- Along the same lines, the setup_types function was renamed
- setup_deptypes.
-
-commit b047ea47e97d7e8b96d6d0e064613f6860c8eb36
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- localmount/netmount: on Linux, fail if some file systems do not mount
-
- The following return codes are returned by mount -a:
-
- 0: all file systems mounted.
- 32: no file systems mounted.
- 64: some file systems mounted.
-
- The localmount/netmount services should fail if all file systems that
- should mount did not mount.
-
-commit b652752339690e10a55ae50d046f4cf2a98daf1a
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Make localmount and netmount always succeed on non-linux
-
-commit 2a439c85bd69efc14847b4397bd6783cac051405
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- local/netmount: remove uses of -O [no]_netdev
-
- This was causing an incompatibility with busybox, and we do not use it
- in Gentoo.
-
-commit 7341cd882fba522c1f1d183603334839bd4df7fc
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- allow localmount and netmount to fail
-
-commit 279f1e5d1013309d99509ab4b7b57521f8a4aba4
-Author: Mike Frysinger <vapier@gentoo.org>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- binfmt: fix indent on return
-
-commit c256a7aa80c683eca6194c80b57294e4d51c9a16
-Author: Doug Freed <dwfreed@mtu.edu>
-Commit: Doug Freed <dwfreed@mtu.edu>
-
- savecache: clean up implementation
-
- X-Gentoo-Bug: 557222
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=557222
-
-commit 6a422982579786cb8308af04ccca6622afa06e50
-Author: Jason Zaman <jason@perfinion.com>
-Commit: Doug Freed <dwfreed@mtu.edu>
-
- tmpfiles: run restorecon on the entire path
-
- The tmpfiles "d" entry will create a full path and only the last dir in
- the path will have its SELinux label set correctly. This patch will
- restorecon the parents as well so that the selinux labels are correct.
-
- eg, "d /run/libvirt/lxc", then "lxc" would have the correct SELinux
- label but "libvirt" would not.
-
- Signed-off-by: Jason Zaman <jason@perfinion.com>
-
-commit f69833a1e17d1cf65e96a34fcc0e48caf9d90d64
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- mountinfo: fix -e and -E options
-
- Add the -e and -E options to getoptstring so they are recognized.
-
-commit eeadca0b8a5b87c26e60a58563251604350a7a3b
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Add EERROR_QUIET and EINFO_QUIET to environment whitelist
-
-commit dde339070b4850dc1fadf4992cc01d3468992106
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Increment version
-
-commit 1736be3bc3ebbc1440f87b49fc353e81fb0a6037
-Author: Doug Freed <dwfreed@mtu.edu>
-Commit: Doug Freed <dwfreed@mtu.edu>
-
- savecache: Fix unable to create cache message
-
- The cache is created in $RC_LIBEXECDIR, not $RC_SVCDIR, so fix the error
- message when we fail to create it to match.
-
-commit a36a635b016a7427dd1739a26c951fedf22f0dec
-Author: Mike Gilbert <floppym@gentoo.org>
-Commit: Doug Freed <dwfreed@mtu.edu>
-
- tmpfiles: Recognize type 'v' (create btrfs subvol)
-
- This change does NOT implement btrfs subvol creation. Instead, it
- treats 'v' the same as 'd', which is an acceptable fallback
- according to the manual.
-
- Fixes #58
-
-commit 9310ccc06bcadd8897aed51cd51c94fccb7d9c07
-Author: Mike Gilbert <floppym@gentoo.org>
-Commit: Doug Freed <dwfreed@mtu.edu>
-
- Remove execute bit from tmpfiles.sh.in
-
-commit 0c2e4eb3cd7935d375b74099a3a9a5fe519e6cab
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Update ChangeLog
-
-commit d2ce07e227ec95370e8aee5f1199edc6ad61aff9
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Add rc-sstat script
-
- The rc-sstat script is written to display status of s6 services and
- run rc-status to display all services status.
-
- This currently only works on Linux.
-
-commit b209fe3859c05c286037843bb34058f849c54b15
-Author: Mike Gilbert <floppym@gentoo.org>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- bootmisc: Don't call dmesg in systemd-nspawn containers
-
- This fixes #57.
-
-commit c94c8288cd5217b01c24d6f048c64ebbc30bee02
-Author: Mike Frysinger <vapier@gentoo.org>
-Commit: Mike Frysinger <vapier@gentoo.org>
-
- fix link to s6 website
-
-commit bcb9c44e73ccf332c7c961a6f82520699c6e776d
-Author: Mike Gilbert <floppym@gentoo.org>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- man: Document the stopsig variable
-
- This variable can be used to set the signal to send if the service is
- using start-stop-daemon.
-
- This fixes #56
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2016-09-28 0:40 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2016-09-28 0:40 UTC (permalink / raw
To: gentoo-commits
commit: d0ae7ffc2534fa65c2e8927931f5107ce4505ca6
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Wed Sep 28 00:38:07 2016 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Wed Sep 28 00:38:07 2016 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=d0ae7ffc
version 0.23
Makefile.inc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile.inc b/Makefile.inc
index bd85c44..5c87cdc 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -1,3 +1,3 @@
NAME= openrc
-VERSION= 0.22
+VERSION= 0.23
PKG= ${NAME}-${VERSION}
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2016-12-20 18:34 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2016-12-20 18:34 UTC (permalink / raw
To: gentoo-commits
commit: a15cff21c63f2ad951af1c59a74fc7d37f78e91b
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Tue Dec 20 18:34:22 2016 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Tue Dec 20 18:34:22 2016 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=a15cff21
update ChangeLog
ChangeLog | 734 +++++++++++++++++++++++++-------------------------------------
1 file changed, 296 insertions(+), 438 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 7ea1c18..db6bb72 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,299 @@
+commit 45aa36cc623eeeb15fb6827b57e0c07a37cdef41
+Author: Doug Freed <dwfreed@mtu.edu>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ librc: detect loops in stacked runlevels and abort
+
+ This fixes #109.
+ X-Gentoo-Bug: 558700
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=558700
+
+commit d3f833179b39368442221c448f90b87f76d28ee8
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ sh/init.sh.Linux.in: remove unused check for Gnu/KFreeBSD
+
+ This script only runs on Linux, so the check will always be false.
+
+commit abe552b969b6601f47ba0474f683d8cd80d53c9d
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ modules: get rid of printing each module on Linux
+
+ Now that we respect the module blacklists, don't print every module we
+ try to load, because it might not end up loaded due to the blacklist,
+ and modprobe doesn't consider that a failure.
+
+commit 856eafb006655b7dda630a94cbd16f5db9f781be
+Author: Doug Freed <dwfreed@mtu.edu>
+Commit: Doug Freed <dwfreed@mtu.edu>
+
+ sh/init.sh.Linux.in: skip /proc test if no md5sum
+
+ This will also warn users if md5sum is missing, which serves as a pretty
+ good indicator that /usr is not mounted.
+
+commit f27d60add9ee1ef8a90ea0034edf6f4e4e6d0ed8
+Author: Robin H. Johnson <robbat2@gentoo.org>
+Commit: Robin H. Johnson <robbat2@gentoo.org>
+
+ sh/openrc-run.sh: expose default start/stop/status
+
+ Supervisor setups break easily when start/stop/status functions are not
+ default.
+
+ Applications that write multiple PIDs to a pidfile (eg HAProxy as
+ described in bug 601540), can also benefit from being able to call the
+ default start/stop/status with modified environment variables.
+
+ Expose the default start/stop/status functions as
+ default_start/stop/status, and use them for the defaults
+ start/stop/status.
+
+ Trivial usage example:
+ ```
+ stop()
+ {
+ t=$(mktemp)
+ for pid in $(cat $pidfile) ; do
+ echo $pid >$t
+ pidfile=$t default_stop
+ done
+ rm -f $t
+ }
+ ```
+
+ X-Gentoo-Bug: 601540
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/601540
+ Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
+
+commit 8ad460c54ce66aa0900cf872d9ebfacf0c03f9da
+Author: Doug Freed <dwfreed@mtu.edu>
+Commit: Doug Freed <dwfreed@mtu.edu>
+
+ Fix typos
+
+ Fixes #99
+
+commit 72c0824961fc257b634a9439496e04d1b3392ef1
+Author: Doug Freed <dwfreed@mtu.edu>
+Commit: Doug Freed <dwfreed@mtu.edu>
+
+ localmount: add comment about types variable
+
+commit 5b7e3490ef2ce96c35e6c18b4c64e8c61586bb7a
+Author: Alan Somers <asomers@gmail.com>
+Commit: Doug Freed <dwfreed@mtu.edu>
+
+ Localmount shouldn't mount remote filesystems
+
+ The /etc/init.d/localmount script has a syntax error that causes it to
+ attempt to mount remote filesystems, causing the boot to fail. The
+ script appends a "no" to each remote filesystem type, but it should only
+ be append the "no" to the beginning of the list. This patch fixes
+ localmount on FreeBSD 12.0. A review of the mount(8) manpage on Ubuntu
+ 12.04 suggests that this patch is correct for Linux, too.
+
+commit dd61e6bfc3fc1da011b01f4f6cf3e45e26c59dc1
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ rc.conf: fix the commented default setting for rc_logger
+
+ X-Gentoo-Bug: 601480
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=601480
+
+commit 204971c6e2ea1e37fa037e09bff02eea3a07f843
+Author: Doug Freed <dwfreed@mtu.edu>
+Commit: GitHub <noreply@github.com>
+
+ runlevels: remove bad trailing backslash
+
+commit 3552f0ae548d68effd4411ad4080e7b13fe627c5
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ man/start-stop-daemon.8: clarify documentation about --pidfile option
+
+ The documentation implied that if you stop a daemon we handle multiple
+ pids in a pid file. This is not correct. We only handle the first pid.
+
+ X-Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=601540
+
+commit 42cb84882918a0c9dd93a89d92b0b4818dfb44b8
+Author: AndCycle <andcycle-github@andcycle.idv.tw>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ fix manual typo
+
+ This fixes #105.
+
+commit e0ac661419042cb39c1ccf93df2981504d1e6339
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ split tmpfiles processing into opentmpfiles
+
+ The openntmpfiles package is designed so that it can be used on systems
+ independently of whether openrc is used.
+
+commit 6414c3bc394f86a5d6a5f02c934469e21bbbc923
+Author: Jason Zaman <jason@perfinion.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ selinux: fix SIGSEGV with invalid contexts
+
+ Fixes: https://github.com/openrc/openrc/issues/104
+
+commit 4f9bd7e4db185ce6debbebb5242344d8ffadc3ae
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ init.d/loopback.in: drop the route to the loopback interface on Linux
+
+ This is related to #103.
+
+commit bf539f2196290864ce5c5fd0d679b74ee016e2da
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ init.d/mount-ro: do not remount /usr read only if it is premounted
+
+ X-Gentoo-Bug: 573760
+ X-Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=573760
+
+commit 20b60ea904612669dfb744beffcd8e7e447f69ef
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ conf.d/net-online: clarify comment about interfaces setting
+
+ This setting refers to all interfaces that support ethernet
+
+commit f53c8baef3a6215077c00901759cbbcbe8f10e9b
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ init.d/net-online: remove interfaces and timeout from local declarations
+
+ X-Gentoo-Bug: 598621
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=598621
+
+commit be06cd250e12e63b8eb704bb2508e06fb9791251
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ src/rc/rc: do not try to start services if fork fails
+
+commit 003657c973ea338a19f2b7294190af9d76cf5cea
+Author: Robin H. Johnson <robbat2@gentoo.org>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ init.d/loopback: drop scope on loopback
+
+ Busybox does not support the 'scope' argument on 'ip address add' or 'ip
+ route add', this is documented in BUSYBOX.md, but is no longer actually
+ needed, as the kernel does get it right without manual specification,
+ and the ifconfig variant already relies on the kernel to get it right.
+ This is part of #103.
+
+ X-Gentoo-Bug: 487208
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=487208
+
+commit 4fd144c0a6526963c70f18cb34a65354c2f0a48c
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ src/rc/rc-misc.c: report error if call to flock() fails
+
+ X-Gentoo-Bug: 597390
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=597390
+
+commit c44c904a61418189c989e978b0237e5b161263ef
+Author: Joe Maloney <jpm820@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ init.d.misc/wpa_supplicant: find wireless interface for FreeBSD
+
+ This fixes #101.
+
+commit 78146b0e14cb57dda8a3aed3d4f8d6b1db7a3c7e
+Author: Sven Wegener <swegener@gentoo.org>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ do_service: Initialize idx to 0
+
+ If index is not explicitly specified for service_started_daemon, it will
+ look for daemons by random index.
+
+ This fixes #100.
+
+commit deaae7ab5c499191426cec81f6e803c972f0cca3
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ init.d/sysfs: load efivarfs module when booting in efi mode:1
+
+ The presence of /sys/firmware/efi is used to indicate that the system
+ was booted in efi mode.
+
+commit 3d2c2f0b871944492036d04b0c220ccba1fa2dd5
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ init.d/sysfs: fix efivarfs module test
+
+commit 6a0c033a64ce18056625cd37a94b9810dc5784e3
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ init.d/sysfs: fix efivarfs handling
+
+ Separate loading the module, if it isn't built in or loaded, from
+ mounting the file system.
+
+ This also makes sure the warning about configuring the module in
+ /etc/conf.d/modules or building it in is displayed only if it is loaded
+ successfully.
+
+ X-Gentoo-Bug: 595836
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=595836
+
+commit 6710316a18c33601e780282e72c60f09b5175280
+Author: Doug Freed <dwfreed@mtu.edu>
+Commit: Doug Freed <dwfreed@mtu.edu>
+
+ openrc-run: fix double free
+
+commit 61882821e0d6110a2ca2f67fad7c362983a85cf0
+Author: Doug Freed <dwfreed@mtu.edu>
+Commit: Doug Freed <dwfreed@mtu.edu>
+
+ init.d: Clean up some bad ewarn output
+
+commit 969546bcf0203379db286be21c7f709d27cc73b0
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ typo fix
+
+ X-Gentoo-Bug: 595306
+ X-Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=595306
+
+commit d0ae7ffc2534fa65c2e8927931f5107ce4505ca6
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ version 0.23
+
+commit b71bcc242202752bc74fce3a5c629f172b04fca5
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ update ChangeLog
+
commit 24010dcb483cf7284cd8a5db111ae63f0d4e1038
Author: William Hubbs <w.d.hubbs@gmail.com>
Commit: William Hubbs <w.d.hubbs@gmail.com>
@@ -1101,441 +1397,3 @@ Commit: William Hubbs <w.d.hubbs@gmail.com>
maintenance.
[1] https://softwarefreedom.org/resources/2012/ManagingCopyrightInformation.html
-
-commit 065f034059d7ca26bbb985158c5d361ff75df186
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- format fix
-
-commit fe32ef8e09a2edf2690a3b281cea0be84a5541ca
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- FEATURE-REMOVAL-SCHEDULE: create section for librc API functions
-
-commit c45313dfa9880c4aedb72da1b2ac3159eee05a93
-Author: Rick Farina (Zero_Chaos) <zerochaos@gentoo.org>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- netmount: use want dependency to start nfsclient
-
- add in parsing of fstab to determine if nfsclient should be automatically
- started so that netmount can mount nfs without adding nfsclient
- to the default runlevel
-
- This fixes #71.
-
-commit 3ef2bbfb19fe3ca0c169f9dcf48b70a59321a5d1
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Add note about deprecating rc_getline()
-
-commit cc9c23c8484ea7d07b1f8e54bcab46cc31ec727d
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Complete support for rc.conf.d
-
- - gendepends.sh needs to read this directory to allow dependencies to be
- overridden
- - init.sh for Linux and Bsd need to read it to allow config settings
- they use to be overridden.
-
-commit 935252b1152b4086ccbe76ace21e677d7ac8a357
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Add note about removing rc_sys() from librc
-
-commit 0d202b5711228bb047140430ea8fe4f749503fb4
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Update feature-removal-schedule wrt mtab service
-
-commit f9bdb072e8d88079a20834fe921d43e326a9a18a
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- rc.map: remove references to rc_sys_v{1,2}
-
-commit 9f6e05671d6d48faa7b83aec05a637bcdfcb3f82
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Convert rc_sys() calls to detect_container() and detect_vm()
-
-commit 8addd7913a743b75ef3854ab4a96fea81cc5245d
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Create detect_container() and detect_vm() functions
-
- These functions replace rc_sys so that we can detect containers and vms
- separately.
-
- Also, we copy file_regex() to rc-misc.c and open it to all operating
- systems.
-
-commit 83cd7145e3e7c3ac453b6a87214cf5704e3875ce
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Rename bootlevel variable in _usage.c
-
- In src/rc/_usage.c, we were using bootlevel as the variable to hold the
- return value of rc_sys.
- This changes the variable name to systype because this function returns
- a system type, not a runlevel.
-
-commit a67e3495d0b54ac83a00fc04aef50951646814ad
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Increment version number
-
-commit a1acdeb92ead07f2dc60cb9796aaf5b4ea377713
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- update ChangeLog
-
-commit b810473e4f7218afbb7047890860c15a8c45472b
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- man/openrc-run.8: Clarify documentation on dependencies and keywords
-
- Provide an example of using the -containers keyword and clarify
- documentation on some of the dependency functions.
-
-commit 627e925463068e754ffd869f99a43634d6d9631e
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- add support for -containers keyword
-
-commit f5cf1136e70502ee530f20f0434f312611b12b51
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Use systype variable for rc_sys call
-
-commit a4038e11712d4c3f87f541f90be0b88f2903b82d
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- rc.conf.Linux: document the rkt keyword
-
-commit a0cf8f91246ff4487b36d6432dab787e5b10957d
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Add detection for rkt containers
-
-commit 9fedb3b40b5983372b2c2de29dfe321c6dfaadf4
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Add detection for docker containers
-
-commit 635e33cdc8f18bb290756633ce0714c496383cfb
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- librc: comsolidate rc_sys_v1 and rc_sys_v2 into rc_sys
-
- These functions were never meant to be used outside of OpenRC, and they
- were added when we thought we were going to do away with the automatic
- detection of subsystems. Since the autodetection is not going away, we
- can combine these functions into rc_sys.
-
-commit bd9456ff3172cc88f32d67bd4e789e2beee43595
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- rc-functions.sh: add support for user-defined want dependencies
-
-commit 33d3f33b3ca7dd2ce616b8182d588d0743c2f124
-Author: Ian Stakenvicius <axs@gentoo.org>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Implement "want" dependency
-
- The want dependency is similar to the use dependency. If a service
- script, for example called service1, adds "want service2" to its depend
- function, OpenRC will attempt to start service2, if it exists on the
- system, when service1 is started.
-
- However, service1 will start regardless of the status of
- service2.
-
- X-Gentoo-Bug: 406021
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=406021
-
-commit ddb895b355e02c9c07b00bfaf00d1bf8a7abbc03
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- conf.d/netmount: typo fix
-
- X-Gentoo-Bug: 564846
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=564846
-
-commit 085d77f17e3bedd23ffa96fe7e4eb8515ae8bfc6
-Author: Benda Xu <heroxbd@gentoo.org>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Standardize macro tests for gnu hurd
-
- This also fixes breakage of GNU/hurd builds introduced by commit 3f82edbeb92.
-
-commit c831f1f994e187afd8edfff15e4063b99440bbcb
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- librc: rework overriding rc.conf options from the kcl
-
- Rename the rc_conf_override function to describe its purpose better,
- drop one conditional compile by making it available everywhere, and move
- the call to it after the optional rc.conf.d directory is processed.
-
-commit 591aea28215a8b5ad8660184dc6f6f15ff0c18b4
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- librc: Remove redundant code from rc_config_load
-
-commit c09eeca49145b034df6527c500099ba22f28e824
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Add rc.conf.d support
-
- This makes it possible to override settings in rc.conf by adding a
- directory @SYSCONFDIR@/rc.conf.d and putting files in this directory.
- The files will be processed in lexical order, and the last setting in
- these files will be used.
-
-commit 4cf6b0ecf7f5b35a6d80d76c60e77c3e1c7fee5c
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- consolefont: add after modules to dependencies
-
- X-Gentoo-Bug: 559540
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=559540
-
-commit ee944553a9ea35622046bd1ab5657fd416a7019a
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- bootmisc: optionally save the previous dmesg log
-
- X-Gentoo-Bug: 561204
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=561204
-
-commit 6cae41a4e63510cdcf3af1153d6e8300435e1838
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- etc/rc.conf: Clean up documentation for rc_hotplug
-
- X-Gentoo-Bug: 554540
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=554540
-
-commit 960881fcfe974178c0846a816663a258cdd488cc
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Add net-online service
-
-commit d26013494db8ea8699db9815ef4c4b0eb2f55e7f
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- mtab: typo fix
-
-commit b29b2fb3cb3e73b4453483ced908f0ef10e47e9c
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- mtab: make /etc/mtab as a file configurable
-
-commit 7da72ce487a8d92d992e7fd3db881c198ae02609
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- openrc-run.sh: fix new required_* tests to exit properly
-
-commit fc777aeaf3e6e2d47f4599acfe6c8d1bf5bc760a
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- typo fix
-
- X-Gentoo-Bug: 563010
- X-Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=563010
-
-commit 9d53d436ae22d6f0f6fc1537e836dd1b4d31cf35
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- sysfs: consolidate cgroup processing code in a single function
-
-commit b81317bdf8e3eed8b8ff2bef757ba29f362ed297
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- mountinfo: make sure the netdev variable is initialized on Linux
-
- This fixes the following regression:
-
- X-Gentoo-Bug: 562668
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=562668
-
-commit 29f7e335927d4c1fb151124de8cdf01fb87723fa
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- openrc-run.sh: allow spaces in required_{files,dirs}
-
- X-Gentoo-Bug: 562320
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=562320
-
-commit 850ca030777cb0c3e2fb03d9ab1f0ccee7b89e93
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- increment version number
-
-commit 050ddfae4ad1ad0dc5993766e0bd90739bd41de9
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Update ChangeLog
-
-commit d5116cc697c9eb275ab8497939ab41504e5ce578
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- localmount: white space cleanup
-
-commit b86d170037197d7bdcda57c7d4c09c17bda97f31
-Author: Ian Stakenvicius <axs@gentoo.org>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- localmount: clean up handling of aufs branches
-
- X-Gentoo-Bug: 560008
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=560008
-
-commit 6fa0d6318bcd5c98548cff2ff840bca116892ca5
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- mtab: fix update logic
-
- This advises users to remove mtab from their runlevels if /etc/mtab is a
- symlink, and it creates the symlink if /etc/mtab does not exist on a
- system.
-
- X-Gentoo-Bug: 560060
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=560060
-
-commit 80d3928b0d13f09a9c1e82bd27c9fff943d84d43
-Author: Austin S. Hemmelgarn <ahferroin7@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- cgroups: Add the hugetlb, net_cls and pids controllers
-
- Note from WilliamH: I slightly rearranged the code and added the
- settings in rc.conf.
-
- X-Gentoo-Bug: 555488
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=555488
-
-commit 17ef205bc63a4e231dccee719394a7a8563f8c3f
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- sysfs: use printf instead of echo to write to cgroup files
-
- This is needed for compatibility with musl and printf is also posix.
-
- X-Gentoo-Bug: 562334
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=562334
-
-commit b20a1951adf9a705a903fb3047b7ef26c013103c
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- rc-cgroup.sh: Do not add leading spaces to cgroup values
-
- We were starting the value we write to the cgroup setting file with
- leading spaces and this was causing issues. This change makes sure that
- we aren't adding leading spaces to the value.
-
- X-Gentoo-Bug: 562354
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=562354
-
-commit bf0c0dd5644436efe4986c2b259b755d111266b9
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- bootmisc: convert errors in clean_run function to warnings
-
- X-Gentoo-Bug: 552418
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=552418
-
-commit 1558ad2b9ebf319b85876a940d31d513bf21324f
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- bootmisc: only remove temp directory if umount is successful
-
- Change the clean_run function to only remove the temp directory if the
- umount was successful.
-
- X-Gentoo-Bug: 561230
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=561230
-
-commit 5f4f2420364098835522da868a9e75205c9e4f9c
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- mountinfo: fix --netdev and --nonetdev on Linux
-
- On Linux, the --netdev and --nonetdev switches were not working. They
- were both returning false. After this change, they operate based on the
- presence or abscence of the _netdev option in mount options.
-
-commit b3f7ff901f7d3ed00b9f73c601193ac507f62eaf
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- mountinfo: read /proc/self/mounts instead of /proc/mounts on Linux
-
-commit a59365a582c3a8c9a8b863b572fddcb65fccadfd
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- start-stop-daemon.sh: complain in start if command is undefined
-
- The default start-stop-daemon start function expects the command
- variable to be defined to point to the daemon we want to start.
-
- If the variable is undefined, this means that there will be nothing to
- start, and in this case we should complain because it is possible that
- the script writer made a typo in the variable name.
-
-commit dac5966ca40610797d2b2aabef17154ca3dc20af
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Revert "local/netmount: remove uses of -O [no]_netdev"
-
- This reverts commit 2a439c85bd69efc14847b4397bd6783cac051405.
- There is another use case for -O involving iscsi, so we can't remove it.
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2016-12-21 17:51 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2016-12-21 17:51 UTC (permalink / raw
To: gentoo-commits
commit: 1ab2249448ba24a591b561f53aa64ff3df1e41f6
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Wed Dec 21 17:50:22 2016 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Wed Dec 21 17:50:22 2016 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=1ab22494
version 0.24
Makefile.inc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile.inc b/Makefile.inc
index 5c87cdc..d44d3f9 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -1,3 +1,3 @@
NAME= openrc
-VERSION= 0.23
+VERSION= 0.24
PKG= ${NAME}-${VERSION}
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2017-01-26 23:07 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2017-01-26 23:07 UTC (permalink / raw
To: gentoo-commits
commit: 96bd0c004c9549e5a2ef64277216a15da6f96a8e
Author: Nicolas Porcel <nicolasporcel06 <AT> gmail <DOT> com>
AuthorDate: Thu Jan 26 21:01:43 2017 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Thu Jan 26 23:07:01 2017 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=96bd0c00
Fix typo in guide.md
This fixes #115.
guide.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/guide.md b/guide.md
index 6be11b1..7aa23a6 100644
--- a/guide.md
+++ b/guide.md
@@ -198,7 +198,7 @@ script:
command=
command_args=
pidfile=
-``
+```
Thus the 'smallest' service scripts can be half a dozen lines long
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2017-03-10 19:33 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2017-03-10 19:33 UTC (permalink / raw
To: gentoo-commits
commit: fde3902d069dfdce9c59555186a5541d6d99c8aa
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Thu Mar 9 22:20:17 2017 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Thu Mar 9 22:20:17 2017 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=fde3902d
update ChangeLog
ChangeLog | 548 +++++++++++++++++++++++++-------------------------------------
1 file changed, 216 insertions(+), 332 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index db6bb722..10ee9c16 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,219 @@
+commit d7bbb0f5830e1ec4df1ec52714d70ac6b0a81878
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ add agetty service
+
+ The agetty service is an alternate way to manage gettys with agetty
+ under Linux which is separate from an external init system.
+
+commit 21ca2b746cce67e2b3578fb7015c9d4c243e3a0c
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ init.d/sysfs: drop modules completely from the dependencies
+
+ This is for #112.
+
+commit 6a79aef0159d7035778fd852b26ecfac903cd029
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ init.d/sysfs: Do not load efivarfs module
+
+ My understanding is that the kernel can autoload this module. If it
+ doesn't, the module should be built in or loaded from an initramfs.
+
+ This fixes https://github.com/openrc/openrc/pulls/112.
+
+commit 4a269674b765e5267f024fa55c8644480a7304ea
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ make sure netmount and localmount start after root
+
+commit eea4decdd1c84e4b8775a255d8ed85bce5eb40a5
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ net-online: typo fix
+
+commit d4d0f25a4844ecaed43de913e8b729e7a2e894db
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ net-online: updates to make the service more usable
+
+ - switch from attempting to ping the default gateway to a host outside
+ the local network, defaulting to google.com.
+ - along with this, change the name of the variable that requests a ping
+ test to include_ping_test so the meaning is more clear.
+
+commit 1cb44092fce298004ab4c4547c6fbcac29c5997f
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ sh/rc-functions.sh.in: add get_bootparam_value function
+
+commit 4207e46622f584eb5f0cc10bbfd36f92f001a2e2
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ move init.d examples under support and install them
+
+commit f6ea16159ec8583a6f2182578334aa00578cb080
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ scripts: make sure the rc-sstat symlink is always replaced
+
+commit 9047ea4cb0d0e5e27704369380e128d26c3e86b2
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ install support files
+
+ These files have been in the distribution for some time but haven't been
+ installed. They are good examples of how to do things, so we should
+ install them.
+
+commit d7f5a696c173e7af67dd4b3f90744e0a056441e1
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ support: rename all README files to README.md
+
+commit 6f614cd3f33dbdea3a67ac2fb414b1130674ee04
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Move deptree2dot to the support folder
+
+ Since deptree2dot and the perl requirement are completely optional, we
+ can move this tool to the support folder. This gives the user the option
+ of using it if they have perl installed, and means we do not have an
+ optional runtime dependency on perl.
+
+ Documentation for this tool has also been added to the support folder.
+
+ X-Gentoo-Bug: 600742
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=600742
+
+commit 85c1930acf15b0c9d3c5537fb2b0409c6a11c982
+Author: William Pitcock <nenolod@dereferenced.org>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ test/setup_env: ensure that eval_ecolors is available on the path.
+
+ The test environment previously used the system default paths instead of installing the necessary $PATH environment
+ variable to make finding eval_ecolors work.
+ This closes #117.
+
+ X-Gentoo-Bug: 374191.
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=374191.
+
+commit 96bd0c004c9549e5a2ef64277216a15da6f96a8e
+Author: Nicolas Porcel <nicolasporcel06@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Fix typo in guide.md
+
+ This fixes #115.
+
+commit b693af90556ac9b055ba5c6e589066c1e08b2146
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Revert "scripts: do not substitute for @SHELL@ in rc-sstat"
+
+ This reverts commit e2e652e469efa5f3ebcd69828ff16d8f5ad3f1b8.
+
+commit 6dcb6929869c2f81c1f8d0930191f74fc6dfaa3e
+Author: Doug Freed <dwfreed@mtu.edu>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ start-stop-daemon: allow all standard signals
+
+ Also we define the signalpair_item macro.
+ This fixes #113.
+
+ X-Gentoo-Bug: 604986
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=604986
+
+commit e2e652e469efa5f3ebcd69828ff16d8f5ad3f1b8
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ scripts: do not substitute for @SHELL@ in rc-sstat
+
+commit b73941f0c3020e3dbd1684d09685e114c678b520
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ mountinfo: make the path to /proc/mounts a constant
+
+ This path should not be hard coded in the open call.
+ Linux prior to 2.4.19 did not have /proc/self/mounts, so for now I'm
+ making this value /proc/mounts everywhere, but that may change to
+ /proc/self/mounts on linux; I'm not sure we should care about <2.4.19.
+
+ X-Gentoo-Bug: 604646
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=604646
+
+commit c304522131a795cf882444b5f94e81db4baf65b3
+Author: Benda Xu <heroxbd@gentoo.org>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Clean up warnings that can use the _unused macro
+
+ X-Gentoo-Bug: 604666
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=604666
+
+commit 92325b44ba58a7ca04d88ae8ca202b402b032b43
+Author: Benda Xu <heroxbd@gentoo.org>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Indentation fixes
+
+ X-Gentoo-Bug: 604666
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=604666
+
+commit 074d90f5a4e3b66e532a0becde372acf38346397
+Author: Benda Xu <heroxbd@gentoo.org>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Drop the use of the _BSD_SOURCE macro on Linux
+
+ X-Gentoo-Bug: 604666
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=604666
+
+commit 7056b56b3ccc9cbde4ef8297b923919c49c7c242
+Author: Benda Xu <heroxbd@gentoo.org>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Drop the use of the _BSD_SOURCE macro on GNU/Hurd
+
+ X-Gentoo-Bug: 604666
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=604666
+
+commit d5c3b85e3fbddbba149687244d607fcdae222f95
+Author: Doug Freed <dwfreed@mtu.edu>
+Commit: Doug Freed <dwfreed@mtu.edu>
+
+ loopback: drop explicit route for BSD too
+
+commit 1ab2249448ba24a591b561f53aa64ff3df1e41f6
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ version 0.24
+
+commit a15cff21c63f2ad951af1c59a74fc7d37f78e91b
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ update ChangeLog
+
commit 45aa36cc623eeeb15fb6827b57e0c07a37cdef41
Author: Doug Freed <dwfreed@mtu.edu>
Commit: William Hubbs <w.d.hubbs@gmail.com>
@@ -1065,335 +1281,3 @@ Commit: William Hubbs <w.d.hubbs@gmail.com>
X-Gentoo-Bug: 577362
X-Gentoo-Bug-URL: https://bugs.gentoo.org/577362
-
-commit beaa71df0ab2cfa61beba4be0303099aa6c75e6a
-Author: Dustin C. Hatch <dustin@hatch.name>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- binfmt.sh: use read in raw mode
-
- The read builtin in most shells will interpret backslash characters
- as escapes, and they are lost when reading binfmt files line-by-line.
- This causes magic strings containing backslashes to be mangled and
- become invalid, resulting in erroneous 'invalid entry' messages.
-
- The -r option to read disables special handling of backslashes and
- keeps all lines intact.
-
- X-Gentoo-Bug: 575114
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=575114
-
-commit 7eaf71176b87ae69bfa622aa621341a19a9d32b0
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Fix rc_env_allow wildcard usage
-
- Before this commit, using * in rc_env_allow did not work.
-
- This fixes #60.
-
-commit 2c1f6a16e10a45397e0872585dcb0e16684b6cbf
-Author: Mike Frysinger <vapier@gentoo.org>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- sysfs: mount pstore when available
-
-commit e82653782e1803e3c924aef055113333b18dafd9
-Author: Patrick Lauer <patrick@gentoo.org>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Add a basic OpenRC users guide
-
- X-Gentoo-Bug: 513024
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=513024
-
-commit e52b5f59c22283b22e2b5a0d2ab9de6b92a73ebf
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- savecache: stop saving nettree
-
- Netifrc is no longer part of OpenRC, so we shouldn't save its dep tree
- as part of savecache.
-
- This should have been removed when netifrc was split out. also, it
- might be related to the following bug.
-
- X-Gentoo-Bug: 563720
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=563720
-
-commit 8a7e4d38a74c714e1a532e1b7a53fd2a5c528b63
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- rc-service: add --ifinactive and --ifnotstarted flags
-
- X-Gentoo-Bug: 523174
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=523174
-
-commit 47dd5e37cbf372df3ee0fad2c87226dce5b51587
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- add back deprecation warnings lost during refactoring
-
-commit e277ae57efaba3be3eb619fd00084b116c370231
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- fix tests
-
- X-Gentoo-Bug: 572602
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=572602
-
-commit 69f052b611878d771fc3f56ee77639269db9b6e1
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- librc: Complain when a real and virtual service have the same name
-
-commit e4eacf02cae10eca48f6906592981d701b0c1973
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- openrc-run: in verbose mode, log execution of the shell script
-
- This is to show when openrc-run runs the openrc-run.sh script; it is
- used for debugging.
-
-commit 30c3561b6b648d60174a22a73555b680d2cc86fc
-Author: Colin Booth <colin@heliocat.net>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- sh/s6.sh: update s6-svc syntax to be valid for 2.2.0.0+
-
- The s6-svc syntax changed for wait-up, wait-ready, wait-down, and
- wait-finished. This changes the s6 handling script to use the current
- valid syntax.
-
- This fixes #65.
-
-commit 5f2850366ea0f30f0f9cb6b129b69192c11e74ac
-Author: Manuel Rüger <manuel@rueg.eu>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Fix typo
-
- This fixes #70.
-
-commit 1cb7eec31f37db0de11a4b39939fd3fbe17c1e24
-Author: Gokturk Yuksek <gokturk@binghamton.edu>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- conf.d/bootmisc: typo fix: s/dmesc/dmesg/
-
- This fixes #72.
-
-commit cd7883d25d0a9321b68df1c1e6ad9662306fa9e7
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- localmount: Allow users to control whether errors are ignored
-
- X-Gentoo-Bug: 572138
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=572138
-
-commit 62b49b2a3ad1c13012305b4d7281d7f6543c70d7
-Author: Doug Freed <dwfreed@mtu.edu>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- rc: remove use of magic constant and allow OpenVZ to drop to shell
-
- OpenVZ has had console support for a long time now; allow them to use it
- to drop to a shell during interactive boot.
-
-commit 4c814a0a285565bc09d662f602f93dbb938503c6
-Author: Doug Freed <dwfreed@mtu.edu>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- librc: handle rc_sys="prefix" even if we weren't built with a prefix
-
- This probably isn't needed, but it mimics old behavior.
-
-commit 36dde4e7f21afba36a96837aa86f2b5d2dae3807
-Author: Doug Freed <dwfreed@mtu.edu>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- librc: fix handling the nothing special case for rc_sys
-
-commit 649f63d882d53533ae8b1c3b28967e772e738c45
-Author: Doug Freed <dwfreed@mtu.edu>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- librc: move system detection code into rc_sys and use it
-
- This fixes an issue where librc code was calling code that only existed
- in the rc binary.
-
- This reverts commits 8addd79 and 9f6e056
-
- This fixes #75.
-
-commit 55a28f5d2524615560698453a5a6afd50460030c
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Revert "rc: make get_systype similar to the old rc_sys function"
-
- This reverts commit f79a7a7be18d68bf264efc60d82838d03048da6b.
-
-commit 6c0942137572608d02eb4b34bad55c9bf418a6ba
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Revert "librc: fix librc-depend functions to call rc_sys"
-
- This reverts commit 73482cf13a338051606788957cbd0031ac850c70.
-
-commit 79359f77cc786e18695368bccb6b6186ecfe38c0
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- fix bsd build
-
- X-Gentoo-Bug: 572068
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=572068
-
-commit f79a7a7be18d68bf264efc60d82838d03048da6b
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- rc: make get_systype similar to the old rc_sys function
-
-commit 73482cf13a338051606788957cbd0031ac850c70
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- librc: fix librc-depend functions to call rc_sys
-
-commit 0910c455d3723ac4d4b793afb61cd82f660547f4
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- src/rc/Makefile: fix make depend target
-
-commit f5e06bc55ab1717ddff8c21f00f48cfcba8cb4a7
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- include rc.h properly in source files
-
- We were attempting to include rc.h in rc-misc.h instead of the source
- files where it should be included.
-
-commit e7ae08c38d4753d8d54a4ed60ca98794d85aadd9
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- version 0.21
-
-commit 6da0abc0850dfc99df0ba50cbd0092929ec0107b
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- fix selinux build
-
- X-Gentoo-Bug: 571798
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=571798
-
-commit b34df9dd817069ade7e0526a59aaa9d3f2beb806
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- fix selinux build
-
-commit 6f02069746f4d8a2331ab7e000abdca9bbdd622d
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Add LANG, LC_MESSAGES and TERM to the environment whitelist
-
-commit d4c7207ef3906daf6f8646e8deb6d968fe76cb36
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- fix seg fault
-
-commit 04f05c30d13ec83b85164a536eb570f29a66b275
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- update ChangeLog
-
-commit 9473ac514cb72663d5c3bac8b5473cced4a20bf7
-Author: joe9 <joe9mail@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- allow the user to decide whether fsck aborts for errors
-
- X-Gentoo-Bug: 564008
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=564008
-
-commit bf2f40828ee26d3ba9185f29db596ee5d7b9cf61
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Remove multicall binary structure from OpenRC
-
- This eliminates the need for the selinux-specific wrapper scrript we
- were installing in /lib*/rc/{bin,sbin}.
-
-commit fe485f44339963fdbee143687dcbef2069924bc6
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- rc: fix compiler warnings cleanup
-
- This reverts commit 981d2b3308edb0d0a68f7bdce4f2c99110de6940 and fixes
- the warnings that generated.
-
-commit 53bc986ce5f9725d7117356e28224ac898f9c9bf
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Clean default env_whitelist
-
- The whitelist of environment variables we pass to service scripts
- included several unnecessary variables.
-
- The default whitelist now includes EERROR_QUIET, EINFO_QUIET,
- IN_BACKGROUND and IN_HOTPLUG.
-
- X-Gentoo-Bug: 569542
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=569542
-
-commit 981d2b3308edb0d0a68f7bdce4f2c99110de6940
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- rc: clean up compiler warnings
-
- The get_systype(), detect_container(), detect_prefix() and detect_vm()
- functions need to return "char *" instead of "const char *".
-
-commit 5d3e85bc310e12411135e98a397b35fb920a72a3
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- add ignore patterns for init.d directory
-
-commit 000503fad72e4eb2ef956a24df358be84b2a9493
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Convert OpenRC to a centralized copyright/license structure
-
- In the past, OpenRC was a hybrid of a centralized and file-scope
- license/copyright structure.
-
- I followed the instructions from the Software Freedom Law Center [1] to
- convert to a Centralized structure where possible, for easier future
- maintenance.
-
- [1] https://softwarefreedom.org/resources/2012/ManagingCopyrightInformation.html
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2017-03-12 18:56 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2017-03-12 18:56 UTC (permalink / raw
To: gentoo-commits
commit: cfdf56475e600f79a433cd721cadf39114c6c58d
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Sun Mar 12 18:55:25 2017 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Sun Mar 12 18:55:25 2017 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=cfdf5647
version 0.25
Makefile.inc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile.inc b/Makefile.inc
index d44d3f97..94b4e019 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -1,3 +1,3 @@
NAME= openrc
-VERSION= 0.24
+VERSION= 0.25
PKG= ${NAME}-${VERSION}
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2017-03-15 22:31 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2017-03-15 22:31 UTC (permalink / raw
To: gentoo-commits
commit: 48db17a93f5e60c0d241f8fb06bfbdd01206fb9c
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Tue Mar 14 23:43:46 2017 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Wed Mar 15 22:30:23 2017 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=48db17a9
update news file
NEWS.md | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/NEWS.md b/NEWS.md
index 6f4f9777..9d5117f8 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -3,6 +3,18 @@
This file will contain a list of notable changes for each release. Note
the information in this file is in reverse order.
+## OpenRC-0.24.1
+
+This version starts cleaning up the dependencies so that rc_parallel
+will work correctly.
+
+The first step in this process is to remove the 'before *' from the
+depend functions in the clock services. This means some services not
+controlled by OpenRC may now start before instead of after the clock
+service. If it is important for these services to start after the clock
+service, they need to have 'after clock' added to their depend
+functions.
+
## OpenRC-0.24
Since the deptree2dot tool and the perl requirement are completely
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2017-03-31 15:37 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2017-03-31 15:37 UTC (permalink / raw
To: gentoo-commits
commit: 1e9078279709df2a3617bf1460890ceb1ddfcf59
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Fri Mar 31 15:34:41 2017 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Fri Mar 31 15:34:41 2017 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=1e907827
agetty-guide: typo fix
agetty-guide.md | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/agetty-guide.md b/agetty-guide.md
index ce46a830..919a0bb0 100644
--- a/agetty-guide.md
+++ b/agetty-guide.md
@@ -5,10 +5,9 @@ getty, using agetty, on Linux. To use this method, make sure you aren't
spawning a getty manager for this port some other way (such as through
sysvinit/inittab), then run the following commands as root.
-Note that [port] refers to the port you are spawning the getty on, and
-not the full path to it. For example, tty0 or ttyS0instead of /dev/tty0
-or /dev/ttyS0.
-tty0 or ttyS0, not the full path to it (for example, tty0 or ttyS0 and
+Note that [port] refers to the port you are spawning the getty on, for
+example, tty1 or ttyS0. The full path to it, for example, /dev/tty1
+should not be used.
```
# cd /etc/init.d
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2017-04-17 17:49 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2017-04-17 17:49 UTC (permalink / raw
To: gentoo-commits
commit: 84c81ca02d7077a619dc704ff654385846fcd2b4
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Mon Apr 17 17:35:12 2017 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Mon Apr 17 17:35:12 2017 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=84c81ca0
update ChangeLog
ChangeLog | 183 +++++++++++++++++++++++++++++++++++++++++++++++++++++---------
1 file changed, 158 insertions(+), 25 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 10ee9c16..993641a2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,161 @@
+commit 0e3f8720984d7d5752a78a4135cd268e4f83b3d7
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ init: send term/kill signals as final step of shutdown
+
+commit 5fd3747b190887d094225547f23007d25e2d9592
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ reword the bugs section of the openrc-init man page
+
+commit 4694900190a9078397bb9083328b68b489af92f4
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ init: fix signal handling
+
+ The only signals we handle are SIGINT and SIGCHLD, so block all others
+ and unblock them in the child process before we start a rurnlevel.
+
+commit 05738bfce120114037d4f02c67ec740813f94b89
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ init: add re-exec capability
+
+ This will allow the re-execution of the init process after upgrading
+ OpenRC.
+
+commit 6f88ee4ec6f59e545346a7422facc3e5b6adac04
+Author: i.Dark_Templar <darktemplar@dark-templar-archives.net>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ bootmisc: do not remove ld-elf32.so.hints
+
+ File /var/run/ld-elf32.so.hints is used on FreeBSD 64bit multilib
+ This fixes #125.
+
+commit cc51bdca3bac963878141da047e92f125772e14f
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Add attribution to openrc-init.c and openrc-shutdown.c
+
+commit 13ca79856e5836117e469c3edbcfd4bf47b6bab0
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ add init process
+
+ openrc-init.c and openrc-shutdown.c are based on code which was written by
+ James Hammons <jlhamm@acm.org>, so I would like to publically
+ thank him for his work.
+
+commit 79a9edc73068244ad843f2edbe4206ce696c91c8
+Author: i.Dark_Templar <darktemplar@dark-templar-archives.net>
+Commit: i.Dark_Templar <darktemplar@dark-templar-archives.net>
+
+ Fix make install on FreeBSD: don't try to install /etc/init.d/modules twice
+
+commit 9eb669591e16c5ee0ca07babe058d0b7b2396077
+Author: Austin English <austinenglish@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ start-stop-daemon: warn if calling --start with --retry or --stop with --wait
+
+ This fixes #122
+
+commit 55a87a30ec845eb725e8a923c8f8eb7aa75baa72
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ init.d/agetty.in: add -prefix keyword
+
+commit a912029462ae988ab4e2a96a0958e54a3c2e822f
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ init.d/mount-ro: change dependency on killprocs and savecache to after
+
+ killprocs always succeeds and savecache is not required by mount-ro, so
+ we can just start after both of these have run.
+
+commit 1e9078279709df2a3617bf1460890ceb1ddfcf59
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ agetty-guide: typo fix
+
+commit 51a292e09b9362f13d5747d4eedaa521ddf9ce72
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ init.d: add agetty to ignore patterns
+
+commit 50fccf47d4bd2ed6e7ea6ff7f72577c8e7b95d0d
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ sh/gendepends.sh.in: fix detection of service scripts
+
+ We do not need to care about the path on the shebang line of a service
+ script as long as the shebang line ends with "openrc-run".
+ This fixes #119 and #120.
+
+commit 9bd63b5d4a16601712a65eb8962214cdd4d26ce5
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ update dependencies for clock service
+
+ The clock services had a very long list of "before" dependencies that
+ referred to other services within OpenRC. For ease of maintenance,
+ convert these to "after clock" dependencies in the individual services.
+
+commit 48db17a93f5e60c0d241f8fb06bfbdd01206fb9c
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ update news file
+
+commit c333707cba356f4cacfd58a6fcc78f7c073dddcd
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Remove all occurances of 'before *' from dependencies
+
+ Using wildcards in dependencies causes issues when rc_parallel is set to
+ yes because it can lead to deadlocks.
+ All dependencies need to be explicit rather than implicit.
+
+ This is the first stage of moving this direction.
+
+commit 5f5b1f7cbefd0bc14352e86a9c33260266f98d9b
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ init.d/sysfs.in: efivarfs tweaks
+
+ Since we check for /sys/firmware/efi/efivars, we do not need to check
+ for /sys/firmware/efi
+
+ Since Failing to mount efivarfs is not critical, we silence the error
+ message from mount.
+
+commit cfdf56475e600f79a433cd721cadf39114c6c58d
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ version 0.25
+
+commit fde3902d069dfdce9c59555186a5541d6d99c8aa
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ update ChangeLog
+
commit d7bbb0f5830e1ec4df1ec52714d70ac6b0a81878
Author: William Hubbs <w.d.hubbs@gmail.com>
Commit: William Hubbs <w.d.hubbs@gmail.com>
@@ -1256,28 +1414,3 @@ Commit: William Hubbs <w.d.hubbs@gmail.com>
Now both localmount and netmount support a critical_mounts setting. If
mount points listed in this setting fail to mount, localmount and
netmount will fail.
-
-commit 1c3c2cf6d8cb060d03919297f5fe706f6027a4c6
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- netmount: fix mounting on Linux
-
- Before this commit, on Linux, we were always trying to mount file
- systems marked with _netdev, even when the previous mount command
- failed. Now, we do not run the second mount if the first fails.
-
- X-Gentoo-Bug: 579876
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=579876
-
-commit 171e856ec8a0a64504b4b4a47ab6181d37fc3dbe
-Author: Mike Gilbert <floppym@gentoo.org>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- start-stop-daemon: Allow group read/write when creating output files
-
- This allows for better interaction with inherited ACL entries.
- This fixes #84.
-
- X-Gentoo-Bug: 577362
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/577362
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2017-04-19 22:38 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2017-04-19 22:38 UTC (permalink / raw
To: gentoo-commits
commit: 6ac094a59cf7b51d8527af15b07feca707a635c8
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Wed Apr 19 22:24:44 2017 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Wed Apr 19 22:24:44 2017 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=6ac094a5
version 0.26
Makefile.inc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile.inc b/Makefile.inc
index 94b4e019..59dfc101 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -1,3 +1,3 @@
NAME= openrc
-VERSION= 0.25
+VERSION= 0.26
PKG= ${NAME}-${VERSION}
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2017-05-12 3:01 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2017-05-12 3:01 UTC (permalink / raw
To: gentoo-commits
commit: e4bfb4530a86a4ccdff312c857df37fa0da36fd6
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Fri May 12 03:00:41 2017 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Fri May 12 03:00:41 2017 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=e4bfb453
update ChangeLog
ChangeLog | 157 ++++++++++++++++++++++++++++++++++++++++++++------------------
1 file changed, 111 insertions(+), 46 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 993641a2..75d2e89d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,114 @@
+commit 78e0042eccaf5a5554b195ad391b3ab0b8974cf6
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ man/rc-status: document changes for supervised daemons
+
+ rc-status now shows the amount of time a supervised daemon has been
+ active as well as the number of times it has been respawned during the
+ current respawn period.
+
+commit 82e12e309247bc84abf29aca04b3a2dd845fa11b
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ rc-status: show uptimes and respawn counts for supervised daemons
+
+commit 1ebef0d7a38ec0a9635418b75c3aabb564c1577e
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ fix to_time_t to honor dst
+
+commit 6b4050ab9cf9d678a1d6b7af7af7494f8533dbca
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ fix from_time_t function
+
+commit cf5e9aa2bbcdf1783fadeab26586c1134929d928
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Move time_t conversions to rc-misc.c so they can be shared
+
+commit a3250e77d412f2290e381b9e7569930d95e4fc5b
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ supervise-daemon: save start time and respawn count
+
+ This will allow rc-status to display an uptime and restart count for
+ supervised processes.
+
+commit df027ca4722c8755b23a65db75728b835ccca807
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ supervise-daemon: fix our status when we give up on the child process
+
+commit 4c89e3f5fa1c65ccd0c843f98e4013c2085f243f
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ supervise-daemon:create multiple options from --respawn-limit
+
+ This creates --respawn-delay, --respawn-max and --respawn-period. It was
+ suggested that it would be easier to follow if the options were
+ separated.
+
+ This is for #126.
+
+commit 3673040722b75c0a4d06fbeb272f917c7d1ea7c4
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ supervise-daemon: add a --respawn-limit option
+
+ Allow limiting the number of times supervise-daemon will attempt to respawn a
+ daemon once it has died to prevent infinite respawning. Also, set a
+ reasonable default limit (10 times in a 5 second period).
+
+ This is for issue #126.
+
+commit 96c8ba2fb5f91a711ef5bfcfd8affe0b74ad18fe
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ supervise-daemon: mark all open file descriptors FD_CLOEXEC
+
+commit 47cf1d0c707dc88d216bebc15be3f39d5eb47fa9
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ supervise-daemon:remove the controlling tty in the supervisor
+
+commit 06a6a27e441372164872c7712b80728527a6ec05
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ supervise-daemon: fix access to tty_fd and devnull_fd
+
+ Both the child and supervisor need access to these file descriptors.
+
+commit 5de3798afc55ce147e65926f863ec9c9cef60e79
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ supervise-daemon: mark the service started when the supervisor is active
+
+commit 6ac094a59cf7b51d8527af15b07feca707a635c8
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ version 0.26
+
+commit 84c81ca02d7077a619dc704ff654385846fcd2b4
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ update ChangeLog
+
commit 0e3f8720984d7d5752a78a4135cd268e4f83b3d7
Author: William Hubbs <w.d.hubbs@gmail.com>
Commit: William Hubbs <w.d.hubbs@gmail.com>
@@ -1368,49 +1479,3 @@ Commit: Anthony G. Basile <blueness@gentoo.org>
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=533828
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
-
-commit 92e2f2c7cc958effcec0ef773dda954a153d8e42
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- killprocs: remove calls to sleep
-
- X-Gentoo-Bug: 487084
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=487084
-
-commit ad23d5b8dbee70815c02271c78f415bcd7088076
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- openrc-run: clean up runscript deprecation message
-
-commit 62410eaf4ba92516a58a550717d7f3faf63bb79f
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- add daemon supervisor
-
- The supervise-daemon process is meant to be a lightweight supervisor
- which can monitor and restart a daemon if it crashes.
-
-commit fd80b6fc67ec6a0fe4853167fb67ee40bb51b742
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- localmount/netmount: clean up critical mount processing
-
- Fix a typo and do not fail if a path in critical_mounts is not listed as
- a critical mount does not get mounted.
-
-commit 5d130cc45cd334fd38b0c6874bcc81ac74636217
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- localmount/netmount: allow mount points to be marked critical
-
- In previous releases, we either treated no mount points as critical or
- all of them.
-
- Now both localmount and netmount support a critical_mounts setting. If
- mount points listed in this setting fail to mount, localmount and
- netmount will fail.
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2017-05-16 0:00 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2017-05-16 0:00 UTC (permalink / raw
To: gentoo-commits
commit: f1013037b47cdd6344f1b3ed92b7f84d7fcca01f
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Fri May 12 22:14:15 2017 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Fri May 12 22:14:15 2017 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=f1013037
version 0.27
Makefile.inc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile.inc b/Makefile.inc
index 59dfc101..34b92338 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -1,3 +1,3 @@
NAME= openrc
-VERSION= 0.26
+VERSION= 0.27
PKG= ${NAME}-${VERSION}
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2017-06-07 17:15 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2017-06-07 17:15 UTC (permalink / raw
To: gentoo-commits
commit: e84366fd232a41c3ba79ed351e93c74cef8d7c8d
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Wed Jun 7 17:03:52 2017 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Wed Jun 7 17:03:52 2017 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=e84366fd
Update ChangeLog
ChangeLog | 277 +++++++++++++++++++++++++++++++++++++++++++-------------------
1 file changed, 191 insertions(+), 86 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 75d2e89d..64c21cb3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,194 @@
+commit caacedc0a82285fb2d25c6d3473f154044c7ad66
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ man: update openrc-shutdown man page
+
+ Add the new wtmp options and fix some cross references.
+
+commit 84d140a1f6abf95a4170d13527152d3ab14e6613
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ scripts/shutdown: pass --single to openrc-shutdown
+
+ Sysvinit shutdown has a default of single user mode, but openrc-shutdown
+ makes you choose a default action. Because of this, the shutdown wrapper
+ needs to pass --single to openrc-shutdown.
+
+commit ee886c44824b1dd892eaff2c6da666286e61bc73
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ openrc-shutdown: add --single option and clean up option processing
+
+commit 1801561c2d36c330df7fd02c7508f503a61ff5ba
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ init.d/bootmisc: use openrc-shutdown instead of halt to write halt record
+
+ This fixes #139 and fixes #128.
+ and fixes #124.
+
+commit 7689106aa10f7852b707b4c21ec080ccb2767280
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ add support for writing reboot and shutdown records to wtmp
+
+commit 1564e155b726308200ecd5df315c002bd8b16952
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ openrc-init: add optional sysvinit compatibility
+
+commit 44bac3c3798f7eb9186c3ea8774552aa191bfae7
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Change killprocs to use kill_all instead of killall5
+
+ X-Gentoo-Bug:376977
+ X-Gentoo-Bug-URL:https://bugs.gentoo.org/show_bug.cgi?id=376977
+
+commit 0ddee9b7d2b8dea810e252ca6a95c457876df120
+Author: Sergei Trofimovich <slyfox@gentoo.org>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ openrc-init: fix buffer overflow in init.ctl
+
+ How to reproduce 1-byte overflow:
+
+ ```
+ $ FEATURES=-test CFLAGS="-fsanitize=address -O0 -ggdb3" emerge -1 openrc
+
+ =================================================================
+ ==1==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x7fff0efd8710
+ at pc 0x000000402076 bp 0x7fff0efd7d50 sp 0x7fff0efd7d40
+ WRITE of size 1 at 0x7fff0efd8710 thread T0
+ #0 0x402075 (/sbin/openrc-init+0x402075)
+ #1 0x3cf6e2070f in __libc_start_main (/lib64/libc.so.6+0x3cf6e2070f)
+ #2 0x4013b8 (/sbin/openrc-init+0x4013b8)
+
+ Address 0x7fff0efd8710 is located in stack of thread T0 at offset 2432 in frame
+ #0 0x401cfb (/sbin/openrc-init+0x401cfb)
+
+ This frame has 3 object(s):
+ [32, 160) 'signals'
+ [192, 344) 'sa'
+ [384, 2432) 'buf' <== Memory access at offset 2432 overflows this variable
+ HINT: this may be a false positive if your program uses some custom stack unwind mechanism or swapcontext
+ (longjmp and C++ exceptions *are* supported)
+ SUMMARY: AddressSanitizer: stack-buffer-overflow ??:0 ??
+ ```
+
+ The problem here is in the code handling reads from 'init.ctl':
+
+ ```
+ int main(int argc, char **argv) {
+ ...
+ char buf[2048];
+ for (;;) {
+ /* This will block until a command is sent down the pipe... */
+ fifo = fopen(RC_INIT_FIFO, "r");
+ count = fread(buf, 1, 2048, fifo);
+ buf[count] = 0;
+ ...
+ }
+ ```
+
+ `buf[count] = 0;` writes outside the buffer when `fread()` returns non-truncated read.
+
+ This fixes #138.
+
+commit 688566c535111a141f77caf88db12a4338544f7b
+Author: Sergei Trofimovich <slyfox@inbox.ru>
+Commit: Doug Freed <dwfreed@mtu.edu>
+
+ mk/cc.mk: make implicit function declarations fatal (#136)
+
+ Avoids issues with missing prototypes causing truncation of pointers.
+
+ Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
+
+commit 7185e242ffaa8cd1b672fe4726502a196fd779c2
+Author: Sergei Trofimovich <slyfox@inbox.ru>
+Commit: Doug Freed <dwfreed@mtu.edu>
+
+ rc-logger.c: fix crash on fclose(NULL) (#137)
+
+ Only close the log if we successfully opened it.
+
+ Reported-by: Brian Evans <grknight@gentoo.org>
+ Tested-by: Brian Evans <grknight@gentoo.org>
+ Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
+
+commit ec27299f4b88daa80261298fafea76ae634744d9
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ typo fix
+
+ X-Gentoo-Bug: 618888
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=618888
+
+commit 1ece16bfcd0ab71d2f9fe17a75ee6184e0fa4828
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ openrc-shutdown: add dry-run option
+
+commit 0cfd0dd9ef580ed9dc563ccc164d70efe8f299db
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ openrc-shutdown: move to single user mode by default
+
+ To be more compatible with sysvinit, move to single user mode if no
+ options are specified on the command line.
+
+commit a77ee2e94191ba1a286b8a6835f76556481566ba
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ init: add ability to switch to single user mode
+
+commit 49b8a573a195f4b2cee992cd10678694da0a6f4f
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ add kill_all helper
+
+ This is similar to the sysvinit killall5 utility. It should only be used
+ in service scripts, so it will not be installed in the path.
+
+ This closes #129.
+
+commit a2055af90054f5125cc07d4851b1dc9d16815e7c
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ rc_status: calculate time differences in time_t and display seconds in uptime
+
+commit cbf96967f1b6dc72ae16203dfbbb844bd08e8b6b
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ supervise-daemon: save start time and respawn count before dropping privs
+
+commit f1013037b47cdd6344f1b3ed92b7f84d7fcca01f
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ version 0.27
+
+commit e4bfb4530a86a4ccdff312c857df37fa0da36fd6
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ update ChangeLog
+
commit 78e0042eccaf5a5554b195ad391b3ab0b8974cf6
Author: William Hubbs <w.d.hubbs@gmail.com>
Commit: William Hubbs <w.d.hubbs@gmail.com>
@@ -1393,89 +1584,3 @@ Author: William Hubbs <w.d.hubbs@gmail.com>
Commit: William Hubbs <w.d.hubbs@gmail.com>
increment version to 0.22
-
-commit 5bfb7d6c77ff533e34e2bbfe5b6e57410d961d70
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Update ChangeLog
-
-commit 12c8248b5f53879935d4e62ef42023f703c7b636
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- update news for 0.21
-
-commit 820ef6dab674c2878d72edc8ea21e7250b1b5aec
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- supervise-daemon: clarify documentation about configuring daemon not to fork
-
-commit 87884db66767eba6317b506a4d7270dd22721831
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Make deprecation warnings for rc and runscript more visible
-
- These warnings were inserted in verbose only mode in OpenRC-0.13.A
- Now, we are making them more visible in preparation for removing these
- compatibility binaries in the future.
-
-commit 94077d264e14783e6ca5603d64e9d579fb206c20
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- supervise-daemon: log the exit code or signal when a child process dies
-
-commit 3351c8b4c3027f09003f8ba33e43f46762f5c453
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- supervise-daemon.sh: add support for chroot variable
-
-commit a8214af2fe3aa91930e3270af99cf1d9b7ef5b0a
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- start-stop-daemon.sh: fix regression in chroot support
-
- The support for the chroot variable was broken in 0.16, this fixes that
- breakage.
-
-commit 9a372812c78ea8efc55b3dea6a39c2d0559bca45
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- guide.md: typo fix
-
- This fixes #86.
-
-commit 3fa9015b8e5610d38366f781a08789e34159b0dc
-Author: Jason Zaman <jason@perfinion.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- rc-selinux: access check was backwards
-
-commit 3b5a8b331e81ecd9a9362553c16f4527291d5528
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- supervise-daemon: add pam service file
-
-commit b3a04e797e5e459842c2c239886ab6ea08a8dc29
-Author: Anthony G. Basile <blueness@gentoo.org>
-Commit: Anthony G. Basile <blueness@gentoo.org>
-
- runlevels/Makefile: add support for runlevel ‘nonetwork’
-
- Traditional System V reserves runlevel 2 for multiuser with no
- networking. We add support for this which is already defined in
- the inittab as
-
- l2:2:wait:/sbin/rc nonetwork
-
- X-Gentoo-Bug: 533828
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=533828
-
- Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2017-06-12 15:41 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2017-06-12 15:41 UTC (permalink / raw
To: gentoo-commits
commit: 3c40826d3466cdda1a46abcd5c86b661b8185f46
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Thu Jun 8 13:45:16 2017 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Thu Jun 8 13:45:16 2017 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=3c40826d
version 0.28
Makefile.inc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile.inc b/Makefile.inc
index 34b92338..9be0d45c 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -1,3 +1,3 @@
NAME= openrc
-VERSION= 0.27
+VERSION= 0.28
PKG= ${NAME}-${VERSION}
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2017-07-11 19:57 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2017-07-11 19:57 UTC (permalink / raw
To: gentoo-commits
commit: 492a6303cb8314263bfd3631e3b0de5a9df178da
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Tue Jul 11 19:57:13 2017 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Tue Jul 11 19:57:13 2017 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=492a6303
Update ChangeLog
ChangeLog | 192 ++++++++++++++++++++++++++++++++++++++++++++------------------
1 file changed, 138 insertions(+), 54 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 64c21cb3..0a1e13cc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,141 @@
+commit e7807b3136d8993805082320784460f5059e6275
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ fix sysvinit compatibility for shutdown wrapper
+
+commit 03a461ac0ee34b7900868cdea624c6fd868b1656
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ fix sysvinit compatibility for reboot wrapper
+
+commit 7e0f76e0adc545c74a8332a6ef0811d2aa62cb81
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ fix sysvinit compatibility for poweroff wrapper
+
+commit 9812ce5b8dc22fe36cc7bf75cf6e62db204ece3d
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ fix halt wrapper so it is sysvinit compatible
+
+ This makes the halt wrapper sysvinit compatible. It ignores several
+ command line switches which are not currently implemented; however,
+ those can be implemented if we need to do so.
+
+ This fixes https://github.com/openrc/openrc/issues/146.
+
+commit 12f75e4167f84a9a85f69924ebdb28ad36c085cb
+Author: Adam Borowski <kilobyte@angband.pl>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ man: fix an unclosed .Bl/.El warning
+
+ This fixes #151.
+
+commit 260368e0103e95625c29760f2c2ec89143e5a233
+Author: Adam Borowski <kilobyte@angband.pl>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ man: fix missing .Pp warnings
+
+ This fixes #151.
+
+commit f87a9eec3d23ea01578500972f1df993d5d24fba
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ init.d/sysfs: mount efivars read only
+
+ This fixes #134.
+
+commit 1e837d596e483ceb5cec177a6c7faff24a42384b
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ fix argument parsing for the sysvinit shutdown wrapper
+
+ This fixes #140.
+
+commit dcc686e42b406d63d52ef75de9a326f67d0a06c9
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ scripts/shutdown: fix arguments to be sysvinit shutdown compatible
+
+ This fixes #140.
+
+commit 2f81c100afdf45ebf787dfc5d3261aa6055640e4
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Fix link to shutdown for MKSYSVINIT=yes
+
+commit a511a48d77b1dcb8a3fb0dd1abddb750a152869b
+Author: Nuno Silva <nuno.m.ribeiro.silva@tecnico.ulisboa.pt>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ init.d/hostname: fix default parameter syntax
+
+ The syntax for expanding a variable with a default value is
+ ${parameter:-word}
+ not
+ ${parameter-word}
+ although the latter still works for a reason I could not explain.
+
+ This fixes #143.
+
+commit 1e5322e5c55ec744a2cdcc3342ef6547eab7c46f
+Author: Nuno Silva <nuno.m.ribeiro.silva@tecnico.ulisboa.pt>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ init.d/hostname: fix indentation
+
+ This is for #143.
+
+commit 199a210d2fbc524c9c400a06f832dabffd7ed1b3
+Author: udeved <artoo@manjaro.org>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ scripts/Makefile: make symlinks absolute instead of relative
+
+ This closes #142.
+
+commit 5b7667af32effddf867a5d021c66d43f0645d374
+Author: udeved <artoo@manjaro.org>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ scripts/Makefile: respect SBINDIR with MKSYSVINIT
+
+ This is for #142.
+
+commit 11243f85b67e5f450ddf50346ffd4a1b2c6faeb5
+Author: Jory A. Pratt <anarchy@gentoo.org>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ kill_all: include limits.h for PATH_MAX
+
+commit 3c40826d3466cdda1a46abcd5c86b661b8185f46
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ version 0.28
+
+commit 560d874d2fee63bf7ca11f17cf9933021b639a1d
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ fix compile issue for musl
+
+commit e84366fd232a41c3ba79ed351e93c74cef8d7c8d
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Update ChangeLog
+
commit caacedc0a82285fb2d25c6d3473f154044c7ad66
Author: William Hubbs <w.d.hubbs@gmail.com>
Commit: William Hubbs <w.d.hubbs@gmail.com>
@@ -1530,57 +1668,3 @@ Commit: William Hubbs <w.d.hubbs@gmail.com>
Build: fix hardcoded pkg-config invocation
This fixes #89.
-
-commit ac8ad169ae59fece38066c2e08ff57d53d737edd
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- hwclock: always use --noadjfile if available
-
- When we use the --utc or --localtime switch, also use --noadjfile if it
- is available. This means hwclock will not use a drift file.
-
- X-Gentoo-Bug: 584722
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=584722
-
-commit 553799400218903ab495d1154a41c6d8890cb752
-Author: Mike Gilbert <floppym@gentoo.org>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- man: Document the procname variable for openrc-run
-
- X-Gentoo-Bug: 586794
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/586794
-
-commit 5af5d12f3e56f9f2ff232d124d27c856fd66f551
-Author: Benda Xu <heroxbd@gentoo.org>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Fix PATH for Prefix.
-
- 1. remove default /bin:/sbin:/usr/bin:/usr/sbin
- 2. PKG_PREFIX should be defaulted to $(PREFIX)/usr
- 3. LOCAL_PREFIX should be defaulted to $(PREFIX)/usr/local
-
- X-Gentoo-Bug:583634
- X-Gentoo-Bug-URL:https://bugs.gentoo.org/show_bug.cgi?id=583634
-
-commit b2c92b88cc6ce6d81444667efbc6d44542db1788
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- fstabinfo/mountinfo: ensure /etc/fstab exists before calling setmntent
-
- This is based on a patch by A. Wilcox <awilfox.gentoo@foxkit.us>.
-
- X-Gentoo-Bug: 478226
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=478226
-
- X-Gentoo-Bug: 478226
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=478226
-
-commit 1b32af17225a4b18ced7f4326727cbe8265e7fd2
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- increment version to 0.22
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2017-07-11 20:13 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2017-07-11 20:13 UTC (permalink / raw
To: gentoo-commits
commit: 3fd3bfc76dccc3752f4af949ad4076dab26357fb
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Tue Jul 11 20:10:16 2017 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Tue Jul 11 20:10:16 2017 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=3fd3bfc7
add link to efivars issue to news file
NEWS.md | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/NEWS.md b/NEWS.md
index 53802b40..36662544 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -10,6 +10,10 @@ this file system making systems unbootable. If you need to change something
in this path, you will need to re-mount it read-write, make the change
and re-mount it read-only.
+For more information oon this issue, see the following url:
+
+https://github.com/openrc/openrc/issues/134
+
## OpenRC-0.25
This version contains an OpenRC-specific implementation of init for
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2017-07-13 22:51 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2017-07-13 22:51 UTC (permalink / raw
To: gentoo-commits
commit: 84c5da30695db89d686d3c28c7cacdf172cbf429
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Thu Jul 13 22:51:02 2017 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Thu Jul 13 22:51:02 2017 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=84c5da30
Update ChangeLog
ChangeLog | 34 ++++++++++++++++++----------------
1 file changed, 18 insertions(+), 16 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 0a1e13cc..cbb2c408 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,21 @@
+commit b35099cb707e333b6b8d30d956ffa93bcd2da0ab
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Add comment about overriding the default efivars mount in fstab to news
+
+commit 3fd3bfc76dccc3752f4af949ad4076dab26357fb
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ add link to efivars issue to news file
+
+commit 492a6303cb8314263bfd3631e3b0de5a9df178da
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Update ChangeLog
+
commit e7807b3136d8993805082320784460f5059e6275
Author: William Hubbs <w.d.hubbs@gmail.com>
Commit: William Hubbs <w.d.hubbs@gmail.com>
@@ -1652,19 +1670,3 @@ Author: William Hubbs <w.d.hubbs@gmail.com>
Commit: William Hubbs <w.d.hubbs@gmail.com>
make variable aflag a boolean show_all
-
-commit 7f84b5d741c150cd159d5a3cda3ef532f0381826
-Author: Jaromil <jaromil@dyne.org>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- libeinfo: document the x suffix on function names
-
- This fixes #88.
-
-commit 8bca2cd4b3c710809131ac036456b34c223e8d12
-Author: Julian Ospald <hasufell@posteo.de>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Build: fix hardcoded pkg-config invocation
-
- This fixes #89.
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2017-07-13 22:51 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2017-07-13 22:51 UTC (permalink / raw
To: gentoo-commits
commit: b35099cb707e333b6b8d30d956ffa93bcd2da0ab
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Thu Jul 13 22:49:17 2017 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Thu Jul 13 22:49:25 2017 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=b35099cb
Add comment about overriding the default efivars mount in fstab to news
NEWS.md | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/NEWS.md b/NEWS.md
index 36662544..053a3cd6 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -10,7 +10,10 @@ this file system making systems unbootable. If you need to change something
in this path, you will need to re-mount it read-write, make the change
and re-mount it read-only.
-For more information oon this issue, see the following url:
+Also, you can override this behavior by adding a line for efivars to
+fstab if you want efivars mounted read-write.
+
+For more information on this issue, see the following url:
https://github.com/openrc/openrc/issues/134
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2017-07-24 22:29 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2017-07-24 22:29 UTC (permalink / raw
To: gentoo-commits
commit: 0513cd3964a9564e0ba39b50aa8ebd3d7e9a3920
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Mon Jul 24 22:28:54 2017 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Mon Jul 24 22:28:54 2017 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=0513cd39
version 0.29
Makefile.inc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile.inc b/Makefile.inc
index 9be0d45c..e984c1bb 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -1,3 +1,3 @@
NAME= openrc
-VERSION= 0.28
+VERSION= 0.29
PKG= ${NAME}-${VERSION}
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2017-08-16 17:16 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2017-08-16 17:16 UTC (permalink / raw
To: gentoo-commits
commit: df28002b728b033c00c2da64dedf2bcd4ab5e11b
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Wed Aug 16 16:38:37 2017 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Wed Aug 16 16:38:37 2017 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=df28002b
Update ChangeLog
ChangeLog | 270 +++++++++++++-------------------------------------------------
1 file changed, 56 insertions(+), 214 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index cbb2c408..8270b2a0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,59 @@
+commit 66ed8082d0c865a0b4f4cc436cf9e13351e3d6fe
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ sh/openrc-run: source service script before ulimit is processed
+
+ This is needed to allow the service script author to set a default for
+ rc_ulimit inside the service script.
+
+commit c2d256bafb9d1dfafbfd0846c035c5d26f7449c8
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ man/openrc-run.8: document fstabinfo and mountinfo
+
+ X-Gentoo-Bug: 592374
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=592374
+
+commit f48d9c33a5c708c871d6657a39485d1c0c735548
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ man/openrc-run.8: document _pre and _post functions
+
+ Fixes https://github.com/openrc/openrc/issues/155.
+
+commit 6d4e8433974fd8567885635ae0454031290f96b1
+Author: Jason Graham <jgraha8@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ fix ENT macro usage
+
+ X-Gentoo-Bug: 624796
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=624796
+
+commit 0513cd3964a9564e0ba39b50aa8ebd3d7e9a3920
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ version 0.29
+
+commit 72bb2e57de935ab46ad000f97a5720265bed9342
+Author: John R. Graham <john_r_graham@gentoo.org>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Typo fix
+
+ X-Gentoo-Bug: 624908
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=624908
+
+commit 84c5da30695db89d686d3c28c7cacdf172cbf429
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Update ChangeLog
+
commit b35099cb707e333b6b8d30d956ffa93bcd2da0ab
Author: William Hubbs <w.d.hubbs@gmail.com>
Commit: William Hubbs <w.d.hubbs@gmail.com>
@@ -1456,217 +1512,3 @@ Commit: William Hubbs <w.d.hubbs@gmail.com>
X-Gentoo-Bug: 342313
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=342313
-
-commit 1a55d46645b376cd27f394796934150120a08387
-Author: Raymond Jennings <shentino@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- local.d/README: typo fix
-
- X-Gentoo-Bug: 591258
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=591258
-
-commit cae3976ef1276ce33aa7e49474f13499a48a3fe6
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- init.d: Add runsvdir to ignore patterns
-
-commit da28a3d367b6078deda6bc205806b43b971e67a9
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- init.d: initial service adjustments for docker support
-
- Add -docker keyword to the same scripts that have -lxc keyword.
-
-commit ca8c29ee60b0e8ca89091aaf801725bd71e28001
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- librc: fix Docker auto detection
-
- The original auto detection of Docker containers assumed the presence of
- a container environment variable. However, Docker-1.12 does not
- implement this, and I'm not sure which versions of docker implemented
- it.
-
- The new test is for the presence of a file named .dockerenv in the
- root directory.
-
-commit f62253b8334a85dac4671e42817b96a3bedd1881
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Add support for runit
-
- X-Gentoo-Bug: 501364
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=501364
-
-commit f2c2e2dd5a5e0a22da4dcabea6615d0f4697a962
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- init.d/sysctl.in: typo fix
-
-commit 94b98430cb83a8f4e62d837100fc357e9eb12ca6
-Author: Kenneth Lakin <kennethlakin@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- start-stop-daemon: Add SSD_IONICELEVEL
-
- This is the disk IO counterpart to SSD_NICELEVEL.
- Modified by William Hubbs to add the variable to the start-stop-daemon
- man page.
-
- This fixes #69.
-
-commit b19d0a40d7f20987323d5af91469c720ead39561
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- init.d/loopback: remove unnecessary stop function
-
-commit 0c229faf7e6a57bcff70f2143b83cb69a34c89f4
-Author: Martin Väth <martin@mvath.de>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- tmpfiles.sh: Support lines with q Q h H
-
- btrfs support is not implemented yet (for q Q v), but at least tmpfiles.sh
- no longer chokes about tmpfiles.d lines of recent systemd versions
-
- This fixes #87.
-
-commit 3092e310acd376fc626cc051549e02bcd7697aed
-Author: Mike Gilbert <floppym@gentoo.org>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- tmpfiles: Accept filenames as command line arguments
-
- This brings us closer to being able to use tmpfiles.sh as a full
- replacement for systemd-tmpfiles.
-
- This closes #83.
-
-commit 671911762d1bcd90c10d8ac0eb30fe10be4a65f6
-Author: Mike Gilbert <floppym@gentoo.org>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- tmpfiles: Process command line before gathering config files
-
- This is part of #83.
-
-commit 7d68839e9ea89b0a92aef69a9b4fd298554bb9b1
-Author: Mike Gilbert <floppym@gentoo.org>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- tmpfiles: Make unrecognized options fatal
-
- This is part of #83.
-
-commit 5341a925c15934674031aebb97533b0adcd10236
-Author: Jakub Jirutka <jakub@jirutka.cz>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- s6-guide: fix typo
-
- This fixes #92.
-
-commit 3adb8fb389caaafbed1be13c5ac4d96214c8eed3
-Author: Doug Freed <dwfreed@mtu.edu>
-Commit: Doug Freed <dwfreed@mtu.edu>
-
- rc-logger: refuse to cat TMPLOG into itself
-
- This prevents an infinite loop in case somebody decides to set
- rc_log_path to match TMPLOG.
-
-commit 8927a37fb790e718c956376242a532ab9d1755e7
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- etc: remove rc.conf.* file fragments
-
-commit b085b2cda58bc884acb959e48f14fb044c983042
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- etc: create default rc.conf
-
- Before now, /etc/rc.conf was created by the build system from multiple
- rc.conf.* file fragments and there was no reason for this.
-
-commit daf93977641201f16c477b075ce9055a1da8f7b3
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- init.d: combine sysctl scripts
-
- We had separate sysctl scripts for each operating system. However, there
- is no need to do this since we can detect the operating system at
- runtime with $RC_UNAME.
-
-commit 2984504c887afc9a36610eb7c20b097f7d1e70d0
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- conf.d: remove staticroute file fragments
-
-commit 35e8386c24df6483f2918979dae150421f7151df
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- conf.d: makestaticroute file static
-
-commit 2108285d64e2ee8cc03fbe544efc3752fe349bdd
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- conf.d: remove network file fragnents
-
-commit a3133fec250eca3cdfb460c2ce26c707fd593c09
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- conf.d: make network file static
-
-commit 314ae3dc781d7ae8fc26c276a85b0dc6ab6bc326
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- modules: add support for FreeBSD
-
- This is based on a patch submitted by
- Joe Maloney <pkgdemonteam@gmail.com>.
-
- This fixes #91.
-
-commit 695be59083cdf0d2ff9296f2c210e591c51bdf40
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- rc-status: add -m/--manual option to show manually started services
-
- X-Gentoo-Bug: 585906
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=585906
-
-commit c962678dd6ab1314b55c2a3bcdae03902bda39b8
-Author: Doug Freed <dwfreed@mtu.edu>
-Commit: Doug Freed <dwfreed@mtu.edu>
-
- rc: Rename some static variables to kill warnings
-
-commit 3a1262703fd20d2e8288d13d908fb282c77d1793
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Remove the DEBUG_MEMORY macro
-
- This fixes #43.
-
-commit 20035210bdf5d5729734457f35f5f32a53a5b3ad
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- make variable aflag a boolean show_all
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2017-08-24 16:45 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2017-08-24 16:45 UTC (permalink / raw
To: gentoo-commits
commit: 27c2bd997d5173aa30844a16bc22dc8caab09f8c
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Thu Aug 24 16:44:32 2017 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Thu Aug 24 16:44:32 2017 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=27c2bd99
version 0.30
Makefile.inc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile.inc b/Makefile.inc
index e984c1bb..db4cce3e 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -1,3 +1,3 @@
NAME= openrc
-VERSION= 0.29
+VERSION= 0.30
PKG= ${NAME}-${VERSION}
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2017-09-06 22:33 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2017-09-06 22:33 UTC (permalink / raw
To: gentoo-commits
commit: a09b8af3f98c0700a9b838b7f3683ee58eecc912
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Wed Sep 6 22:31:01 2017 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Wed Sep 6 22:31:01 2017 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=a09b8af3
Update ChangeLog
ChangeLog | 190 +++++++++++++++++---------------------------------------------
1 file changed, 52 insertions(+), 138 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 8270b2a0..e43cf43d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,55 @@
+commit 382efdbfcb99703d03211efacd800c9575e64230
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ add quiet parameter to run_stop_schedule
+
+commit 17b5cc78d35dc5fe4904e5951715c3e0d07d6343
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ add retry option to supervise-daemon
+
+ The --retry option for supervise-daemon defines how the supervisor will
+ attempt to stop the child process it is monitoring. It is defined when
+ the supervisor is started since stopping the supervisor just sends a
+ signal to the active supervisor.
+
+ This fixes #160.
+
+commit 36a0ab9054512ade413226fb8e8b28060045e9a4
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ make run_stop_schedule accept a pid instead of a pid file
+
+commit 27c2bd997d5173aa30844a16bc22dc8caab09f8c
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ version 0.30
+
+commit d7938f54f29193251e083ad35a7d464949829096
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ start-stop-daemon: move --retry processing code to a shared module
+
+ This was part of start-stop-daemon; however, it needs to be shared in
+ order to be used by supervise-daemon.
+
+commit cfbe9c2ede24dac530ef58e5c35bd57f22a788a3
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ move get_pid function to a shared file
+
+commit df28002b728b033c00c2da64dedf2bcd4ab5e11b
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Update ChangeLog
+
commit 66ed8082d0c865a0b4f4cc436cf9e13351e3d6fe
Author: William Hubbs <w.d.hubbs@gmail.com>
Commit: William Hubbs <w.d.hubbs@gmail.com>
@@ -1374,141 +1426,3 @@ Commit: William Hubbs <w.d.hubbs@gmail.com>
This reworks the logic so that the warning about configuring the
binfmt_misc module is only displayed if the module actually has to be
loaded.
-
-commit d4d559323819c8a5279bf197d8d3ff80f1e28cdc
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- sh/openrc-run.sh: read global configuration settings first
-
- X-Gentoo-Bug: 503134
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=503134
-
-commit d5db5489be135ae9295e378e789b4b7b13367fdd
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- init.d/swap: do not unmount all tmpfs file systems
-
- X-Gentoo-Bug: 568162
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=568162
-
-commit d06db93d5954460668d09cf6ef2fc401ee9d981c
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- remove swapfiles service
-
- The swapfiles service was basically a copy of the swap service, so this
- commit consolidates the functionality into the swap service.
-
- X-Funtoo-Bug-URL: https://bugs.funtoo.org/browse/FL-2523
- X-Gentoo-Bug: 568162
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=568162
-
-commit 8c14d0c476e06fff7598c526e26b6a13d53a4600
-Author: Martin Väth <martin@mvath.de>
-Commit: Martin Väth <martin@mvath.de>
-
- Fix typo in RC_UNAME check of modules-load
-
- The $RC_UNAME "Linux" had been misspelled as "linux".
- As a consequence, entries in e.g. /etc/modules-load.d failed to
- load any module succesfully under Linux(!)
-
-commit 04debf6f25b3748a101b61cb85f78617dbe5be6e
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- another news typo fix
-
-commit c289774b00d0d7dc38fdc1f0f623569bd184a4b1
-Author: Doug Freed <dwfreed@mtu.edu>
-Commit: Doug Freed <dwfreed@mtu.edu>
-
- modules-load: handle comments better
-
- This handles comments without a trailing space after the comment
- character.
-
- Reported-By: josef64
-
-commit 9dd8ee330d8a4449c937bc95fc8393a55913c8d1
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- typo fix
-
-commit 5d5856c193768d24f11d5f0533e48c39526aef5c
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Update news file
-
- Add information on modules-load service and more explanation about
- dealing with the rc -> openrc and runscript -> openrc-run transitions.
-
-commit 686e172207ac9e23560da18a6f877be777ded935
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- init.d: add modules-load to ignore patterns
-
-commit fef6268f8d03e3ab3e2564cbf3634d0db2bcd99e
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- modules-load.d: cleanups
-
- Move list of directories to a local variable and create the fn variable
- to use for an individual file name rather than using path.
-
-commit 556dbff99d53cdcc00e6b1ec67e1679f72b6f284
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Add modules-load.d support
-
-commit 69ac78d76a31d843c004717eb6aa6a77bb4c9a8e
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- openrc-run: make runscript warning respect quiet option
-
- X-Gentoo-Bug: 591414
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=591414
-
-commit 4018dfc8de4818101c336ff8bcf0f4762b318c6a
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- init.d/hostname: do not use localhost as a default hostname
-
- This allows the operating system default hostname to be used if no
- hostname is configured.
-
-commit 353bb9bc9a0ab3c6650d72d2ceb14c990762a2a0
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- init.d/hostname: add support for /etc/hostname
-
-commit 73cdf10f1f513be7b5dec4f1cc91e0c68cda689b
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Deprecate automatic loading of modules
-
- In the hwclock, procfs and sysfs service scripts, we automatically
- attempt to load the kernel modules we need before we take any action. We
- shouldn't do this, because there are systems which do not use kernel
- modules and do not have the kmod package installed.
-
- With this change, we continue to load the modules ourselves, but we warn
- the admin that they need to be added to /etc/conf.d/modules or built
- into the kernel.
-
- In the future, this automatic loading will be dropped.
-
- X-Gentoo-Bug: 342313
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=342313
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2017-09-07 17:25 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2017-09-07 17:25 UTC (permalink / raw
To: gentoo-commits
commit: a71a461e452a98554346c47411e9c9012023c201
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Thu Sep 7 16:28:09 2017 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Thu Sep 7 16:28:09 2017 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=a71a461e
version 0.31
Makefile.inc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile.inc b/Makefile.inc
index db4cce3e..908d1034 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -1,3 +1,3 @@
NAME= openrc
-VERSION= 0.30
+VERSION= 0.31
PKG= ${NAME}-${VERSION}
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2017-09-14 15:57 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2017-09-14 15:57 UTC (permalink / raw
To: gentoo-commits
commit: 6d7713a758b7e78f05e6a3cc101f862d28d778ab
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Thu Sep 14 15:39:38 2017 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Thu Sep 14 15:39:38 2017 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=6d7713a7
guide.md: clarify cgroups documentation
Update the documentation to reflect cgroups version 2 support.
Also, add a section on dealing with orphaned service processes.
This fixes #94.
guide.md | 37 ++++++++++++++++++++++++++++---------
1 file changed, 28 insertions(+), 9 deletions(-)
diff --git a/guide.md b/guide.md
index 7aa23a63..e7e8f4b4 100644
--- a/guide.md
+++ b/guide.md
@@ -241,17 +241,36 @@ messages to a file), and a few others.
# ulimit and CGroups
-Setting `ulimit` and `nice` values per service can be done through the `rc_ulimit`
-variable.
+Setting `ulimit` and `nice` values per service can be done through the
+`rc_ulimit` variable.
-Under Linux, OpenRC can optionally use CGroups for process management.
-By default each service script's processes are migrated to their own CGroup.
+Under Linux, OpenRC can use cgroups for process management as well. Once
+the kernel is configured appropriately, the `rc_cgroup_mode` setting in
+/etc/rc.conf should be used to control whether cgroups version one,,
+two, or both are used. The default is to use both if they are available.
+
+By changing certain settings in the service's `conf.d` file limits can be
+enforced per service. These settings are documented in detail in the
+default /etc/rc.conf under `LINUX CGROUPS RESOURCE MANAGEMENT`.
+
+# Dealing with Orphaned Processes
+
+It is possible to get into a state where there are orphaned processes
+running which were part of a service. For example, if you are monitoring
+a service with supervise-daemon and supervise-daemon dies for an unknown
+reason. The way to deal with this will be different for each system.
+
+On Linux systems with cgroups enabled, the cgroup_cleanup command is
+added to all services. You can run it manually, when the service is
+stopped, by using:
+
+```
+# rc-service someservice cgroup_cleanup
+```
+
+The `rc_cgroup_cleanup` setting can be changed to yes to make this
+happen automatically when the service is stopped.
-By changing certain values in the `conf.d` file limits can be enforced per
-service. It is easy to find orphan processes of a service that persist after
-`stop()`, but by default these will NOT be terminated.
-To change this add `rc_cgroup_cleanup="yes"` in the `conf.d` files for services
-where you desire this functionality.
# Caching
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2017-09-15 20:32 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2017-09-15 20:32 UTC (permalink / raw
To: gentoo-commits
commit: 2f60a959b442866b0e879d83f2732c4fa3ed3f7d
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Fri Sep 15 19:25:33 2017 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Fri Sep 15 19:25:33 2017 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=2f60a959
update news file
NEWS.md | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/NEWS.md b/NEWS.md
index 053a3cd6..5ba32144 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -3,6 +3,12 @@
This file will contain a list of notable changes for each release. Note
the information in this file is in reverse order.
+## OpenRC 0.31
+
+This version adds support for Control Groups version 2, which is
+considered stable as of Linux-4.13. Please see /etc/rc.conf for
+documentation on how to configure control groups.
+
## OpenRC-0.28
This version mounts efivars read only due to concerns about changes in
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2017-09-16 18:27 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2017-09-16 18:27 UTC (permalink / raw
To: gentoo-commits
commit: dcb4a4d2613a1fdf85651b32e5b7a87528f487bc
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Sat Sep 16 18:24:52 2017 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Sat Sep 16 18:24:52 2017 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=dcb4a4d2
version 0.32
Makefile.inc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile.inc b/Makefile.inc
index 908d1034..a268381d 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -1,3 +1,3 @@
NAME= openrc
-VERSION= 0.31
+VERSION= 0.32
PKG= ${NAME}-${VERSION}
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2017-09-16 18:27 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2017-09-16 18:27 UTC (permalink / raw
To: gentoo-commits
commit: e312e569970c74cf52e255da67034391b68dafac
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Fri Sep 15 20:33:24 2017 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Fri Sep 15 20:33:24 2017 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=e312e569
Update ChangeLog
ChangeLog | 188 +++++++++++++++++++++++++++++++++-----------------------------
1 file changed, 99 insertions(+), 89 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index e43cf43d..9bfe4ec4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,102 @@
+commit 2f60a959b442866b0e879d83f2732c4fa3ed3f7d
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ update news file
+
+commit 25b45a5a239318fb57c405c3fe64e53b0738ad68
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ cgroup_cleanup: try to remove the cgroup version 2 cgroup
+
+ If we were able to kill all the processes in the cgroup, it should be
+ removed.
+
+commit 4651b8c7e9e2ef9c1ea1fb8d174d1ca4693627af
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ rc-cgroup.sh: cgroup_cleanup fix error handling
+
+ cgroup_cleanup should warn if it is unable to clean up all processes in
+ the control group, but it will always return success.
+
+commit 50608b54ed98acb54fec5fe3323909ea684d3af9
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ rc-cgroup.sh: fix signal names
+
+ The "SIG" prefix on signal names passed to kill -s isn't portable.
+
+commit b0a077a35f85e266fdb82a245dcbda18664a8567
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ add quiet switch to do_stop in src-schedules.c
+
+ This allows supervise-daemon to run this code without attempting to
+ print some status messages used by start-stop-daemon.
+
+commit 6a5ca2ab368d0a85f51bb559672dba2e3ffcc6be
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ make the procedure for killing child processes of services configurable
+
+commit 2b0345165e5af57ca61a4000c3671bbe6d677cf9
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Make cgroup_cleanup send only one sigterm and sigkill
+
+ Instead of looping and sending multiple signals to child processes in
+ cgroup_cleanup, we send sigterm followed by sleeping one second then
+ sigkill.
+
+ This brings us more in line with systemd's "control group" killmode
+ setting.
+
+ Also, this commit includes several shellcheck cleanups.
+
+commit 8885580986ab8adc951fe32b9323c8b16130fb4f
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ rc-cgroup.sh: move cgroup_cleanup to the end of the file
+
+commit 6d7713a758b7e78f05e6a3cc101f862d28d778ab
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ guide.md: clarify cgroups documentation
+
+ Update the documentation to reflect cgroups version 2 support.
+ Also, add a section on dealing with orphaned service processes.
+
+ This fixes #94.
+
+commit 457f928e793cb1f6ef254935ad07f58b8762c72f
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ add support for control groups version 2
+
+ This is for #94.
+
+commit a71a461e452a98554346c47411e9c9012023c201
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ version 0.31
+
+commit a09b8af3f98c0700a9b838b7f3683ee58eecc912
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Update ChangeLog
+
commit 382efdbfcb99703d03211efacd800c9575e64230
Author: William Hubbs <w.d.hubbs@gmail.com>
Commit: William Hubbs <w.d.hubbs@gmail.com>
@@ -1337,92 +1436,3 @@ Author: Doug Freed <dwfreed@mtu.edu>
Commit: Doug Freed <dwfreed@mtu.edu>
rc-misc: allow EINFO_VERBOSE through too
-
-commit 1edb5f6fd9c4827e5d4ed5c854bc322ba8a7df73
-Author: Doug Freed <dwfreed@mtu.edu>
-Commit: Doug Freed <dwfreed@mtu.edu>
-
- rc-misc: Allow EINFO_COLOR through env_filter()
-
- This allows rc-service -C <service> <action> to properly not print color
- messages.
-
- Fixes #93
-
-commit c4d7e02abd7008b8e8ad16f62c2abbb60fab252b
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Fix permission checks for cgroups
-
- This is needed because containers may give read access to cgroups but
- not allow the settings to be changed.
-
-commit a4e0d675e13f07bf880da10a4d602983a556264d
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- man/openrc-run.8: update variable documentation
-
- - document command_args_background and command_user.r
- - clarify documentation for command_background
-
- This fixes #78.
-
-commit 8a8032478a755f6e2ceaebc5425e61c6817df936
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Make use of name vs RC_SVCNAME consistent in supervisor scripts
-
- This fixes #79.
-
-commit ac53c9a658589456c678b6bfe674a66a3845e564
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- sh/init.sh: fix the test for cache restoration
-
- This fixes the test for cache restoration since we are no longer caching
- the dependency tree.
-
-commit b02ff466fa75cc4b5bcfaff3f2989cc65c823f43
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- savecache: stop saving the dependency tree
-
- This fixes #85.
-
-commit 6bd0f2d096f149906061a4ac7b66b7e85516784a
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- init.d/procfs: typo fix
-
-commit 63f8ae466f046dcdbb0ba13ef96e63eeec86e6e6
-Author: frickler01 <frickler01@users.noreply.github.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Format code blocks and variable/path notations
-
- Add markdown backticks for commands, variable names and path as well
- as code blocks for better readability.
-
- This fixes #97.
-
-commit 841b883825ddf9982a673b3964757f6df25acd46
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- hwclock: fix module load warning
-
-commit ba10793b0b85b11fae04e6526716c6f7976afde1
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- init.d/procfs: fix binfmt_misc module load warning
-
- This reworks the logic so that the warning about configuring the
- binfmt_misc module is only displayed if the module actually has to be
- loaded.
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2017-10-02 16:22 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2017-10-02 16:22 UTC (permalink / raw
To: gentoo-commits
commit: 8e53a3fa8a33fb714064ddbe38bff2213fcf6837
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Mon Oct 2 16:21:29 2017 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Mon Oct 2 16:21:29 2017 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=8e53a3fa
Update ChangeLog
ChangeLog | 253 ++++++++++++++++++++++++++++----------------------------------
1 file changed, 116 insertions(+), 137 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 9bfe4ec4..8b4cc057 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,119 @@
+commit 7f3b41311119e3a96a15b0fb473b44f422e903e9
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ use printf consistently in cgroups handling
+
+ This makes the cgroups handling consistent between cgroups v1 and v2.
+ Also, it fixes #167.
+
+commit 1ccba056584ee1a8e09fb1d5eebd988b47912c06
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ sh/rc-functions.sh: add need_if_exists convenience function
+
+commit c46adf14343df3a74aef7e4ae5be175ae5fa7a01
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ man/openrc-run.8: Clarify the explanation of the need dependency
+
+commit 1cac8b080c16f9aab19c7a3ae1ca155c20dfa14d
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ ignore sigchld when shutting down the supervised process
+
+ We need to do this to skip the zombie state for the child process since
+ we are not easily able to wait() for it.
+
+commit b58194ef63ec8c0a7e0ea3c291da9c19aa83cb1a
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ typo fix
+
+commit b28c0d6f66e42b1e6d2a39c286a18c8d92881790
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ typo fix
+
+commit 3cf19b0f30a90157d23d09ded304439f1eb42d4a
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ supervise-daemon: code cleanup
+
+ Clean up the process for killing an active supervisor when stopping.
+
+commit 0eb47b9af340dd07209a3920944ed085fe7bd359
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ initialize the stop schedule
+
+commit 4ab60ff10935122277bbaed437f82a765279cd19
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ rc-schedules.c: pass the correct pid to rc_find_pids
+
+ This is for #163.
+
+commit db4a578273dbfa15b8b96686391bcc9ecc04b646
+Author: Jason Zaman <jason@perfinion.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ selinux: fix const qualifier warning
+
+ rc-selinux.c: In function ‘selinux_setup’:
+ rc-selinux.c:361:9: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
+ curr_t = context_type_get(curr_con);
+ ^
+
+commit b1c3422f453921e838d419640fe39144dbf8d13d
+Author: Jason Zaman <jason@perfinion.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ selinux: use openrc contexts path to get contexts
+
+ The minimum requirement for libselinux is now >=2.6
+ The refpolicy and the gentoo policy contain the
+ contexts since version 2.20170204-r4
+
+commit 3fafd7a76e6adf15ec72a7ba5f44583eff8fab7a
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ sysfs: fix cgroup hybrid mode
+
+ In hybrid mode, we should not try to mount cgroup2 if it is not
+ available in the kernel.
+
+ This fixes #164.
+
+commit cd5722aca50f0eaddde7ce04ee00da53c313ba7d
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ cgroup2_find_path: use legacy mode if cgroup2 is not in the kernel
+
+ This is related to #164.
+
+commit dcb4a4d2613a1fdf85651b32e5b7a87528f487bc
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ version 0.32
+
+commit e312e569970c74cf52e255da67034391b68dafac
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Update ChangeLog
+
commit 2f60a959b442866b0e879d83f2732c4fa3ed3f7d
Author: William Hubbs <w.d.hubbs@gmail.com>
Commit: William Hubbs <w.d.hubbs@gmail.com>
@@ -1299,140 +1415,3 @@ Commit: William Hubbs <w.d.hubbs@gmail.com>
X-Gentoo-Bug: 595836
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=595836
-
-commit 6710316a18c33601e780282e72c60f09b5175280
-Author: Doug Freed <dwfreed@mtu.edu>
-Commit: Doug Freed <dwfreed@mtu.edu>
-
- openrc-run: fix double free
-
-commit 61882821e0d6110a2ca2f67fad7c362983a85cf0
-Author: Doug Freed <dwfreed@mtu.edu>
-Commit: Doug Freed <dwfreed@mtu.edu>
-
- init.d: Clean up some bad ewarn output
-
-commit 969546bcf0203379db286be21c7f709d27cc73b0
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- typo fix
-
- X-Gentoo-Bug: 595306
- X-Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=595306
-
-commit d0ae7ffc2534fa65c2e8927931f5107ce4505ca6
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- version 0.23
-
-commit b71bcc242202752bc74fce3a5c629f172b04fca5
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- update ChangeLog
-
-commit 24010dcb483cf7284cd8a5db111ae63f0d4e1038
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- dist: convert to tar.gz
-
- This allows the "make dist" target to be used as well as the github
- archive generation.
-
-commit 0a76627345a173fc00be9864f3f3f5c3b15319cd
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- init.d/swap: remove the case for linux
-
- I am removing the separate case for Linux, because we are droppping the
- "-e" switch.
-
-commit bbf98befb86337a36ef5af7f273e503a6de4b9bd
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- sh/init.sh.Linux.in: update test for live /proc to use md5sum
-
- This allows us to avoid the warnings from bash-4.4 about null bytes in
- command substitutions.
-
- If you have separate /usr, are not using an initramfs, and have a file
- called /proc/self/environ on your root file system, this will break.
- X-Gentoo-Bug: 594534
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=594534
-
-commit 316903fbf0da6edc067a98327c8c6cb2b3cdcf93
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- man/openrc-run.8: typo fix
-
-commit 66a9788435e51e658e4ae9d3ce0d0e54ea53e4f9
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- man/openrc-run.8: Add note about eval usage
-
- This fixes #77.
-
-commit bf73363f220ff086d2559e7c2015801f80862749
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Add --use-blacklist to modprobe calls in modules and modules-load
-
- This means that we will honor the modprobe black lists.
-
- X-Gentoo-Bug: 594012
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=594012
-
-commit d6c30ab12a3b335ac57cd1f0ac00231bb34fc0c4
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Revert "Remove eval calls from supervisor start functions"
-
- This reverts commit 0d1f1010c299a95332f224c3be9e8dfdd85eec54.
- We need the eval in case someone uses something like:
- command_args="this \"is a\" test"
-
- This is related to #77.
-
-commit 0d1f1010c299a95332f224c3be9e8dfdd85eec54
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Remove eval calls from supervisor start functions
-
- This fixes #77.
-
-commit 83bb827edf5b9be04a326d1970d6f55db239281f
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Revert "Disable parallel startup in interactive mode"
-
- This reverts commit 8b4fc05ff2645b2ecb0f153492f72dd8b39ba431.
- The original commit did not explain why this feature was disabled, and I
- now have a request to enable it.
-
- This fixes #24.
-
-commit c146b966913ae80652e3be925d3aba60ed82f14d
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Add command_progress variable
-
- If this is set to yes, 1, true, or on, start-stop-daemon will display a
- progress meter while waiting for a daemon to stop.
-
-commit 6cabaf274defa11773094a2c85b3d0a9f0bd9b08
-Author: Doug Freed <dwfreed@mtu.edu>
-Commit: Doug Freed <dwfreed@mtu.edu>
-
- rc-misc: allow EINFO_VERBOSE through too
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2017-10-02 21:59 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2017-10-02 21:59 UTC (permalink / raw
To: gentoo-commits
commit: edc54b03770d5f58d1a4969d06c28660003dfb04
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Mon Oct 2 21:58:59 2017 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Mon Oct 2 21:58:59 2017 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=edc54b03
version 0.33
Makefile.inc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile.inc b/Makefile.inc
index a268381d..fbf754f0 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -1,3 +1,3 @@
NAME= openrc
-VERSION= 0.32
+VERSION= 0.33
PKG= ${NAME}-${VERSION}
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2017-10-12 23:55 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2017-10-12 23:55 UTC (permalink / raw
To: gentoo-commits
commit: 91109e31d81ecd48f5690ad6f63103fca545dec7
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Thu Oct 12 23:54:17 2017 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Thu Oct 12 23:54:17 2017 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=91109e31
update news
NEWS.md | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/NEWS.md b/NEWS.md
index 5ba32144..1a98da2a 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -3,6 +3,15 @@
This file will contain a list of notable changes for each release. Note
the information in this file is in reverse order.
+## OpenRC 0.33
+
+This version removes the "service" binary which was just a copy of
+"rc-service" provided for compatibility.
+
+If you still need the "service" binary, as opposed to "rc-service", it is
+recommended that you use something like Debian's init-system-helpers.
+Otherwise, just use "rc-service" in place of "service".
+
## OpenRC 0.31
This version adds support for Control Groups version 2, which is
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2017-10-13 16:38 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2017-10-13 16:38 UTC (permalink / raw
To: gentoo-commits
commit: acaed1f910a2a00fdd5b6aeab752c552075a7292
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Fri Oct 13 16:29:49 2017 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Fri Oct 13 16:29:49 2017 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=acaed1f9
Update ChangeLog
ChangeLog | 107 ++++++++++++++++++++++++++++++++++++++------------------------
1 file changed, 65 insertions(+), 42 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 8b4cc057..7adce415 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,68 @@
+commit 91109e31d81ecd48f5690ad6f63103fca545dec7
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ update news
+
+commit 2b6eeea01d1c64d58929788f4bfa0758393885bf
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ man: remove service(8) man page
+
+commit a15de23e5713d840d871c526b46050983dc6ea1e
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ typo fix
+
+commit efa9ba485d9328f780f3e60dc18339c75974c6c6
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ init.d/sysfs.in: fix reference to RC_LIBEXECDIR
+
+ The sysfs init script referred to @LIBEXECDIR@ before this change, but
+ it is better to refer to RC_LIBEXECDIR so that we get rid of a sed
+ substitution.
+
+commit d4ddd72701ff5533a1ba07b1da60806859c63d88
+Author: Chris Cromer <chris@cromer.cl>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ add option to make agetty startup quiet
+
+ This fixes #150
+
+commit 1e9af2cd421423404ffe1491bd35af76c2885f1f
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ fix compiler warning
+
+commit 3c05db74f6e733890e9035c183a774db3d512512
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ remove service binary
+
+ The service binary was just a synonym for rc-service, so use rc-service
+ instead of service. If you want a "service" binary, it should be
+ something that can determine which service manager you are running and
+ run the appropriate service manager commands.
+
+commit edc54b03770d5f58d1a4969d06c28660003dfb04
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ version 0.33
+
+commit 8e53a3fa8a33fb714064ddbe38bff2213fcf6837
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Update ChangeLog
+
commit 7f3b41311119e3a96a15b0fb473b44f422e903e9
Author: William Hubbs <w.d.hubbs@gmail.com>
Commit: William Hubbs <w.d.hubbs@gmail.com>
@@ -1373,45 +1438,3 @@ Commit: William Hubbs <w.d.hubbs@gmail.com>
init.d.misc/wpa_supplicant: find wireless interface for FreeBSD
This fixes #101.
-
-commit 78146b0e14cb57dda8a3aed3d4f8d6b1db7a3c7e
-Author: Sven Wegener <swegener@gentoo.org>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- do_service: Initialize idx to 0
-
- If index is not explicitly specified for service_started_daemon, it will
- look for daemons by random index.
-
- This fixes #100.
-
-commit deaae7ab5c499191426cec81f6e803c972f0cca3
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- init.d/sysfs: load efivarfs module when booting in efi mode:1
-
- The presence of /sys/firmware/efi is used to indicate that the system
- was booted in efi mode.
-
-commit 3d2c2f0b871944492036d04b0c220ccba1fa2dd5
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- init.d/sysfs: fix efivarfs module test
-
-commit 6a0c033a64ce18056625cd37a94b9810dc5784e3
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- init.d/sysfs: fix efivarfs handling
-
- Separate loading the module, if it isn't built in or loaded, from
- mounting the file system.
-
- This also makes sure the warning about configuring the module in
- /etc/conf.d/modules or building it in is displayed only if it is loaded
- successfully.
-
- X-Gentoo-Bug: 595836
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=595836
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2017-10-13 21:11 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2017-10-13 21:11 UTC (permalink / raw
To: gentoo-commits
commit: 3c8e7ed255edb8df0d548d6ce514544d5422cbf0
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Fri Oct 13 21:10:57 2017 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Fri Oct 13 21:10:57 2017 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=3c8e7ed2
version 0.34
Makefile.inc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile.inc b/Makefile.inc
index fbf754f0..4ede5b29 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -1,3 +1,3 @@
NAME= openrc
-VERSION= 0.33
+VERSION= 0.34
PKG= ${NAME}-${VERSION}
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2017-10-24 15:43 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2017-10-24 15:43 UTC (permalink / raw
To: gentoo-commits
commit: f3c70bf5b5aa18e8dc94d4949f05568e0741c5cb
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Tue Oct 24 15:42:11 2017 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Tue Oct 24 15:42:11 2017 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=f3c70bf5
Update ChangeLog
ChangeLog | 50 ++++++++++++++++++++++++++++++++++++++++++--------
1 file changed, 42 insertions(+), 8 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 7adce415..0bee7a44 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,45 @@
+commit f5acc66db7d1a0bfad6a40eefc0240b80f52df94
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ rc_find_pids: ignore pids that are not in our pid namespace
+
+ X-Gentoo-Bug: 634634
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=634634
+
+commit fdce4769f2e0f4175163ffa181c7b3b2192f7b22
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ supervise-daemon: multiple fixes
+
+ - Harden against dying by handling all signals that would terminate the
+ program and adding --reexec support
+ - factor the supervisor into its own function
+ - fix test for whether we are already running
+
+commit 35b1996704f6635bb29ea3604410e133209e6432
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ supervise-daemon: elevate some log messages to warnings
+
+ Prior to this change, we were logging unexpected terminations of daemons
+ we were supervising at the info level. This change moves the logs to
+ warnings.
+
+commit 3c8e7ed255edb8df0d548d6ce514544d5422cbf0
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ version 0.34
+
+commit acaed1f910a2a00fdd5b6aeab752c552075a7292
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Update ChangeLog
+
commit 91109e31d81ecd48f5690ad6f63103fca545dec7
Author: William Hubbs <w.d.hubbs@gmail.com>
Commit: William Hubbs <w.d.hubbs@gmail.com>
@@ -1430,11 +1472,3 @@ Commit: William Hubbs <w.d.hubbs@gmail.com>
X-Gentoo-Bug: 597390
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=597390
-
-commit c44c904a61418189c989e978b0237e5b161263ef
-Author: Joe Maloney <jpm820@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- init.d.misc/wpa_supplicant: find wireless interface for FreeBSD
-
- This fixes #101.
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2017-10-25 20:10 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2017-10-25 20:10 UTC (permalink / raw
To: gentoo-commits
commit: 0d8dc4f798cc0d707fc64e8bffcba4fbceb32935
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Tue Oct 24 21:46:52 2017 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Tue Oct 24 21:46:52 2017 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=0d8dc4f7
version 0.35
Makefile.inc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile.inc b/Makefile.inc
index 4ede5b29..48a56d98 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -1,3 +1,3 @@
NAME= openrc
-VERSION= 0.34
+VERSION= 0.35
PKG= ${NAME}-${VERSION}
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2017-12-07 18:53 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2017-12-07 18:53 UTC (permalink / raw
To: gentoo-commits
commit: fb96c9c127dcfa932460b0e8a977ba5f7d26a418
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Thu Dec 7 18:53:04 2017 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Thu Dec 7 18:53:04 2017 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=fb96c9c1
Make bash-completion and zsh-completion optional
Makefile | 15 +++++++++++++--
README.md | 2 ++
2 files changed, 15 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
index d49bef9c..2c8527b5 100644
--- a/Makefile
+++ b/Makefile
@@ -13,8 +13,13 @@ MK= ${TOP}/mk
include ${TOP}/Makefile.inc
-SUBDIR= bash-completion conf.d etc init.d local.d man scripts sh src \
- support sysctl.d zsh-completion
+SUBDIR= conf.d etc init.d local.d man scripts sh src support sysctl.d
+
+# Build bash completion or not
+MKBASHCOMP?= no
+ifeq (${MKBASHCOMP},yes)
+SUBDIR+= bash-completion
+endif
# Build pkgconfig or not
MKPKGCONFIG?= yes
@@ -22,6 +27,12 @@ ifeq (${MKPKGCONFIG},yes)
SUBDIR+= pkgconfig
endif
+# Build zsh completion or not
+MKZSHCOMP?= no
+ifeq (${MKZSHCOMP},yes)
+SUBDIR+= zsh-completion
+endif
+
# We need to ensure that runlevels is done last
SUBDIR+= runlevels
diff --git a/README.md b/README.md
index 54f8f8f8..3f3da79c 100644
--- a/README.md
+++ b/README.md
@@ -22,6 +22,7 @@ below arguments to the make command
PROGLDFLAGS=-static
LIBNAME=lib64
DESTDIR=/tmp/openrc-image
+MKBASHCOMP=no
MKNET=no
MKPAM=pam
MKPREFIX=yes
@@ -31,6 +32,7 @@ MKSTATICLIBS=no
MKSYSVINIT=yes
MKTERMCAP=ncurses
MKTERMCAP=termcap
+MKZSHCOMP=no
PKG_PREFIX=/usr/pkg
LOCAL_PREFIX=/usr/local
PREFIX=/usr/local
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2018-01-08 20:07 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2018-01-08 20:07 UTC (permalink / raw
To: gentoo-commits
commit: c2bd33e4838eb56bebe2707f6ca6bd05e9df5b24
Author: Michael Orlitzky <michael <AT> orlitzky <DOT> com>
AuthorDate: Mon Sep 4 21:58:09 2017 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Mon Jan 8 19:59:12 2018 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=c2bd33e4
service-script-guide.md: new guide for service script authors.
This fixes #162.
service-script-guide.md | 381 ++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 381 insertions(+)
diff --git a/service-script-guide.md b/service-script-guide.md
new file mode 100644
index 00000000..5806b808
--- /dev/null
+++ b/service-script-guide.md
@@ -0,0 +1,381 @@
+This document is aimed at upstream and distribution developers who
+write OpenRC service scripts, either for their own projects, or for
+the packages they maintain. It contains advice, suggestions, tips,
+tricks, hints, and counsel; cautions, warnings, heads-ups,
+admonitions, proscriptions, enjoinders, and reprimands.
+
+It is intended to prevent common mistakes that are found "in the wild"
+by pointing out those mistakes and suggesting alternatives. Each
+good/bad thing that you should/not do has a section devoted to it. We
+don't consider anything exotic, and assume that you will use
+start-stop-daemon to manage a fairly typical long-running UNIX
+process.
+
+# Don't write your own start/stop functions
+
+OpenRC is capable of stopping and starting most daemons based on the
+information that you give it. For a well-behaved daemon that
+backgrounds itself and writes its own PID file by default, the
+following OpenRC variables are likely all that you'll need:
+
+ * command
+ * command_args
+ * pidfile
+
+Given those three pieces of information, OpenRC will be able to start
+and stop the daemon on its own. The following is taken from an
+[OpenNTPD](http://www.openntpd.org/) service script:
+
+```sh
+command="/usr/sbin/ntpd"
+
+# The special RC_SVCNAME variable contains the name of this service.
+pidfile="/run/${RC_SVCNAME}.pid"
+command_args="-p ${pidfile}"
+```
+
+If the daemon runs in the foreground by default but has options to
+background itself and to create a pidfile, then you'll also need
+
+ * command_args_background
+
+That variable should contain the flags needed to background your
+daemon, and to make it write a PID file. Take for example the
+following snippet of an
+[NRPE](https://github.com/NagiosEnterprises/nrpe) service script:
+
+```sh
+command="/usr/bin/nrpe"
+command_args="--config=/etc/nagios/nrpe.cfg"
+command_args_background="--daemon"
+pidfile="/run/${RC_SVCNAME}.pid"
+```
+
+Since NRPE runs as *root* by default, it needs no special permissions
+to write to `/run/nrpe.pid`. OpenRC takes care of starting and
+stopping the daemon with the appropriate arguments, even passing the
+`--daemon` flag during startup to force NRPE into the background (NRPE
+knows how to write its own PID file).
+
+But what if the daemon isn't so well behaved? What if it doesn't know
+how to background itself or create a pidfile? If it can do neither,
+then use,
+
+ * command_background=true
+
+which will additionally pass `--make-pidfile` to start-stop-daemon,
+causing it to create the `$pidfile` for you (rather than the daemon
+itself being responsible for creating the PID file).
+
+If your daemon doesn't know how to change its own user or group, then
+you can tell start-stop-daemon to launch it as an unprivileged user
+with
+
+ * command_user="user:group"
+
+Finally, if your daemon always forks into the background but fails to
+create a PID file, then your only option is to use
+
+ * procname
+
+With `procname`, OpenRC will try to find the running daemon by
+matching the name of its process. That's not so reliable, but daemons
+shouldn't background themselves without creating a PID file in the
+first place. The next example is part of the [CA NetConsole
+Daemon](https://oss.oracle.com/projects/cancd/) service script:
+
+```sh
+command="/usr/sbin/cancd"
+command_args="-p ${CANCD_PORT}
+ -l ${CANCD_LOG_DIR}
+ -o ${CANCD_LOG_FORMAT}"
+command_user="cancd"
+
+# cancd daemonizes itself, but doesn't write a PID file and doesn't
+# have an option to run in the foreground. So, the best we can do
+# is try to match the process name when stopping it.
+procname="cancd"
+```
+
+To recap, in order of preference:
+
+ 1. If the daemon backgrounds itself and creates its own PID file, use
+ `pidfile`.
+ 2. If the daemon does not background itself (or has an option to run
+ in the foreground) and does not create a PID file, then use
+ `command_background=true` and `pidfile`.
+ 3. If the daemon backgrounds itself and does not create a PID file,
+ use `procname` instead of `pidfile`. But, if your daemon has the
+ option to run in the foreground, then you should do that instead
+ (that would be the case in the previous item).
+ 4. The last case, where the daemon does not background itself but
+ does create a PID file, doesn't make much sense. If there's a way
+ to disable the daemon's PID file (or, to write it straight into the
+ garbage), then do that, and use `command_background=true`.
+
+# Reloading your daemon's configuration
+
+Many daemons will reload their configuration files in response to a
+signal. Suppose your daemon will reload its configuration in response
+to a `SIGHUP`. It's possible to add a new "reload" command to your
+service script that performs this action. First, tell the service
+script about the new command.
+
+```sh
+extra_started_commands="reload"
+```
+
+We use `extra_started_commands` as opposed to `extra_commands` because
+the "reload" action is only valid while the daemon is running (that
+is, started). Now, start-stop-daemon can be used to send the signal to
+the appropriate process (assuming you've defined the `pidfile`
+variable elsewhere):
+
+```sh
+reload() {
+ ebegin "Reloading ${RC_SVCNAME}"
+ start-stop-daemon --signal HUP --pidfile "${pidfile}"
+ eend $?
+}
+```
+
+# Don't restart/reload with a broken config
+
+Often, users will start a daemon, make some configuration change, and
+then attempt to restart the daemon. If the recent configuration change
+contains a mistake, the result will be that the daemon is stopped but
+then cannot be started again (due to the configuration error). It's
+possible to prevent that situation with a function that checks for
+configuration errors, and a combination of the `start_pre` and
+`stop_pre` hooks.
+
+```sh
+checkconfig() {
+ # However you want to check this...
+}
+
+start_pre() {
+ # If this isn't a restart, make sure that the user's config isn't
+ # busted before we try to start the daemon (this will produce
+ # better error messages than if we just try to start it blindly).
+ #
+ # If, on the other hand, this *is* a restart, then the stop_pre
+ # action will have ensured that the config is usable and we don't
+ # need to do that again.
+ if [ "${RC_CMD}" != "restart" ] ; then
+ checkconfig || return $?
+ fi
+}
+
+stop_pre() {
+ # If this is a restart, check to make sure the user's config
+ # isn't busted before we stop the running daemon.
+ if [ "${RC_CMD}" = "restart" ] ; then
+ checkconfig || return $?
+ fi
+}
+```
+
+To prevent a *reload* with a broken config, keep it simple:
+
+```sh
+reload() {
+ checkconfig || return $?
+ ebegin "Reloading ${RC_SVCNAME}"
+ start-stop-daemon --signal HUP --pidfile "${pidfile}"
+ eend $?
+}
+```
+
+# PID files should be writable only by root
+
+PID files must be writable only by *root*, which means additionally
+that they must live in a *root*-owned directory.
+
+Some daemons run as an unprivileged user account, and create their PID
+files (as the unprivileged user) in a path like
+`/run/foo/foo.pid`. That can usually be exploited by the unprivileged
+user to kill *root* processes, since when a service is stopped, *root*
+usually sends a SIGTERM to the contents of the PID file (which are
+controlled by the unprivileged user). The main warning sign for that
+problem is using `checkpath` to set ownership on the directory
+containing the PID file. For example,
+
+```sh
+# BAD BAD BAD BAD BAD BAD BAD BAD
+start_pre() {
+ # Ensure that the pidfile directory is writable by the foo user/group.
+ checkpath --directory --mode 0700 --owner foo:foo "/run/foo"
+}
+# BAD BAD BAD BAD BAD BAD BAD BAD
+```
+
+If the *foo* user owns `/run/foo`, then he can put whatever he wants
+in the `/run/foo/foo.pid` file. Even if *root* owns the PID file, the
+*foo* user can delete it and replace it with his own. To avoid
+security concerns, the PID file must be created as *root* and live in
+a *root*-owned directory. If your daemon is responsible for forking
+and writing its own PID file but the PID file is still owned by the
+unprivileged runtime user, then you may have an upstream issue.
+
+Once the PID file is being created as *root* (before dropping
+privileges), it can be written directly to a *root*-owned
+directory. Typically this will be `/run` on Linux, and `/var/run`
+elsewhere. For example, the *foo* daemon might write
+`/run/foo.pid`. No calls to checkpath are needed. Note: there is
+nothing technically wrong with using a directory structure like
+`/run/foo/foo.pid`, so long as *root* owns the PID file and the
+directory containing it.
+
+Ideally (see "Upstream your service scripts"), your service script
+will be integrated upstream and the build system will determine
+which of `/run` or `/var/run` is appropriate. For example,
+
+```sh
+pidfile="@piddir@/${RC_SVCNAME}.pid"
+```
+
+A decent example of this is the [Nagios core service
+script](https://github.com/NagiosEnterprises/nagioscore/blob/master/openrc-init.in),
+where the full path to the PID file is specified at build-time.
+
+# Don't let the user control the PID file location
+
+It's usually a mistake to let the end user control the PID file
+location through a conf.d variable, for a few reasons:
+
+ 1. When the PID file path is controlled by the user, you need to
+ ensure that its parent directory exists and is writable. This
+ adds unnecessary code to the service script.
+
+ 2. If the PID file path changes while the service is running, then
+ you'll find yourself unable to stop the service.
+
+ 3. The directory that should contain the PID file is best determined
+ by the upstream build system (see "Upstream your service scripts").
+ On Linux, the preferred location these days is `/run`. Other systems
+ still use `/var/run`, though, and a `./configure` script is the
+ best place to decide which one you want.
+
+ 4. Nobody cares where the PID file is located, anyway.
+
+Since OpenRC service names must be unique, a value of
+
+```sh
+pidfile="/run/${RC_SVCNAME}.pid"
+```
+
+guarantees that your PID file has a unique name.
+
+# Upstream your service scripts (for distribution developers)
+
+The ideal place for an OpenRC service script is **upstream**. Much like
+systemd services, a well-crafted OpenRC service script should be
+distribution-agnostic, and the best place for it is upstream. Why? For
+two reasons. First, having it upstream means that there's a single
+authoritative source for improvements. Second, a few paths in every
+service script are dependent upon flags passed to the build system. For
+example,
+
+```sh
+command=/usr/bin/foo
+```
+
+in an autotools-based build system should really be
+
+```sh
+command=@bindir@/foo
+```
+
+so that the user's value of `--bindir` is respected. If you keep the
+service script in your own distribution's repository, then you have to
+keep the command path and package synchronized yourself, and that's no
+fun.
+
+# Be wary of "need net" dependencies
+
+There are two things you need to know about "need net" dependencies:
+
+ 1. They are not satisfied by the loopback interface, so "need net"
+ requires some *other* interface to be up.
+
+ 2. Depending on the value of `rc_depend_strict` in `rc.conf`, the
+ "need net" will be satisfied when either *any* non-loopback
+ interface is up, or when *all* non-loopback interfaces are up.
+
+The first item means that "need net" is wrong for daemons that are
+happy with `0.0.0.0`, and the second point means that "need net" is
+wrong for daemons that need a particular (for example, the WAN)
+interface. We'll consider the two most common users of "need net";
+network clients who access some network resource, and network servers
+who provide them.
+
+## Network clients
+
+Network clients typically want the WAN interface to be up. That may
+tempt you to depend on the WAN interface; but first, you should ask
+yourself a question: does anything bad happen if the WAN interface is
+not available? In other words, if the administrator wants to disable
+the WAN, should the service be stopped? Usually the answer to that
+question is "no," and in that case, you should forego the "net"
+dependency entirely.
+
+Suppose, for example, that your service retrieves virus signature
+updates from the internet. In order to do its job correctly, it needs
+a (working) internet connection. However, the service itself does not
+require the WAN interface to be up: if it is, great; otherwise, the
+worst that will happen is that a "server unavailable" warning will be
+logged. The signature update service will not crash, and—perhaps more
+importantly—you don't want it to terminate if the administrator turns
+off the WAN interface for a second.
+
+## Network servers
+
+Network servers are generally easier to handle than their client
+counterparts. Most server daemons listen on `0.0.0.0` (all addresses)
+by default, and are therefore satisfied to have the loopback interface
+present and operational. OpenRC ships with the loopback service in the
+*boot* runlevel, and therefore most server daemons require no further
+network dependencies.
+
+The exceptions to this rule are those daemons who produce negative
+side-effects when the WAN is unavailable. For example, the Nagios
+server daemon will generate "the sky is falling" alerts for as long as
+your monitored hosts are unreachable. So in that case, you should
+require some other interface (often the WAN) to be up. A "need"
+dependency would be appropriate, because you want Nagios to be
+stopped before the network is taken down.
+
+If your daemon can optionally be configured to listen on a particular
+interface, then please see the "Depending on a particular interface"
+section.
+
+## Depending on a particular interface
+
+If you need to depend on one particular interface, usually it's not
+easy to determine programmatically what that interface is. For
+example, if your *sshd* daemon listens on `192.168.1.100` (rather than
+`0.0.0.0`), then you have two problems:
+
+ 1. Parsing `sshd_config` to figure that out; and
+
+ 2. Determining which network service name corresponds to the
+ interface for `192.168.1.100`.
+
+It's generally a bad idea to parse config files in your service
+scripts, but the second problem is the harder one. Instead, the most
+robust (i.e. the laziest) approach is to make the user specify the
+dependency when he makes a change to sshd_config. Include something
+like the following in the service configuration file,
+
+```sh
+# Specify the network service that corresponds to the "bind" setting
+# in your configuration file. For example, if you bind to 127.0.0.1,
+# this should be set to "net.lo" which provides the loopback interface.
+rc_need="net.lo"
+```
+
+This is a sensible default for daemons that are happy with `0.0.0.0`,
+but lets the user specify something else, like `rc_need="net.wan"` if
+he needs it. The burden is on the user to determine the appropriate
+service whenever he changes the daemon's configuration file.
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2018-01-08 21:34 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2018-01-08 21:34 UTC (permalink / raw
To: gentoo-commits
commit: 92cfa0e543d380ab290d06e98e2fef1b283349fe
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Mon Jan 8 21:33:03 2018 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Mon Jan 8 21:33:03 2018 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=92cfa0e5
service-script-guide.md: formatting changes
Add a title, adjust the headings and update the example that referred to
"net.lo" to refer to "loopback".
service-script-guide.md | 28 +++++++++++++++-------------
1 file changed, 15 insertions(+), 13 deletions(-)
diff --git a/service-script-guide.md b/service-script-guide.md
index 5806b808..668d05d4 100644
--- a/service-script-guide.md
+++ b/service-script-guide.md
@@ -1,4 +1,6 @@
-This document is aimed at upstream and distribution developers who
+# OpenRC Service Script Writing Guide
+
+This document is aimed at developers or packagers who
write OpenRC service scripts, either for their own projects, or for
the packages they maintain. It contains advice, suggestions, tips,
tricks, hints, and counsel; cautions, warnings, heads-ups,
@@ -11,7 +13,7 @@ don't consider anything exotic, and assume that you will use
start-stop-daemon to manage a fairly typical long-running UNIX
process.
-# Don't write your own start/stop functions
+## Don't write your own start/stop functions
OpenRC is capable of stopping and starting most daemons based on the
information that you give it. For a well-behaved daemon that
@@ -113,7 +115,7 @@ To recap, in order of preference:
to disable the daemon's PID file (or, to write it straight into the
garbage), then do that, and use `command_background=true`.
-# Reloading your daemon's configuration
+## Reloading your daemon's configuration
Many daemons will reload their configuration files in response to a
signal. Suppose your daemon will reload its configuration in response
@@ -139,7 +141,7 @@ reload() {
}
```
-# Don't restart/reload with a broken config
+## Don't restart/reload with a broken config
Often, users will start a daemon, make some configuration change, and
then attempt to restart the daemon. If the recent configuration change
@@ -187,7 +189,7 @@ reload() {
}
```
-# PID files should be writable only by root
+## PID files should be writable only by root
PID files must be writable only by *root*, which means additionally
that they must live in a *root*-owned directory.
@@ -239,7 +241,7 @@ A decent example of this is the [Nagios core service
script](https://github.com/NagiosEnterprises/nagioscore/blob/master/openrc-init.in),
where the full path to the PID file is specified at build-time.
-# Don't let the user control the PID file location
+## Don't let the user control the PID file location
It's usually a mistake to let the end user control the PID file
location through a conf.d variable, for a few reasons:
@@ -267,7 +269,7 @@ pidfile="/run/${RC_SVCNAME}.pid"
guarantees that your PID file has a unique name.
-# Upstream your service scripts (for distribution developers)
+## Upstream your service scripts (for packagers)
The ideal place for an OpenRC service script is **upstream**. Much like
systemd services, a well-crafted OpenRC service script should be
@@ -292,7 +294,7 @@ service script in your own distribution's repository, then you have to
keep the command path and package synchronized yourself, and that's no
fun.
-# Be wary of "need net" dependencies
+## Be wary of "need net" dependencies
There are two things you need to know about "need net" dependencies:
@@ -310,7 +312,7 @@ interface. We'll consider the two most common users of "need net";
network clients who access some network resource, and network servers
who provide them.
-## Network clients
+### Network clients
Network clients typically want the WAN interface to be up. That may
tempt you to depend on the WAN interface; but first, you should ask
@@ -329,7 +331,7 @@ logged. The signature update service will not crash, and—perhaps more
importantly—you don't want it to terminate if the administrator turns
off the WAN interface for a second.
-## Network servers
+### Network servers
Network servers are generally easier to handle than their client
counterparts. Most server daemons listen on `0.0.0.0` (all addresses)
@@ -350,7 +352,7 @@ If your daemon can optionally be configured to listen on a particular
interface, then please see the "Depending on a particular interface"
section.
-## Depending on a particular interface
+### Depending on a particular interface
If you need to depend on one particular interface, usually it's not
easy to determine programmatically what that interface is. For
@@ -371,8 +373,8 @@ like the following in the service configuration file,
```sh
# Specify the network service that corresponds to the "bind" setting
# in your configuration file. For example, if you bind to 127.0.0.1,
-# this should be set to "net.lo" which provides the loopback interface.
-rc_need="net.lo"
+# this should be set to "loopback" which provides the loopback interface.
+rc_need="loopback"
```
This is a sensible default for daemons that are happy with `0.0.0.0`,
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2018-01-10 19:29 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2018-01-10 19:29 UTC (permalink / raw
To: gentoo-commits
commit: 14e3359a9e4174da3e422957d9de56907f025875
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Wed Jan 10 19:25:13 2018 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Wed Jan 10 19:25:13 2018 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=14e3359a
move developer documentation from guide.md to service-script-guide.md
guide.md | 125 ++++--------------------------------------------
service-script-guide.md | 109 +++++++++++++++++++++++++++++++++++++++++
2 files changed, 117 insertions(+), 117 deletions(-)
diff --git a/guide.md b/guide.md
index f8c23194..80c8a7d3 100644
--- a/guide.md
+++ b/guide.md
@@ -27,8 +27,8 @@ openrc scans the runlevels (default: `/etc/runlevels`) and builds a dependency
graph, then starts the needed service scripts, either serialized (default) or in
parallel.
-When all the init scripts are started openrc terminates. There is no persistent
-daemon. (Integration with tools like monit, runit or s6 can be done)
+When all the service scripts are started openrc terminates. There is no
+persistent daemon. (Integration with tools like monit, runit or s6 can be done)
# Shutdown
@@ -63,7 +63,7 @@ own if needed. This allows, for example, to have a default runlevel with
disabled.
The `rc-status` helper will print all currently active runlevels and the state
-of init scripts in them:
+of services in them:
```
# rc-status
@@ -74,7 +74,7 @@ Runlevel: default
```
All runlevels are represented as folders in `/etc/runlevels/` with symlinks to
-the actual init scripts.
+the actual service scripts.
Calling openrc with an argument (`openrc default`) will switch to that
runlevel; this will start and stop services as needed.
@@ -83,122 +83,13 @@ Managing runlevels is usually done through the `rc-update` helper, but could of
course be done by hand if desired.
e.g. `rc-update add nginx default` - add nginx to the default runlevel
Note: This will not auto-start nginx! You'd still have to trigger `rc` or run
-the initscript by hand.
+the service script by hand.
FIXME: Document stacked runlevels
The default startup uses the runlevels `boot`, `sysinit` and `default`, in that
order. Shutdown uses the `shutdown` runlevel.
-
-# Syntax of Service Scripts
-
-Service scripts are shell scripts. OpenRC aims at using only the standardized
-POSIX sh subset for portability reasons. The default interpreter (build-time
-toggle) is `/bin/sh`, so using for example mksh is not a problem.
-
-OpenRC has been tested with busybox sh, ash, dash, bash, mksh, zsh and possibly
-others. Using busybox sh has been difficult as it replaces commands with
-builtins that don't offer the expected features.
-
-The interpreter for initscripts is `#!/sbin/openrc-run`.
-Not using this interpreter will break the use of dependencies and is not
-supported. (iow: if you insist on using `#!/bin/sh` you're on your own)
-
-A `depend` function declares the dependencies of this service script.
-All scripts must have start/stop/status functions, but defaults are provided.
-Extra functions can be added easily:
-
-```
-extra_commands="checkconfig"
-checkconfig() {
- doSomething
-}
-```
-
-This exports the checkconfig function so that `/etc/init.d/someservice
-checkconfig` will be available, and it "just" runs this function.
-
-While commands defined in `extra_commands` are always available, commands
-defined in `extra_started_commands` will only work when the service is started
-and those defined in `extra_stopped_commands` will only work when the service is
-stopped. This can be used for implementing graceful reload and similar
-behaviour.
-
-Adding a restart function will not work, this is a design decision within
-OpenRC. Since there may be dependencies involved (e.g. network -> apache) a
-restart function is in general not going to work.
-restart is internally mapped to `stop()` + `start()` (plus handling dependencies).
-If a service needs to behave differently when it is being restarted vs
-started or stopped, it should test the `$RC_CMD` variable, for example:
-
-```
-[ "$RC_CMD" = restart ] && do_something
-```
-
-# The Depend Function
-
-This function declares the dependencies for a service script. This
-determines the order the service scripts start.
-
-```
-depend() {
- need net
- use dns logger netmount
- want coolservice
-}
-```
-
-`need` declares a hard dependency - net always needs to be started before this
- service does
-
-`use` is a soft dependency - if dns, logger or netmount is in this runlevel
- start it before, but we don't care if it's not in this runlevel.
- `want` is between need and use - try to start coolservice if it is
- installed on the system, regardless of whether it is in the
- runlevel, but we don't care if it starts.
-
-`before` declares that we need to be started before another service
-
-`after` declares that we need to be started after another service, without
- creating a dependency (so on calling stop the two are independent)
-
-`provide` allows multiple implementations to provide one service type, e.g.:
- `provide cron` is set in all cron-daemons, so any one of them started
- satisfies a cron dependency
-
-`keyword` allows platform-specific overrides, e.g. `keyword -lxc` makes this
- service script a noop in lxc containers. Useful for things like keymaps,
- module loading etc. that are either platform-specific or not available
- in containers/virtualization/...
-
-FIXME: Anything missing in this list?
-
-# The Default Functions
-
-All service scripts are assumed to have the following functions:
-
-```
-start()
-stop()
-status()
-```
-
-There are default implementations in `lib/rc/sh/openrc-run.sh` - this allows very
-compact service scripts. These functions can be overridden per service script as
-needed.
-
-The default functions assume the following variables to be set in the service
-script:
-
-```
-command=
-command_args=
-pidfile=
-```
-
-Thus the 'smallest' service scripts can be half a dozen lines long
-
# The Magic of `conf.d`
Most service scripts need default values. It would be fragile to
@@ -217,7 +108,7 @@ start() {
}
```
-The big advantage of this split is that most of the time editing of the init
+The big advantage of this split is that most of the time editing of the service
script can be avoided.
# Start-Stop-Daemon
@@ -271,7 +162,7 @@ happen automatically when the service is stopped.
# Caching
-For performance reasons OpenRC keeps a cache of pre-parsed initscript metadata
+For performance reasons OpenRC keeps a cache of pre-parsed service metadata
(e.g. `depend`). The default location for this is `/${RC_SVCDIR}/cache`.
The cache uses `mtime` to check for file staleness. Should any service script
@@ -281,5 +172,5 @@ change it'll re-source the relevant files and update the cache
OpenRC has wrappers for many common output tasks in libeinfo.
This allows to print colour-coded status notices and other things.
-To make the output consistent the bundled initscripts all use ebegin/eend to
+To make the output consistent the bundled service scripts all use ebegin/eend to
print nice messages.
diff --git a/service-script-guide.md b/service-script-guide.md
index 668d05d4..4839e1b4 100644
--- a/service-script-guide.md
+++ b/service-script-guide.md
@@ -13,6 +13,115 @@ don't consider anything exotic, and assume that you will use
start-stop-daemon to manage a fairly typical long-running UNIX
process.
+## Syntax of Service Scripts
+
+Service scripts are shell scripts. OpenRC aims at using only the standardized
+POSIX sh subset for portability reasons. The default interpreter (build-time
+toggle) is `/bin/sh`, so using for example mksh is not a problem.
+
+OpenRC has been tested with busybox sh, ash, dash, bash, mksh, zsh and possibly
+others. Using busybox sh has been difficult as it replaces commands with
+builtins that don't offer the expected features.
+
+The interpreter for service scripts is `#!/sbin/openrc-run`.
+Not using this interpreter will break the use of dependencies and is not
+supported. (iow: if you insist on using `#!/bin/sh` you're on your own)
+
+A `depend` function declares the dependencies of this service script.
+All scripts must have start/stop/status functions, but defaults are provided and should be used unless you have a very strong reason not to use them.
+
+Extra functions can be added easily:
+
+```
+extra_commands="checkconfig"
+checkconfig() {
+ doSomething
+}
+```
+
+This exports the checkconfig function so that `/etc/init.d/someservice
+checkconfig` will be available, and it "just" runs this function.
+
+While commands defined in `extra_commands` are always available, commands
+defined in `extra_started_commands` will only work when the service is started
+and those defined in `extra_stopped_commands` will only work when the service is
+stopped. This can be used for implementing graceful reload and similar
+behaviour.
+
+Adding a restart function will not work, this is a design decision within
+OpenRC. Since there may be dependencies involved (e.g. network -> apache) a
+restart function is in general not going to work.
+restart is internally mapped to `stop()` + `start()` (plus handling dependencies).
+If a service needs to behave differently when it is being restarted vs
+started or stopped, it should test the `$RC_CMD` variable, for example:
+
+```
+[ "$RC_CMD" = restart ] && do_something
+```
+
+## The Depend Function
+
+This function declares the dependencies for a service script. This
+determines the order the service scripts start.
+
+```
+depend() {
+ need net
+ use dns logger netmount
+ want coolservice
+}
+```
+
+`need` declares a hard dependency - net always needs to be started before this
+ service does
+
+`use` is a soft dependency - if dns, logger or netmount is in this runlevel
+ start it before, but we don't care if it's not in this runlevel.
+ `want` is between need and use - try to start coolservice if it is
+ installed on the system, regardless of whether it is in the
+ runlevel, but we don't care if it starts.
+
+`before` declares that we need to be started before another service
+
+`after` declares that we need to be started after another service, without
+ creating a dependency (so on calling stop the two are independent)
+
+`provide` allows multiple implementations to provide one service type, e.g.:
+ `provide cron` is set in all cron-daemons, so any one of them started
+ satisfies a cron dependency
+
+`keyword` allows platform-specific overrides, e.g. `keyword -lxc` makes this
+ service script a noop in lxc containers. Useful for things like keymaps,
+ module loading etc. that are either platform-specific or not available
+ in containers/virtualization/...
+
+FIXME: Anything missing in this list?
+
+## The Default Functions
+
+All service scripts are assumed to have the following functions:
+
+```
+start()
+stop()
+status()
+```
+
+There are default implementations in `lib/rc/sh/openrc-run.sh` - this allows very
+compact service scripts. These functions can be overridden per service script as
+needed.
+
+The default functions assume the following variables to be set in the service
+script:
+
+```
+command=
+command_args=
+pidfile=
+```
+
+Thus the 'smallest' service scripts can be half a dozen lines long
+
## Don't write your own start/stop functions
OpenRC is capable of stopping and starting most daemons based on the
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2018-01-11 16:59 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2018-01-11 16:59 UTC (permalink / raw
To: gentoo-commits
commit: 8878f8916b7682a333d1e40af991cd7354192be1
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Thu Jan 11 16:57:05 2018 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Thu Jan 11 16:57:05 2018 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=8878f891
Rename guide.md to user-guide.md to better describe its purpose
guide.md => user-guide.md | 0
1 file changed, 0 insertions(+), 0 deletions(-)
diff --git a/guide.md b/user-guide.md
similarity index 100%
rename from guide.md
rename to user-guide.md
^ permalink raw reply [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2018-01-24 23:44 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2018-01-24 23:44 UTC (permalink / raw
To: gentoo-commits
commit: 110582491ff02db061b567636a237460afbc489c
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Wed Jan 24 23:43:02 2018 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Wed Jan 24 23:43:08 2018 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=11058249
service-script-guide.md cleanups
Refer to /var/run in the documentation instead of /run, and make it
clear at the top of the pidfile section that we use /run under Linux.
This is for #202.
service-script-guide.md | 24 ++++++++++++------------
1 file changed, 12 insertions(+), 12 deletions(-)
diff --git a/service-script-guide.md b/service-script-guide.md
index 56e0b339..2ae97029 100644
--- a/service-script-guide.md
+++ b/service-script-guide.md
@@ -302,11 +302,12 @@ reload() {
## PID files should be writable only by root
PID files must be writable only by *root*, which means additionally
-that they must live in a *root*-owned directory.
+that they must live in a *root*-owned directory. This directory is
+normally /run under Linux and /var/run under other operating systems.
Some daemons run as an unprivileged user account, and create their PID
files (as the unprivileged user) in a path like
-`/run/foo/foo.pid`. That can usually be exploited by the unprivileged
+`/var/run/foo/foo.pid`. That can usually be exploited by the unprivileged
user to kill *root* processes, since when a service is stopped, *root*
usually sends a SIGTERM to the contents of the PID file (which are
controlled by the unprivileged user). The main warning sign for that
@@ -317,13 +318,13 @@ containing the PID file. For example,
# BAD BAD BAD BAD BAD BAD BAD BAD
start_pre() {
# Ensure that the pidfile directory is writable by the foo user/group.
- checkpath --directory --mode 0700 --owner foo:foo "/run/foo"
+ checkpath --directory --mode 0700 --owner foo:foo "/var/run/foo"
}
# BAD BAD BAD BAD BAD BAD BAD BAD
```
-If the *foo* user owns `/run/foo`, then he can put whatever he wants
-in the `/run/foo/foo.pid` file. Even if *root* owns the PID file, the
+If the *foo* user owns `/var/run/foo`, then he can put whatever he wants
+in the `/var/run/foo/foo.pid` file. Even if *root* owns the PID file, the
*foo* user can delete it and replace it with his own. To avoid
security concerns, the PID file must be created as *root* and live in
a *root*-owned directory. If your daemon is responsible for forking
@@ -332,16 +333,15 @@ unprivileged runtime user, then you may have an upstream issue.
Once the PID file is being created as *root* (before dropping
privileges), it can be written directly to a *root*-owned
-directory. Typically this will be `/run` on Linux, and `/var/run`
-elsewhere. For example, the *foo* daemon might write
-`/run/foo.pid`. No calls to checkpath are needed. Note: there is
+directory. For example, the *foo* daemon might write
+`/var/run/foo.pid`. No calls to checkpath are needed. Note: there is
nothing technically wrong with using a directory structure like
-`/run/foo/foo.pid`, so long as *root* owns the PID file and the
+`/var/run/foo/foo.pid`, so long as *root* owns the PID file and the
directory containing it.
Ideally (see "Upstream your service scripts"), your service script
-will be integrated upstream and the build system will determine
-which of `/run` or `/var/run` is appropriate. For example,
+will be integrated upstream and the build system will determine the
+appropriate directory for the pid file. For example,
```sh
pidfile="@piddir@/${RC_SVCNAME}.pid"
@@ -374,7 +374,7 @@ location through a conf.d variable, for a few reasons:
Since OpenRC service names must be unique, a value of
```sh
-pidfile="/run/${RC_SVCNAME}.pid"
+pidfile="/var/run/${RC_SVCNAME}.pid"
```
guarantees that your PID file has a unique name.
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2018-02-28 22:32 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2018-02-28 22:32 UTC (permalink / raw
To: gentoo-commits
commit: f62975a1f8c4d5d4abdf78d8cad5509216138f03
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Wed Feb 28 22:21:52 2018 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Wed Feb 28 22:21:52 2018 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=f62975a1
Update ChangeLog
ChangeLog | 1162 ++++++++++++++++++++++++++++++++++++++++---------------------
1 file changed, 767 insertions(+), 395 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 0bee7a44..59ead5ca 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,770 @@
+commit 5bb6f9aa318a6d0507971b74d88c3fd2803bae4b
+Author: Jason Zaman <jason@perfinion.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ init.sh: apply SELinux label for /run early in boot
+
+ Some initramfs mount /run which then ends up with the wrong labels.
+ Force relabel all of /run right after its mounted to fix.
+
+commit 1ab8541a6ccb9d72c6faeaf2d616fc49f6cdfaf6
+Author: Jason Zaman <jason@perfinion.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ init-early.sh.Linux.in: apply the selinux label to /dev/console early
+
+ /dev/console is relabelled later in the devfs init script, but by then we
+ have already missed some of the messages, so fix that label early.
+
+commit 038c03bef315314ddb1e460c67d29b2599b494ad
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ supervise-daemon: make an error message more verbose
+
+commit e51dc29e2f3b2718a62347e8588115e786a9f3c8
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ cgroups: fix indentation
+
+commit c6047f887a362cb8d96624fbd73484ca703acf53
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ cgroups: add rc_cgroup_memory_use_hierarchy setting for cgroups v1
+
+commit 0506d68427e342366d826aae4bfbbc6cc0adecc2
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ fstabinfo: fix an error message
+
+commit c3d666acaf51c771671b0fa54bd8ec0f5d29859e
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ openrc: remove unused #define's.
+
+commit e93b1d76d150c4477015052fc3df9b94647e5b5d
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ openrc: convert another execl() call to execlp()
+
+commit acf1e43f815898c4a4957db352f71f3fb629edf3
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ openrc-init: convert execl calls to execlp
+
+commit f383fd87b121492a04362ca9041f686d981718f1
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ kill_all: change execl call to execlp
+
+commit cfded513cd9b7febe4b7cf39a80411e4303f0655
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ openrc-init: set a default path
+
+ The default path provided by the system if one isn't set only includes
+ "/bin:/usr/bin". This adds the default path setting from sysvinit.
+
+commit 16ff3cd8df6169f73e3d7cf00758a4703f62cbf0
+Author: Christian Brauner <christian.brauner@ubuntu.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ check whether /sys/fs/cgroup is a mountpoint
+
+ The current check only tries to detect whether /sys/fs/cgroup exists and
+ whether it is writable or not. But when the init system doesn't mount
+ cgroups then /sys/fs/cgroup will just be an empty directory. When paired
+ with unprivileged containers that mount sysfs this will cause misleading
+ errors to be printed since /sys/fs/cgroup will be owned by user
+ nobody:nogroup in this case. Independent of this specific problem this
+ check will also be misleading when the /sys/fs/cgroup exists and is in
+ fact writable by the init system but isn't actually a mountpoint.
+
+ Note from William. "grep -qs" doesn't need to redirect output to
+ /dev/null since it is completely silent.
+
+ This fixes #209.
+
+commit 38032626a6c2f8e869197999f32ac3634667cc86
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ improve cgroup configuration checks
+
+ make the base/controller functions return successfully if cgroups v1/v2
+ are not configured in the kernel
+
+commit aa7d3a7911b658c550e7ce76cd6d7d46541fc323
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ openrc: force deptree update for sysinit runlevel
+
+commit 98262647a9d2f3c65a7ceb1aaa81095522c1ef06
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ supervise-daemon: zero out the cmdline buffer when it is allocated
+
+commit 5868abe97babcc287794dcb36ad8e77989b6ddcf
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ start-stop-daemon: compiler warning cleanup
+
+commit 71aad16256604e0e9e146221957a9b00cfe67b99
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ openrc-run: clean up a compiler warning
+
+commit e275da84de1589253da5ff6a7c272cf1c82f8567
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ supervise-daemon: remove references to PATH_MAX
+
+commit a6cc7f06cf3807a0e0590697e1f14e6ab9055271
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ rc.c: remove PATH_MAX references
+
+commit c1178c8eebb92c9f3702e981cd4af9ef41f51884
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ rc-selinux.c: remove references to path_max
+
+commit 3c031ca9780c555817fe9ccb8b23ceb231129724
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ rc-plubin.c: remove references to PATH_MAX
+
+commit 8e02406d8fbf92167c30431987d5de8de72cd7df
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ rc-misc.c: remove references to PATH_MAX
+
+commit 8dbdabcc5e0df8ac36722a4ba7bfe30664cc9919
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ start-stop-daemon: clean up string handling
+
+commit 488d8989c518d9256f183899aac02024c679b93e
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ openrc-run: clean up string handling
+
+ - remove references to PATH_MAX
+ - use xasprintf to create strings
+
+commit 9e14b35da8942bd8fa552363617c3415887f485f
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ rc-update: remove reference to PATH_MAX
+
+commit 7b4879cb72e907414b70553663bd9b6fda8d4408
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ mountinfo: create strings with xasprintf
+
+commit 74cfb455c59298f86849541e724ae346ff205c3d
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ kill_all: create strings with xasprintf
+
+commit 0110487722646ebf9bc2c4e12b4b4a3c358cb10d
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ helpers.h: silence compiler warnings about xasprintf
+
+commit 68b9b0bc2a11d144870d14fcb8ac24e6c9c63354
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ xasprintf: exit if return value of vsnprintf is invalid
+
+commit 4616f8f809ee8566904ca37f2b8bf0409a487475
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ helpers.h: add xasprintf function
+
+ This is our own version of asprintf(). This original code was written by
+ Mike Frysinger, and I was able to modify it to use our memory helper
+ functions.
+
+ We need a version of this code because it is not available on glibc at
+ least without defining _GNU_SOURCE, and I would rather not do that.
+
+ This is the first step in improving string handling in OpenRC for #207.
+
+commit 287d71bd2591ddec73efe356db081020e65cd922
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ helpers.h: style fix
+
+commit c1ffe4d9f2e10b6853464cc298d1922c81ae92f4
+Author: Michael Orlitzky <michael@orlitzky.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ man/openrc-run.8: fix mountinfo args.
+
+ The "Ar" tag for the mountinfo command contained a typo (leading
+ space) that resulted in the tag being output verbatim; that is,
+
+ mountinfo ... .Ar mount1 mount2
+
+ rather than e.g.
+
+ mountinfo ... <mount1> <mount2>
+
+ This commit deletes the leading space to fix the output.
+
+ This fixes #204.
+
+commit 4c517bdb2b69eac36f004ae41bb9cbb212fe0a51
+Author: Michael Orlitzky <michael@orlitzky.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ man/openrc-run.8: add missing "Xo" tags for fstabinfo and mountinfo.
+
+ The BUILTINS are all surrounded by Xo...Xc tags, but the opening "Xo"
+ was missing from the two commands fstabinfo and mountinfo. This commit
+ adds them, and thereby fixes the spacing when viewed by man.
+
+ This is for #204.
+
+commit 110582491ff02db061b567636a237460afbc489c
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ service-script-guide.md cleanups
+
+ Refer to /var/run in the documentation instead of /run, and make it
+ clear at the top of the pidfile section that we use /run under Linux.
+
+ This is for #202.
+
+commit 5dd1d39d20c118064d31ed65dc7ae2de75dd7908
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ typo fix
+
+commit 1771bc2a83fe65bfe6ec3e93ea7632609e697a38
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ checkpath: use fchown and fchmod to handle ownership and mode changes
+
+ This is related to #195.
+
+ This is an attempt to shorten the window for the first two issues
+ discussed by using a file descriptor which does not follow symbolic
+ links and using the fchmod and fchown calls instead of chown and chmod.
+ with.
+
+commit 87c98ebb01873120eecc1757e615b3a4c14a2f1f
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ checkpath: fix lchown error message
+
+ X-Gentoo-Bug: 643084
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=643084
+
+commit 4af5a80b0c516773286cc30e743dc90a2d19df23
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ _rc_deptree_load - return NULL if the stat() call is not successful
+
+ X-Gentoo-Bug: 643084
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=643084
+
+commit fee2ffe559bc39beec16585daf557b902a53137b
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Reformat and fix titles in documentation
+
+commit 8878f8916b7682a333d1e40af991cd7354192be1
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Rename guide.md to user-guide.md to better describe its purpose
+
+commit 14e3359a9e4174da3e422957d9de56907f025875
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ move developer documentation from guide.md to service-script-guide.md
+
+commit 918d955fd2de1f594b83508f5ddd5271534e3591
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ checkpath: use lchown instead of chown
+
+ Checkpath should never follow symbolic links when changing ownership of a file.
+
+ This is for https://github.com/openrc/openrc/issues/195.
+
+commit 92cfa0e543d380ab290d06e98e2fef1b283349fe
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ service-script-guide.md: formatting changes
+
+ Add a title, adjust the headings and update the example that referred to
+ "net.lo" to refer to "loopback".
+
+commit c2bd33e4838eb56bebe2707f6ca6bd05e9df5b24
+Author: Michael Orlitzky <michael@orlitzky.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ service-script-guide.md: new guide for service script authors.
+
+ This fixes #162.
+
+commit f42ec82f21f3760b829507344ad0ae761e1d59aa
+Author: 3PO <r2d2@freakmail.de>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ net-online: only process symbolic links in /sys/class/net
+
+ The /sys/class/net directory contains files which are not symlinks if
+ the system has bonded devices [1]. We should ignore these files.
+
+ This fixes #196.
+
+ [1] https://elkano.org/blog/manage-interface-bondings-sysfs-interface/
+
+commit 7affff568a0aa83d732757c4699d4b94b7e3a9aa
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ init.d.examples: pid files always go in /var
+
+ This removes the @VARBASE@ substitution since it is always translated to
+ /var.
+
+commit 4f750933fd8ef944be58bfeef071a8e35fc0c606
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ procfs: remove the @sysconfdir@ reference
+
+commit 50b69d564a8f89b8137bb6d9d53aac1e44f6c23c
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ hostname: replace @SYSCONFDIR@ references with /etc
+
+ I do not know of any situation where /etc/hostname is at any other
+ location. Also, this does not run on prefix.
+
+commit eb18f4f3483b99705f944c7274b4a6b451716df7
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ hwclock: use shell variables for configuration file path
+
+ This removes a reference to @SYSCONFDIR@.
+
+commit d5f3fe52c87928095bd2659823b985d231f0718c
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ sysctl: hard code paths for sysctl files on *bsd
+
+ For *BSD,the sysctl*.conf files are always in /etc.
+
+commit bb1bc6eeb73b3483a1ebdfc142a11240b58588cf
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ local: misc cleanups
+
+ Remove references to @SYSCONFDIR@ since these can be calculated at
+ runtime.
+ Also style fixes.
+
+commit 53844fd0dcd9741b5f19dee7c00787be7e904c3c
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ devfs: cleanup
+
+ clean up local definitions. Also remove @SYSCONFDIR@ substitutions since
+ they can be calculated at runtime.
+
+commit 14938c29cefe869872b987f8e606da72024fa8bb
+Author: bell07 <web.alexander@web.de>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ net-online: wait for ping_test_host
+
+ The script should wait till the ping host is available or timeout reached
+ Closes : #179
+ Closes : #191
+
+commit 8bf501aaf2cb60b8ddf1b2fa2d1ba0ef970fb790
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ network: use 'command -v ip' to test for the ip executable
+
+ This is an improved test because it doesn't require the ip executable to be
+ in a specific path.
+
+commit 9d05f68b51d7b31634cde30a482ec0e3da3b1c21
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Do not use file tests in net-online
+
+ https://unix.stackexchange.com/questions/252002/help-testing-special-file-in-sys-class-net
+
+ This is for #189
+
+commit ee2524cd1d0305e207f7dfac52742a1d5e77ea4a
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ net-online: clean up quoting and test for existence
+
+ This is for #178.
+
+commit 5c81661d4758dea039860ae2481476a70e78ac47
+Author: Marcel Greter <marcel.greter@ocbnet.ch>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Gracefully handle unreadable /sys/class/net/dev/ nodes
+
+ Fixes https://bugs.gentoo.org/629228
+ Fixes #189
+ Fixes #185
+ Fixes #178
+
+commit fb96c9c127dcfa932460b0e8a977ba5f7d26a418
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Make bash-completion and zsh-completion optional
+
+commit 6c456f9383ab0000527b4363bc82fc17850aba18
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Add zsh-completion support
+
+commit d220fc272337b216bff6ac781a7b6be4e6f3caee
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ add bash completion support
+
+ This fixes #188.
+
+commit a2447dfb420cbd97a65cc085404c031d42cb3dfb
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ rc-service: add --ifcrashed option
+
+ This works like the other --if options. If the service is crashed, run
+ the command.
+
+ This fixes #154.
+
+commit cee3919908c2d715fd75a796873e3308209a4c2e
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Clean up the calls to group_add_service
+
+ This function should only be called once and it does not take any
+ arguments.
+
+ X-Gentoo-Bug: 639166
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=639166
+
+commit 0feadd2922484ec181c2ab86a5f7f8d6d37c5c77
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ man/openrc-run.8: update documentation for command_user
+
+commit a7c99506d9de81b9a2a7547bd11715073de1ce95
+Author: Will Miles <wmiles@sgl.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Fix repeated dependency cache rebuild if clock skewed
+
+ rc_deptree_update_needed would return early as soon as it found
+ any file newer than the existing dependency cache. Unfortunately,
+ the first file found may not be the newest one there; so the
+ clock skew workaround in rc-misc:_rc_deptree_load would be given
+ a timestamp that was still too old.
+
+ This fix forces a full scan of all relevant files, so as to
+ ensure that we return a timestamp that will allow the clock skew
+ fix to operate. The runtime cost is no worse than the case where
+ the cache is up to date (ie. we must check every possible file).
+
+ This fixes #161.
+
+commit f0129307759f1a5eb34b72589e8d48790c92b2db
+Author: Julien Reichardt <mi@jrei.ch>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ man/openrc-run.8: remove white space
+
+ This is for #184.
+
+commit ddbdb696582e9fd61995f15d6a3a53055a151e41
+Author: Julien Reichardt <mi@jrei.ch>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ add more variables for start-stop-daemon and supervise-daemon options
+
+ Add the following variables to expose more arguments that can be passed
+ to start-stop-daemon or supervise-daemon:
+
+ - directory will be passed to --chdir
+ - error_log will be passed to --stderr
+ - output_log will be passed to --stdout
+ - umask will be passed to umask
+
+ This is for #184.
+
+commit c84ebb94d19ca856fe064e15d2068d5671e360c9
+Author: Doug Freed <dwfreed@mtu.edu>
+Commit: GitHub <noreply@github.com>
+
+ start-stop-daemon: properly handle missing pidfile
+
+ X-Gentoo-Bug: 639218
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/639218
+
+commit 3de6395ae3b8780ab501f3cf8688e1cb2a9f0243
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ split cgroups mounting out of sysfs
+
+ This is neceessary to allow cgroups to be mounted in an lxc/lxd
+ container.
+
+ Fixes https://github.com/openrc/openrc/issues/187
+
+commit 6bb7ebec483a96e258c64ea3fea18358d7893fee
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ fix FreeBSD build
+
+ This is for #186.
+
+commit a192caf88f527e09508e32baa623ef85549612ae
+Author: Doug Freed <dwfreed@mtu.edu>
+Commit: Doug Freed <dwfreed@mtu.edu>
+
+ rc-schedules: if given nothing to look for, stop
+
+ This avoids trying to kill everything.
+
+ X-Gentoo-Bug: 631958
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=631958
+
+commit e805c74d31113c75058d860588e83bca120decf6
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ s6 supervisor fixes
+
+ Add the ability to force-kill a service if it does not go down
+ successfully. Also, adjust the default wait time for an s6 service to go
+ down to 60 seconds.
+
+commit 318e87348168e37d78f433d3ff06288ad8ccf15c
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ strongly encourage Linux users to not make /etc/mtab a flat file
+
+ The OpenRC team does not currently know of any modern linux tools that
+ require /etc/mtab to be a flat file, so this puts users on notice that
+ the mtab service will be removed in the future.
+
+commit 0d15898f58cc254d79777c791d4798a9b2542cf2
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ adjust mtab and localmount dependencies
+
+ localmount had mtab in its "use" dependencies; however, it makes more
+ sense to add "before localmount" to the mtab service and remove
+ "use mtab" from the localmount service.
+
+commit 971e82784cd1ad8f9a286ee792e6417359972976
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ rc_find_pids: namespace fix
+
+ Ignore namespaces if there are errors reading either the pid namespace
+ for the current process or the process we aare testing.
+
+ This fixes https://github.com/openrc/openrc/issues/180.
+
+commit 90d9ea656ff7c6b5d618df4e4261ebfa4033f1a8
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ start-stop-daemon: do not use do_stop to verify whether a daemon is running
+
+ X-Gentoo-Bug: 636574
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=636574
+
+commit a3d1c8a0e7d5586be13e2cd9b5029fd729bc1594
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ fix issue with --reexec call
+
+commit 913b2ca53771742385d5c69164aefcaab634f012
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ supervise-daemon: use RC_SVCNAME as the first argument to the daemon
+
+ This makes ps show which service the supervisor is monitoring.
+
+commit 3fe99c8b8264269dd935d52a1a52581cc0f14e8e
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ supervise-daemon: fix logging for reexec and the child command line
+
+commit 27b8183de2f2bfd7411c14c1ec28543ca8a36602
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ log as supervise-daemon not the service
+
+commit f32d8e1bfe16caf233d1180921f4aeed77d7476d
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ supervise-daemon: clarify a log message
+
+commit d019f34a83b0ad5e890f685b1263b281ab54ce54
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ supervise-daemon: log the command line we run to spawn the child process
+
+commit bb9c481f02cb1843e00bf32e98caf18b6b56bb4d
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ supervise-daemon: log with the service name instead of "supervise-daemon"
+
+commit 82da844b42ff83b2ebf944198e56ac2d81851897
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ implement "unsupervised" status
+
+ The unsupervised status is to be used when a supervisor of a supervised
+ service dies but leaves the service daemon itself running.
+
+commit 667a09983ca5311824aa88c42d39a495c540fc4c
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ supervise-daemon: remove child_pid from saved options during shutdown
+
+ This allows us to detect when the supervisor dies unexpectedly because
+ in that case child_pid will still exist.
+
+commit cf429ee359356d736c818e8b35db8fca887e7332
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ rc_service_value_set: remove the option if NULL is the value
+
+ This allows the equivalent of "unsetting" a value for a service.
+
+commit 6f3e2e2d7de61ab28cf03937ccf2e5f80b62190a
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ supervise-daemon.sh: fix status function with no namespaces
+
+commit 35b88fb42bb8e0a56cdc1947342f1b89c98658bc
+Author: Patrick McLean <chutzpah@gentoo.org>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ cgroups_cleanup: clean up shutdown signaling
+
+ - do not sleep for the full 90 seconds if processes are dead
+ - re-arrange the order of signals we attempt to send to the processes
+
+commit a428c325a902bba55a849a07a59c0c1567404db2
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ add "unsupervised" status and return code 64 to supervise-daemon status function
+
+ This is to be used if the service is being supervised and the
+ supervisor is somehow killed.
+
+ Currently, this is very linux specific, but I will expand to other
+ platforms, patches are welcome.
+
+commit 3219ecd6085231d7cc1268323a5be6a69f8c9143
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ supervise-daemon: fix build issue for >=glibc-2.26
+
+ X-Gentoo-Bug: 635334
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=635334
+
+commit 0d8dc4f798cc0d707fc64e8bffcba4fbceb32935
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ version 0.35
+
+commit f3c70bf5b5aa18e8dc94d4949f05568e0741c5cb
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Update ChangeLog
+
commit f5acc66db7d1a0bfad6a40eefc0240b80f52df94
Author: William Hubbs <w.d.hubbs@gmail.com>
Commit: William Hubbs <w.d.hubbs@gmail.com>
@@ -1077,398 +1844,3 @@ Author: William Hubbs <w.d.hubbs@gmail.com>
Commit: William Hubbs <w.d.hubbs@gmail.com>
make sure netmount and localmount start after root
-
-commit eea4decdd1c84e4b8775a255d8ed85bce5eb40a5
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- net-online: typo fix
-
-commit d4d0f25a4844ecaed43de913e8b729e7a2e894db
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- net-online: updates to make the service more usable
-
- - switch from attempting to ping the default gateway to a host outside
- the local network, defaulting to google.com.
- - along with this, change the name of the variable that requests a ping
- test to include_ping_test so the meaning is more clear.
-
-commit 1cb44092fce298004ab4c4547c6fbcac29c5997f
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- sh/rc-functions.sh.in: add get_bootparam_value function
-
-commit 4207e46622f584eb5f0cc10bbfd36f92f001a2e2
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- move init.d examples under support and install them
-
-commit f6ea16159ec8583a6f2182578334aa00578cb080
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- scripts: make sure the rc-sstat symlink is always replaced
-
-commit 9047ea4cb0d0e5e27704369380e128d26c3e86b2
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- install support files
-
- These files have been in the distribution for some time but haven't been
- installed. They are good examples of how to do things, so we should
- install them.
-
-commit d7f5a696c173e7af67dd4b3f90744e0a056441e1
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- support: rename all README files to README.md
-
-commit 6f614cd3f33dbdea3a67ac2fb414b1130674ee04
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Move deptree2dot to the support folder
-
- Since deptree2dot and the perl requirement are completely optional, we
- can move this tool to the support folder. This gives the user the option
- of using it if they have perl installed, and means we do not have an
- optional runtime dependency on perl.
-
- Documentation for this tool has also been added to the support folder.
-
- X-Gentoo-Bug: 600742
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=600742
-
-commit 85c1930acf15b0c9d3c5537fb2b0409c6a11c982
-Author: William Pitcock <nenolod@dereferenced.org>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- test/setup_env: ensure that eval_ecolors is available on the path.
-
- The test environment previously used the system default paths instead of installing the necessary $PATH environment
- variable to make finding eval_ecolors work.
- This closes #117.
-
- X-Gentoo-Bug: 374191.
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=374191.
-
-commit 96bd0c004c9549e5a2ef64277216a15da6f96a8e
-Author: Nicolas Porcel <nicolasporcel06@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Fix typo in guide.md
-
- This fixes #115.
-
-commit b693af90556ac9b055ba5c6e589066c1e08b2146
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Revert "scripts: do not substitute for @SHELL@ in rc-sstat"
-
- This reverts commit e2e652e469efa5f3ebcd69828ff16d8f5ad3f1b8.
-
-commit 6dcb6929869c2f81c1f8d0930191f74fc6dfaa3e
-Author: Doug Freed <dwfreed@mtu.edu>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- start-stop-daemon: allow all standard signals
-
- Also we define the signalpair_item macro.
- This fixes #113.
-
- X-Gentoo-Bug: 604986
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=604986
-
-commit e2e652e469efa5f3ebcd69828ff16d8f5ad3f1b8
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- scripts: do not substitute for @SHELL@ in rc-sstat
-
-commit b73941f0c3020e3dbd1684d09685e114c678b520
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- mountinfo: make the path to /proc/mounts a constant
-
- This path should not be hard coded in the open call.
- Linux prior to 2.4.19 did not have /proc/self/mounts, so for now I'm
- making this value /proc/mounts everywhere, but that may change to
- /proc/self/mounts on linux; I'm not sure we should care about <2.4.19.
-
- X-Gentoo-Bug: 604646
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=604646
-
-commit c304522131a795cf882444b5f94e81db4baf65b3
-Author: Benda Xu <heroxbd@gentoo.org>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Clean up warnings that can use the _unused macro
-
- X-Gentoo-Bug: 604666
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=604666
-
-commit 92325b44ba58a7ca04d88ae8ca202b402b032b43
-Author: Benda Xu <heroxbd@gentoo.org>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Indentation fixes
-
- X-Gentoo-Bug: 604666
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=604666
-
-commit 074d90f5a4e3b66e532a0becde372acf38346397
-Author: Benda Xu <heroxbd@gentoo.org>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Drop the use of the _BSD_SOURCE macro on Linux
-
- X-Gentoo-Bug: 604666
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=604666
-
-commit 7056b56b3ccc9cbde4ef8297b923919c49c7c242
-Author: Benda Xu <heroxbd@gentoo.org>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Drop the use of the _BSD_SOURCE macro on GNU/Hurd
-
- X-Gentoo-Bug: 604666
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=604666
-
-commit d5c3b85e3fbddbba149687244d607fcdae222f95
-Author: Doug Freed <dwfreed@mtu.edu>
-Commit: Doug Freed <dwfreed@mtu.edu>
-
- loopback: drop explicit route for BSD too
-
-commit 1ab2249448ba24a591b561f53aa64ff3df1e41f6
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- version 0.24
-
-commit a15cff21c63f2ad951af1c59a74fc7d37f78e91b
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- update ChangeLog
-
-commit 45aa36cc623eeeb15fb6827b57e0c07a37cdef41
-Author: Doug Freed <dwfreed@mtu.edu>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- librc: detect loops in stacked runlevels and abort
-
- This fixes #109.
- X-Gentoo-Bug: 558700
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=558700
-
-commit d3f833179b39368442221c448f90b87f76d28ee8
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- sh/init.sh.Linux.in: remove unused check for Gnu/KFreeBSD
-
- This script only runs on Linux, so the check will always be false.
-
-commit abe552b969b6601f47ba0474f683d8cd80d53c9d
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- modules: get rid of printing each module on Linux
-
- Now that we respect the module blacklists, don't print every module we
- try to load, because it might not end up loaded due to the blacklist,
- and modprobe doesn't consider that a failure.
-
-commit 856eafb006655b7dda630a94cbd16f5db9f781be
-Author: Doug Freed <dwfreed@mtu.edu>
-Commit: Doug Freed <dwfreed@mtu.edu>
-
- sh/init.sh.Linux.in: skip /proc test if no md5sum
-
- This will also warn users if md5sum is missing, which serves as a pretty
- good indicator that /usr is not mounted.
-
-commit f27d60add9ee1ef8a90ea0034edf6f4e4e6d0ed8
-Author: Robin H. Johnson <robbat2@gentoo.org>
-Commit: Robin H. Johnson <robbat2@gentoo.org>
-
- sh/openrc-run.sh: expose default start/stop/status
-
- Supervisor setups break easily when start/stop/status functions are not
- default.
-
- Applications that write multiple PIDs to a pidfile (eg HAProxy as
- described in bug 601540), can also benefit from being able to call the
- default start/stop/status with modified environment variables.
-
- Expose the default start/stop/status functions as
- default_start/stop/status, and use them for the defaults
- start/stop/status.
-
- Trivial usage example:
- ```
- stop()
- {
- t=$(mktemp)
- for pid in $(cat $pidfile) ; do
- echo $pid >$t
- pidfile=$t default_stop
- done
- rm -f $t
- }
- ```
-
- X-Gentoo-Bug: 601540
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/601540
- Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
-
-commit 8ad460c54ce66aa0900cf872d9ebfacf0c03f9da
-Author: Doug Freed <dwfreed@mtu.edu>
-Commit: Doug Freed <dwfreed@mtu.edu>
-
- Fix typos
-
- Fixes #99
-
-commit 72c0824961fc257b634a9439496e04d1b3392ef1
-Author: Doug Freed <dwfreed@mtu.edu>
-Commit: Doug Freed <dwfreed@mtu.edu>
-
- localmount: add comment about types variable
-
-commit 5b7e3490ef2ce96c35e6c18b4c64e8c61586bb7a
-Author: Alan Somers <asomers@gmail.com>
-Commit: Doug Freed <dwfreed@mtu.edu>
-
- Localmount shouldn't mount remote filesystems
-
- The /etc/init.d/localmount script has a syntax error that causes it to
- attempt to mount remote filesystems, causing the boot to fail. The
- script appends a "no" to each remote filesystem type, but it should only
- be append the "no" to the beginning of the list. This patch fixes
- localmount on FreeBSD 12.0. A review of the mount(8) manpage on Ubuntu
- 12.04 suggests that this patch is correct for Linux, too.
-
-commit dd61e6bfc3fc1da011b01f4f6cf3e45e26c59dc1
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- rc.conf: fix the commented default setting for rc_logger
-
- X-Gentoo-Bug: 601480
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=601480
-
-commit 204971c6e2ea1e37fa037e09bff02eea3a07f843
-Author: Doug Freed <dwfreed@mtu.edu>
-Commit: GitHub <noreply@github.com>
-
- runlevels: remove bad trailing backslash
-
-commit 3552f0ae548d68effd4411ad4080e7b13fe627c5
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- man/start-stop-daemon.8: clarify documentation about --pidfile option
-
- The documentation implied that if you stop a daemon we handle multiple
- pids in a pid file. This is not correct. We only handle the first pid.
-
- X-Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=601540
-
-commit 42cb84882918a0c9dd93a89d92b0b4818dfb44b8
-Author: AndCycle <andcycle-github@andcycle.idv.tw>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- fix manual typo
-
- This fixes #105.
-
-commit e0ac661419042cb39c1ccf93df2981504d1e6339
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- split tmpfiles processing into opentmpfiles
-
- The openntmpfiles package is designed so that it can be used on systems
- independently of whether openrc is used.
-
-commit 6414c3bc394f86a5d6a5f02c934469e21bbbc923
-Author: Jason Zaman <jason@perfinion.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- selinux: fix SIGSEGV with invalid contexts
-
- Fixes: https://github.com/openrc/openrc/issues/104
-
-commit 4f9bd7e4db185ce6debbebb5242344d8ffadc3ae
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- init.d/loopback.in: drop the route to the loopback interface on Linux
-
- This is related to #103.
-
-commit bf539f2196290864ce5c5fd0d679b74ee016e2da
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- init.d/mount-ro: do not remount /usr read only if it is premounted
-
- X-Gentoo-Bug: 573760
- X-Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=573760
-
-commit 20b60ea904612669dfb744beffcd8e7e447f69ef
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- conf.d/net-online: clarify comment about interfaces setting
-
- This setting refers to all interfaces that support ethernet
-
-commit f53c8baef3a6215077c00901759cbbcbe8f10e9b
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- init.d/net-online: remove interfaces and timeout from local declarations
-
- X-Gentoo-Bug: 598621
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=598621
-
-commit be06cd250e12e63b8eb704bb2508e06fb9791251
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- src/rc/rc: do not try to start services if fork fails
-
-commit 003657c973ea338a19f2b7294190af9d76cf5cea
-Author: Robin H. Johnson <robbat2@gentoo.org>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- init.d/loopback: drop scope on loopback
-
- Busybox does not support the 'scope' argument on 'ip address add' or 'ip
- route add', this is documented in BUSYBOX.md, but is no longer actually
- needed, as the kernel does get it right without manual specification,
- and the ifconfig variant already relies on the kernel to get it right.
- This is part of #103.
-
- X-Gentoo-Bug: 487208
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=487208
-
-commit 4fd144c0a6526963c70f18cb34a65354c2f0a48c
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- src/rc/rc-misc.c: report error if call to flock() fails
-
- X-Gentoo-Bug: 597390
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=597390
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2018-03-12 2:43 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2018-03-12 2:43 UTC (permalink / raw
To: gentoo-commits
commit: e8a2305de0320dc98bf187bb97f936e2dc4a4554
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Thu Mar 1 17:46:02 2018 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Thu Mar 1 17:46:02 2018 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=e8a2305d
version 0.36
Makefile.inc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile.inc b/Makefile.inc
index 48a56d98..56545645 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -1,3 +1,3 @@
NAME= openrc
-VERSION= 0.35
+VERSION= 0.36
PKG= ${NAME}-${VERSION}
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2018-05-31 21:54 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2018-05-31 21:54 UTC (permalink / raw
To: gentoo-commits
commit: 6762cb875c9c039b79dcc447b9d0eb65356a7708
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Thu May 31 21:53:25 2018 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Thu May 31 21:53:25 2018 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=6762cb87
Update ChangeLog
ChangeLog | 780 ++++++++++++++++++++++++++------------------------------------
1 file changed, 331 insertions(+), 449 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 59ead5ca..3a0139ab 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,334 @@
+commit 6edf516a1fe0ad4f4e8738f9fdd1bf0bc7718361
+Author: Austin English <austinenglish@gmail.com>
+Commit: Doug Freed <dwfreed@mtu.edu>
+
+ sh/supervise-daemon.sh: use start_stop_daemon_args if supervise_daemon_args is undefined
+
+commit 7e56a49e23c810673b83e48eb9ca36229bb4016e
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Logger: only log printable characters and newlines
+
+ X-Gentoo-Bug: 651412
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=651412
+
+commit fa5aea80c50fb724d2c98a6542307adbafd0e62d
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ openrc-run.sh: move crashed test outside started test
+
+ This is handled inside librc, so we don't need the nesting in this
+ script.
+
+commit 0f4fa41574a4ebf8117493e5411f8ab522010467
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Add mark_service_crashed binary
+
+commit 5d6dd97bba3559b57fb1c1de35e644c6dbd6baa7
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ rc-misc: add the crashed state
+
+commit 37e29442721af0dc3846e87ef2b85a474af3cf2b
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ librc: Add check for crashed state
+
+ In rc_service_state,, call rc_service_daemons_crashed to check for
+ a crashed daemon if the service is started.
+
+commit 4e0eace837287845504c9895429dc9f64872d075
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ librc: Add crashed state
+
+commit faa8318b3ba278544413a39d4a5ae4457711793f
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Remove the _rc_can_find_pids function
+
+ This test to find if we could see pid 1 was being used inconsistently in
+ rc-status and mark_service_crashed to decide whether we could test to
+ see if the daemon for the service was crashed, and it was not part of
+ the librc library.
+
+ I am removing it from the executables because of inconsistent usage. I
+ will add it to the library if it is needed there.
+
+commit 08da36149c0b41c64a09369c3eef5e2f5a6fa39c
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ rc-service: add --ifstarted and --ifstopped options
+
+commit 56870d0db18209396f8276bdc05d413fe4dd7a88
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Man: rc-service man page cleanups
+
+commit 4d47ce440c3e8f193cff82a77e6691ee6e7fac33
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ rc-service: add -d/--debug and -D/--nodeps options
+
+commit 958f57d895b6573b39e62097e5e9881f16174715
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ openrc-run: respect the RC_NODEPS environment variable
+
+commit 04886efd85328988657c34440da9ba6aa2841cfd
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Add RC_DEBUG and RC_NODEPS to environment whitelist
+
+ These are needed so rc-service can pass debug and nodeps options to
+ openrc-run.
+
+commit d980798d6444bbfc508796a233e962bf4dd61275
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ openrc-run: respect the IN_DRYRUN environment variable
+
+ This allows rc-service to pass the tryrun option to openrc-run.
+
+ This is for #225.
+
+commit 414a9aae6ce066d2a6ad42e7e24d1c12a7b46409
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ rc-misc.c: Add IN_DRYRUN to environment whitelist
+
+ This allows rc-service to pass the dryrun option to openrc-run.
+
+ This is for #225.
+
+commit a7f475ca04856ef8232364c5b0c3191566b0696c
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ rc-service: add a --dry-run option
+
+ This is for #225.
+
+commit 3c53680018c1799d0d804e241a9fa4d3b9423896
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ build: standardize installation modes
+
+ Gentoo was changing some of our installation modes from 0444 to 0644.
+ There isn't a reason to install things 0444, so we are switching these
+ to 0644 so the Gentoo ebuild doesn't need this extra step.
+
+commit f0ad647303daca528cb9b75f9a07d422318635c2
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Revert "savecache: stop saving the dependency tree"
+
+ It is safe to save the deptree, but we also need to regenerate it at
+ boot time.
+
+commit b35e03b6b1acc841ac33f601dd39c1152523621e
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Revert "Logger: only log printable characters and newlines"
+
+ This reverts commit 2b1392af2fe9e5dfc8eda2f19d896efdc41840bf.
+ This seems to create issues shutting down, so I need to look into it
+ further.
+
+commit 2b1392af2fe9e5dfc8eda2f19d896efdc41840bf
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Logger: only log printable characters and newlines
+
+ X-Gentoo-Bug: 651412
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=651412
+
+commit a3d0e293eebcb92564c473e61ca42724844fb279
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Remove localmount from dependencies for linux-only services
+
+ This removes localmount from the dependencies of the consolefont,
+ keymaps, numlock and procfs services.
+
+ These services are Linux only and the default modern linux system has /
+ and /usr on the same file system.
+
+ This also fixes the following issue.
+
+ X-Gentoo-Bug: 651998
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=651998
+
+commit 0200002b8cbd061ac79b6aed4024220cd0386d2c
+Author: Andrey Utkin <andrey_utkin@gentoo.org>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ start-stop-daemon: don't fail stopping if pidfile is gone
+
+ If pidfile does not exist when we are stopping the daemon, assume it is
+ already stopped, and report success.
+
+ hostapd is an example of a daemon which removes its pidfile when it is
+ exiting. If this daemon terminates prematurely, that is, without s-s-d
+ involvement, then openrc fails to restart it, because s-s-d "stop"
+ command fails when pidfile is missing.
+
+ X-Gentoo-Bug: 646274
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/646274
+
+commit f4e2142089487b7f5c99da949d7bf8d038724df7
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Add _POSIX_C_SOURCE definition to Linux build
+
+ We need this to allow builds on uclibc-ng based systems.
+
+ X-Gentoo-Bug: 650908
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=650908
+
+commit 49a90f27a848ba02a363fc0c844d6284728bdd73
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ typo fix
+
+commit 2ae60ca0419d60c86904a8e15e71e902549e18d4
+Author: Scall <Scall@users.noreply.github.com>
+Commit: Doug Freed <dwfreed@mtu.edu>
+
+ rc-update: fix typo
+
+commit 6b475ab26992f1dd8815700828df46abc4b71d27
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ init.d/modules: add code from modules-load service
+
+ There is no reason for these to be separate services. I did add a
+ provide so that we don't break backward compatibility.
+
+commit b302b0c094c2c99b810aec9c8877adcd1effabac
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ net-online: always start after net
+
+ X-Gentoo-Bug: 650600
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=650600
+
+commit 40aa69cf3a99fa080375a702631da4d2311ebf3e
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ agetty.in: allow status to be displayed
+
+commit 5346fbf2c90b33b3abc01588e4727d4402f8db62
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ supervise-daemon: fix off-by-one error
+
+commit 92e6bdee12fa9d87a2535446ceccee261305e87c
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Use _BSD_SOURCE on FreeBSD
+
+commit 71f275b2aa04d9a9323a49d1421796c4d50b1436
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ typo fix
+
+commit 6dc0d0af333592203fabd4746279bb15d2801c0b
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Remove _XOPEN_SOURCE macros from builds
+
+commit 59a9e53378891be7b12ed304ccb609e27da70751
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Add _POSIX_C_SOURCE macro to FreeBSD build
+
+commit 122768d339175c925a1a228792f4725b7c802f46
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ man: document default retry specification for supervise-daemon
+
+commit fa3c60c0d8fd2267be5c1b156530b136a2503088
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ man: document default retry sppecification for start-stop-daemon
+
+commit 61905bfcf560219939c902dbb8fe9bc5088a42cf
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Clean up cgroups v2 code
+
+ Remove the IFS manipulation and simplify the loop that processes the
+ settings.
+
+commit 3e68013631765e00eddf118bc24e38254e7f6d64
+Author: Scall <Scall@users.noreply.github.com>
+Commit: Doug Freed <dwfreed@mtu.edu>
+
+ init.d: swap should always be started after root
+
+ Otherwise if a swap file is being used, and swap is started before
+ root, swapon may fail because of a read-only filesystem.
+
+commit b46123f2e19a5eb8dc02b898e8c20a2ccc211615
+Author: Chris Cromer <cromerc@users.noreply.github.com>
+Commit: Doug Freed <dwfreed@mtu.edu>
+
+ openrc-run: fix memory size (#213)
+
+ Fixes #212
+
+commit 109869641f7b58d07819f6b65d7b085abf75083b
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ fix build on FreeBSD
+
+commit e8a2305de0320dc98bf187bb97f936e2dc4a4554
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ version 0.36
+
+commit f62975a1f8c4d5d4abdf78d8cad5509216138f03
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Update ChangeLog
+
commit 5bb6f9aa318a6d0507971b74d88c3fd2803bae4b
Author: Jason Zaman <jason@perfinion.com>
Commit: William Hubbs <w.d.hubbs@gmail.com>
@@ -1395,452 +1726,3 @@ Author: William Hubbs <w.d.hubbs@gmail.com>
Commit: William Hubbs <w.d.hubbs@gmail.com>
openrc-init: add optional sysvinit compatibility
-
-commit 44bac3c3798f7eb9186c3ea8774552aa191bfae7
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Change killprocs to use kill_all instead of killall5
-
- X-Gentoo-Bug:376977
- X-Gentoo-Bug-URL:https://bugs.gentoo.org/show_bug.cgi?id=376977
-
-commit 0ddee9b7d2b8dea810e252ca6a95c457876df120
-Author: Sergei Trofimovich <slyfox@gentoo.org>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- openrc-init: fix buffer overflow in init.ctl
-
- How to reproduce 1-byte overflow:
-
- ```
- $ FEATURES=-test CFLAGS="-fsanitize=address -O0 -ggdb3" emerge -1 openrc
-
- =================================================================
- ==1==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x7fff0efd8710
- at pc 0x000000402076 bp 0x7fff0efd7d50 sp 0x7fff0efd7d40
- WRITE of size 1 at 0x7fff0efd8710 thread T0
- #0 0x402075 (/sbin/openrc-init+0x402075)
- #1 0x3cf6e2070f in __libc_start_main (/lib64/libc.so.6+0x3cf6e2070f)
- #2 0x4013b8 (/sbin/openrc-init+0x4013b8)
-
- Address 0x7fff0efd8710 is located in stack of thread T0 at offset 2432 in frame
- #0 0x401cfb (/sbin/openrc-init+0x401cfb)
-
- This frame has 3 object(s):
- [32, 160) 'signals'
- [192, 344) 'sa'
- [384, 2432) 'buf' <== Memory access at offset 2432 overflows this variable
- HINT: this may be a false positive if your program uses some custom stack unwind mechanism or swapcontext
- (longjmp and C++ exceptions *are* supported)
- SUMMARY: AddressSanitizer: stack-buffer-overflow ??:0 ??
- ```
-
- The problem here is in the code handling reads from 'init.ctl':
-
- ```
- int main(int argc, char **argv) {
- ...
- char buf[2048];
- for (;;) {
- /* This will block until a command is sent down the pipe... */
- fifo = fopen(RC_INIT_FIFO, "r");
- count = fread(buf, 1, 2048, fifo);
- buf[count] = 0;
- ...
- }
- ```
-
- `buf[count] = 0;` writes outside the buffer when `fread()` returns non-truncated read.
-
- This fixes #138.
-
-commit 688566c535111a141f77caf88db12a4338544f7b
-Author: Sergei Trofimovich <slyfox@inbox.ru>
-Commit: Doug Freed <dwfreed@mtu.edu>
-
- mk/cc.mk: make implicit function declarations fatal (#136)
-
- Avoids issues with missing prototypes causing truncation of pointers.
-
- Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
-
-commit 7185e242ffaa8cd1b672fe4726502a196fd779c2
-Author: Sergei Trofimovich <slyfox@inbox.ru>
-Commit: Doug Freed <dwfreed@mtu.edu>
-
- rc-logger.c: fix crash on fclose(NULL) (#137)
-
- Only close the log if we successfully opened it.
-
- Reported-by: Brian Evans <grknight@gentoo.org>
- Tested-by: Brian Evans <grknight@gentoo.org>
- Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
-
-commit ec27299f4b88daa80261298fafea76ae634744d9
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- typo fix
-
- X-Gentoo-Bug: 618888
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=618888
-
-commit 1ece16bfcd0ab71d2f9fe17a75ee6184e0fa4828
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- openrc-shutdown: add dry-run option
-
-commit 0cfd0dd9ef580ed9dc563ccc164d70efe8f299db
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- openrc-shutdown: move to single user mode by default
-
- To be more compatible with sysvinit, move to single user mode if no
- options are specified on the command line.
-
-commit a77ee2e94191ba1a286b8a6835f76556481566ba
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- init: add ability to switch to single user mode
-
-commit 49b8a573a195f4b2cee992cd10678694da0a6f4f
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- add kill_all helper
-
- This is similar to the sysvinit killall5 utility. It should only be used
- in service scripts, so it will not be installed in the path.
-
- This closes #129.
-
-commit a2055af90054f5125cc07d4851b1dc9d16815e7c
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- rc_status: calculate time differences in time_t and display seconds in uptime
-
-commit cbf96967f1b6dc72ae16203dfbbb844bd08e8b6b
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- supervise-daemon: save start time and respawn count before dropping privs
-
-commit f1013037b47cdd6344f1b3ed92b7f84d7fcca01f
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- version 0.27
-
-commit e4bfb4530a86a4ccdff312c857df37fa0da36fd6
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- update ChangeLog
-
-commit 78e0042eccaf5a5554b195ad391b3ab0b8974cf6
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- man/rc-status: document changes for supervised daemons
-
- rc-status now shows the amount of time a supervised daemon has been
- active as well as the number of times it has been respawned during the
- current respawn period.
-
-commit 82e12e309247bc84abf29aca04b3a2dd845fa11b
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- rc-status: show uptimes and respawn counts for supervised daemons
-
-commit 1ebef0d7a38ec0a9635418b75c3aabb564c1577e
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- fix to_time_t to honor dst
-
-commit 6b4050ab9cf9d678a1d6b7af7af7494f8533dbca
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- fix from_time_t function
-
-commit cf5e9aa2bbcdf1783fadeab26586c1134929d928
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Move time_t conversions to rc-misc.c so they can be shared
-
-commit a3250e77d412f2290e381b9e7569930d95e4fc5b
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- supervise-daemon: save start time and respawn count
-
- This will allow rc-status to display an uptime and restart count for
- supervised processes.
-
-commit df027ca4722c8755b23a65db75728b835ccca807
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- supervise-daemon: fix our status when we give up on the child process
-
-commit 4c89e3f5fa1c65ccd0c843f98e4013c2085f243f
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- supervise-daemon:create multiple options from --respawn-limit
-
- This creates --respawn-delay, --respawn-max and --respawn-period. It was
- suggested that it would be easier to follow if the options were
- separated.
-
- This is for #126.
-
-commit 3673040722b75c0a4d06fbeb272f917c7d1ea7c4
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- supervise-daemon: add a --respawn-limit option
-
- Allow limiting the number of times supervise-daemon will attempt to respawn a
- daemon once it has died to prevent infinite respawning. Also, set a
- reasonable default limit (10 times in a 5 second period).
-
- This is for issue #126.
-
-commit 96c8ba2fb5f91a711ef5bfcfd8affe0b74ad18fe
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- supervise-daemon: mark all open file descriptors FD_CLOEXEC
-
-commit 47cf1d0c707dc88d216bebc15be3f39d5eb47fa9
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- supervise-daemon:remove the controlling tty in the supervisor
-
-commit 06a6a27e441372164872c7712b80728527a6ec05
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- supervise-daemon: fix access to tty_fd and devnull_fd
-
- Both the child and supervisor need access to these file descriptors.
-
-commit 5de3798afc55ce147e65926f863ec9c9cef60e79
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- supervise-daemon: mark the service started when the supervisor is active
-
-commit 6ac094a59cf7b51d8527af15b07feca707a635c8
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- version 0.26
-
-commit 84c81ca02d7077a619dc704ff654385846fcd2b4
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- update ChangeLog
-
-commit 0e3f8720984d7d5752a78a4135cd268e4f83b3d7
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- init: send term/kill signals as final step of shutdown
-
-commit 5fd3747b190887d094225547f23007d25e2d9592
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- reword the bugs section of the openrc-init man page
-
-commit 4694900190a9078397bb9083328b68b489af92f4
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- init: fix signal handling
-
- The only signals we handle are SIGINT and SIGCHLD, so block all others
- and unblock them in the child process before we start a rurnlevel.
-
-commit 05738bfce120114037d4f02c67ec740813f94b89
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- init: add re-exec capability
-
- This will allow the re-execution of the init process after upgrading
- OpenRC.
-
-commit 6f88ee4ec6f59e545346a7422facc3e5b6adac04
-Author: i.Dark_Templar <darktemplar@dark-templar-archives.net>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- bootmisc: do not remove ld-elf32.so.hints
-
- File /var/run/ld-elf32.so.hints is used on FreeBSD 64bit multilib
- This fixes #125.
-
-commit cc51bdca3bac963878141da047e92f125772e14f
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Add attribution to openrc-init.c and openrc-shutdown.c
-
-commit 13ca79856e5836117e469c3edbcfd4bf47b6bab0
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- add init process
-
- openrc-init.c and openrc-shutdown.c are based on code which was written by
- James Hammons <jlhamm@acm.org>, so I would like to publically
- thank him for his work.
-
-commit 79a9edc73068244ad843f2edbe4206ce696c91c8
-Author: i.Dark_Templar <darktemplar@dark-templar-archives.net>
-Commit: i.Dark_Templar <darktemplar@dark-templar-archives.net>
-
- Fix make install on FreeBSD: don't try to install /etc/init.d/modules twice
-
-commit 9eb669591e16c5ee0ca07babe058d0b7b2396077
-Author: Austin English <austinenglish@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- start-stop-daemon: warn if calling --start with --retry or --stop with --wait
-
- This fixes #122
-
-commit 55a87a30ec845eb725e8a923c8f8eb7aa75baa72
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- init.d/agetty.in: add -prefix keyword
-
-commit a912029462ae988ab4e2a96a0958e54a3c2e822f
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- init.d/mount-ro: change dependency on killprocs and savecache to after
-
- killprocs always succeeds and savecache is not required by mount-ro, so
- we can just start after both of these have run.
-
-commit 1e9078279709df2a3617bf1460890ceb1ddfcf59
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- agetty-guide: typo fix
-
-commit 51a292e09b9362f13d5747d4eedaa521ddf9ce72
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- init.d: add agetty to ignore patterns
-
-commit 50fccf47d4bd2ed6e7ea6ff7f72577c8e7b95d0d
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- sh/gendepends.sh.in: fix detection of service scripts
-
- We do not need to care about the path on the shebang line of a service
- script as long as the shebang line ends with "openrc-run".
- This fixes #119 and #120.
-
-commit 9bd63b5d4a16601712a65eb8962214cdd4d26ce5
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- update dependencies for clock service
-
- The clock services had a very long list of "before" dependencies that
- referred to other services within OpenRC. For ease of maintenance,
- convert these to "after clock" dependencies in the individual services.
-
-commit 48db17a93f5e60c0d241f8fb06bfbdd01206fb9c
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- update news file
-
-commit c333707cba356f4cacfd58a6fcc78f7c073dddcd
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Remove all occurances of 'before *' from dependencies
-
- Using wildcards in dependencies causes issues when rc_parallel is set to
- yes because it can lead to deadlocks.
- All dependencies need to be explicit rather than implicit.
-
- This is the first stage of moving this direction.
-
-commit 5f5b1f7cbefd0bc14352e86a9c33260266f98d9b
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- init.d/sysfs.in: efivarfs tweaks
-
- Since we check for /sys/firmware/efi/efivars, we do not need to check
- for /sys/firmware/efi
-
- Since Failing to mount efivarfs is not critical, we silence the error
- message from mount.
-
-commit cfdf56475e600f79a433cd721cadf39114c6c58d
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- version 0.25
-
-commit fde3902d069dfdce9c59555186a5541d6d99c8aa
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- update ChangeLog
-
-commit d7bbb0f5830e1ec4df1ec52714d70ac6b0a81878
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- add agetty service
-
- The agetty service is an alternate way to manage gettys with agetty
- under Linux which is separate from an external init system.
-
-commit 21ca2b746cce67e2b3578fb7015c9d4c243e3a0c
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- init.d/sysfs: drop modules completely from the dependencies
-
- This is for #112.
-
-commit 6a79aef0159d7035778fd852b26ecfac903cd029
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- init.d/sysfs: Do not load efivarfs module
-
- My understanding is that the kernel can autoload this module. If it
- doesn't, the module should be built in or loaded from an initramfs.
-
- This fixes https://github.com/openrc/openrc/pulls/112.
-
-commit 4a269674b765e5267f024fa55c8644480a7304ea
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- make sure netmount and localmount start after root
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2018-06-05 21:28 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2018-06-05 21:28 UTC (permalink / raw
To: gentoo-commits
commit: 2a1ff6e49c6603bb81eec3cafe2c587fa734289f
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Tue Jun 5 21:11:28 2018 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Tue Jun 5 21:11:28 2018 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=2a1ff6e4
version 0.37
Makefile.inc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile.inc b/Makefile.inc
index 56545645..317a55e0 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -1,3 +1,3 @@
NAME= openrc
-VERSION= 0.36
+VERSION= 0.37
PKG= ${NAME}-${VERSION}
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2018-06-05 22:38 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2018-06-05 22:38 UTC (permalink / raw
To: gentoo-commits
commit: 21d30bc6d9caca31d007631717a480a552b89701
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Tue Jun 5 22:26:57 2018 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Tue Jun 5 22:26:57 2018 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=21d30bc6
service-script-guide.md: small cleanups
service-script-guide.md | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/service-script-guide.md b/service-script-guide.md
index 2ae97029..e5c61f8d 100644
--- a/service-script-guide.md
+++ b/service-script-guide.md
@@ -29,7 +29,9 @@ Not using this interpreter will break the use of dependencies and is not
supported. (iow: if you insist on using `#!/bin/sh` you're on your own)
A `depend` function declares the dependencies of this service script.
-All scripts must have start/stop/status functions, but defaults are provided and should be used unless you have a very strong reason not to use them.
+All scripts must have start/stop/status functions, but defaults are
+provided and should be used unless you have a very strong reason not to
+use them.
Extra functions can be added easily:
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2018-06-05 22:38 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2018-06-05 22:38 UTC (permalink / raw
To: gentoo-commits
commit: e4ddfa38e0e0318abf442b7aa07e0d8206191dd7
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Tue Jun 5 22:34:09 2018 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Tue Jun 5 22:34:09 2018 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=e4ddfa38
user-guide.md: small cleanups
user-guide.md | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/user-guide.md b/user-guide.md
index a3566add..97d938d5 100644
--- a/user-guide.md
+++ b/user-guide.md
@@ -90,8 +90,8 @@ the service script by hand.
FIXME: Document stacked runlevels
-The default startup uses the runlevels `boot`, `sysinit` and `default`, in that
-order. Shutdown uses the `shutdown` runlevel.
+The default startup uses the runlevels `sysinit`, `boot`, and `default`,
+in that order. Shutdown uses the `shutdown` runlevel.
# The Magic of `conf.d`
@@ -162,7 +162,6 @@ stopped, by using:
The `rc_cgroup_cleanup` setting can be changed to yes to make this
happen automatically when the service is stopped.
-
# Caching
For performance reasons OpenRC keeps a cache of pre-parsed service metadata
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2018-06-15 18:01 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2018-06-15 18:01 UTC (permalink / raw
To: gentoo-commits
commit: a6f5b1bb63070c24145df72040fa7b465948003c
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Fri Jun 15 17:59:13 2018 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Fri Jun 15 17:59:13 2018 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=a6f5b1bb
Update ChangeLog
ChangeLog | 179 +++++++++++++++-----------------------------------------------
1 file changed, 42 insertions(+), 137 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 3a0139ab..dc76d74e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,45 @@
+commit e6d01471fe2a8eb8a15bb906d7c91c11805d1bef
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ start-stop-daemon: add ability to log stdout or stderr to processes
+
+commit d4501a9f06c807f87be04f128e535a74b370fdb4
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ fix a typo
+
+commit ec8abea4605395a2a59b26906ce4677a578e3c60
+Author: Mike Gilbert <floppym@gentoo.org>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Add helper to spawn process with stdin connected to a pipe
+
+commit e4ddfa38e0e0318abf442b7aa07e0d8206191dd7
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ user-guide.md: small cleanups
+
+commit 21d30bc6d9caca31d007631717a480a552b89701
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ service-script-guide.md: small cleanups
+
+commit 2a1ff6e49c6603bb81eec3cafe2c587fa734289f
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ version 0.37
+
+commit 6762cb875c9c039b79dcc447b9d0eb65356a7708
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Update ChangeLog
+
commit 6edf516a1fe0ad4f4e8738f9fdd1bf0bc7718361
Author: Austin English <austinenglish@gmail.com>
Commit: Doug Freed <dwfreed@mtu.edu>
@@ -1589,140 +1631,3 @@ Commit: William Hubbs <w.d.hubbs@gmail.com>
man: fix missing .Pp warnings
This fixes #151.
-
-commit f87a9eec3d23ea01578500972f1df993d5d24fba
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- init.d/sysfs: mount efivars read only
-
- This fixes #134.
-
-commit 1e837d596e483ceb5cec177a6c7faff24a42384b
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- fix argument parsing for the sysvinit shutdown wrapper
-
- This fixes #140.
-
-commit dcc686e42b406d63d52ef75de9a326f67d0a06c9
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- scripts/shutdown: fix arguments to be sysvinit shutdown compatible
-
- This fixes #140.
-
-commit 2f81c100afdf45ebf787dfc5d3261aa6055640e4
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Fix link to shutdown for MKSYSVINIT=yes
-
-commit a511a48d77b1dcb8a3fb0dd1abddb750a152869b
-Author: Nuno Silva <nuno.m.ribeiro.silva@tecnico.ulisboa.pt>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- init.d/hostname: fix default parameter syntax
-
- The syntax for expanding a variable with a default value is
- ${parameter:-word}
- not
- ${parameter-word}
- although the latter still works for a reason I could not explain.
-
- This fixes #143.
-
-commit 1e5322e5c55ec744a2cdcc3342ef6547eab7c46f
-Author: Nuno Silva <nuno.m.ribeiro.silva@tecnico.ulisboa.pt>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- init.d/hostname: fix indentation
-
- This is for #143.
-
-commit 199a210d2fbc524c9c400a06f832dabffd7ed1b3
-Author: udeved <artoo@manjaro.org>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- scripts/Makefile: make symlinks absolute instead of relative
-
- This closes #142.
-
-commit 5b7667af32effddf867a5d021c66d43f0645d374
-Author: udeved <artoo@manjaro.org>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- scripts/Makefile: respect SBINDIR with MKSYSVINIT
-
- This is for #142.
-
-commit 11243f85b67e5f450ddf50346ffd4a1b2c6faeb5
-Author: Jory A. Pratt <anarchy@gentoo.org>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- kill_all: include limits.h for PATH_MAX
-
-commit 3c40826d3466cdda1a46abcd5c86b661b8185f46
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- version 0.28
-
-commit 560d874d2fee63bf7ca11f17cf9933021b639a1d
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- fix compile issue for musl
-
-commit e84366fd232a41c3ba79ed351e93c74cef8d7c8d
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Update ChangeLog
-
-commit caacedc0a82285fb2d25c6d3473f154044c7ad66
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- man: update openrc-shutdown man page
-
- Add the new wtmp options and fix some cross references.
-
-commit 84d140a1f6abf95a4170d13527152d3ab14e6613
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- scripts/shutdown: pass --single to openrc-shutdown
-
- Sysvinit shutdown has a default of single user mode, but openrc-shutdown
- makes you choose a default action. Because of this, the shutdown wrapper
- needs to pass --single to openrc-shutdown.
-
-commit ee886c44824b1dd892eaff2c6da666286e61bc73
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- openrc-shutdown: add --single option and clean up option processing
-
-commit 1801561c2d36c330df7fd02c7508f503a61ff5ba
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- init.d/bootmisc: use openrc-shutdown instead of halt to write halt record
-
- This fixes #139 and fixes #128.
- and fixes #124.
-
-commit 7689106aa10f7852b707b4c21ec080ccb2767280
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- add support for writing reboot and shutdown records to wtmp
-
-commit 1564e155b726308200ecd5df315c002bd8b16952
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- openrc-init: add optional sysvinit compatibility
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2018-06-15 23:07 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2018-06-15 23:07 UTC (permalink / raw
To: gentoo-commits
commit: 9ec5d36bdddf5bb0e96b0c561bc5d013a8a2da2a
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Fri Jun 15 23:04:43 2018 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Fri Jun 15 23:04:43 2018 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=9ec5d36b
Update ChangeLog
ChangeLog | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/ChangeLog b/ChangeLog
index dc76d74e..410d7451 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,15 @@
+commit a097933edab9d7221df1831e098415d604437c98
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ sh/start-stop-daemon.sh: fix processing of the logger arguments
+
+commit a6f5b1bb63070c24145df72040fa7b465948003c
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Update ChangeLog
+
commit e6d01471fe2a8eb8a15bb906d7c91c11805d1bef
Author: William Hubbs <w.d.hubbs@gmail.com>
Commit: William Hubbs <w.d.hubbs@gmail.com>
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2018-06-17 17:46 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2018-06-17 17:46 UTC (permalink / raw
To: gentoo-commits
commit: aa4a004c297ec7a1fb794ad2e53ef3ac8b3f4fd1
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Sun Jun 17 17:45:51 2018 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Sun Jun 17 17:45:51 2018 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=aa4a004c
version 0.38
Makefile.inc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile.inc b/Makefile.inc
index 317a55e0..d6fa4760 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -1,3 +1,3 @@
NAME= openrc
-VERSION= 0.37
+VERSION= 0.38
PKG= ${NAME}-${VERSION}
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2018-06-28 18:03 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2018-06-28 18:03 UTC (permalink / raw
To: gentoo-commits
commit: 01c34c28e6d6d7bfecc0f88bdf1fb15e97ab8823
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Thu Jun 28 18:02:42 2018 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Thu Jun 28 18:02:42 2018 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=01c34c28
Update ChangeLog
ChangeLog | 96 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 96 insertions(+)
diff --git a/ChangeLog b/ChangeLog
index 410d7451..ba89667b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,99 @@
+commit 56ddda54b5aa01474bf563d5a662075c35152858
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ supervise-daemon.c: clean up memory leaks
+
+commit 3a803b3135837665d51ef4dd7a8b913c78e71ff6
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ librc-daemon.c: fix memory leaks
+
+commit 72df51e17ba0e1a0f94451b4bbfb338288c4625c
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ librc-daemon: convert most snprintf calls to xasprintf
+
+commit b2f5531194e33c229462e9f52fa1d9388463f7b7
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ librc-misc: convert snprintf calls to xasprintf
+
+commit 19bf49a710f27d4774ed4c6372d87d6ba15f189e
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ libeinfo: convert remaining snprintf calls to xasprintf
+
+commit 64354831da2adeba5cb2f91a81fa0f56e1ce4ed9
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ openrc: convert snprintf calls to xasprintf
+
+commit e14edd765fdc4ed43356d2eef35fa99228e5d461
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ supervise-daemon: convert snprintf calls to xasprintf
+
+commit f9d41243d8499c5d7027177d5aa716d5b5859cd6
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ start-stop-daemon: convert snprintf calls to xasprintf
+
+commit be7ad06d4a0efce2a1144b2cf6f0cc361f2a81e4
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ rc-status: convert snprintf calls to xasprintf
+
+commit a6165168953b9c7a62c089ce946476b23b73fb12
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ rc-status: fix gcc 7 warnings
+
+commit 04721ece03b15503aa220f60e7c6159d01ee75e1
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ start-stop-daemon: fix gcc 7 warnings
+
+commit c7e8f1133a42152cc293e6b637985f81bcf8b310
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ checkpath: fix gcc 7 warnings
+
+commit 47e4bfae57402eedd017d6098b432c2c411cd374
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ fix gcc 7 warnings in pipe routines
+
+commit 8a945194afb106428bc700e751078ef9944ee617
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ libeinfo: clean up gcc 7 compiler warnings
+
+commit aa4a004c297ec7a1fb794ad2e53ef3ac8b3f4fd1
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ version 0.38
+
+commit 9ec5d36bdddf5bb0e96b0c561bc5d013a8a2da2a
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Update ChangeLog
+
commit a097933edab9d7221df1831e098415d604437c98
Author: William Hubbs <w.d.hubbs@gmail.com>
Commit: William Hubbs <w.d.hubbs@gmail.com>
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2018-06-28 18:33 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2018-06-28 18:33 UTC (permalink / raw
To: gentoo-commits
commit: 02af762e83640ec23bf64c5b814f0d3424d90e10
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Thu Jun 28 18:32:19 2018 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Thu Jun 28 18:32:19 2018 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=02af762e
version 0.39
Makefile.inc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile.inc b/Makefile.inc
index d6fa4760..b090cc43 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -1,3 +1,3 @@
NAME= openrc
-VERSION= 0.38
+VERSION= 0.39
PKG= ${NAME}-${VERSION}
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2018-10-22 23:09 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2018-10-22 23:09 UTC (permalink / raw
To: gentoo-commits
commit: aacf841de4983ab33755081a6f69cdf5e3a47007
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Mon Oct 22 22:49:25 2018 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Mon Oct 22 22:49:25 2018 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=aacf841d
supervise-daemon-guide.md: re-format and add more variables
supervise-daemon-guide.md | 65 ++++++++++++++++++++++++++++++++++-------------
1 file changed, 47 insertions(+), 18 deletions(-)
diff --git a/supervise-daemon-guide.md b/supervise-daemon-guide.md
index ec885e71..0b15a858 100644
--- a/supervise-daemon-guide.md
+++ b/supervise-daemon-guide.md
@@ -7,44 +7,73 @@ terminates unexpectedly.
The following is a brief guide on using this capability.
-## Use Default start, stop and status functions
+* Use Default start, stop and status functions
+ If you write your own start, stop and status functions in your service
+ script, none of this will work. You must allow OpenRC to use the default
+ functions.
-If you write your own start, stop and status functions in your service
-script, none of this will work. You must allow OpenRC to use the default
-functions.
+* Daemons must not fork
+ Any deamon that you would like to have monitored by supervise-daemon
+ must not fork. Instead, it must stay in the foreground. If the daemon
+ forks, the supervisor will be unable to monitor it.
-## Daemons must not fork
+ If the daemon can be configured to not fork, this should be done in the
+ daemon's configuration file, or by adding a command line option that
+ instructs it not to fork to the command_args_foreground variable shown
+ below.
-Any deamon that you would like to have monitored by supervise-daemon
-must not fork. Instead, it must stay in the foreground. If the daemon
-itself forks, the supervisor will be unable to monitor it.
-
-If the daemon can be configured to not fork, this should be done in the
-daemon's configuration file, or by adding a command line option that
-instructs it not to fork to the command_args_foreground variable shown
-below.
-
-## Variable Settings
+# Variable Settings
The most important setting is the supervisor variable. At the top of
your service script, you should set this variable as follows:
+``` sh
supervisor=supervise-daemon
+```
Several other variables affect the way services behave under
supervise-daemon. They are documented on the openrc-run man page, but I
will list them here for convenience:
+``` sh
pidfile=/pid/of/supervisor.pid
+```
If you are using start-stop-daemon to monitor your scripts, the pidfile
is the path to the pidfile the daemon creates. If, on the other hand,
you are using supervise-daemon, this is the path to the pidfile the
supervisor creates.
-command_args_foreground should be used if the daemon you want to monitor
+``` sh
+command_args_foreground="arguments"
+```
+
+This should be used if the daemon you want to monitor
forks and goes to the background by default. This should be set to the
command line option that instructs the daemon to stay in the foreground.
-This is very early support, so feel free to file bugs if you have
-issues.
+``` sh
+respawn_delay
+```
+
+This is the number of seconds to delay before attempting to respawn a
+supervised process after it dies unexpectedly.
+The default is to respawn immediately.
+
+``` sh
+respawn_max=x
+```
+
+This is the maximum number of times to respawn a supervised process
+during the given respawn period. The default is unlimited.
+
+``` sh
+respawn_period=seconds
+```
+
+This works in conjunction with respawn_max and respawn_delay above to
+decide if a process should not be respawned for some reason.
+
+For example, if respawn_period is 60, respawn_max is 2 and respawn_delay
+is 3 and a process dies more than 4 times, the process will not be
+respawned and the supervisor will terminate.
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2018-10-23 22:00 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2018-10-23 22:00 UTC (permalink / raw
To: gentoo-commits
commit: 75e9b66f6ff36d06bf1f8bd4824000f9f26106e0
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Tue Oct 23 21:59:20 2018 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Tue Oct 23 21:59:20 2018 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=75e9b66f
news.md: add information about the modules service changes
NEWS.md | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/NEWS.md b/NEWS.md
index f1400197..0d386190 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -26,6 +26,12 @@ supervise-daemon supports health checks, which are a periodic way to make sure a
service is healthy. For more information on setting this up, please see
supervise-daemon-guide.md.
+The --first-time switch has been added to all modprobe commands in the
+modules service. This means that, on Linux, you will see failures if a
+module was loaded by an initramfs or device manager before this service
+runs. These messages are harmless, but to clean them up, you should adjust your
+modules autoload configuration.
+
## OpenRC 0.37
start-stop-daemon now supports logging stdout and stderr of daemons to
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2018-10-23 22:00 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2018-10-23 22:00 UTC (permalink / raw
To: gentoo-commits
commit: 7a75bfb00c52687a236c92bec78b5e7ab4844701
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Tue Oct 23 18:34:08 2018 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Tue Oct 23 18:34:08 2018 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=7a75bfb0
news.md: add note about scheduled shutdown
NEWS.md | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/NEWS.md b/NEWS.md
index 3767c18b..d4d96577 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -18,6 +18,10 @@ information:
https://github.com/openrc/openrc/issues/238
+This version adds timed shutdown and cancelation of shutdown to
+openrc-shutdown. Shutdowns can now be delayed for a certain amount of
+time or scheduled for an exact time.
+
## OpenRC 0.37
start-stop-daemon now supports logging stdout and stderr of daemons to
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2018-10-23 22:14 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2018-10-23 22:14 UTC (permalink / raw
To: gentoo-commits
commit: 53f7afd3b3daf659d58d6545dc79cd45c4c54277
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Tue Oct 23 22:14:01 2018 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Tue Oct 23 22:14:01 2018 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=53f7afd3
Update ChangeLog
ChangeLog | 644 +++++++++++++++++---------------------------------------------
1 file changed, 170 insertions(+), 474 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index ba89667b..5aecd05a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,173 @@
+commit 75e9b66f6ff36d06bf1f8bd4824000f9f26106e0
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ news.md: add information about the modules service changes
+
+commit d70b1c55b67b44b98c23ceed25bc428481f7e00a
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ modules: Add --first-time switch to modprobe commands
+
+ On Linux, kernel modules should be loaded once during boot, either in an
+ initramfs or by this service.
+
+ This does not change anything other than printing out messages if a
+ module is loaded more than once.
+
+ X-Gentoo-Bug: 659530
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=659530
+
+commit c1e582586d398b4452f568240985247294f645ef
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ supervise-daemon: add health checks
+
+ Health checks are a way to monitor a service and make sure it stays
+ healthy.
+
+ If a service is not healthy, it will be automatically restarted after
+ running the unhealthy() function to clean up.
+
+commit 7a75bfb00c52687a236c92bec78b5e7ab4844701
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ news.md: add note about scheduled shutdown
+
+commit aacf841de4983ab33755081a6f69cdf5e3a47007
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ supervise-daemon-guide.md: re-format and add more variables
+
+commit 3f918161aafa61c1c2005709fda0b9bec4c412d8
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ openrc-shutdown: Add scheduled shutdown and the ability to cancel a shutdown
+
+ You can now schedule a shutdown for a certain time or a cpecific number
+ of minutes into the future.
+
+ When a shutdown is running, you can now cancel it with ^c from the
+ keyboard or by running "openrc-shutdown -c" from another shell.
+
+commit 710c874e6e3bc57b1561eb8f2108244bf24ed32e
+Author: Zac Medico <zmedico@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ supervise-daemon: fix respawn_max off by one
+
+ Fix the comparison between respawn_count and respawn_max so that
+ respawn_max = 1 will allow for one respawn. Since respawn_count is
+ incremented before the comparison, use a 'greater than' comparison
+ so that respawn will be triggered when respawn_count is equal to
+ respawn_max.
+
+ Fixes: https://github.com/OpenRC/openrc/issues/247
+ Fixes: https://github.com/OpenRC/openrc/issues/248
+
+commit 07908be0903229a69b9e0f733ed13eeff0b55a44
+Author: Austin English <austinenglish@gmail.com>
+Commit: Mike Frysinger <vapier@gmail.com>
+
+ misc: style fixups
+
+commit 02af093043a7444381b0d8a0a3e8e97247505f95
+Author: Austin English <austinenglish@gmail.com>
+Commit: Mike Frysinger <vapier@gmail.com>
+
+ misc: whitespace fixes
+
+commit 67e2d6033dd7ac6db0269ee060ed20484825ff9f
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Complete implementation of forever timeout value in stop schedules
+
+commit eca4357892315ca7340bbfc2b373d7660a34142f
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ supervise-daemon: use nanosleep() instead of sleep()
+
+ We will be using sigalrm in this process for health checking, and
+ sigalrm cannot be used with sleep() safely.
+
+commit 7ee3e5b2d6dbb9c279011b59ec132d27d04f843e
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ openrc-init: convert sleep() call to nanosleep()
+
+ Nanosleep is the safer call to use in case we need to use alarms
+ eventually.
+
+commit 7cb8d943236fe651ac54c64f8167f7c4369f649c
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Stop mounting efivarfs read-only
+
+ We do not need to do this any longer since all supported linux kernels
+ make efivarfs immutable and the tools that manipulate it are aware of
+ this feature.
+
+ This fixes https://github.com/openrc/openrc/issues/238.
+
+commit 84ed570eaefcbb55b99ba425030bf7d1d1d46137
+Author: Zac Medico <zmedico@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ librc: fix EACCES errno false-positive crash
+
+ Use errno != EACCES to fix false-positive for non-root users
+ with grsecurity kernels.
+
+ Fixes: 37e29442721a ("librc: Add check for crashed state")
+ This fixes #237
+
+commit 2eea73bfd5ce2f9993d52293fe7d25c0c804d592
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ rc-functions.sh: Remove addon support
+
+ This is an old relic from Gentoo baselayout-1.x which should not be used
+ any longer.
+
+commit a571a42421b337380b6f5751635c55906bb8b508
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ modules: remove the ability to rename modules on the fly
+
+ Kmod doesn't support the -o switch, so if you have been using this your
+ module loads have been failing.
+
+commit 79648ac1c6355975abca6acf6076e7022037523f
+Author: Holger Hoffstätte <holger@applied-asynchrony.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ rc-status: initialize uptime pointer to prevent memory corruption
+
+ This fixes #231.
+
+commit 02af762e83640ec23bf64c5b814f0d3424d90e10
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ version 0.39
+
+commit 01c34c28e6d6d7bfecc0f88bdf1fb15e97ab8823
+Author: William Hubbs <w.d.hubbs@gmail.com>
+Commit: William Hubbs <w.d.hubbs@gmail.com>
+
+ Update ChangeLog
+
commit 56ddda54b5aa01474bf563d5a662075c35152858
Author: William Hubbs <w.d.hubbs@gmail.com>
Commit: William Hubbs <w.d.hubbs@gmail.com>
@@ -1265,477 +1435,3 @@ Commit: William Hubbs <w.d.hubbs@gmail.com>
program and adding --reexec support
- factor the supervisor into its own function
- fix test for whether we are already running
-
-commit 35b1996704f6635bb29ea3604410e133209e6432
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- supervise-daemon: elevate some log messages to warnings
-
- Prior to this change, we were logging unexpected terminations of daemons
- we were supervising at the info level. This change moves the logs to
- warnings.
-
-commit 3c8e7ed255edb8df0d548d6ce514544d5422cbf0
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- version 0.34
-
-commit acaed1f910a2a00fdd5b6aeab752c552075a7292
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Update ChangeLog
-
-commit 91109e31d81ecd48f5690ad6f63103fca545dec7
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- update news
-
-commit 2b6eeea01d1c64d58929788f4bfa0758393885bf
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- man: remove service(8) man page
-
-commit a15de23e5713d840d871c526b46050983dc6ea1e
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- typo fix
-
-commit efa9ba485d9328f780f3e60dc18339c75974c6c6
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- init.d/sysfs.in: fix reference to RC_LIBEXECDIR
-
- The sysfs init script referred to @LIBEXECDIR@ before this change, but
- it is better to refer to RC_LIBEXECDIR so that we get rid of a sed
- substitution.
-
-commit d4ddd72701ff5533a1ba07b1da60806859c63d88
-Author: Chris Cromer <chris@cromer.cl>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- add option to make agetty startup quiet
-
- This fixes #150
-
-commit 1e9af2cd421423404ffe1491bd35af76c2885f1f
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- fix compiler warning
-
-commit 3c05db74f6e733890e9035c183a774db3d512512
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- remove service binary
-
- The service binary was just a synonym for rc-service, so use rc-service
- instead of service. If you want a "service" binary, it should be
- something that can determine which service manager you are running and
- run the appropriate service manager commands.
-
-commit edc54b03770d5f58d1a4969d06c28660003dfb04
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- version 0.33
-
-commit 8e53a3fa8a33fb714064ddbe38bff2213fcf6837
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Update ChangeLog
-
-commit 7f3b41311119e3a96a15b0fb473b44f422e903e9
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- use printf consistently in cgroups handling
-
- This makes the cgroups handling consistent between cgroups v1 and v2.
- Also, it fixes #167.
-
-commit 1ccba056584ee1a8e09fb1d5eebd988b47912c06
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- sh/rc-functions.sh: add need_if_exists convenience function
-
-commit c46adf14343df3a74aef7e4ae5be175ae5fa7a01
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- man/openrc-run.8: Clarify the explanation of the need dependency
-
-commit 1cac8b080c16f9aab19c7a3ae1ca155c20dfa14d
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- ignore sigchld when shutting down the supervised process
-
- We need to do this to skip the zombie state for the child process since
- we are not easily able to wait() for it.
-
-commit b58194ef63ec8c0a7e0ea3c291da9c19aa83cb1a
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- typo fix
-
-commit b28c0d6f66e42b1e6d2a39c286a18c8d92881790
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- typo fix
-
-commit 3cf19b0f30a90157d23d09ded304439f1eb42d4a
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- supervise-daemon: code cleanup
-
- Clean up the process for killing an active supervisor when stopping.
-
-commit 0eb47b9af340dd07209a3920944ed085fe7bd359
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- initialize the stop schedule
-
-commit 4ab60ff10935122277bbaed437f82a765279cd19
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- rc-schedules.c: pass the correct pid to rc_find_pids
-
- This is for #163.
-
-commit db4a578273dbfa15b8b96686391bcc9ecc04b646
-Author: Jason Zaman <jason@perfinion.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- selinux: fix const qualifier warning
-
- rc-selinux.c: In function ‘selinux_setup’:
- rc-selinux.c:361:9: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
- curr_t = context_type_get(curr_con);
- ^
-
-commit b1c3422f453921e838d419640fe39144dbf8d13d
-Author: Jason Zaman <jason@perfinion.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- selinux: use openrc contexts path to get contexts
-
- The minimum requirement for libselinux is now >=2.6
- The refpolicy and the gentoo policy contain the
- contexts since version 2.20170204-r4
-
-commit 3fafd7a76e6adf15ec72a7ba5f44583eff8fab7a
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- sysfs: fix cgroup hybrid mode
-
- In hybrid mode, we should not try to mount cgroup2 if it is not
- available in the kernel.
-
- This fixes #164.
-
-commit cd5722aca50f0eaddde7ce04ee00da53c313ba7d
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- cgroup2_find_path: use legacy mode if cgroup2 is not in the kernel
-
- This is related to #164.
-
-commit dcb4a4d2613a1fdf85651b32e5b7a87528f487bc
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- version 0.32
-
-commit e312e569970c74cf52e255da67034391b68dafac
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Update ChangeLog
-
-commit 2f60a959b442866b0e879d83f2732c4fa3ed3f7d
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- update news file
-
-commit 25b45a5a239318fb57c405c3fe64e53b0738ad68
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- cgroup_cleanup: try to remove the cgroup version 2 cgroup
-
- If we were able to kill all the processes in the cgroup, it should be
- removed.
-
-commit 4651b8c7e9e2ef9c1ea1fb8d174d1ca4693627af
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- rc-cgroup.sh: cgroup_cleanup fix error handling
-
- cgroup_cleanup should warn if it is unable to clean up all processes in
- the control group, but it will always return success.
-
-commit 50608b54ed98acb54fec5fe3323909ea684d3af9
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- rc-cgroup.sh: fix signal names
-
- The "SIG" prefix on signal names passed to kill -s isn't portable.
-
-commit b0a077a35f85e266fdb82a245dcbda18664a8567
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- add quiet switch to do_stop in src-schedules.c
-
- This allows supervise-daemon to run this code without attempting to
- print some status messages used by start-stop-daemon.
-
-commit 6a5ca2ab368d0a85f51bb559672dba2e3ffcc6be
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- make the procedure for killing child processes of services configurable
-
-commit 2b0345165e5af57ca61a4000c3671bbe6d677cf9
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Make cgroup_cleanup send only one sigterm and sigkill
-
- Instead of looping and sending multiple signals to child processes in
- cgroup_cleanup, we send sigterm followed by sleeping one second then
- sigkill.
-
- This brings us more in line with systemd's "control group" killmode
- setting.
-
- Also, this commit includes several shellcheck cleanups.
-
-commit 8885580986ab8adc951fe32b9323c8b16130fb4f
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- rc-cgroup.sh: move cgroup_cleanup to the end of the file
-
-commit 6d7713a758b7e78f05e6a3cc101f862d28d778ab
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- guide.md: clarify cgroups documentation
-
- Update the documentation to reflect cgroups version 2 support.
- Also, add a section on dealing with orphaned service processes.
-
- This fixes #94.
-
-commit 457f928e793cb1f6ef254935ad07f58b8762c72f
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- add support for control groups version 2
-
- This is for #94.
-
-commit a71a461e452a98554346c47411e9c9012023c201
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- version 0.31
-
-commit a09b8af3f98c0700a9b838b7f3683ee58eecc912
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Update ChangeLog
-
-commit 382efdbfcb99703d03211efacd800c9575e64230
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- add quiet parameter to run_stop_schedule
-
-commit 17b5cc78d35dc5fe4904e5951715c3e0d07d6343
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- add retry option to supervise-daemon
-
- The --retry option for supervise-daemon defines how the supervisor will
- attempt to stop the child process it is monitoring. It is defined when
- the supervisor is started since stopping the supervisor just sends a
- signal to the active supervisor.
-
- This fixes #160.
-
-commit 36a0ab9054512ade413226fb8e8b28060045e9a4
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- make run_stop_schedule accept a pid instead of a pid file
-
-commit 27c2bd997d5173aa30844a16bc22dc8caab09f8c
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- version 0.30
-
-commit d7938f54f29193251e083ad35a7d464949829096
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- start-stop-daemon: move --retry processing code to a shared module
-
- This was part of start-stop-daemon; however, it needs to be shared in
- order to be used by supervise-daemon.
-
-commit cfbe9c2ede24dac530ef58e5c35bd57f22a788a3
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- move get_pid function to a shared file
-
-commit df28002b728b033c00c2da64dedf2bcd4ab5e11b
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Update ChangeLog
-
-commit 66ed8082d0c865a0b4f4cc436cf9e13351e3d6fe
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- sh/openrc-run: source service script before ulimit is processed
-
- This is needed to allow the service script author to set a default for
- rc_ulimit inside the service script.
-
-commit c2d256bafb9d1dfafbfd0846c035c5d26f7449c8
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- man/openrc-run.8: document fstabinfo and mountinfo
-
- X-Gentoo-Bug: 592374
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=592374
-
-commit f48d9c33a5c708c871d6657a39485d1c0c735548
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- man/openrc-run.8: document _pre and _post functions
-
- Fixes https://github.com/openrc/openrc/issues/155.
-
-commit 6d4e8433974fd8567885635ae0454031290f96b1
-Author: Jason Graham <jgraha8@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- fix ENT macro usage
-
- X-Gentoo-Bug: 624796
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=624796
-
-commit 0513cd3964a9564e0ba39b50aa8ebd3d7e9a3920
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- version 0.29
-
-commit 72bb2e57de935ab46ad000f97a5720265bed9342
-Author: John R. Graham <john_r_graham@gentoo.org>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Typo fix
-
- X-Gentoo-Bug: 624908
- X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=624908
-
-commit 84c5da30695db89d686d3c28c7cacdf172cbf429
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Update ChangeLog
-
-commit b35099cb707e333b6b8d30d956ffa93bcd2da0ab
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Add comment about overriding the default efivars mount in fstab to news
-
-commit 3fd3bfc76dccc3752f4af949ad4076dab26357fb
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- add link to efivars issue to news file
-
-commit 492a6303cb8314263bfd3631e3b0de5a9df178da
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- Update ChangeLog
-
-commit e7807b3136d8993805082320784460f5059e6275
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- fix sysvinit compatibility for shutdown wrapper
-
-commit 03a461ac0ee34b7900868cdea624c6fd868b1656
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- fix sysvinit compatibility for reboot wrapper
-
-commit 7e0f76e0adc545c74a8332a6ef0811d2aa62cb81
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- fix sysvinit compatibility for poweroff wrapper
-
-commit 9812ce5b8dc22fe36cc7bf75cf6e62db204ece3d
-Author: William Hubbs <w.d.hubbs@gmail.com>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- fix halt wrapper so it is sysvinit compatible
-
- This makes the halt wrapper sysvinit compatible. It ignores several
- command line switches which are not currently implemented; however,
- those can be implemented if we need to do so.
-
- This fixes https://github.com/openrc/openrc/issues/146.
-
-commit 12f75e4167f84a9a85f69924ebdb28ad36c085cb
-Author: Adam Borowski <kilobyte@angband.pl>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- man: fix an unclosed .Bl/.El warning
-
- This fixes #151.
-
-commit 260368e0103e95625c29760f2c2ec89143e5a233
-Author: Adam Borowski <kilobyte@angband.pl>
-Commit: William Hubbs <w.d.hubbs@gmail.com>
-
- man: fix missing .Pp warnings
-
- This fixes #151.
^ permalink raw reply related [flat|nested] 150+ messages in thread
* [gentoo-commits] proj/openrc:master commit in: /
@ 2018-11-02 23:24 William Hubbs
0 siblings, 0 replies; 150+ messages in thread
From: William Hubbs @ 2018-11-02 23:24 UTC (permalink / raw
To: gentoo-commits
commit: a2bcfeb42882b40ca23ddfefca2a17a7988f8082
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Wed Oct 24 20:18:10 2018 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Wed Oct 24 20:18:10 2018 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=a2bcfeb4
version 0.40
Makefile.inc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile.inc b/Makefile.inc
index b090cc43..d595bdf0 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -1,3 +1,3 @@
NAME= openrc
-VERSION= 0.39
+VERSION= 0.40
PKG= ${NAME}-${VERSION}
^ permalink raw reply related [flat|nested] 150+ messages in thread
end of thread, other threads:[~2018-11-02 23:24 UTC | newest]
Thread overview: 150+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-16 1:02 [gentoo-commits] proj/openrc:master commit in: / William Hubbs
-- strict thread matches above, loose matches on Subject: below --
2018-11-02 23:24 William Hubbs
2018-10-23 22:14 William Hubbs
2018-10-23 22:00 William Hubbs
2018-10-23 22:00 William Hubbs
2018-10-22 23:09 William Hubbs
2018-06-28 18:33 William Hubbs
2018-06-28 18:03 William Hubbs
2018-06-17 17:46 William Hubbs
2018-06-15 23:07 William Hubbs
2018-06-15 18:01 William Hubbs
2018-06-05 22:38 William Hubbs
2018-06-05 22:38 William Hubbs
2018-06-05 21:28 William Hubbs
2018-05-31 21:54 William Hubbs
2018-03-12 2:43 William Hubbs
2018-02-28 22:32 William Hubbs
2018-01-24 23:44 William Hubbs
2018-01-11 16:59 William Hubbs
2018-01-10 19:29 William Hubbs
2018-01-08 21:34 William Hubbs
2018-01-08 20:07 William Hubbs
2017-12-07 18:53 William Hubbs
2017-10-25 20:10 William Hubbs
2017-10-24 15:43 William Hubbs
2017-10-13 21:11 William Hubbs
2017-10-13 16:38 William Hubbs
2017-10-12 23:55 William Hubbs
2017-10-02 21:59 William Hubbs
2017-10-02 16:22 William Hubbs
2017-09-16 18:27 William Hubbs
2017-09-16 18:27 William Hubbs
2017-09-15 20:32 William Hubbs
2017-09-14 15:57 William Hubbs
2017-09-07 17:25 William Hubbs
2017-09-06 22:33 William Hubbs
2017-08-24 16:45 William Hubbs
2017-08-16 17:16 William Hubbs
2017-07-24 22:29 William Hubbs
2017-07-13 22:51 William Hubbs
2017-07-13 22:51 William Hubbs
2017-07-11 20:13 William Hubbs
2017-07-11 19:57 William Hubbs
2017-06-12 15:41 William Hubbs
2017-06-07 17:15 William Hubbs
2017-05-16 0:00 William Hubbs
2017-05-12 3:01 William Hubbs
2017-04-19 22:38 William Hubbs
2017-04-17 17:49 William Hubbs
2017-03-31 15:37 William Hubbs
2017-03-15 22:31 William Hubbs
2017-03-12 18:56 William Hubbs
2017-03-10 19:33 William Hubbs
2017-01-26 23:07 William Hubbs
2016-12-21 17:51 William Hubbs
2016-12-20 18:34 William Hubbs
2016-09-28 0:40 William Hubbs
2016-09-27 17:26 William Hubbs
2016-09-09 0:28 William Hubbs
2016-08-30 14:16 William Hubbs
2016-08-30 14:16 William Hubbs
2016-08-25 22:35 William Hubbs
2016-07-25 18:54 William Hubbs
2016-06-10 21:12 William Hubbs
2016-05-24 19:10 William Hubbs
2016-05-24 18:14 William Hubbs
2016-05-24 18:05 William Hubbs
2016-05-19 18:37 William Hubbs
2016-02-09 21:42 William Hubbs
2016-01-19 22:33 William Hubbs
2016-01-14 17:37 William Hubbs
2016-01-13 17:04 William Hubbs
2015-12-11 22:49 William Hubbs
2015-12-09 23:58 William Hubbs
2015-12-08 19:12 William Hubbs
2015-12-08 19:12 William Hubbs
2015-12-06 0:14 William Hubbs
2015-12-04 19:52 William Hubbs
2015-10-08 21:15 William Hubbs
2015-10-08 18:34 William Hubbs
2015-07-10 18:26 William Hubbs
2015-06-19 14:56 William Hubbs
2015-05-29 6:11 Mike Frysinger
2015-05-13 21:07 William Hubbs
2015-05-11 23:46 William Hubbs
2015-05-02 0:03 William Hubbs
2015-05-01 21:19 William Hubbs
2015-04-26 15:31 William Hubbs
2015-04-25 23:36 William Hubbs
2015-04-25 1:01 William Hubbs
2015-04-25 0:41 William Hubbs
2015-04-22 22:43 William Hubbs
2015-04-22 22:14 William Hubbs
2015-04-22 22:05 William Hubbs
2015-04-22 21:17 William Hubbs
2015-04-22 20:55 William Hubbs
2015-04-22 20:40 William Hubbs
2015-04-22 20:09 William Hubbs
2015-04-22 20:09 William Hubbs
2015-01-23 18:57 William Hubbs
2014-10-20 20:59 William Hubbs
2014-10-20 20:59 William Hubbs
2014-08-22 19:10 William Hubbs
2014-08-17 5:14 ` William Hubbs
2014-08-17 21:07 William Hubbs
2014-08-22 19:10 ` William Hubbs
2014-08-16 22:18 William Hubbs
2014-08-22 19:10 ` William Hubbs
2014-08-11 18:18 William Hubbs
2014-08-22 19:10 ` William Hubbs
2014-07-10 14:05 William Hubbs
2014-07-01 12:33 William Hubbs
2014-06-24 1:54 William Hubbs
2014-04-10 0:58 William Hubbs
2014-01-23 18:04 William Hubbs
2013-08-24 23:00 William Hubbs
2013-08-14 6:08 William Hubbs
2013-08-14 5:17 William Hubbs
2013-07-16 18:56 William Hubbs
2013-07-16 18:56 William Hubbs
2013-06-24 21:31 Robin H. Johnson
2013-05-07 22:08 William Hubbs
2013-05-07 19:40 William Hubbs
2012-11-02 21:41 William Hubbs
2012-10-18 15:14 William Hubbs
2012-09-23 16:12 William Hubbs
2012-07-09 2:05 William Hubbs
2012-05-22 15:14 William Hubbs
2012-03-02 19:55 Robin H. Johnson
2012-02-12 19:38 Christian Ruppert
2012-01-25 19:04 Robin H. Johnson
2012-01-14 20:11 William Hubbs
2012-01-07 0:02 William Hubbs
2011-12-09 23:49 William Hubbs
2011-11-25 21:40 William Hubbs
2011-11-23 14:38 William Hubbs
2011-10-16 15:36 Christian Ruppert
2011-09-08 20:13 William Hubbs
2011-09-08 18:31 William Hubbs
2011-09-02 20:26 William Hubbs
2011-09-01 22:21 William Hubbs
2011-09-01 15:35 William Hubbs
2011-07-13 22:54 William Hubbs
2011-06-24 17:47 William Hubbs
2011-06-20 2:39 William Hubbs
2011-05-16 22:05 Mike Frysinger
2011-04-19 17:19 Robin H. Johnson
2011-04-12 13:49 William Hubbs
2011-03-22 5:49 William Hubbs
2011-02-22 2:59 Robin H. Johnson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox