From owner-freebsd-current@FreeBSD.ORG Mon Feb 24 11:01:57 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AD49D4E5 for ; Mon, 24 Feb 2014 11:01:57 +0000 (UTC) Received: from nm27-vm5.access.bullet.mail.gq1.yahoo.com (nm27-vm5.access.bullet.mail.gq1.yahoo.com [216.39.63.145]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 70346156A for ; Mon, 24 Feb 2014 11:01:57 +0000 (UTC) Received: from [216.39.60.165] by nm27.access.bullet.mail.gq1.yahoo.com with NNFMP; 24 Feb 2014 10:59:25 -0000 Received: from [98.138.226.244] by tm1.access.bullet.mail.gq1.yahoo.com with NNFMP; 24 Feb 2014 10:59:25 -0000 Received: from [127.0.0.1] by smtp115.sbc.mail.ne1.yahoo.com with NNFMP; 24 Feb 2014 10:59:25 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bellsouth.net; s=s1024; t=1393239565; bh=jcPfyvOS2nMl+WzNytcSR9Tf+gQLYXrzJqYtdIMSMPw=; h=X-Yahoo-Newman-Id:Message-ID:Date:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:X-Rocket-Received:From:To:Subject:References; b=c9qjlIdYFG/AVHY9zCBpaP9JR+IODBV+QxXSSZSXhQVOrUojrSKzsq39EGj8q6GJM+zVEGxH0BpRw+HPwkrA9k4TVx883paHaelR6iFeLyLW5CSDze4sl8/1nS7CTF83oQV5X4AJ2WsulE34tmvNjbJPqYNOaNU+m8fYYAhEQlk= X-Yahoo-Newman-Id: 658811.23371.bm@smtp115.sbc.mail.ne1.yahoo.com Message-ID: <658811.23371.bm@smtp115.sbc.mail.ne1.yahoo.com> Date: Mon, 24 Feb 2014 10:59:25 +0000 (UTC) X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: G1lRtMgVM1nlKhPWr2hJ6cgDVvn9meDrnXSRUaZ8sKqLSoo .aa.2s7Ew3_KPTnypKdbzTUQjENUtd6pvIkOJxotF1GHOZciX596PcVMG8T9 DTMS3aw__SaovtVGvkK6ssKghIjQhYuMgscn5tKlim2CI_VoYkDABRmOlBsS dnidBdnj3m9lQfk6cQ5EiJmYIRHf2IUp8jlXMASr0l.UVkAFQuuldafAOCdF kI4PD6SfzVRSlnY6AYYDfOUzgJAsmvcw71.mlbYYYIZbveOrbAyThB6SXya8 jpNZr4EbiWSJhoLGCGy3617qlYmQy2hXMmHEvWiQ8ey913xGT6F61MlSZjZT AhHje0b.xYHVkMluWdbfrOpbL_F8oWAXEaryvGlNxXniOV1eLz1FsqExp_fs RzYJ_vUC40qxRZupTECy69WSXodVXuI8FyOn2FVzbW4RA6Hb.Ef6OAY2QvnV hhBX57I7FtjJFStJD1rQg8mm7RXHLlwoGyMTAVkEqU.WM0FgK9YtYuUeJKjD 68c72bUYgPCa2kvJ9qA7MSy.g40ALhA1YfMdnSQ7mqoX0z_ZQiYC_CrZHELq kNZo8yMDgSBvNbhEBQLrUio9k X-Yahoo-SMTP: Kz_aW1.swBBYof3zAD7.RWzXz9ZAQVDMml1VADsbgPT4Kq79LC0- X-Rocket-Received: from localhost (mueller6724@96.28.178.143 with plain [98.138.31.74]) by smtp115.sbc.mail.ne1.yahoo.com with SMTP; 24 Feb 2014 10:59:25 +0000 UTC From: "Thomas Mueller" To: freebsd-current@freebsd.org Subject: Re: libinit idea References: <201402240856.s1O8u82F073645@gw.catspoiler.org> X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Feb 2014 11:01:57 -0000 from Don Lewis: > I've got a Fedora server here that has systemd and I've come to dislike > it. It seems to be one of those "Do not open. No user serviceable > parts inside." sorts of things. > I was never able to get it to start NUT properly. > More often than not, it fails to come up multi-user. The machine has a > large number of disks (mostly JFS and XFS) attached to it, and even > after what I think should be a clean shutdown, it seems to want to fsck > a bunch of them. Unfortunately, there seems to be some sort of timeout > on that, so a bunch get skipped and then don't get mounted. I have to > manually fsck everything in single user mode. Then if I reboot, it > *might* come up properly. I haven't been able to find any knobs to > adjust the timeout. Sometimes, there is just a message that says > something like "an error occurred" at the top of the screen, just before > the prompt for the single-user password, with no clue as to what it is > unhappy about. > Emergency shutdown can also be a problem. If I'm around when the power > fails, I manually try to shut down the machine before the UPS battery > runs down. I don't have the screen on the UPS, so I hit the power > button and cross my fingers that the machine will make it through the > clean shutdown sequence in time. It seems to take forever (many > minutes) and I have no idea what the heck it is spending all of its time > on. > The documentation seems to be very sparse. > My plan is to migrate this function to a FreeBSD server. This looks scandalously slow. It reminds me of the time with OS/2 Warp 4 in the late 1990s when I had to close Netscape web browser in preparation for shutdown, and it took 15 minutes because it was a hog for memory, by late 1990s standards. I had 20 MB RAM, not bad for those days. What would happen if you typed at the command prompt shutdown -r now or shutdown -p now ? Would it take seemingly forever? I would like to try systemd in Linux, can't say at this stage whether I'll like it, hate it, or somewhere in between. Tom