[systemd-bugs] [Bug 77466] New: systemd-sysctl improperly parses paths

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Apr 14 23:02:54 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=77466

          Priority: medium
            Bug ID: 77466
          Assignee: systemd-bugs at lists.freedesktop.org
           Summary: systemd-sysctl improperly parses paths
        QA Contact: systemd-bugs at lists.freedesktop.org
          Severity: normal
    Classification: Unclassified
                OS: Linux (All)
          Reporter: david+bugs.freedesktop.org at blue-labs.org
          Hardware: x86-64 (AMD64)
            Status: NEW
           Version: unspecified
         Component: general
           Product: systemd

systemd-sysctl doesn't parse /proc paths correctly like sysctl does.

# cat 99-sysctl.conf
net.ipv4.conf.enp3s0/200.proxy_arp_pvlan=1
net.ipv4.conf.enp3s0/200.forwarding=1
net.ipv4.conf.enp3s0/100.forwarding=1
net.ipv4.conf.enp5s0.forwarding=1


# SYSTEMD_LOG_LEVEL=debug /usr/lib/systemd/systemd-sysctl
[...]
Setting 'net/ipv4/conf/enp3s0/200/proxy_arp_pvlan' to '1'
Failed to write '1' to '/proc/sys/net/ipv4/conf/enp3s0/200/proxy_arp_pvlan': No
such file or directory
Setting 'net/ipv4/conf/enp3s0/200/forwarding' to '1'
Failed to write '1' to '/proc/sys/net/ipv4/conf/enp3s0/200/forwarding': No such
file or directory
Setting 'net/ipv4/conf/enp3s0/100/forwarding' to '1'
Failed to write '1' to '/proc/sys/net/ipv4/conf/enp3s0/100/forwarding': No such
file or directory
Setting 'net/ipv4/conf/enp5s0/forwarding' to '1'

# sysctl -p 99-sysctl.conf
net.ipv4.conf.enp3s0/200.proxy_arp_pvlan = 1
net.ipv4.conf.enp3s0/200.forwarding = 1
net.ipv4.conf.enp3s0/100.forwarding = 1
net.ipv4.conf.enp5s0.forwarding = 1

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20140415/b62c252f/attachment.html>


More information about the systemd-bugs mailing list