Live data from Hacker News

Debian network-manager: Please restore removed init script

bugs.debian.org

31–40 of 47 posts

Re: Debian network-manager: Please restore removed init script

#31
post #26
post #8

Earlier quoted context omitted.

I haven't followed Debian in recent years, but I thought the technical committee had said that maintainers were not to remove working sysvinit support nor refuse patches for it, unless the package itself was clearly tied to the specific init system?

https://bugs.debian.org/746715 > For the record, the TC expects maintainers to continue to support the multiple available init systems in Debian. That includes merging reasonable contributions, and not reverting existing support without a compelling reason.

THIS is what someone should be posting in that bug report, and require Mr. Biebl to explain why he is contradicting TC expectations.

Re: Debian network-manager: Please restore removed init script

#32
post #28

Earlier quoted context omitted.

> "I guess it's up to the maintainer" When you have a high-level direction set by the organisation, you can't have it arbitrarily overridden by individuals with no discussion and no justification. This permits individuals who act against the overall interests of the organisation in persuit of their own agendas to dictate its path simply by being obstructive or contrary. This is not being a team player, or in fact pla…

Well, to be fair, the guideline ended up being A) Support systemd and B) Explore alternatives if you want to. In this case, the author chose to do A and not B. That's following the high-level direction and not overriding anything.

I don't believe it is following the high-level direction at all. It's completely counter to it.

Dropping existing working support is deliberately and intentionally stopping alternatives from working. Refusing to consider help from others to maintain this support is deliberately and intentionally preventing alternatives from being supported.

Re: Debian network-manager: Please restore removed init script

#33
post #25
post #21

FWIW Network-manager depends on dbus, and dbus hard depends on systemd for some years now.

> dbus hard depends on systemd That doesn't seem to be the case, the dbus package only depends on libsystemd0 and installing dbus in a clean chroot doesn't pull in systemd. $ apt-cache show dbus | grep Depends | grep -o ...systemd. | sort -u libsystemd0

just FYI, aptitude can identify the dependency chain between two packages. I don't know if it always finds the shortest chain, the most direct chain (choosing Depends over Recommends over Suggests), or just any chain, but on this machine (Ubuntu Xenial, the only one I can access right now):

  $ aptitude why network-manager systemd
  p   network-manager Depends libpam-systemd
  i   libpam-systemd  Depends systemd (= 229-4ubuntu21.29)

  $ aptitude why dbus systemd
  i   dbus            Depends    adduser
  i   adduser         Depends    debconf | debconf-2.0
  i   debconf         Recommends apt-utils (>= 0.5.1)
  i   apt-utils       Depends    apt (= 1.2.32ubuntu0.1)
  i   apt             Depends    gnupg | gnupg2
  i   gnupg2          Depends    gnupg-agent (= 2.1.11-6ubuntu2.1)
  i   gnupg-agent     Depends    pinentry-curses | pinentry
  p   pinentry-gnome3 Provides   pinentry
  p   pinentry-gnome3 Depends    libgtk-3-0 (>= 3.0.0)
  p   libgtk-3-0      Depends    libcolord2 (>= 0.1.10)
  p   libcolord2      Recommends colord
  p   colord          Depends    policykit-1 (>= 0.103)
  i   policykit-1     Depends    libpam-systemd
  i   libpam-systemd  Depends    systemd (= 229-4ubuntu21.29)
So yes, network-manager does seem to have a hard dependency on systemd, but dbus doesn't. Though I'm curious why network-manager should hard-depend on libpam...

Re: Debian network-manager: Please restore removed init script

#34
post #26

Earlier quoted context omitted.

https://bugs.debian.org/746715 > For the record, the TC expects maintainers to continue to support the multiple available init systems in Debian. That includes merging reasonable contributions, and not reverting existing support without a compelling reason.

THIS is what someone should be posting in that bug report, and require Mr. Biebl to explain why he is contradicting TC expectations.

More specifically, https://lists.debian.org/debian-devel-announce/2014/08/msg00...

Re: Debian network-manager: Please restore removed init script

#36
post #21

FWIW Network-manager depends on dbus, and dbus hard depends on systemd for some years now.

It's an optional dependency, which you activate at compilation time with `./configure --enable-systemd`. So on systems where users don't control build flags, D-Bus dependency on systemd is a decision made by maintainer.

Re: Debian network-manager: Please restore removed init script

#37

Earlier quoted context omitted.

What's sad is this is the kind of thing that makes Debian unstable in my eyes. Being able to choose whatever init system you want on your Linux distro is something that should just be a thing. Additionally I'm confused are these packages not pulled from another source or is Debian the sole developer of this one? I would expect support for other init systems to be in parity with the parent project of the package in qu…

> is Debian the sole developer of this one? The init script is specific to Debian. I don't know what network-manager's stance is on init system support or even if they have one. I wasn't able to find one in a quick search.

Oh that's right, it does ask when you upgrade which script you'd like to use.... The package maintainers, yours and possibly the original one(?)... I can't for the life of me remember the options, but I know it usually asks which one you want between yours and the 'package maintainers version' every time you upgrade.

Re: Debian network-manager: Please restore removed init script

#38
post #32

Earlier quoted context omitted.

Well, to be fair, the guideline ended up being A) Support systemd and B) Explore alternatives if you want to. In this case, the author chose to do A and not B. That's following the high-level direction and not overriding anything.

I don't believe it is following the high-level direction at all. It's completely counter to it. Dropping existing working support is deliberately and intentionally stopping alternatives from working. Refusing to consider help from others to maintain this support is deliberately and intentionally preventing alternatives from being supported.

Seems you're right, according to https://news.ycombinator.com/item?id=24493214 (and https://bugs.debian.org/746715) which states "That includes merging reasonable contributions, and not reverting existing support without a compelling reason" which I missed when first reading about it. Thanks :)

Re: Debian network-manager: Please restore removed init script

#39
post #27

I can understand the maintainer saying that they need people to test it because they run systemd and therefore don't have a system running another init system to test on. I can't understand removing working support. Maybe split the SysV support into another package that is maintained by someone who is able and willing to spend the time testing it under other init systems.

It is fairly trivial to test other init systems using virtual machines, booting off another installation on USB or even by installing the other init system and rebooting. Also, delegating the testing to those using sysvinit and NM would have been just fine too.

When I was maintaining sysvinit and initscripts, and testing changes to these, as well as initramfs, lvm, and all other associated packages critical to booting, that's exactly what I did.

Before upload of every single release, it would have been tested on a battery of virtual machines using various different configurations, plus bare metal including non-x86 architectures (powerpc at the time). That was sufficient to catch the vast majority of regressions upon common and not-so-common setups. When a single mistake could effectively brick thousands of installations, you do have a responsibility and duty of care to not ever break system boot.

Post reply on HN