john876 2017-01-26 04:57:58
hi all ... i need a bit of help with update-rc.d and insserv
somiaj 2017-01-26 04:58:31
john876: on jessie? Are you using sysvrc or systemd?
john876 2017-01-26 04:58:50
i wrote a simple script that is suppose to run during boot and kill during halt
somiaj 2017-01-26 04:58:52
john876: update-rc.d still works, but with systemd systemctl gives you more control. inserv may not work with all systemd services (unsure)
somiaj 2017-01-26 04:59:10
john876: if using systemd, you should write a unit file for your script.
john876 2017-01-26 04:59:15
..but i dont want to stop it during reboot
john876 2017-01-26 04:59:53
this is raspbian. i tried the raspbian channel yesterday but did not get a pip
somiaj 2017-01-26 05:00:52
you do know that raspbian is not debian and not supported here and you are still asking?
somiaj 2017-01-26 05:01:23
anyways, unsure what init system raspbian went with. the 'not stop at reboot' seems like a strange condition because a reboot is still a halt, and the system completely shuts down.
jhutchins_wk 2017-01-26 05:07:10
somiaj: If the system shut down completely, how would it be able to boot?
somiaj 2017-01-26 05:08:29
jhutchins_wk: I assumed that was done by the bios, so the actual shutdown call to the hardware is different at the end, but all actual services that are running would be shutdown normally (As opposed to just beign killed)
somiaj 2017-01-26 05:09:01
so I guess it just seems weird to me to not want to shut down a service properly if rebooting.
john876 2017-01-26 05:09:28
how does it differentiate with runlevel 0 and runlevel 6?
john876 2017-01-26 05:09:47
oops moving to #raspbian
somiaj 2017-01-26 05:10:19
john876: if using systemd, runlevels aren't used, maybe systemd has a flag to do something different on a reboot call vs a shutdown call.
somiaj 2017-01-26 05:11:34
oh my system the only difference between the links in those runlevels is the last call, either a halt or shutdown call.
john876 2017-01-26 05:11:35
oh that explains a lot. thanks somaij
somiaj 2017-01-26 05:12:27
I guess you could have more differences, but besides for the actual hardware call or maybe what you log, I don't see why you wouldn't want to properly kill all services during a reboot.
somiaj 2017-01-26 05:13:13
http://unix.stackexchange.com/questions/284598/systemd-how-to-execute-script-at-shutdown-only-not-at-reboot
john876 2017-01-26 05:14:33
i am ok for killing it during reboot, i dont understand when i have it killed in rc0.d and not in rc6.d. so i kept asking why??? your systemd comment explains that
hmuller 2017-01-26 05:17:14
is there a document that describes the rationale for the packages that go into a debootstrap base and minbase variants?
jasonmax_ 2017-01-26 05:17:47
Is debian good for KVM?
Night_Elf 2017-01-26 05:26:38
Hi all. I want to have a look at Docker, and am reading here: https://docs.docker.com/engine/installation/linux/debian/ But while it mentions some debian packages linux-image-extra-* I actually can't seem to find these.
Night_Elf 2017-01-26 05:26:49
Do these packages exist?
TomTomTo1 2017-01-26 05:29:24
,i linux-image-extra-virtual
judd 2017-01-26 05:29:25
No package named 'linux-image-extra-virtual' was found in jessie/amd64.
TomTomTo1 2017-01-26 05:29:37
,i linux-image-extra-3.16.0-4-amd64
judd 2017-01-26 05:29:38
No package named 'linux-image-extra-3.16.0-4-amd64' was found in jessie/amd64.
TomTomTo1 2017-01-26 05:30:19
no such thing. looks like it actually applies to some versions of ubuntu instead. ^^
jelly 2017-01-26 05:34:14
Night_Elf: whoever wrote that does not know enough about debian
Night_Elf 2017-01-26 05:34:24
TomTomTo1: I see. Sounds reasonable.
msev- 2017-01-26 05:34:28
does anyone here have an orange pi zero :D
Night_Elf 2017-01-26 05:34:29
jelly: dito.
redrabbit 2017-01-26 05:35:24
msev-: lol
otyugh_II 2017-01-26 05:41:58
hey
otyugh_II 2017-01-26 05:42:17
I've got some key of a laptop (combined with "fn") which does no output into xev
otyugh_II 2017-01-26 05:42:27
any idea how I could bind them to something again ?
somiaj 2017-01-26 05:42:54
depends, it could be they keycode it generates is being intercepted by your WM and not making it to xev so you won't see it
somiaj 2017-01-26 05:43:22
it could be that combination never generates a keycode, I've seen some models have fn+button that trigger firmware actions but don't send keycodes to the os