[systemd-commits] 3 commits - docs/gudev src/udev TODO
Kay Sievers
kay at kemper.freedesktop.org
Thu Apr 26 05:52:35 PDT 2012
TODO | 7 ++++---
docs/gudev/gudev-docs.xml | 2 +-
src/udev/udevd.c | 14 ++------------
3 files changed, 7 insertions(+), 16 deletions(-)
New commits:
commit e01a15b71e18bf2008aec7e75041ffa42eb80b80
Author: Kay Sievers <kay at vrfy.org>
Date: Thu Apr 26 02:03:31 2012 +0200
update TODO
diff --git a/TODO b/TODO
index b3bbc99..1cdda60 100644
--- a/TODO
+++ b/TODO
@@ -1,4 +1,6 @@
Bugfixes:
+* fix emergency mode breakage after the Type=idle change
+
* remove MS_SHARED from src/core/execute.c and src/test/test-ns.c. They are always combined
with MS_REMOUNT, which currently does nothing in the kernel, but might which fail in the
future; https://bugzilla.redhat.com/show_bug.cgi?id=813563
@@ -20,10 +22,9 @@ Bugfixes:
* properly handle .mount unit state tracking when two mount points are stacked one on top of another on the exact same mount point.
Features:
+* include unit name in D-Bus 'Job' signals
-* merge remount-api-vfs and remount-root-fs
-
-* add --read-only to nspawn
+* ExecOnFailure=/usr/bin/foo
* fedora: make sshd and pam_loginuid work in nspawn containers
commit c693ccc0a2a2d44eecf6f5eccaa3d1948c5e9532
Author: Kay Sievers <kay at vrfy.org>
Date: Thu Apr 26 01:49:15 2012 +0200
udev: use only oom_score_adj interface
diff --git a/src/udev/udevd.c b/src/udev/udevd.c
index 1625510..59e2cfa 100644
--- a/src/udev/udevd.c
+++ b/src/udev/udevd.c
@@ -1255,18 +1255,8 @@ int main(int argc, char *argv[])
setsid();
- fd = open("/proc/self/oom_score_adj", O_RDWR);
- if (fd < 0) {
- /* Fallback to old interface */
- fd = open("/proc/self/oom_adj", O_RDWR);
- if (fd < 0) {
- log_error("error disabling OOM: %m\n");
- } else {
- /* OOM_DISABLE == -17 */
- write(fd, "-17", 3);
- close(fd);
- }
- } else {
+ fd = open("/proc/self/oom_score_adj", O_RDWR|O_CLOEXEC);
+ if (fd >= 0) {
write(fd, "-1000", 5);
close(fd);
}
commit 2028f1cd928142fd57fa63464f63102373c72bbc
Author: Kay Sievers <kay at vrfy.org>
Date: Thu Apr 26 01:48:24 2012 +0200
udev: docs - it's 'GUdev'
diff --git a/docs/gudev/gudev-docs.xml b/docs/gudev/gudev-docs.xml
index 847d242..3e7e50a 100644
--- a/docs/gudev/gudev-docs.xml
+++ b/docs/gudev/gudev-docs.xml
@@ -6,7 +6,7 @@
]>
<book id="index" xmlns:xi="http://www.w3.org/2003/XInclude">
<bookinfo>
- <title>GUDev Reference Manual</title>
+ <title>GUdev Reference Manual</title>
<releaseinfo>
For version &version; â the latest version of this
documentation can be found at
More information about the systemd-commits
mailing list