<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - systemd-sysctl improperly parses paths"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=77466">77466</a>
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>systemd-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>systemd-sysctl improperly parses paths
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>systemd-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>david+bugs.freedesktop.org@blue-labs.org
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>general
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>systemd
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>