<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 path unit - OOM"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=55518">55518</a>
          </td>
        </tr>

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

        <tr>
          <th>Summary</th>
          <td>Systemd path unit - OOM
          </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>All
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>public.avatar@gmail.com
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </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>latest systemd (193) fails with "Out of memory.", while loading this path unit:

update-profile.path:

[Unit]
Description=Update environment from profile

[Path]
PathModified=%h/.profile
PathModified=%h/.profile.d
PathModified=/etc/profile
PathModified=/etc/profile.d

[Install]
WantedBy=env.target

update-profile.service:

[Unit]
Description=Update environment

[Service]
Type=oneshot
ExecStart=/bin/sh -c 'env -i /bin/sh --login -c "env"        | \
              grep -v -e PWD -e SHLVL -e ^_=         | \
              xargs -i systemctl --user set-environment {}'


with this message:

PRIORITY=3
SYSLOG_FACILITY=3
CODE_FILE=src/core/load-fragment.c
CODE_LINE=1211
CODE_FUNCTION=config_parse_path_spec
SYSLOG_IDENTIFIER=systemd
MESSAGE=Out of memory.
_TRANSPORT=journal
_PID=2539
_UID=1000
_GID=1000
_COMM=systemd
_EXE=/usr/lib/systemd/systemd
_CMDLINE=/usr/bin/systemd --user --unit=awesome.service
_AUDIT_SESSION=6
_AUDIT_LOGINUID=1000
_SYSTEMD_CGROUP=/user/avatar/6/systemd-2539
_SYSTEMD_SESSION=6
_SOURCE_REALTIME_TIMESTAMP=1349127832626575
_MACHINE_ID=c70398ffe97409961b12795f00000013
_HOSTNAME=CLU</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>