On Sun, 19 Nov 2017 20:32:07 +0100, Arnt wrote in message 
<20171119203207.183fc35c@d44>:

> On Sun, 19 Nov 2017 18:52:13 +0100, Didier wrote in message 
> <[email protected]>:
> 
> > Le 19/11/2017 à 15:10, Jaromil a écrit :  
> > > hi all
> > >
> > > Can anyone clarify how /etc/rc.local is being removed in Debian 9?
> > >   
> > 
> >      Dunno how difficult it is to re-create rc.local functionality
> > under Systemd dictature, but, when init is sysvinit, this doesn't
> > look like a diffcult problem. Therefore, don't care (-:
> > 
> >          Didier  
> 
> ..looks like we are _the_ /etc/rc.local back-up distro. ;o)
> 
> ..I did a wee razzia, it's been quietly gone for quite a while, 
> maybe since the 2014 systemd coup in Debian:


..like any common razzia raider, I goofed ;o), we still have 
/etc/init.d/rc.local, but /etc/rc.local is gone: 
root@d44:~# ll /etc/init.d/rc.local &&dpkg -l initscripts |grep ^ii
|fmt -tu 
-rwxr-xr-x 1 root root 820 May 29  2015 /etc/init.d/rc.local
ii initscripts 2.88dsf-59.2+devuan2 amd64 scripts for initializing and
   shutting down the system
root@d44:~# 
rir:~# ll /etc/init.d/rc.local &&dpkg -l initscripts |grep ^ii |fmt -tu
-rwxr-xr-x 1 root root 820 Apr 21  2014 /etc/init.d/rc.local
ii initscripts 2.88dsf-59 armhf scripts for initializing and shutting
   down the system
rir:~# 
root@raspberrypi:~# ll /etc/init.d/rc.local &&dpkg -l initscripts |grep
^ii |fmt -tu -rwxr-xr-x 1 root root 782 Oct 15
2012 /etc/init.d/rc.local ii initscripts 2.88dsf-41+deb7u1 armhf
scripts for initializing and shutting down the system
root@raspberrypi:~# 

> ..found it on a live usb in a laptop with a broken screen:
> arnt@d44:~$ ssh -Y [email protected]
> Password: 
> [root@localhost ~]# dpkg -S /etc/rc.local
> -bash: dpkg: command not found
> [root@localhost etc]# uptime
>  20:10:18 up 195 days,  8:06,  2 users,  load average: 0.31, 0.09,
> 0.03 [root@localhost ~]# mc
> [root@localhost etc]# man rpm
> [root@localhost etc]# rpm -qf /etc/rc.local 
> initscripts-9.25-19pclos2014
> [root@localhost etc]# 
> 
> ..we have _some_ competition... ;o)

-- 
..med vennlig hilsen = with Kind Regards from Arnt Karlsen
...with a number of polar bear hunters in his ancestry...
  Scenarios always come in sets of three: 
  best case, worst case, and just in case.
_______________________________________________
Dng mailing list
[email protected]
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng

Reply via email to