Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4d20309ffe | ||
|
|
65439ba023 | ||
|
|
86162f3f47 | ||
|
|
b98e83ee91 | ||
|
|
d59197fafe | ||
|
|
b66c86c9ee |
84
ChangeLog
84
ChangeLog
@@ -1,3 +1,47 @@
|
||||
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>
|
||||
@@ -1580,43 +1624,3 @@ 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
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
NAME= openrc
|
||||
VERSION= 0.34.5
|
||||
VERSION= 0.34.7
|
||||
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)
|
||||
proc_ns[0] = '\0';
|
||||
}
|
||||
if (strcmp(my_ns, proc_ns))
|
||||
if (strlen(my_ns) && strlen (proc_ns) && strcmp(my_ns, proc_ns))
|
||||
continue;
|
||||
if (uid) {
|
||||
snprintf(buffer, sizeof(buffer), "/proc/%d", p);
|
||||
|
||||
@@ -279,6 +279,7 @@ int main(int argc, char **argv)
|
||||
int stdout_fd;
|
||||
int stderr_fd;
|
||||
pid_t pid, spid;
|
||||
RC_PIDLIST *pids;
|
||||
int i;
|
||||
char *svcname = getenv("RC_SVCNAME");
|
||||
RC_STRINGLIST *env_list;
|
||||
@@ -683,10 +684,14 @@ int main(int argc, char **argv)
|
||||
else
|
||||
pid = 0;
|
||||
|
||||
if (do_stop(applet, exec, (const char * const *)margv, pid, uid,
|
||||
0, test, false) > 0)
|
||||
if (pid)
|
||||
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);
|
||||
|
||||
free(pids);
|
||||
if (test) {
|
||||
if (rc_yesno(getenv("EINFO_QUIET")))
|
||||
exit (EXIT_SUCCESS);
|
||||
|
||||
Reference in New Issue
Block a user