chiark / gitweb /
device: don't warn if we cannot bump the socket buffer
authorLennart Poettering <lennart@poettering.net>
Sat, 8 Jan 2011 01:30:07 +0000 (02:30 +0100)
committerLennart Poettering <lennart@poettering.net>
Sat, 8 Jan 2011 01:30:07 +0000 (02:30 +0100)
TODO
src/device.c

diff --git a/TODO b/TODO
index fd9acdb616a092443f6d3c1105b52ac9f3d7572c..8d4981018a6a009252639a310a42f1911e993217 100644 (file)
--- a/TODO
+++ b/TODO
@@ -1,3 +1,7 @@
+* figure out what happened to bluez patch
+
+* in pam_systemd: add option to kill normal user sessions on logout but only those with uid != 0
+
 * introduce StandardOutput=syslog+console and StandardOutput=kmsg+console to support fsck output at boot
 
 * Patch systemd-fsck to use -C and pass console fd to it
 * introduce StandardOutput=syslog+console and StandardOutput=kmsg+console to support fsck output at boot
 
 * Patch systemd-fsck to use -C and pass console fd to it
index 957bc2d6b5ee02104c740ceaa974b0422b46ecaa..b36bfc1ad185d10b50dd03ec797f5b74dc8634bc 100644 (file)
@@ -468,8 +468,10 @@ static int device_enumerate(Manager *m) {
                         goto fail;
                 }
 
                         goto fail;
                 }
 
-                if (udev_monitor_set_receive_buffer_size(m->udev_monitor, 128*1024*1024) < 0)
-                        log_error("Failed to set udev event buffer size.");
+                /* This will fail if we are unprivileged, but that
+                 * should not matter much, as user instances won't run
+                 * during boot. */
+                udev_monitor_set_receive_buffer_size(m->udev_monitor, 128*1024*1024);
 
                 if (udev_monitor_filter_add_match_tag(m->udev_monitor, "systemd") < 0) {
                         r = -ENOMEM;
 
                 if (udev_monitor_filter_add_match_tag(m->udev_monitor, "systemd") < 0) {
                         r = -ENOMEM;