[systemd-commits] 2 commits - TODO src/core

Lennart Poettering lennart at kemper.freedesktop.org
Wed Apr 22 04:56:20 PDT 2015


 TODO                  |    2 ++
 src/core/kmod-setup.c |   11 +++++++----
 2 files changed, 9 insertions(+), 4 deletions(-)

New commits:
commit aea040c87280c41cb99b64b55f7368661a2d9912
Author: Lennart Poettering <lennart at poettering.net>
Date:   Wed Apr 22 13:53:50 2015 +0200

    update TODO

diff --git a/TODO b/TODO
index d0a65ce..f87af7d 100644
--- a/TODO
+++ b/TODO
@@ -46,6 +46,8 @@ Before 220:
 
 Features:
 
+* networkd: make DHCP server IP range configurable, including only with a single IP address
+
 * rework C11 utf8.[ch] to use char32_t instead of uint32_t when referring
   to unicode chars, to make things more expressive.
 

commit 1d3087978a8ee23107cb64aa55ca97aefe9531e2
Author: Lennart Poettering <lennart at poettering.net>
Date:   Wed Apr 22 13:50:56 2015 +0200

    kmod-setup: load ip_tables kmod at boot
    
    The module is currently no auto-loadable (and this is unlikely to change
    anytime soon, given it's API is via getsockopt/setsockopt). It is needed
    by networkd and nspawn currently.
    
    Users who really don't like the module to be loaded have the option to
    blacklist it still, or not compile it at all. But for all others this
    should make things work out-of-the-box.

diff --git a/src/core/kmod-setup.c b/src/core/kmod-setup.c
index efbdf31..c5117b4 100644
--- a/src/core/kmod-setup.c
+++ b/src/core/kmod-setup.c
@@ -60,16 +60,19 @@ int kmod_setup(void) {
                 bool (*condition_fn)(void);
         } kmod_table[] = {
                 /* auto-loading on use doesn't work before udev is up */
-                { "autofs4", "/sys/class/misc/autofs", true, NULL                 },
+                { "autofs4",   "/sys/class/misc/autofs",    true,  NULL                },
 
                 /* early configure of ::1 on the loopback device */
-                { "ipv6",    "/sys/module/ipv6",       true, NULL                 },
+                { "ipv6",      "/sys/module/ipv6",          true,  NULL                },
 
                 /* this should never be a module */
-                { "unix",    "/proc/net/unix",         true, NULL                 },
+                { "unix",      "/proc/net/unix",            true,  NULL                },
 
                 /* IPC is needed before we bring up any other services */
-                { "kdbus",   "/sys/fs/kdbus",          false, cmdline_check_kdbus },
+                { "kdbus",     "/sys/fs/kdbus",             false, cmdline_check_kdbus },
+
+                /* netfilter is needed by networkd, nspawn among others, and cannot be autoloaded */
+                { "ip_tables", "/proc/net/ip_tables_names", false, NULL                },
         };
         struct kmod_ctx *ctx = NULL;
         unsigned int i;



More information about the systemd-commits mailing list