From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id BF4F21382C5 for ; Fri, 30 Mar 2018 20:27:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 60988E08D1; Fri, 30 Mar 2018 20:27:32 +0000 (UTC) Received: from turkos.aspodata.se (turkos.aspodata.se [192.5.36.36]) by pigeon.gentoo.org (Postfix) with ESMTP id E2E80E08BB for ; Fri, 30 Mar 2018 20:27:31 +0000 (UTC) Received: from turkos.aspodata.se (localhost.aspodata.se [127.0.0.1]) by turkos.aspodata.se (Postfix) with ESMTP id 4D116807DEC5 for ; Fri, 30 Mar 2018 22:27:30 +0200 (CEST) Received: by turkos.aspodata.se (Postfix, from userid 1000) id 36525807DEC6; Fri, 30 Mar 2018 22:27:30 +0200 (CEST) X-Mailer: exmh version 2.8.0 04/21/2012 with nmh-1.6 X-Exmh-Isig-CompType: repl X-Exmh-Isig-Folder: inbox From: karl@aspodata.se To: gentoo-user@lists.gentoo.org Mail-Followup-To: Gentoo Subject: Re: [gentoo-user] shutdown: /run/initctl: No such file or directory ??? In-reply-to: <20180330195645.t7sfdro5knr6myub@solfire> References: <20180330195645.t7sfdro5knr6myub@solfire> Comments: In-reply-to tuxic@posteo.de message dated "Fri, 30 Mar 2018 21:56:45 +0200." Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Message-Id: <20180330202730.36525807DEC6@turkos.aspodata.se> Date: Fri, 30 Mar 2018 22:27:30 +0200 (CEST) X-Virus-Scanned: ClamAV using ClamSMTP X-Archives-Salt: 916ebf30-663b-4fbc-977c-44d3670c4a74 X-Archives-Hash: 6c52647cef83aa65ad53d7285f565ad1 Meino: > just a minute before I wanted to shutdown my Linux box...and... > shutdown: /run/initctl: No such file or directory ... $ ls -l /run/initctl prw------- 1 root root 0 Mar 16 21:50 /run/initctl| I.e. it is a named pipe, which you can use to tell init things, like to shutdown. # man init | grep -A2 SIGUSR SIGUSR1 On receipt of this signals, init closes and re-opens its control fifo, /dev/initctl. Useful for bootscripts when /dev is remounted. So, try "kill -SIGUSR1 1" to make init recreate that pipe. NOTE: If you use something else than sysv-init, the above might not apply. Regards, /Karl Hammar ----------------------------------------------------------------------- Aspö Data Lilla Aspö 148 S-742 94 Östhammar Sweden +46 173 140 57