Maxdamantus 2017-01-24 14:45:57
Is there meant to be a semi-clean way to disable apt running update-grub?
missmbob 2017-01-24 14:47:55
LiENUS: you're welcome
Maxdamantus 2017-01-24 14:48:20
I modified /etc/kernel/{postrm,rm}.d/zz-update-grub a while ago, but when one of those files changed in the grub package, it added a second file with the ".provided" suffix or whatever it is, so that got executed instead.
nO0b 2017-01-24 14:48:51
Maxdamantus, ' # apt-mark hold grub'
Maxdamantus 2017-01-24 14:49:50
nO0b: wouldn'at that prevent grub itself from being updated? That's not what I want.
Maxdamantus 2017-01-24 14:50:16
update-grub is some collection of scripts that generate (and overwrite) /boot/grub/grub.cfg
nO0b 2017-01-24 14:51:15
ah, i c. misinterpreted then
Maxdamantus 2017-01-24 14:53:21
when I said ".provided" I think I meant ".dpkg-dist"
kiki` 2017-01-24 14:54:57
is there any simple alternative to starting a program with nohup to avoid it beeing killed when terminal is closed? for some reason my node repl server doesnt work when starting with nohup .. its socket based.. but i can imagine nohup surpresses that in-stream thats why
missmbob 2017-01-24 14:55:32
kiki`: you could use screen or tmux
kiki` 2017-01-24 14:56:38
missmbob: yes been there and used screen.. but my sysadmin messed up the config and i cant do anything about it
kiki` 2017-01-24 14:56:58
anything else? like nohup but not ignoring input or sth?
missmbob 2017-01-24 14:57:01
use tmux
kiki` 2017-01-24 14:57:14
do i need root access?
kiki` 2017-01-24 14:57:27
since i dont
missmbob 2017-01-24 14:57:29
call your admin and have him fix his shit
stdqqq 2017-01-24 14:57:30
when I start gnu screen, sometimes in situation where there would be the damn console bell, instead the gnu screen hangs for like 5-10 SECONDS and then flashes like a piece of crap
missmbob 2017-01-24 14:57:32
to use? no
stdqqq 2017-01-24 14:57:33
how to disable that?
nO0b 2017-01-24 14:58:38
stdqqq, thats in ur term i guess - see its man for visual bell
kiki` 2017-01-24 14:59:00
so how could a program do something on unix i cant do via shell
missmbob 2017-01-24 15:00:26
i stopped listening. you said "avoid it beeing killed when terminal is closed". i said screen or tmux. you said yes screen was great then your admin fucked it up. was screen not great?
stdqqq 2017-01-24 15:00:41
it's 2017. I really wish debian would have a one simple big option like "fuck you bell / visuall bell, f- you you damn piece of garbage from 80 years ago"
stdqqq 2017-01-24 15:00:53
it's always such a source of dread
kiki` 2017-01-24 15:01:47
i mean .. how is linux like totally conceptuated for terminals but assume to close all running proggies when closing terminal by default
kiki` 2017-01-24 15:02:17
and the only thingy to prevent it is start it nohup ..
stdqqq 2017-01-24 15:02:25
kiki`: nohup yourprogram will start yourprogram in a way where it will ignore closing of terminal
stdqqq 2017-01-24 15:02:34
yeah. what else it needs
kiki` 2017-01-24 15:03:10
yes but nohup also "ignores input stream" causing my socket process in not to work
kiki` 2017-01-24 15:03:38
i guess it does.. since when i start it without nohup it works.. with nohup it doesnt
missmbob 2017-01-24 15:04:24
stdqqq: first thing i do on a new install is go here. i agree it's a piece of shit https://wiki.archlinux.org/index.php?title=PC_speaker&redirect=no#Disable_PC_Speaker
kiki` 2017-01-24 15:04:27
missmbob: yes screen was ok
kiki` 2017-01-24 15:05:52
tmux --help would do sth if its installed?
kiki` 2017-01-24 15:05:59
seems it isnt
kiki` 2017-01-24 15:06:13
you think i can install the binaries locally?
missmbob 2017-01-24 15:06:40
you can remove the screen config if that's what's messed up with that . ~/.screenrc iirc
tw 2017-01-24 15:07:20
`disown` for shells that have that command (bash).
kiki` 2017-01-24 15:07:20
that would be my private screen config. if i had such, i would edit it.
tw 2017-01-24 15:07:27
but you won't be able to get it back.
kiki` 2017-01-24 15:08:04
tw @me?
kiki` 2017-01-24 15:08:21
no need to gather it back at all .. that would be like nohup
kiki` 2017-01-24 15:08:28
will try
tw 2017-01-24 15:09:20
cmd &1 >logfile & ; disown
kiki` 2017-01-24 15:09:27
sure it would be nice to get it back.. but since its a socket repl i should be able to login to it from any other terminal :)
kiki` 2017-01-24 15:11:23
disown wants a job.. so how to do that?
kiki` 2017-01-24 15:11:43
esm & disown?
missmbob 2017-01-24 15:11:46
20:09 < tw> cmd &1 >logfile & ; disown
kiki` 2017-01-24 15:12:08
so & disown
missmbob 2017-01-24 15:12:18
i'd rather use his but sure
tw 2017-01-24 15:12:21
not really, you need to have a job in a background.
tw 2017-01-24 15:12:52
So the & pushes the job to the bg, after redirecting the console so it doesn't stall on IO.
kiki` 2017-01-24 15:12:58
wouldnt & send to background
tw 2017-01-24 15:13:01
Yes.
kiki` 2017-01-24 15:13:05
k
kiki` 2017-01-24 15:13:07
thanks
tw 2017-01-24 15:13:14
then disown dumps it to be cared for by init
binaryc 2017-01-24 15:15:50
Trying to decide on Drive Layout. For the sake of symetry I think i want 4 drive increments (SAS host 4, rack 4 wide, feels right). Pointing me to RaidX2 or RAID10 [mirror] Finding mixed opinion / indecisive what suits me. Can someone give me a shove one direction or the otehr ?
tw 2017-01-24 15:16:48
kiki`: you will likely get processes killed without doing the io redirection via SIGTTOU though, just warning you upfront.
missmbob 2017-01-24 15:21:10
binaryc: you have enough future identical geometry disks or short enough livespan to not care?
hanasaki 2017-01-24 15:39:08
built a custom kernel with the following settings. setenforce permissive or disabled fails and it is still enabled even if set disabled in the config file and rebooted. why is this?
hanasaki 2017-01-24 15:39:08
CONFIG_SECURITY_SELINUX=y
hanasaki 2017-01-24 15:39:08
CONFIG_SECURITY_SELINUX_BOOTPARAM=y
hanasaki 2017-01-24 15:39:08
CONFIG_SECURITY_SELINUX_BOOTPARAM_VALUE=1
kiki` 2017-01-24 15:42:16
tw: cmd &1 >logfile & ; disown // is cmd my command here?
tw 2017-01-24 15:42:27
yes
kiki` 2017-01-24 15:42:35
ah
kiki` 2017-01-24 15:42:52
im dying here
drm 2017-01-24 15:43:02
I have set my JAVA_HOME in /etc/profile and 'source'd it, and I have also set it in /etc/environment and 'source'd it, and yet every time i exit my terminal and open it echoing $JAVA_HOME yields nothing, arent these two files suppose to set JAVA_HOME for all users?
tw 2017-01-24 15:44:57
drm: not all shells read /etc/profile. try /etc/bash.bashrc