kosta7 2017-03-02 04:45:05
BluesKaj, yes maybe i should put it on my weekly cron
sulfyr 2017-03-02 04:45:12
k1l: does it keep the last used kernel or wipe them all?
k1l 2017-03-02 04:45:48
sulfyr: it will keep the last 2 kernels
sulfyr 2017-03-02 04:46:10
nice, thanks!
BluesKaj 2017-03-02 04:46:40
sh0t, not if you add the line , options snd-hda-intel index=0 to this file, /etc/modprobe.d/alsa-base.conf
kosta7 2017-03-02 04:47:23
k1l, I still have 12 kernels after autoremove, maybe i should reboot and try again, i think i am not running the latest
sh0t 2017-03-02 04:47:47
ok
sh0t 2017-03-02 04:47:47
thanks BluesKaj
Frantic 2017-03-02 04:47:53
Guys, I'm trying to figure out exactly what net.core.somaxconn does, but when I google for it I get a zillion articles about tuning connections and etc, but never the description of what it does
k1l 2017-03-02 04:48:00
kosta7: are that ubuntu kernels from the repo?
Frantic 2017-03-02 04:48:04
Any idea where I can find a man page or something similar of the sysctl values?
k1l 2017-03-02 04:48:28
kosta7: "dpkg -l | grep linux-image | nc termbin.com 9999"
kosta7 2017-03-02 04:48:50
k1l, yes, whatever came with automatic updates
kosta7 2017-03-02 04:48:54
sure
kosta7 2017-03-02 04:49:20
http://termbin.com/asl5
kosta7 2017-03-02 04:49:45
that's pretty cool that you can redirect your output directly through a socket
BluesKaj 2017-03-02 04:49:53
sh0t, hope it works for you , things are chnaging fast on the 'buntus so there's no guarantee
sh0t 2017-03-02 04:50:01
yeah
sh0t 2017-03-02 04:50:01
i can see that :)
EriC^^ 2017-03-02 04:50:24
kosta7: 3 kernels there still
EriC^^ 2017-03-02 04:50:24
kosta7: type uname -r
kosta7 2017-03-02 04:50:38
EriC^^, i am currently on .63
BluesKaj 2017-03-02 04:50:51
ok , got some snow to push here, ...big storm last night
BluesKaj 2017-03-02 04:50:56
BBL
genii 2017-03-02 04:51:17
Luckily none here
pavlos 2017-03-02 04:51:36
kosta7, 63 appears removed (rc in the beginning
kosta7 2017-03-02 04:51:47
BluesKaj, we were lucky, we just got a little bit of snow
BluesKaj 2017-03-02 04:51:57
genii, I have 4ft snow drift across the driveway
kosta7 2017-03-02 04:52:22
ohh that's what rc means haha
k1l 2017-03-02 04:52:29
kosta7: only the "ii" ones are isntalled.
EriC^^ 2017-03-02 04:52:38
kosta7: dpkg -l | awk '$1 == "rc" && /linux-image/ {print $2}' | xargs sudo apt-get -y purge
EriC^^ 2017-03-02 04:52:39
kosta7: oh, 63 has been removed btw
kosta7 2017-03-02 04:52:39
why would it remove the kernel i am currently running ?
k1l 2017-03-02 04:52:53
kosta7: rc only means that there are the config files left
EriC^^ 2017-03-02 04:52:58
kosta7: sudo apt-get remove linux-image-4.4.0-{62,64}-generic linux-image-4.4.0-63-generic+
kosta7 2017-03-02 04:53:27
yes i got it now, thank you for clearning that out
kosta7 2017-03-02 04:53:45
EriC^^, i don't want to risk that, i want to have at leats 3 kernels to choose :)
kosta7 2017-03-02 04:54:04
I already know that my current kernel won't be there on the next boot
EriC^^ 2017-03-02 04:54:17
kosta7: first command will remove all rc ones, second will remove 62 and 64 and leave you with 65 and will reinstall 63 in case you need to boot into it after restarting
EriC^^ 2017-03-02 04:54:55
kosta7: ;)
multifractal 2017-03-02 04:56:30
How do I find out where apt-get has put a package? I'm looking for a particular .so file called libsatlas.so
b4r 2017-03-02 04:56:31
hello
EriC^^ 2017-03-02 04:56:45
multifractal: try "locate libsatlas.so"
b4r 2017-03-02 04:56:52
is this where I report the issue pasted here? https://dpaste.de/x6eY can someone help report for me?
kosta7 2017-03-02 04:57:54
EriC^^, I understand what they do :)
EriC^^ 2017-03-02 04:58:46
kosta7: then why'd you say EriC^^, i don't want to risk that, i want to have at leats 3 kernels to choose :)
EriC^^ 2017-03-02 04:58:46
kosta7 2017-03-02 04:59:36
yes, i am talking about 63, my poor kernel is gone
EriC^^ 2017-03-02 04:59:59
yes i'm saying the command reinstalls it, the 63-generic+ at the end will actually install it
kosta7 2017-03-02 05:00:10
ohh my bad, i am running 62
kosta7 2017-03-02 05:00:21
need more coffee
EriC^^ 2017-03-02 05:00:26
:D
kosta7 2017-03-02 05:01:11
so it literally kept my current kernel and last 2, smarty pants
EriC^^ 2017-03-02 05:01:41
yeah, not bad
kosta7 2017-03-02 05:03:21
i think i am gonna go back to freebsd, i used to reboot every couple of years and if i needed any kernel changes i would use kldload
EriC^^ 2017-03-02 05:05:04
kosta7: never used freebsd, i like ubuntu though
compdoc 2017-03-02 05:05:23
so its a bad to apply updates and then reboot?
kosta7 2017-03-02 05:05:39
well Ubuntu has a good community, that's what I love about it
ducasse 2017-03-02 05:05:42
multifractal: also 'dpkg -L packagename' or 'apt-file -F packagename'
k1l 2017-03-02 05:07:29
kosta7: ubuntu/canonical offers free livepatching for the kernel for 3 machines
xangua 2017-03-02 05:09:02
And doesn't redhat has a similar tool?
aotaointbin 2017-03-02 05:09:05
rpm and yum?
xangua 2017-03-02 05:09:27
aotaointbin: livepatch
aotaointbin 2017-03-02 05:09:28
or are you talking about livepatching for the kernel :P
aotaointbin 2017-03-02 05:09:30
sorry :P
k1l 2017-03-02 05:09:32
redhat/oracle have ksplice but they dont offer a free service
akik 2017-03-02 05:10:30
ksplice is free for ubuntu desktop and fedora
k1l 2017-03-02 05:10:44
well, oracle is using ksplice, redhat/suse use kpatch/kgraft.
k1l 2017-03-02 05:11:39
akik: the technology is open source, but you need to maintain the kernelpatches yourself. that is what canonical offers as a free service.
akik 2017-03-02 05:12:12
"Oracle has made the kernel protections from Oracle Ksplice available for free to members of the Linux community for their desktop installations of Ubuntu and Fedora."
k1l 2017-03-02 05:14:53
akik: oh, i see it on ksplice now do you know since when that service is there?
akik 2017-03-02 05:15:39
k1l: no i don't remember but i tested it maybe 3 years ago
k1l 2017-03-02 05:16:21
akik: it wasnt there for free end of 2016
kosta7 2017-03-02 05:16:52
k1l, livepatch sounds pretty cool
akik 2017-03-02 05:17:18
k1l: wikipedia says as of july 2015 https://en.wikipedia.org/wiki/Ksplice
k1l 2017-03-02 05:18:21
akik: ok
kosta7 2017-03-02 05:18:30
do you guys know any good ubuntu/linux magazines ?
ub_ubuntu 2017-03-02 05:21:09
kosta7: Online resources are the best...
matteo_ 2017-03-02 05:24:10
ciaoo
scottjl 2017-03-02 05:24:12
kosta7: online resources are going to be the most up-to-date.
jayjo 2017-03-02 05:25:13
I'm trying to set up a system service to start on launch. I placed a script in /etc/init.d/jupyterhub, is that enough to run sudo service jupyterhub?
scottjl 2017-03-02 05:25:51
jayjo: make sure it has eXecute set (chmod +x jupyterhub)
jayjo 2017-03-02 05:26:50
OK - it has correct permissions. When I run sudo service jupyterhub start - is there a way to get verbose output? Is that part of my init.d script?
scottjl 2017-03-02 05:27:13
your script would have to print any output you want it to have
scottjl 2017-03-02 05:27:44
or you could /etc/init.d/jupyterhub start
jayjo 2017-03-02 05:28:17
Is executing start just executing the do_start component?
scottjl 2017-03-02 05:28:48
it should. did you write this script yourself or was it supplied with jupyterhub?
scottjl 2017-03-02 05:29:13
most standard init scripts include a start, stop, restart, status command
jayjo 2017-03-02 05:29:16
It was supplied - but I can dig in and make modifications. Here is the "guide" with the sript included https://github.com/jupyterhub/jupyterhub/wiki/Run-jupyterhub-as-a-system-service
jayjo 2017-03-02 05:29:22
I don't see a status command
scottjl 2017-03-02 05:29:34
probably just wasn't included
kosta7 2017-03-02 05:31:19
jayjo, you can just create a shell script and put it in /etc/rc.local, unless you really want a service