* [gentoo-user] shutdown: /run/initctl: No such file or directory ???
@ 2018-03-30 19:56 tuxic
2018-03-30 20:27 ` karl
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: tuxic @ 2018-03-30 19:56 UTC (permalink / raw
To: Gentoo
Hi,
just a minute before I wanted to shutdown my Linux box...and...
shutdown: /run/initctl: No such file or directory
Today I did the following ubdates
Fri Mar 30 04:03:37 2018 <<< net-misc/dhcpcd-7.0.1
Fri Mar 30 04:03:41 2018 >>> net-misc/dhcpcd-7.0.2
Fri Mar 30 04:04:24 2018 <<< app-editors/nano-2.9.4
Fri Mar 30 04:04:32 2018 >>> app-editors/nano-2.9.5
Fri Mar 30 14:36:35 2018 >>> dev-python/pyyaml-3.12
Fri Mar 30 14:36:42 2018 <<< sys-apps/sysvinit-2.88-r9
Fri Mar 30 14:36:45 2018 >>> sys-apps/sysvinit-2.89
Fri Mar 30 14:36:56 2018 <<< sys-apps/portage-2.3.26
Fri Mar 30 14:37:01 2018 >>> sys-apps/portage-2.3.27
Fri Mar 30 14:37:17 2018 <<< app-portage/repoman-2.3.7
Fri Mar 30 14:37:23 2018 >>> app-portage/repoman-2.3.9
Fri Mar 30 14:37:32 2018 <<< media-radio/gpredict-2.2
Fri Mar 30 14:37:35 2018 >>> media-radio/gpredict-2.2.1
What may have killed /run/initctl ?
/run has currently this content:
zsh:1: no such file or directory: /sl
total 68
-rw------- 1 root root 0 Mar 30 03:56 agetty.reload
drwx------ 2 root root 40 Mar 30 03:55 alsasound
drwx--x--- 2 root apache 40 Mar 30 03:55 apache2
drwxr-xr-x 2 root root 40 Mar 30 03:55 apache_ssl_mutex
-rw-r--r-- 1 root root 6 Mar 30 16:40 atop.pid
-rw-r--r-- 1 root root 5 Mar 30 03:55 autofs.pid
---------- 1 root root 5 Mar 30 03:55 autofs-running
-rw-r--r-- 1 root root 5 Mar 30 03:55 cgred.pid
srw-rw---- 1 root root 0 Mar 30 03:55 cgred.socket
drwxr-xr-x 2 root root 80 Mar 30 03:55 ConsoleKit
drwx------ 2 root root 40 Mar 30 03:55 cryptsetup
drwxrwxr-x 2 root root 60 Mar 30 03:55 dbus
-rw-r--r-- 1 root root 5 Mar 30 03:55 dbus.pid
drwxr-xr-x 4 root root 80 Mar 30 21:48 dhcpcd
-rw-r--r-- 1 root root 5 Mar 30 03:55 dhcpcd.pid
srw-rw---- 1 root root 0 Mar 30 03:55 dhcpcd.sock
srw-rw-rw- 1 root root 0 Mar 30 03:55 dhcpcd.unpriv.sock
srwxrwxrwx 1 root root 0 Mar 30 03:55 fcron.fifo
-rw-r--r-- 1 root root 5 Mar 30 03:55 fcron.pid
---------- 1 root root 0 Mar 30 03:55 fcron.reboot
drwx------ 2 fetchmail nobody 40 Mar 30 03:55 fetchmail
-rw-r--r-- 1 root root 5 Mar 30 03:55 gpm.pid
drwxrwxr-x 3 root uucp 80 Mar 30 21:50 lock
drwxrwxr-x 2 root root 60 Mar 30 03:55 lvm
-rw-r--r-- 1 root root 5 Mar 30 03:55 lvmetad.pid
-rw-r--r-- 1 root root 5 Mar 30 03:55 metalog.pid
drwxr-xr-x 2 root root 40 Mar 30 03:55 mount
drwxrwxr-x 14 root root 360 Mar 30 03:56 openrc
drwxr-xr-x 4 root root 80 Mar 30 18:17 pm-utils
-rw------- 1 root root 52 Mar 30 03:55 slim.auth
-rw-r--r-- 1 root root 5 Mar 30 03:55 slim.pid
-rw------- 1 root root 5 Mar 30 03:55 smartd.pid
drwxr-xr-x 2 root root 40 Mar 30 03:55 smokeping
-rw-r--r-- 1 root root 5 Mar 30 03:55 spamd.pid
-rw-r--r-- 1 root root 5 Mar 30 03:56 sshd.pid
drwxrwxr-x 2 root root 60 Mar 30 03:55 tmpfiles.d
drwxr-xr-x 8 root root 180 Mar 30 18:12 udev
-rw-rw-r-- 1 root utmp 4224 Mar 30 03:56 utmp
The timestamps look very suspicious...
Any idea of what has happened to initctl?
Cheers
Meino
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] shutdown: /run/initctl: No such file or directory ???
2018-03-30 19:56 [gentoo-user] shutdown: /run/initctl: No such file or directory ??? tuxic
@ 2018-03-30 20:27 ` karl
2018-03-30 20:36 ` Mike Gilbert
2018-03-30 21:30 ` Tom H
2 siblings, 0 replies; 6+ messages in thread
From: karl @ 2018-03-30 20:27 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] shutdown: /run/initctl: No such file or directory ???
2018-03-30 19:56 [gentoo-user] shutdown: /run/initctl: No such file or directory ??? tuxic
2018-03-30 20:27 ` karl
@ 2018-03-30 20:36 ` Mike Gilbert
2018-03-30 22:02 ` Tom H
2018-03-30 21:30 ` Tom H
2 siblings, 1 reply; 6+ messages in thread
From: Mike Gilbert @ 2018-03-30 20:36 UTC (permalink / raw
To: gentoo-user
On Fri, Mar 30, 2018 at 3:56 PM, <tuxic@posteo.de> wrote:
> Hi,
>
> just a minute before I wanted to shutdown my Linux box...and...
> shutdown: /run/initctl: No such file or directory
>
See bug 651990. https://bugs.gentoo.org/651990
Either upgrade to sysvinit-2.89-r1, or run the following command
before rebooting or changing runlevels.
ln -s /dev/initctl /run/initctl
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] shutdown: /run/initctl: No such file or directory ???
2018-03-30 19:56 [gentoo-user] shutdown: /run/initctl: No such file or directory ??? tuxic
2018-03-30 20:27 ` karl
2018-03-30 20:36 ` Mike Gilbert
@ 2018-03-30 21:30 ` Tom H
2 siblings, 0 replies; 6+ messages in thread
From: Tom H @ 2018-03-30 21:30 UTC (permalink / raw
To: Gentoo User
On Fri, Mar 30, 2018 at 3:56 PM, <tuxic@posteo.de> wrote:
>
> just a minute before I wanted to shutdown my Linux box...and...
> shutdown: /run/initctl: No such file or directory
Isn't "/run/initctl" a Debianism?!
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] shutdown: /run/initctl: No such file or directory ???
2018-03-30 20:36 ` Mike Gilbert
@ 2018-03-30 22:02 ` Tom H
2018-03-31 2:40 ` tuxic
0 siblings, 1 reply; 6+ messages in thread
From: Tom H @ 2018-03-30 22:02 UTC (permalink / raw
To: Gentoo User
On Fri, Mar 30, 2018 at 4:36 PM, Mike Gilbert <floppym@gentoo.org> wrote:
> On Fri, Mar 30, 2018 at 3:56 PM, <tuxic@posteo.de> wrote:
>>
>> just a minute before I wanted to shutdown my Linux box...and...
>> shutdown: /run/initctl: No such file or directory
>
> See bug 651990. https://bugs.gentoo.org/651990
>
> Either upgrade to sysvinit-2.89-r1, or run the following command
> before rebooting or changing runlevels.
>
> ln -s /dev/initctl /run/initctl
2.89?! A new version after so many years!
Looking at the upstream changelog:
Added Robert Millan's Debian patch to use /run/initctl as the named pipe
for communicating. This works around a limitation on the kFreeBSD branch
which prevents us from using /dev/initctl for pipes.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] shutdown: /run/initctl: No such file or directory ???
2018-03-30 22:02 ` Tom H
@ 2018-03-31 2:40 ` tuxic
0 siblings, 0 replies; 6+ messages in thread
From: tuxic @ 2018-03-31 2:40 UTC (permalink / raw
To: gentoo-user
On 03/30 06:02, Tom H wrote:
> On Fri, Mar 30, 2018 at 4:36 PM, Mike Gilbert <floppym@gentoo.org> wrote:
> > On Fri, Mar 30, 2018 at 3:56 PM, <tuxic@posteo.de> wrote:
> >>
> >> just a minute before I wanted to shutdown my Linux box...and...
> >> shutdown: /run/initctl: No such file or directory
> >
> > See bug 651990. https://bugs.gentoo.org/651990
> >
> > Either upgrade to sysvinit-2.89-r1, or run the following command
> > before rebooting or changing runlevels.
> >
> > ln -s /dev/initctl /run/initctl
>
> 2.89?! A new version after so many years!
>
> Looking at the upstream changelog:
>
> Added Robert Millan's Debian patch to use /run/initctl as the named pipe
> for communicating. This works around a limitation on the kFreeBSD branch
> which prevents us from using /dev/initctl for pipes.
>
Hi,
thanks for all the help.
An update this morning has fixed the problem...but good to know
the backgrounds and workarounds, if anything like that happens
again... ;)
Cheers!
Meino
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2018-03-31 2:40 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-30 19:56 [gentoo-user] shutdown: /run/initctl: No such file or directory ??? tuxic
2018-03-30 20:27 ` karl
2018-03-30 20:36 ` Mike Gilbert
2018-03-30 22:02 ` Tom H
2018-03-31 2:40 ` tuxic
2018-03-30 21:30 ` Tom H
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox