Compare commits
9 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4d20309ffe | ||
|
|
65439ba023 | ||
|
|
86162f3f47 | ||
|
|
b98e83ee91 | ||
|
|
d59197fafe | ||
|
|
b66c86c9ee | ||
|
|
f7eb236f6f | ||
|
|
1936d73eb1 | ||
|
|
58872fc090 |
102
ChangeLog
102
ChangeLog
@@ -1,3 +1,65 @@
|
|||||||
|
commit 65439ba023195786e71316f6638b52603e102f60
|
||||||
|
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 86162f3f47c393fc173de0458eeeb322c0bb61f2
|
||||||
|
Author: William Hubbs <w.d.hubbs@gmail.com>
|
||||||
|
Commit: William Hubbs <w.d.hubbs@gmail.com>
|
||||||
|
|
||||||
|
version 0.34.7
|
||||||
|
|
||||||
|
commit b98e83ee9195eb052fafebc440515f0b2d055a91
|
||||||
|
Author: William Hubbs <w.d.hubbs@gmail.com>
|
||||||
|
Commit: William Hubbs <w.d.hubbs@gmail.com>
|
||||||
|
|
||||||
|
Update ChangeLog
|
||||||
|
|
||||||
|
commit d59197fafef164fe7319f9d87f544a8cc8e25044
|
||||||
|
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 b66c86c9ee6d34d0a9d77140b8e7612709ba19d1
|
||||||
|
Author: William Hubbs <w.d.hubbs@gmail.com>
|
||||||
|
Commit: William Hubbs <w.d.hubbs@gmail.com>
|
||||||
|
|
||||||
|
version 0.34.6
|
||||||
|
|
||||||
|
commit f7eb236f6fd8c10af211c6667940e8e1650c12da
|
||||||
|
Author: William Hubbs <w.d.hubbs@gmail.com>
|
||||||
|
Commit: William Hubbs <w.d.hubbs@gmail.com>
|
||||||
|
|
||||||
|
Update ChangeLog
|
||||||
|
|
||||||
|
commit 1936d73eb1aecf31029d53e75e6bb14e307f8e1c
|
||||||
|
Author: William Hubbs <w.d.hubbs@gmail.com>
|
||||||
|
Commit: William Hubbs <w.d.hubbs@gmail.com>
|
||||||
|
|
||||||
|
fix issue with --reexec call
|
||||||
|
|
||||||
|
commit 58872fc090af5047547bc561a5e58c50be0fc235
|
||||||
|
Author: William Hubbs <w.d.hubbs@gmail.com>
|
||||||
|
Commit: William Hubbs <w.d.hubbs@gmail.com>
|
||||||
|
|
||||||
|
version 0.34.5
|
||||||
|
|
||||||
|
commit fc35eb90cab625966ca718a80dd0d38dfffe05b8
|
||||||
|
Author: William Hubbs <w.d.hubbs@gmail.com>
|
||||||
|
Commit: William Hubbs <w.d.hubbs@gmail.com>
|
||||||
|
|
||||||
|
Update ChangeLog
|
||||||
|
|
||||||
commit b18be3f970eba04589977438faaa726b5c3a6cd2
|
commit b18be3f970eba04589977438faaa726b5c3a6cd2
|
||||||
Author: William Hubbs <w.d.hubbs@gmail.com>
|
Author: William Hubbs <w.d.hubbs@gmail.com>
|
||||||
Commit: William Hubbs <w.d.hubbs@gmail.com>
|
Commit: William Hubbs <w.d.hubbs@gmail.com>
|
||||||
@@ -1562,43 +1624,3 @@ Commit: William Hubbs <w.d.hubbs@gmail.com>
|
|||||||
selinux: fix SIGSEGV with invalid contexts
|
selinux: fix SIGSEGV with invalid contexts
|
||||||
|
|
||||||
Fixes: https://github.com/openrc/openrc/issues/104
|
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
|
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
NAME= openrc
|
NAME= openrc
|
||||||
VERSION= 0.34.4
|
VERSION= 0.34.7
|
||||||
PKG= ${NAME}-${VERSION}
|
PKG= ${NAME}-${VERSION}
|
||||||
|
|||||||
@@ -155,7 +155,7 @@ rc_find_pids(const char *exec, const char *const *argv, uid_t uid, pid_t pid)
|
|||||||
if (rc <= 0)
|
if (rc <= 0)
|
||||||
proc_ns[0] = '\0';
|
proc_ns[0] = '\0';
|
||||||
}
|
}
|
||||||
if (strcmp(my_ns, proc_ns))
|
if (strlen(my_ns) && strlen (proc_ns) && strcmp(my_ns, proc_ns))
|
||||||
continue;
|
continue;
|
||||||
if (uid) {
|
if (uid) {
|
||||||
snprintf(buffer, sizeof(buffer), "/proc/%d", p);
|
snprintf(buffer, sizeof(buffer), "/proc/%d", p);
|
||||||
|
|||||||
@@ -279,6 +279,7 @@ int main(int argc, char **argv)
|
|||||||
int stdout_fd;
|
int stdout_fd;
|
||||||
int stderr_fd;
|
int stderr_fd;
|
||||||
pid_t pid, spid;
|
pid_t pid, spid;
|
||||||
|
RC_PIDLIST *pids;
|
||||||
int i;
|
int i;
|
||||||
char *svcname = getenv("RC_SVCNAME");
|
char *svcname = getenv("RC_SVCNAME");
|
||||||
RC_STRINGLIST *env_list;
|
RC_STRINGLIST *env_list;
|
||||||
@@ -683,10 +684,14 @@ int main(int argc, char **argv)
|
|||||||
else
|
else
|
||||||
pid = 0;
|
pid = 0;
|
||||||
|
|
||||||
if (do_stop(applet, exec, (const char * const *)margv, pid, uid,
|
if (pid)
|
||||||
0, test, false) > 0)
|
pids = rc_find_pids(NULL, NULL, 0, pid);
|
||||||
|
else
|
||||||
|
pids = rc_find_pids(exec, (const char * const *) argv, uid, 0);
|
||||||
|
if (pids)
|
||||||
eerrorx("%s: %s is already running", applet, exec);
|
eerrorx("%s: %s is already running", applet, exec);
|
||||||
|
|
||||||
|
free(pids);
|
||||||
if (test) {
|
if (test) {
|
||||||
if (rc_yesno(getenv("EINFO_QUIET")))
|
if (rc_yesno(getenv("EINFO_QUIET")))
|
||||||
exit (EXIT_SUCCESS);
|
exit (EXIT_SUCCESS);
|
||||||
|
|||||||
@@ -162,7 +162,8 @@ static void cleanup(void)
|
|||||||
static void re_exec(void)
|
static void re_exec(void)
|
||||||
{
|
{
|
||||||
syslog(LOG_WARNING, "Re-executing for %s", svcname);
|
syslog(LOG_WARNING, "Re-executing for %s", svcname);
|
||||||
execlp("supervise-daemon", "supervise-daemon", "--reexec", (char *) NULL);
|
execlp("supervise-daemon", "supervise-daemon", svcname, "--reexec",
|
||||||
|
(char *) NULL);
|
||||||
syslog(LOG_ERR, "Unable to execute supervise-daemon: %s",
|
syslog(LOG_ERR, "Unable to execute supervise-daemon: %s",
|
||||||
strerror(errno));
|
strerror(errno));
|
||||||
exit(EXIT_FAILURE);
|
exit(EXIT_FAILURE);
|
||||||
|
|||||||
Reference in New Issue
Block a user