Debian Bug report logs -
#810934
Please hide initramfs eth card from NetworkManager more robustly
Reply or subscribe to this bug.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, LTSP Debian Maintainers <pkg-ltsp-devel@lists.alioth.debian.org>:
Bug#810934; Package ltsp.
(Wed, 13 Jan 2016 22:30:12 GMT) (full text, mbox, link).
Acknowledgement sent
to Martin Pitt <mpitt@debian.org>:
New Bug report received and forwarded. Copy sent to LTSP Debian Maintainers <pkg-ltsp-devel@lists.alioth.debian.org>.
(Wed, 13 Jan 2016 22:30:12 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: ltsp
Version: 5.5.5-1
Hello,
ifupdown recently went through some changes (details in
I https://bugs.debian.org/809166, to a lesser degree in
https://bugs.debian.org/809169) which currently "ifconfig IFACE down"
an interface which is "manual".
LTSP currently creates such a "manual" interface stanza in
https://sources.debian.net/src/ltsp/5.5.5-1/client/share/ltsp/init-ltsp.d/50-interfaces/:
auto $DEVICE
iface $DEVICE inet ${NET_DEVICE_METHOD:-"manual"}
whose purpose is to hide the devide from NetworkManager. This
will now break with ifupdown 0.8 as (1) "manual" interfaces are now
downed with "ifdown", and (2) networking.service lost the
check_network_file_systems() safety check from /etc/init.d/networking
which prevented calling ifdown during shutdown if the root fs is
remote.
It's still being discussed whether ifupdown should go back to the old
behaviour (in https://bugs.debian.org/809166), but there are good
reasons for the current one as this makes use cases with e. g. bond
interfaces easier.
To avoid relying on the fine semantics of this, it would be great if
ltsp could more directly express what it really wants to do by
creating a /etc/NetworkManager/conf.d/ltsp.conf snippet instead with
[keyfile]
unmanaged-devices=interface-name=$DEVICE
This should be a straightforward change in init-ltsp.d/50-interfaces.
Thanks for considering,
Martin
--
Martin Pitt | http://www.piware.de
Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)
Information forwarded
to debian-bugs-dist@lists.debian.org, LTSP Debian Maintainers <pkg-ltsp-devel@lists.alioth.debian.org>:
Bug#810934; Package ltsp.
(Thu, 14 Jan 2016 12:45:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Alkis Georgopoulos <alkisg@gmail.com>:
Extra info received and forwarded to list. Copy sent to LTSP Debian Maintainers <pkg-ltsp-devel@lists.alioth.debian.org>.
(Thu, 14 Jan 2016 12:45:03 GMT) (full text, mbox, link).
Message #10 received at 810934@bugs.debian.org (full text, mbox, reply):
> it would be great if ltsp could more directly express what it really
> wants to do by creating a /etc/NetworkManager/conf.d/ltsp.conf snippet
Some thoughts on this:
1) LTSP chroots don't have network-manager installed by default, they
are minimal images generated by debootstrap.
It's possible to build LTSP "fat" chroots that do have nm installed
though (along with a whole desktop environment).
2) Even if nm was installed, ifupdown would still ifdown the interfaces
on shutdown (with the old ifupdown behaviour), right? So creating
/etc/NetworkManager/conf.d/ltsp.conf wouldn't help there, would it?
3) Conceptually, ifupdown's "manual" isn't exactly the same as
network-manager's "unmanaged". For example, nm could allow the users to
see the connection speed or status or add VPNs over it, without allowing
them to activate/deactivate the interface.
4) It's also possible to netboot clients using AoE (ATA over Ethernet),
where the root file system is accessible with ethernet packets even if
the interface doesn't have an IP, the only prerequisite is for it to
always be up. So if nm could respect that, then it could manage the
interface normally, it could use dhclient to assign an IP to it etc.
I just wanted to mention these thoughts, I'll leave it up to the LTSP
Debian maintainer to decide if he wants to tag the connection as
unmanaged or not.
Cheers!
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Sat Jan 6 22:48:54 2018;
Machine Name:
beach
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.