Live data from Hacker News

Devuan “ASCII” 2.0 Release Candidate is now available

dev1galaxy.org

61–70 of 74 posts

Re: Devuan “ASCII” 2.0 Release Candidate is now available

#61
post #59

Earlier quoted context omitted.

It's your basic grand conspiracy theory setup. You see a bunch of sensible features that don't add up to any particular larger plan, they see a sprawling plot by innumerable enemies to destroy a status quo that never actually existed outside their imagination. It is amusing to me that they call themselves "Veteran Unix Administrators" because an operating system needs _software engineers_ or at the very least _hacker…

Back in the old days, insmod and modprobe were synchronous. If you wanted concurrency during boot, you could use fork/join to get it (using the & line suffix and “join” command in bash, for instance). In the brave new world, all kernel events are published over some wonky bus thing, so you need to write a daemon that listens for hardware events and replicates the kernel’s current state of the world in dram, and also…

"Back in the old days, insmod and modprobe were synchronous"

No, back in the old days, CONFIG_MODULES was scary and new and the Veterans would have been demanding it be removed because "I want a working unix environment" and if they buy a new hardware device obviously they would install a C compiler and rebuild the operating system kernel to support the new device properly.

Now get off my lawn.

Re: Devuan “ASCII” 2.0 Release Candidate is now available

#62
post #59

Earlier quoted context omitted.

It's your basic grand conspiracy theory setup. You see a bunch of sensible features that don't add up to any particular larger plan, they see a sprawling plot by innumerable enemies to destroy a status quo that never actually existed outside their imagination. It is amusing to me that they call themselves "Veteran Unix Administrators" because an operating system needs _software engineers_ or at the very least _hacker…

Back in the old days, insmod and modprobe were synchronous. If you wanted concurrency during boot, you could use fork/join to get it (using the & line suffix and “join” command in bash, for instance). In the brave new world, all kernel events are published over some wonky bus thing, so you need to write a daemon that listens for hardware events and replicates the kernel’s current state of the world in dram, and also…

insmod and modprobe are still synchronous. Once you have loaded a network driver, you can be assured the corresponding devices have been created.

What's new (around 2006) is the kernel will probe buses in parallel and invoke modprobe in parallel to load the appropriate drivers if they match the driver's alias.

Introduction of userland components to populate /dev also largely predates systemd. devfs was introduced during 2.3.x. udev replaced it during 2.5.x.

Re: Devuan “ASCII” 2.0 Release Candidate is now available

#63
post #41
post #20

Earlier quoted context omitted.

That seems unlikely unless Debian drops systemd or the ecosystem becomes so dependent on systemd's ever-expanding reach that it becomes impossible to build a Linux distro without it.

Debian doesn't actually have anything against sysvinit or OpenRC. Those are just not the defaults. Both sysvinit and OpenRC are available in Debian. It probably would be easier to have a non-systemd system were the Devuan developers to upstream their packaging and patches to Debian. As Devuan has a stated goal of not using systemd though, I would guess they take the easy route of not maintaining systemd compatibility…

From 2014-06-11 systemd news:

> * The support for SysV and LSB init scripts has been removed from the systemd daemon itself. Instead, it is now implemented as a generator that creates native systemd units from these scripts when needed. This enables us to remove a substantial amount of legacy code from PID 1, following the fact that many distributions only ship a very small number of LSB/SysV init scripts nowadays.

At the earliest possible opportunity, systemd removed everything they could that supported alternative init systems. So no, it is not trivial to take a Debian release and make it run SysVinit or OpenRC. In fact, it was so much work that the Devuan devs expended the effort to fork, including setting up a website, mailing lists, IRC channels, a bug-tracker, and all the other infrastructure necessary to maintain a serious, well-supported distro.

And as far as "upstreaming" to Debian, how is Debian upstream for SysVinit or OpenRC? Both of those are separate projects not owned by Debian.

Re: Devuan “ASCII” 2.0 Release Candidate is now available

#64
post #63
post #41

Earlier quoted context omitted.

Debian doesn't actually have anything against sysvinit or OpenRC. Those are just not the defaults. Both sysvinit and OpenRC are available in Debian. It probably would be easier to have a non-systemd system were the Devuan developers to upstream their packaging and patches to Debian. As Devuan has a stated goal of not using systemd though, I would guess they take the easy route of not maintaining systemd compatibility…

From 2014-06-11 systemd news: > * The support for SysV and LSB init scripts has been removed from the systemd daemon itself. Instead, it is now implemented as a generator that creates native systemd units from these scripts when needed. This enables us to remove a substantial amount of legacy code from PID 1, following the fact that many distributions only ship a very small number of LSB/SysV init scripts nowadays. A…

So changing an implementation detail how the support for sysvinit scripts for systemd works means they "removed everything they could"? That's a strange way to put it.

And if "apt-get install sysvinit-core" is not trivial for you, then yes, you might need a special distribution doing that for you.

Re: Devuan “ASCII” 2.0 Release Candidate is now available

#65

Earlier quoted context omitted.

Well binary logs seem to be a good enough reason for me. I use FreeBSD and Devuan feels like I am in control. Some commercial software won't work on FreeBSD so I have to use some Linux. I also use Alpine because it uses OpenRC. With gLibc missing it is tough to compile some software. Compared, Devuan seems to be very software compatible and offers the familiarity of Debian. Over at FreeBSD we have loads of new users…

That's why I have a wildcard redirect to rsyslogd, the journal is pretty much mirrored in text form in /var/log. I still think systemd is by far the best init system around. Service files are a trillion times cleaner, easier to understand and maintain than those bloated 90% copy and past init scripts with the retarded archaic run level concept. Really, if I had a reasonable amount of free time left I'd start somethin…

You need to learn about uselessd. And you need to stop committing the fallacy of allowing for only two systems in the world, systemd and van Smoorenburg init+rc. This fallacy was called out by the author of uselessd.

* http://uselessd.darknedgy.net/ProSystemdAntiSystemd/

* http://jdebp.eu./FGA/run-scripts-and-service-units-side-by-s...

Re: Devuan “ASCII” 2.0 Release Candidate is now available

#66

Earlier quoted context omitted.

It's your basic grand conspiracy theory setup. You see a bunch of sensible features that don't add up to any particular larger plan, they see a sprawling plot by innumerable enemies to destroy a status quo that never actually existed outside their imagination. It is amusing to me that they call themselves "Veteran Unix Administrators" because an operating system needs _software engineers_ or at the very least _hacker…

The main driver behind the initial fork isn't even a sysadmin, but an art student who initiated Devuan as part of an art project and his PhD thesis: https://pearl.plymouth.ac.uk/handle/10026.1/11101 As a fun fact the thesis is released under a Creative Commons license, but states "no quotation from the thesis and no information derived from it may be published without the author's prior consent". Forbidding quotation…

That's boilerplate that Plymouth imposes, and not Denis Roio's choice. You'll find that this is fairly common, although the boilerplate varies from university to university. Here are some example rules from Durham, Brunel, Oxford, and Ulster, all with similar requirements to add such boilerplate.

* https://www.dur.ac.uk/graduate.school/current-students/submi...

* https://www.brunel.ac.uk/__data/assets/pdf_file/0014/213107/...

* https://www.ox.ac.uk/sites/files/oxford/field/field_document...

* http://www.ulster.ac.uk/academicservices/staff/PREPARATION%2...

Re: Devuan “ASCII” 2.0 Release Candidate is now available

#67
post #63
post #41

Earlier quoted context omitted.

Debian doesn't actually have anything against sysvinit or OpenRC. Those are just not the defaults. Both sysvinit and OpenRC are available in Debian. It probably would be easier to have a non-systemd system were the Devuan developers to upstream their packaging and patches to Debian. As Devuan has a stated goal of not using systemd though, I would guess they take the easy route of not maintaining systemd compatibility…

From 2014-06-11 systemd news: > * The support for SysV and LSB init scripts has been removed from the systemd daemon itself. Instead, it is now implemented as a generator that creates native systemd units from these scripts when needed. This enables us to remove a substantial amount of legacy code from PID 1, following the fact that many distributions only ship a very small number of LSB/SysV init scripts nowadays. A…

> So no, it is not trivial to take a Debian release and make it run SysVinit or OpenRC.

It is: "apt install sysvinit-core". For some reason, we still carry the burden of maintaining compatibility with many init systems while the "pro-choice" players don't.

> And as far as "upstreaming" to Debian, how is Debian upstream for SysVinit or OpenRC? Both of those are separate projects not owned by Debian.

Until recently, sysvinit was maintained by Debian.

Re: Devuan “ASCII” 2.0 Release Candidate is now available

#68

Earlier quoted context omitted.

see newnewpdro's comment. I just built a headless armv7h system (using Arch Linux ARM) with 1GB of RAM, and after being up for 3 days running nginx, ssh, and some other bare services, the total RAM usage, for all applications, is 70-100MB. Systemd is complex, but it really doesn't seem to add a lot of resource drain for the power it give you... I'm happy with that tradeoff.

Out of curiosity, to start nginx and sshd you need like 2 lines of shell code in a BSDish rc.conf - one for starting each service. Why do you think systemd bringing in 10s and 100s of megabytes of black magic binary code is a trade-off worth making, especially on a non-desktop without a need for reacting on up/down events of network interfaces?

> you need like 2 lines of shell code in a BSDish rc.conf

... and then 223 lines of actual scripts, since those two lines in rc.conf merely enable/disable the services and do not denote how to actually invoke them. (Equivalently, the systemd people could say that they need just two symbolic links, one for enabling each service.)

    % wc -l /usr/local/etc/rc.d/nginx /etc/rc.d/sshd
         136 /usr/local/etc/rc.d/nginx
          87 /etc/rc.d/sshd
         223 total
    % 
... and of course another 2090 lines of shell function library for those shell scripts to rely upon.

    % wc -l /etc/rc.subr 
        2090 /etc/rc.subr
    % 
Mewburn rc is a fairly elegant system in comparison to van Smoorenburg rc (although it has its fair share of exceptions, sometimes quite bad ones) but it does not involve only 2 lines.

Re: Devuan “ASCII” 2.0 Release Candidate is now available

#69

Thank goodness for Slackware and Devuan.

If you dislike systemd, Void Linux might be worth looking into as well.

And of course, Gentoo is still around, for those of us with too much time and too many spare CPU cycles on their hands. ;-)

Re: Devuan “ASCII” 2.0 Release Candidate is now available

#70
post #35
post #32

Earlier quoted context omitted.

Systemd isn't one component, so you'd be mistaken assuming everything in the systemd project is necessary to start a service. But second to that, I'm not sure why you think nginx_enable='YES' is fundamentally less opaque than an nginx.service file. Both are parsed by another application. As for why someone would make that 'trade-off' - I much prefer being able to add "Restart=on-failure" than using daemontools, and I…

> I'm not sure why you think nginx_enable='YES' is fundamentally less opaque than an nginx.service file. Both are parsed by another application. My guess: because the "another application" that parses nginx_enable=YES is a (rc) shell script instead of an ELF blob, so you can track its execution.

That is not actually true. It is of course parsed by a shell, not by a shell script, which is indeed an "ELF blob".

Moreover, that shell is, on some operating systems, only one of the parsers. OpenBSD, for example, introduced a rule a few versions ago that rc.conf is not shell script. It is a set of key=value assignments that can be written and read by other programs too, not just by a full shell parser and not requiring a shell script parser.

One such program is rcctl. Another is FreeBSD's sysrc.

Post reply on HN