<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/NetworkManager.git/data/NetworkManager.service.in, branch lr/python3</title>
<subtitle>gitlab.freedesktop.org: NetworkManager/NetworkManager.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/NetworkManager.git/'/>
<entry>
<title>systemd: make enablement of n-m-wait-online.service follow n-m.service</title>
<updated>2018-03-14T09:24:45+00:00</updated>
<author>
<name>Alan Jenkins</name>
<email>alan.christopher.jenkins@gmail.com</email>
</author>
<published>2018-03-11T21:48:46+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/NetworkManager.git/commit/?id=167e42a87e97ed7fb26a4263c22f1774716ac51b'/>
<id>167e42a87e97ed7fb26a4263c22f1774716ac51b</id>
<content type='text'>
This is the approach used by systemd-networkd.

I don't understand the logic that caused systemd-networkd to make the change -
https://github.com/systemd/systemd/commit/9e49656037717b96c06b1f1507a41550bdb2c795

Instead, I am suggesting it for consistency, and because it seems to me this is the
exact correct behaviour. Because if you enable NetworkManager, and rely on it to
configure your network devices, then network mounts will not start correctly at boot
time unless you also enable NetworkManager-wait-online.service.

Enabling NetworkManager-wait-online.service does not cause unnecessary serialization
of the boot process; it is only pulled in if something else (like a network mount)
pulls in network-online.target.

I am suggesting this in response to reading this user support request [1].

[1] https://unix.stackexchange.com/questions/429604/fstab-not-automatically-mounting-smb-storage

[thaller@redhat.com: reworded commit message]

https://github.com/NetworkManager/NetworkManager/pull/76
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is the approach used by systemd-networkd.

I don't understand the logic that caused systemd-networkd to make the change -
https://github.com/systemd/systemd/commit/9e49656037717b96c06b1f1507a41550bdb2c795

Instead, I am suggesting it for consistency, and because it seems to me this is the
exact correct behaviour. Because if you enable NetworkManager, and rely on it to
configure your network devices, then network mounts will not start correctly at boot
time unless you also enable NetworkManager-wait-online.service.

Enabling NetworkManager-wait-online.service does not cause unnecessary serialization
of the boot process; it is only pulled in if something else (like a network mount)
pulls in network-online.target.

I am suggesting this in response to reading this user support request [1].

[1] https://unix.stackexchange.com/questions/429604/fstab-not-automatically-mounting-smb-storage

[thaller@redhat.com: reworded commit message]

https://github.com/NetworkManager/NetworkManager/pull/76
</pre>
</div>
</content>
</entry>
<entry>
<title>systemd: update service unit file to use dbus-send for ExecReload</title>
<updated>2017-06-07T09:11:51+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2017-06-07T08:47:40+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/NetworkManager.git/commit/?id=a675a619f4d041383049fa24a946490f6166a4ae'/>
<id>a675a619f4d041383049fa24a946490f6166a4ae</id>
<content type='text'>
instead of `kill -HUP`. We support "org.freedesktop.NetworkManager.Reload"
D-Bus method for a long time now. Use it because it is synchronous.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
instead of `kill -HUP`. We support "org.freedesktop.NetworkManager.Reload"
D-Bus method for a long time now. Use it because it is synchronous.
</pre>
</div>
</content>
</entry>
<entry>
<title>doc: add comment to systemd's NetworkManager.service about ibft requiring CAP_SYS_ADMIN</title>
<updated>2016-09-02T13:39:08+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2016-09-02T11:35:00+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/NetworkManager.git/commit/?id=9aee7b493e3d6352c4864bf2fb4d7fe62626dc38'/>
<id>9aee7b493e3d6352c4864bf2fb4d7fe62626dc38</id>
<content type='text'>
We don't want to enable this upstream, but make the requirement
more discoverable by documenting it and put a comment to
NetworkManager.service.

https://bugzilla.redhat.com/show_bug.cgi?id=1371201
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We don't want to enable this upstream, but make the requirement
more discoverable by documenting it and put a comment to
NetworkManager.service.

https://bugzilla.redhat.com/show_bug.cgi?id=1371201
</pre>
</div>
</content>
</entry>
<entry>
<title>systemd: add Documentation to service files</title>
<updated>2016-06-02T19:27:14+00:00</updated>
<author>
<name>Michael Biebl</name>
<email>biebl@debian.org</email>
</author>
<published>2016-06-02T15:41:29+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/NetworkManager.git/commit/?id=fe7d12a010cd42c6bf93e690e43548bf9393835a'/>
<id>fe7d12a010cd42c6bf93e690e43548bf9393835a</id>
<content type='text'>
Reference the nm-online and NetworkManager man page in the corresponding
service files.

https://www.freedesktop.org/software/systemd/man/systemd.unit.html#Documentation=

https://bugzilla.gnome.org/show_bug.cgi?id=767168
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reference the nm-online and NetworkManager man page in the corresponding
service files.

https://www.freedesktop.org/software/systemd/man/systemd.unit.html#Documentation=

https://bugzilla.gnome.org/show_bug.cgi?id=767168
</pre>
</div>
</content>
</entry>
<entry>
<title>manager: add Reload() D-Bus command</title>
<updated>2016-06-01T17:06:34+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2016-05-30T13:42:44+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/NetworkManager.git/commit/?id=1d0e0eeffd92f53d6682cd8f4b3e1ba90997e4c5'/>
<id>1d0e0eeffd92f53d6682cd8f4b3e1ba90997e4c5</id>
<content type='text'>
Add new Reload D-Bus command to reload NetworkManager configuration.

For now, this is like sending SIGHUP to the process. There are several
advantages here:

  - it is guarded via PolicyKit authentication while signals
    can only be sent by root.

  - the user can wait for the reload to be complete instead of sending
    an asynchronous signal. For now, we operation completes after
    nm_config_reload() returns, but later we could delay the response
    further until specific parts are fully reloaded.

  - SIGHUP reloads everything including re-reading configuration from
    disk while SIGUSR1 reloads just certain parts such as writing out DNS
    configuration anew.
    Now, the Reload command has a flags argument which is more granular
    in selecting parts which are to be reloaded. For example, via
    signals the user can:

      1) send SIGUSR1: this writes out the DNS configuration to
         resolv.conf and possibly reloads other parts without
         re-reading configuration and without restarting the DNS plugin.
      2) send SIGHUP: this reloads configuration from disk,
         writes out resolv.conf and restarts the DNS plugin.

    There is no way, to only restart the DNS plugin without also reloading
    everything else.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add new Reload D-Bus command to reload NetworkManager configuration.

For now, this is like sending SIGHUP to the process. There are several
advantages here:

  - it is guarded via PolicyKit authentication while signals
    can only be sent by root.

  - the user can wait for the reload to be complete instead of sending
    an asynchronous signal. For now, we operation completes after
    nm_config_reload() returns, but later we could delay the response
    further until specific parts are fully reloaded.

  - SIGHUP reloads everything including re-reading configuration from
    disk while SIGUSR1 reloads just certain parts such as writing out DNS
    configuration anew.
    Now, the Reload command has a flags argument which is more granular
    in selecting parts which are to be reloaded. For example, via
    signals the user can:

      1) send SIGUSR1: this writes out the DNS configuration to
         resolv.conf and possibly reloads other parts without
         re-reading configuration and without restarting the DNS plugin.
      2) send SIGHUP: this reloads configuration from disk,
         writes out resolv.conf and restarts the DNS plugin.

    There is no way, to only restart the DNS plugin without also reloading
    everything else.
</pre>
</div>
</content>
</entry>
<entry>
<title>systemd: order NetworkManager.serivce after network-pre.target</title>
<updated>2016-01-23T15:54:33+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2016-01-23T15:54:33+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/NetworkManager.git/commit/?id=9c3187027c9435e2c0007335e1c8503098cbce7c'/>
<id>9c3187027c9435e2c0007335e1c8503098cbce7c</id>
<content type='text'>
https://bugzilla.gnome.org/show_bug.cgi?id=761001
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://bugzilla.gnome.org/show_bug.cgi?id=761001
</pre>
</div>
</content>
</entry>
<entry>
<title>systemd: add chroot capability</title>
<updated>2016-01-22T21:12:43+00:00</updated>
<author>
<name>Lubomir Rintel</name>
<email>lkundrak@v3.sk</email>
</author>
<published>2016-01-22T21:11:07+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/NetworkManager.git/commit/?id=ba24a127398310ccfe8ac2bc4a207805d3bb9818'/>
<id>ba24a127398310ccfe8ac2bc4a207805d3bb9818</id>
<content type='text'>
CAP_SYS_CHROOT is needed for openvpn hardening.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
CAP_SYS_CHROOT is needed for openvpn hardening.
</pre>
</div>
</content>
</entry>
<entry>
<title>systemd: add "After=dbus.service" to NetworkManager.service</title>
<updated>2016-01-21T10:01:36+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2016-01-21T09:33:30+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/NetworkManager.git/commit/?id=bf54a5bfbaf05021fe738a7da254760a5bcf1e97'/>
<id>bf54a5bfbaf05021fe738a7da254760a5bcf1e97</id>
<content type='text'>
Order NetworkManager after dbus. Otherwise during shutdown, both service are killed
together and possibly NetworkManager can no longer use D-Bus during shutdown. It
will need it however to communicate with VPN plugins and wpa-supplicant.

Related: https://bugs.freedesktop.org/show_bug.cgi?id=89847#c14
Related: https://bugzilla.redhat.com/show_bug.cgi?id=1214466
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Order NetworkManager after dbus. Otherwise during shutdown, both service are killed
together and possibly NetworkManager can no longer use D-Bus during shutdown. It
will need it however to communicate with VPN plugins and wpa-supplicant.

Related: https://bugs.freedesktop.org/show_bug.cgi?id=89847#c14
Related: https://bugzilla.redhat.com/show_bug.cgi?id=1214466
</pre>
</div>
</content>
</entry>
<entry>
<title>systemd: grant the daemon a license to kill kids</title>
<updated>2015-10-08T17:23:53+00:00</updated>
<author>
<name>Lubomir Rintel</name>
<email>lkundrak@v3.sk</email>
</author>
<published>2015-10-08T17:14:43+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/NetworkManager.git/commit/?id=97a962a7886cf67fcdf6b73b707d126673672403'/>
<id>97a962a7886cf67fcdf6b73b707d126673672403</id>
<content type='text'>
It's for their own good. Otherwise stale dnsmasq instances haunt the shared
connections.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It's for their own good. Otherwise stale dnsmasq instances haunt the shared
connections.
</pre>
</div>
</content>
</entry>
<entry>
<title>systemd: require CAP_AUDIT_WRITE for NetworkManager service</title>
<updated>2015-08-04T07:32:12+00:00</updated>
<author>
<name>Beniamino Galvani</name>
<email>bgalvani@redhat.com</email>
</author>
<published>2015-07-24T15:08:30+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/NetworkManager.git/commit/?id=28c231d68667483a562c2ffe0d490c86d22f9528'/>
<id>28c231d68667483a562c2ffe0d490c86d22f9528</id>
<content type='text'>
We need it to write messages to kernel auditing log.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We need it to write messages to kernel auditing log.
</pre>
</div>
</content>
</entry>
</feed>
