Stories
Slash Boxes
Comments

SoylentNews is people

posted by janrinok on Wednesday November 19 2014, @11:25AM   Printer-friendly
from the I-hope-we-don't-regret-this dept.

Ian Jackson's general resolution to prevent init system coupling has failed to pass, the majority vote deciding that the resolution is unnecessary. This means that not only will Debian's default init be systemd, but packages will not be required to support other init systems. Presumably, this means that using other init systems on Debian (without using systemd as a base) will not be possible without major workarounds, or possibly at all. It also leaves the future of Debian projects such as kFreeBSD unclear, as systemd is linux specific.

The vote results can be found here

The winners are:

Option 4 "General Resolution is not required"

 
This discussion has been archived. No new comments can be posted.
Display Options Threshold/Breakthrough Mark All as Read Mark All as Unread
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
  • (Score: 2) by tempest on Wednesday November 19 2014, @02:44PM

    by tempest (3050) on Wednesday November 19 2014, @02:44PM (#117687)

    loader.conf is generally used to set kernel level modules and options (particularly sysctl variables). While rc.conf is intended for the rc system. For instance, how is the rc system supposed to load when it can't read the disk because the kernel module required hasn't been loaded? Many options seem redundant because it works both ways, for instance you can create a bridge in rc.conf, and it automatically loads the bridge kernel driver for you, but some chicken and egg problems can't be done that way (or require the option be directly compiled into the kernel).

    Starting Score:    1  point
    Karma-Bonus Modifier   +1  

    Total Score:   2  
  • (Score: 2) by VLM on Wednesday November 19 2014, @03:57PM

    by VLM (445) Subscriber Badge on Wednesday November 19 2014, @03:57PM (#117727)

    Yes.... this is the kind of philosophical mental model I want to document to help other people convert.

    The very simple model of "linux has one file per package/daemon, mostly" and "freebsd has one monster file /etc/rc.conf that does it all" when examined in detail is somewhat more complicated.

    So level 1 of learning how stuff is configured is the one liner I gave and level 2 of learning, in more detail, is your post, more or less.

    Probably there's some kind of level 3 of learning in even more detail but its advanced enough I haven't figured out where it is yet much less what it is...

    • (Score: 2) by fnj on Wednesday November 19 2014, @05:15PM

      by fnj (1654) on Wednesday November 19 2014, @05:15PM (#117748)

      It's not so much one file vs many. Both have the many, but BSD init is much cleaner in return for lacking run-levels.

      Linux with SysVInit: /etc/init.d has the basic scripts; each script reads settings from its own config file in /etc/default. /etc/rc0.d through /etc/rc6.d - one directory for each run level - contain a forest of symlinks to those scripts, with prefixes. The letter of the prefix is S for start or K for stop. The digits control the order they are run ("priority"). Enabling or disabling a daemon changes the corresponding symlinks. The run-level is controlled by /etc/inittab.

      FreeBSD: /etc/rc.d has the basic scripts; each script reads settings from /etc/rc.conf. Common boilerplate is separated out into /etc/rc.subr. Dependencies between scripts are handled by special comment lines in the scripts. There is no forest of symlinks. Enabling or disabling a daemon is done in /etc/rc.conf. There are no run-levels. Single-user is a kind of fall-back if boot-to-multi-user fails, but it is possible to boot to single-user, and you can exit to single-user from multi-user by "kill -TERM 1".

      Both systems have an /etc/rc.local to stuff any kind of one-time on-boot stuff you want that does not fit into a daemon model, or you do not want to bother with a daemon.

      I have simplified the FreeBSD description a little, but not much. For example, there is a /usr/local/etc with its own parallel files. / is for the base system, and /usr/local is for packages/ports.

    • (Score: 2) by tempest on Wednesday November 19 2014, @05:29PM

      by tempest (3050) on Wednesday November 19 2014, @05:29PM (#117754)

      FYI, Entries for many services can be added to /etc/rc.conf.d/service-name . This cleans up rc.conf quite a bit.

    • (Score: 2) by DECbot on Wednesday November 19 2014, @10:02PM

      by DECbot (832) on Wednesday November 19 2014, @10:02PM (#117867) Journal

      Probably there's some kind of level 3 of learning...

      So I understand that you would like to become a dev. We shall prepare the rite. Baptize your hard disk with /dev/zero so we can begin pure.

      --
      cats~$ sudo chown -R us /home/base