RFC: a new init system for Arch

hi guys, i've been thinking about this for a while, especially since after seeing what a real optimized init system can do for a distro (ala Annvix). Recently, somebody also suggested the use of upstart (http://bbs.archlinux.org/viewtopic.php? … 59#p238859), and i've been thinking that perhaps it's time to put forth this suggestion to the community, and get the devs in on this (discussion) as well.
What do u guys think of replacing and moving from the current BSD-init style (it's great, but there's more stuff out there!!!) to a better, "totally optimized", "rad" (excuse the slang, also known as "awesome") init system?
Here are my thoughts for the 2 that i've investigated...
1. Upstart (http://upstart.ubuntu.com/index.html)
Advantages:
- active, maintained code
- the idea of "events" is natural, intuitive, and as a model, fits the real world situation ("optimizing for the bootup process") very nicely
  (although one could also argue that u could just as well call your events "dependencies" ala initng, if u dig deeper, u'll see that it's more than just that)
Disadvantages:
- looks set to become much more than just a simple 'init' replacement (see for eg., http://upstart.ubuntu.com/wiki/ComplexEventConfig [via https://launchpad.net/upstart from "Latest proposed features" section]), and violate the KISS principle of Arch??? (or is this still considered "simple enough"???):
    -> looks set to replace cron, atd, and anacron, .... (http://upstart.ubuntu.com/faq.html#replace-cron)
    -> looks set to almost (or could potentially become) a "total event system for Linux" (see the last 3 questions of the faq)
2. Runit (http://smarden.org/runit/)
Advantages:
- fits the KISS idea most definitely
- can be integrated very nicely with its 'supervise-like' replacements to help supervise ur services
- if u're a djb fan, u'll find urself going "woohoo!!!" You'll get the very same advantages that u get with djb's supervise system...
Disadvantages:
- if u're not a djb fan, u'll find urself going ....
Your comments and ideas, folks?

I don't see how complexity gonna improve on that.
It won't. In fact it'll actually make it slower, more than likely. People refuse to understand this.
If ask me, being able to just list your daemons in any order and have them work (and load in the proper order as quickly as possible) without having to look-up what each damon might possibly require (and keep track of changes in those requirements with new versions) follows KISS a lot more than having to deal with it all to order your daemons list (and lossing the option to background daemons that are required for other ones).
Perhaps you don't understand the shade of meaning that Arch uses when it says "Simple". Simple does NOT mean that something is "easy", it means it isn't complicated and over-complex. Ever heard of DOS's autoexec.bat? It was a stinkin' batch file and it ran everything you typed into it in the order you typed into it. The reason why I mention this is not because I want to adopt DOS's init system, but instead because I wanted to show you the pinnacle of simplicity. Was it easy to use? Most of the time. But DOS also had issues of TSR's and services, etc. that depend on other services. I'd like for you to point out a simpler system than autoexec.bat that is actually in mainstream use. See? Simple does NOT equal easy.
However, I'd like to mention what my Jr. High principal always told us: "Anything is easy if you know how to do it." I actually find Arch's init system to be the EASIEST system out there. I know EXACTLY what it is doing at all times. I tried to grok Ubuntu's system and I found myself having to read a bunch of stuff from different sources to make sense of it. Is that easy? No. Not for me. Simple IS easy if you throw out your Windows conditioning that everything should be done for you and that you can't think for yourself. You say we should be able to make a list of services and they should all start in the order Arch thinks they should. I on the other hand say that if I want x to start before y, then x BETTER start before y. You see, I'M the user. I'm not just there to share the experience. My computer is a tool and I want it to do exactly what I say.
Hell, I bet you spent more time writing this post than a new init system will save you in your lifetime. The Linux kernel takes longer to start on my machine than anything else (and I'm connected via WiFi on a buggy and slow as hell driver and through DHCP on top of that). I already said one thing that may give you a little boost, which is caching (which may actually slow you down due to overhead). You can also try suspending to disk (aka hibernating) instead of just shutting down.
What do u guys think of replacing and moving from the current BSD-init style (it's great, but there's more stuff out there!!!) to a better, "totally optimized", "rad" (excuse the slang, also known as "awesome") init system?
Explain to me everything you know about the BSD init style. I'm curious.
Last edited by deficite (2007-04-05 02:51:51)

Similar Messages

  • HT201412 I just tried to upload the new operating system for my I phone 4s , I get to the terms and conditions, when touch "agree" it opens up and I touch agree again  and it closes and nothing more happens

    I just tried to upload the new operating system for my I phone 4s , I get to the terms and conditions, when touch "agree" it opens up and I touch agree again  and it closes and nothing more happens

    Reset and start all over again.
    Hold down the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears
    Note: Data will not be affected.

  • INSTALL ARCHLINUX (new installation system by Arch Install Script)

    After many failed installations, I've resolved and written a mini-guide how to do an easy installation of Arch Linux. I've added it to Manualinux on point 44b.
    However, I report it below, maybe could be useful to someone:
    44b)INSTALL ARCHLINUX (new installation system by Arch Install Scripts)
    Choice if install ArchLinux 32 or 64 bit, following type these commands:
    -loadkeys it (choice your language)
    -Use cfdisk to create your partitions
    cfdisk /dev/sda  o /dev/sdx
    -Format Partitions Using mkfs and Create Swap
    mkfs.reiserfs /dev/sda1
         or
    mkfs.ext4 /dev/sda1
    mkswap /dev/sda2
    -Reboot system with installation cd
    reboot
    -Mount Partition:
    cd /
    mount /dev/sda1 /mnt
    -Make and mount swap partition:
    swapon /dev/sda2
    -Active wireless or ethernet connection
    wifi-menu (choice your wireless connection, I suggest your to disable temporarely your password on router-modem)
    dhcpcd (attach ethernet wire)
    -Install Base System:
    pacstrap /mnt base base-devel
    -Install Grub2:
    pacstrap /mnt grub-bios
    -Install Syslinux:
    pacstrap /mnt syslinux
    -Generate fstab:
    genfstab -p /mnt >> /mnt/etc/fstab
    -Login to arch-chroot:
    arch-chroot /mnt
    -Install package wifi-select
    ip link set wlan0 up
    pacman -S wifi-select
    -Configure Network:
    vi /etc/rc.conf
    add interface="eth0"
    add interface="wlan0"
    -Edit Hostname:
    vi /etc/hostname
    and add desired hostname
    -Set Timezone:
    ln -s /usr/share/zoneinfo/Europe/Rome /etc/localtime
    -Generate Locale:
    vi /etc/locale.gen
    enable:
    it_IT.UTF-8 UTF-8
    it_IT ISO-8859-1
    it_IT@euro ISO-8859-15
    -Execute locale-gen on shell:
    locale-gen
    -Configure Kernel:
    mkinitcpio -p linux
    -Configure Bootloader:
    grub-mkconfig -o /boot/grub/grub.cfg
    grub-install --recheck /dev/sda
    -Set root password:
    passwd root
    -Exit from arch-chroot:
    exit
    -Unmount Partition:
    umount /mnt
    -Reboot your system
    reboot
    -If ethernet wire is attached:
    dhcpcd
    -If you want configure wireless network:
    ip link set wlan0 up
    wifi-select (if you have not password on router-modem)
    pacman -Syu  kde wicd wicd-gtk (insert kdm wicd in /etc/rc.conf)
    reboot system and configure your router wireless/wifi connection
    Reinsert wireless password on your router/modem
    Last edited by Pantera (2012-09-17 20:14:31)

    You don't need to install both grub and syslinux. You configure grub in "Configure Bootloader" so this step is unnecessary:
    -Install Syslinux:
    pacstrap /mnt syslinux
    This next step doesn't configure the kernel, it creates an initramfs (see the Beginners' Guide):
    -Configure Kernel:
    mkinitcpio -p linux
    Last edited by 2ManyDogs (2012-09-17 20:28:58)

  • New sound system for ipod touch?

    Hey everyone,
    I am looking for suggestions for a new sound system for my iPod Touch. I am not sure which generation my iPod is, if anyone knows any way to find out I would appreciate the tip
    The sound system I have works ok, but when my iPod plays there is an annoying static issue. So I am looking for something that will dock my iPod, allow me to play my iPod touch without any static, and of course charge my iPod. I am looking to keep under 100 dollars. I welcome any and all suggestions as I am clueless and have a hard time figuring out which systems are good and which aren't. thank you

    Look on the back of your iPod Touch for one of these numbers.
    These numbers are directly from Apple.
    iPod Touch 1st generation - A1213
    iPod Touch 2nd generation - A1288
    iPod Touch 3rd generation - A1318
    iPod Touch 4th generation - A1367
    Let us know what generation you have.

  • I have the Mac Os 10.4.11, and iTunes store will no longer come up on my screen to order tunes.  A download screen appears for the new iTunes. I can't download the new iTunes unless I get the new operating system for my mac.  Is there a way around this?

    I have an iMac with a 10.4.11 operating system.  When I click on iTunes Store, I no longer get the iTunes screen, instead, I get a new iTunes download screen.
    I can't download the new iTunes without upgrading my operating system.  Is there a way around this problem without buying the new operating system?
    I haven't been able to download songs for awhile now.

    which version of iTunes are you on ? if it's earlier than iTunes 9.2.1, get it here.

  • New Logical System for every BPM in R3?

    Do I need to set up a new Logical System in my R3 system for every BPM in XI that sends IDOC to it?
    I need several BPM to split messages which I want to send to a R3 system. When I configure the scenario, the BMP is imported to the Configurator and the Adapter-Specific Identifiers need be added. A Logical System must be entered for the IDOC adapter. This Logcial System must be unique.
    Is it possible to have several BPM without setting up a logical system in R3 for each of them?

    Hi Elling,
    You can overwrite the logical system name in the receiver agreement. If you select a different system (from the SLD) as Sender Service, the IDOC will be send using the logical system name of this sender service.
    What we normally do is, set the sender service for a BPM to the original sender service.
    Regards,
    Christiaan Schaake

  • ADR3 table updation in new ECC system for customer address

    When ever customer is created using VAP1 transaction and maintain telephone and fax number it used to get update in ADR3 table.
    in new ECC system unless and until the telephone and fax is maintained in Business area of Contact person it is not getting updated in ADR3 table.
    Can u please let me know in which table it is getting saved if we are not maintaining these in business area in ECC?

    Sreedevi only fax number along with extension is getting updated in ADR3 but telephone number & extrnsion is getting updated in ADR2.
    Reward Points if it helps,
    Regards,
    N

  • Help me buy a new computer suitable for Arch

    Hello all Arch users.
    About 1½ years ago, a mate convinced me to try out Arch Linux. It was about the same time as I also bought myself a TFT monitor. I've grown rather fond of Arch since then, and refuse to use anything else (except at work where I have to use Windoze).
    But I've also been having some eye-problems for the last year or so, and I'm blaming partly my Phillips 190S monitor, and partly backlight/brightness settings in Arch, which I have been unable to change. Last thursday these eye-problems accelerated and gave me so much trouble I was unable to use a computer or TV or even go outside for days. I can't live a life that boring! :-|  I have to be able to use my computer 25 hours a day.
    I've searched a bit on the forum and found that I'm not the only one having some eye-problems with Arch. One solution apparently is to use xbacklight command, which just doesn't work on my system. I found another graphics-card which I tried, but it used the same drivers, so still no xbacklight command. Anyway, I don't want to make a big story out of it either, since I've decided to buy a new computer and monitor now. I want a low-noise system anyway, so....
    The monitor will be some expensive stuff that should be very kind to the eyes, so I'm pretty sure that part can't be better. But should you have a recommendation for a great monitor that's kind to the eyes, do share.
    I'm thinking that the hardware otherwise might not be compatible with Arch for reasons I'm sure I wouldn't know about. Also, I'm interested in knowing if there's any graphics-cards that suits Arch better than others. And finally, my Arch system is a little broken, and a fresh install probably isn't a bad idea. (I'm no Linux hardcore user, but I definitely know I prefer any Linux distro over Windoze).
    So I decided to put down the stuff I'm thinking of getting, and maybe someone will tell me if they know of any problems with that hardware and Arch, or maybe recommend me something else.
    MSI G31M LGA775 1333FSB Bulk MAT G31M, 4xSATA
    Intel Core 2 Duo E4600, 2.40GHz, 800FSB
    Ram Geil 2048 MB DDR-II PC6400 KIT
    Samsung S223 DVDRW-SA/18/18/8/SATA
    Samsung 250GB SATA II Harddisk
    NorthQ NQ-6803 52-in-1 Cardreader
    There's no graphics-card on that list, because there's a built-in one one the motherboard, and I don't really need it for games, but rather system-development and such. But if you believe that a certain graphics-card will improve picture quality, or be more kind to the eyes, then do tell me. (I doubt it, but if you think so, lemme know).
    Any other advises regarding brightness and be-kind-to-your-eyes-stuff is also welcome. So far I've installed www.sharpfonts.com, but it's too soon to say if it helps.
    Thanks in advance.

    Thanks for the answers.
    I'll definitely look into that flourescent lighting thingy, although I think/thought I had enough light around me already.
    I have also tried having brightness at 0, and even contrast at 0 also. Also using the nvidia settings.
    Anyway, it would seem I've found one of the reasons. Apparently, for some weird reason, Arch hasn't offered me 60hz, but rather lower odd numbers such as 53hz. So I've been using a rather lower frequency, which logically should explain at least some of the reason.
    While Windows lets me go as high as 75hz with this current 17" monitor I've tried instead of my 19" monitor, Arch won't even let me have 60hz. I've tried various xorg.conf settings, and even got one mailed to me which doesn't change anything. So that's two monitors I've tried where Arch doesn't deliver the hz I want, but where Windows does fine and more. That can't be right. I'm using the nvidia drivers, and have tried two graphics cards.
    I'm buying a better monitor regardless though, something that's extra kind to the eyes somehow. I'm thinking 19-22" with some fancy techniques to reduce whatever it tough on the eyes. Maybe a fresh install of Arch will help getting the hz needed. I need to do that anyway on the new computer.
    I also tried booting Ubuntu from a CD to check how that seemed, and while the Ubuntu desktop and fonts did seem more calm and eye-friendly, I must admit I'd been looking at it too much at that time to be sure I wasn't just kidding myself.

  • When to expect new installation CD for Arch?

    Sorry if this has been posted somewhere else in this (or other) topic, I couldn't find any, but when could we expect a new Arch installation CD containing new kernel? The reason I'm asking this question is I'm preparing to do a fresh install - I want to change my filesystem from JFS to EXT4 (the old kernel on the current installation CD has an old version of EXT4 with some bugs making some files to disappear while using KDE4) and want to start using KDE4 at last (from a freshly installed OS of course).
    Any info on that matter? Once I read on this forum, I believe, that there will be a fresh installation CD with every new kernel release, but I guess that wasn't true...:rolleyes:

    I always just do a FTP install using the most recent cd that is available at the time. It is just a shell that way to fire up the ftp installation process leaving you with a fully updated system when you're done, so no need to pacman -Syu and fragment your installation right after you are done, besides it is not as if the default install on the cd is *that* big, using my 10mbit cable it is just a matter of a few minutes before it is done, with 2.6.30-ARCH and a bootable ext4. I wouldn't do a cd install even if there was a newer one then 2009.02 ...... on the other hand if one is on a 14k4 modem line things might be different. A FTP install using Archboot 2009.05 also worked like a charm for me by the way, the cool thing of that is that i can use it both for my x64 laptop as well as my i686 desktop since it is a hybrid cd.

  • New source system for HR extractors - easy way to change source system?

    Hi
    Our HR module is going to be seperated from the ECC module and thereby placed on a new server and have its own source system.
    In BI we have to handle this as well so that all 7.0 transformations and 3.5 transferrules etc. have to be mapped to the new HR source system. It there a smart way to do that and how would you do it?
    Thanks and kind regards,
    Torben

    Hi Dhanjayan
    Thanks for your reply.
    That would be an option to collect all source system dependent objects in a transport, however by doing that we will also collect objects for all the other areas than HR and it will therefore be a huge task to remove non HR related objects.

  • ANN: New CMS system for PHP available

    WebAssist is proud to announce the release of PowerCMS, an easy-to-use, yet powerful, content management solution for PHP and MySQL. With PowerCMS, you can easily convert your static content into database-driven content--which can quickly be updated online at any time by the website owner.
    PowerCMS includes a professionally-designed administrative site, ready to deploy. The administrative side of PowerCMS dynamically groups content by pages, shows the last 5 actions, and allows quick rollback to a previous version of any entered content.
    PowerCMS works with any web page editing tool including Dreamweaver and lists for $99.99. PowerCMS is now available at a special launch discount of $79.99 until June 5, 2009.
    For more details, visit http://www.webassist.com/solutions/powercms/
    Best - Joe
    Joseph Lowery
    VP of Product Management, WebAssist
    Author, Dreamweaver CS4 Bible

    "David Powers" <[email protected]> wrote in message
    news:eifql3$7b3$[email protected]..
    > The release of PHP 5.2.0 is accompanied by a
    dramatically improved Windows
    > installer that automates most of the installation and
    configuration
    > process. It includes all PHP extensions and works with
    both Apache (1.3,
    > 2.0, and 2.2) and IIS. There's no official documentation
    yet, but I have
    > posted detailed instructions (based on Apache 2.2.3) on
    my website at:
    >
    >
    http://foundationphp.com/tutorials/php_installer.php
    That is great news. Good article. It's about time they
    released an installer
    for the api modules. There are too many people out there
    using the old cgi
    installer on IIS.
    Tom Muck
    co-author Dreamweaver MX 2004: The Complete Reference
    http://www.tom-muck.com/
    Cartweaver Development Team
    http://www.cartweaver.com
    Extending Knowledge Daily
    http://www.communitymx.com/

  • New WindowMaker version for Arch Linux

    Today I have added a new WindowMaker package (windowmaker-crm-git) to our [extra] repository. It's compiled from the GIT repository of Carlos R. Mafra which is the most uptodate repository for WindowMaker source code. It has bugfixes for know issues and new features like Maximus which is "Tiled maximization". There were several bugfixes for Xinerama setups and some code cleaning.
    I will update the package regularly to reflect all the changes in the GIT repo. So if you use WindowMaker and you would like bugfixes and new features, install the new package and report bugs to the wmaker-developer-mailinglist, which is very active at the moment. I have tested the package and it's more usable and stable than the windowmaker-0.92.0 package.

    toxygen wrote:
    Hah! i was just reading about this on the mailing list!  thanks!
    I'm about to test it.  I was just thinking today too how i missed the good ol' days of windowmaker.
    I'm looking through the new http://www.windowmaker.info/ sounds like they are doing something a lot of us wish "someone" would have done, making wmaker more modern!
    how long has this been going on?  and can you give us a summary of what's new?
    There were several different steps for a new version of WindowMaker. I have seen a GIT repo which are trying to render the things with cairo instead of the internal lib. But at the moment this is stalled. I  don't know how long this has been going on, but at the moment it looks like the development is getting faster and more people are contributing again. Carlos R. Mafra is doing a good job with the new GIT repository to integrate bugfixes and sometimes new features, maybe they will be merged to the main tree sometime, depends on the official WindowMaker developers. As I posted above, the development mailinglist of WindowMaker is very active again and I think this time it could really happen that there is a new release soon...hopefully.
    I can't give a real summary of changes, there were lots of bugfixes and some new features. You can have a look here: http://repo.or.cz/w/wmaker-crm.git?a=shortlog It would take too much time to sum-up those commits.
    toxygen wrote:edit to add: OT - please do make a tutorial for the "moving pictures" movie!  sounds like a fun thing to do with my camera + sound.
    I will write a tutorial asap and I will post it in my blog.

  • New operating system for old Tecra 8000

    Hi all,
    I just bought a Qosmio F10 and would like to give my old Tecra 8000 (P2 300Mhz, 8Gb, 192Mb RAM) to a friend. This computer is running very well on Windows 98 1st edition and I still have all the installation disks. I would like to reformat the hard drive in order to remove my identity, and upgrade the operating system to a newer version of Windows.
    My questions are:
    - Which operating system considering the low specs ?
    - How do I reinstall Toshiba notebook features ?
    Thank you in advance.

    Hi,
    you can try to install Win2000, Toshiba provides W2k drivers ad tools https://eu.computers.toshiba-europe.com in the Driver Download section!
    W2k should run with 300Mhz, but I think it is very slow and not userfriendly with 192MB RAM!
    In my opinion you should try to setup W2k ad check if it is fast enoug to wok, otherwise reinstall Win98 SE and the drivers and tools (also available at the posted link)
    bye Tok

  • New operating system for iPhone5

    My battery life is greatly diminished since I installed the most recent operating system, can I fix this problem?

    Try a reset: Simultaneously hold down the Home and On buttons until the device shuts down. Ignore the off slider if it appears. Once shut down is complete, if it doesn't restart on it own, turn the device back on using the On button. In some cases it also helps to double click the Home button and close all apps BEFORE doing the reset.
    Open the Settings App > Privacy > Location Services [turn OFF location services for those that you really don't need to use it.

  • New operating system for iPhone?

    Earlier today on cnbc web site they had an alert that on March 17th Apple was going to release a new OS for the iPhone. Anyone know anything more about this????

    Copied from this link.
    http://macdailynews.com/index.php/weblog/comments/20427/
    +Apple today sent out invitations to the media for a special event to be held in the Apple Town Hall on Apple's Cupertino, CA campus on March 17 at 10am PDT to discuss the iPhone 3.0 software and SDK.+
    +Nothing else is known about the event or who from Apple will present the information.+
    +Last year, Apple held their special iPhone 2.0 roadmap event on March 6th and released iPhone 3G to the public on July 11, 2008.+
    This doesn't indicate that firmware update 3.0 will be released on March 17. Last year at this time, Apple held a similar event to discuss firmware update 2.0 - to provide a sneak preview only, and released the iPhone/iPod Touch SDK. Firmware update 2.0 was not released on the day of the event. Firmware update 2.0 was not released until the middle of July. It was released for the first generation iPhone on the same day the iPhone 3G was released.
    It will probably be the same or similar with firmware update 3.0, so I wouldn't expect it to be released next week.

Maybe you are looking for

  • Compare dates in a different columns

    Hi All, How to get the largest date out from different columns. here is my query.... select * from (select date1 from table1) a, (select date2 from table2) b, (select date3 from table3) c I want to get the largest date among date1, date2 and date3 th

  • 9iAS on Win NT 4.0 connecting to Oracle 7.3.4 in AIX

    Can 9iAS release 2 installed on Win NT 4.0 SP6a connect with an Oracle 7.3.4 instance in AIX? Thanks for your help!

  • Change language in theme center

    I bought my lenovo phone in HK. The charaters in the theme center contains chinese character. Although i set the language in english. Hope you can give a hand.

  • Excluding Desktop and Dropbox from Search

    Is there a way to temporarily exclude my Desktop and Dropbox from a Spotlight search? I want to run some of these to find pdfs and image files - and then move them all - but I don't want to touch the ones in these two locations. Do I have to go into

  • Using a (tcl) script as source of data for VI

    hi, novice here, under a deadline. we would like to display data coming from running a shell script. the data is a stream of lines, each with a datapoint as a floating point number. bash$ ./my.tcl 12.5 15.2 18.3 17.2 14.3 the first tutorial, with a w