Your message dated Mon, 1 Jul 2024 21:51:22 +0200
with message-id <828383cf-4137-4813-a43c-084d5d3f7...@debian.org>
and subject line Re: network-manager: network-online.target returns before 
network has IP address
has caused the Debian Bug report #951486,
regarding network-manager: network-online.target returns before network has IP 
address
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
951486: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=951486
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: network-manager
Version: 1.22.6-1
Severity: important

Dear Maintainer,

I want to use autofs with LDAP. I'm using DHCP and network-manager.
 
network-online.target will return before a valid IP address is provided and 
therefore
autofs.service is invoked too early, failing to bind to the LDAP server.

network-online.target.wants is using NetworkManager-wait-online.service which 
is the source of the problem.
It is using 'ExecStart=/usr/bin/nm-online -s -q --timeout=30' and only if I 
remove the '-s' parameter,
it is properly waiting for DHCP to negotiate an IP address and autofs can bind 
afterwar7

systemd-analyze blame shows that NetworkManager-wait-online.service is taking 7 
secs with '-s'
and 22 secs without '-s'. 

-- System Information:
Debian Release: 10.3
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-8-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), 
LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages network-manager depends on:
ii  adduser                3.118
ii  dbus                   1.12.16-1
ii  init-system-helpers    1.56+nmu1
ii  libaudit1              1:2.8.4-3
ii  libbluetooth3          5.50-1
ii  libc6                  2.28-10
ii  libcurl3-gnutls        7.64.0-4
ii  libglib2.0-0           2.58.3-2+deb10u2
ii  libgnutls30            3.6.7-4+deb10u2
ii  libjansson4            2.12-1
ii  libmm-glib0            1.10.0-1
ii  libndp0                1.6-1+b1
ii  libnewt0.52            0.52.21-4
ii  libnm0                 1.22.6-1
ii  libpam-systemd         241-7~deb10u3
ii  libpolkit-agent-1-0    0.105-25
ii  libpolkit-gobject-1-0  0.105-25
ii  libpsl5                0.20.2-2
ii  libreadline8           8.0-3
ii  libselinux1            2.8-1+b1
ii  libsystemd0            241-7~deb10u3
ii  libteamdctl0           1.28-1
ii  libudev1               241-7~deb10u3
ii  libuuid1               2.33.1-0.1
ii  policykit-1            0.105-25
ii  udev                   241-7~deb10u3
ii  wpasupplicant          2:2.7+git20190128+0c1e29f-6+deb10u1

Versions of packages network-manager recommends:
ii  crda                         3.18-1
ii  dnsmasq-base [dnsmasq-base]  2.80-1
ii  iptables                     1.8.2-4
ii  modemmanager                 1.10.0-1
ii  ppp                          2.4.7-2+4.1

Versions of packages network-manager suggests:
ii  isc-dhcp-client  4.4.1-2
pn  libteam-utils    <none>

-- no debconf information

--- End Message ---
--- Begin Message ---
The concept of "network online" is weakly defined.

Thankfully you can hook up in network-online.target whatever you need for your purposes.

On Mon, 17 Feb 2020 12:00:26 +0100 Henrik Schmidt <h...@informatik.uni-kiel.de> wrote:
Package: network-manager
Version: 1.22.6-1
Severity: important

Dear Maintainer,

I want to use autofs with LDAP. I'm using DHCP and network-manager.
network-online.target will return before a valid IP address is provided and therefore
autofs.service is invoked too early, failing to bind to the LDAP server.

network-online.target.wants is using NetworkManager-wait-online.service which 
is the source of the problem.
It is using 'ExecStart=/usr/bin/nm-online -s -q --timeout=30' and only if I 
remove the '-s' parameter,
it is properly waiting for DHCP to negotiate an IP address and autofs can bind 
afterwar7

systemd-analyze blame shows that NetworkManager-wait-online.service is taking 7 
secs with '-s'
and 22 secs without '-s'.
-- System Information:
Debian Release: 10.3
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-8-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), 
LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages network-manager depends on:
ii  adduser                3.118
ii  dbus                   1.12.16-1
ii  init-system-helpers    1.56+nmu1
ii  libaudit1              1:2.8.4-3
ii  libbluetooth3          5.50-1
ii  libc6                  2.28-10
ii  libcurl3-gnutls        7.64.0-4
ii  libglib2.0-0           2.58.3-2+deb10u2
ii  libgnutls30            3.6.7-4+deb10u2
ii  libjansson4            2.12-1
ii  libmm-glib0            1.10.0-1
ii  libndp0                1.6-1+b1
ii  libnewt0.52            0.52.21-4
ii  libnm0                 1.22.6-1
ii  libpam-systemd         241-7~deb10u3
ii  libpolkit-agent-1-0    0.105-25
ii  libpolkit-gobject-1-0  0.105-25
ii  libpsl5                0.20.2-2
ii  libreadline8           8.0-3
ii  libselinux1            2.8-1+b1
ii  libsystemd0            241-7~deb10u3
ii  libteamdctl0           1.28-1
ii  libudev1               241-7~deb10u3
ii  libuuid1               2.33.1-0.1
ii  policykit-1            0.105-25
ii  udev                   241-7~deb10u3
ii  wpasupplicant          2:2.7+git20190128+0c1e29f-6+deb10u1

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


--- End Message ---
_______________________________________________
Pkg-utopia-maintainers mailing list
Pkg-utopia-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-utopia-maintainers

Reply via email to