/srv/irclogs.ubuntu.com/2017/09/27/#ubuntu-server.txt

naccstokachu: in the conjure-up snap, why don't you stage the conjure-up part's usr/lib/python3.5? Isn't that where site-packages get installed to? And also since it's after python3.6, wouldn't it be 3.6?00:17
naccstokachu: nm on the first, i see it's usr/lib not lib/python00:17
brianwnice work on lxd integration!01:27
=== dkh is now known as notdaniel
=== brianw_-_-_ is now known as brianw
=== lfrlucas_ is now known as lfrlucas
=== Raboo_ is now known as Raboo
=== PaulePan1er is now known as PaulePanter
lordievaderGood morning06:12
=== ikonia_ is now known as ikonia
funabash1hi huys how can i kill tcp        0      0 127.0.0.1:6379          0.0.0.0:*               LISTEN      5140/redis-server 1 ?08:15
funabash1kill -9 pid doesnt work it restarts again with a new pid. /etc/init.d/redis-serer doesnt exists08:16
azidhakasystemctl stop redis(-server) ?08:19
rh10guys, which approach better and more secure: i setup access via ssh using keys, but anyway i need pass to execute some root command08:31
andolrh10: Not sure I understand your question fully, but sounds like you might want to configure sudo to allow you to run that specific command without having to enter a password.08:33
rh10andol, yep. is most properly way to do it in ubuntu using NOPASSWD option in sudoers?08:35
andolrh10: Yepp, NOPASSWD would be it, and (again) preferably having that sudouers entry be restricted to running a particular command.08:38
rh10andol, got it, thanks08:39
rh10another question. is ubuntu docs (official, community, wiki available as packages for install in disconnected networks?08:41
funabash1guys anyone know a tool for check if your ubuntu server are secured ?09:01
=== dasjoe_ is now known as dasjoe
andolfunabash1: How you define secured? Out of the box an Ubuntu server is reasonably secure. Then there are plenty of ways you can create users, install services, etc and make it less secure.09:06
andolfunabash1: On the other hand, if you want it to be secure in a boolean sense there is always the option to both pull the network chord as well as the power chord.09:06
andolfunabash1: Anyway, what tools can help you with is that they can warn you about (obvious) insecurities, but the lack of such discoveries doesn't translate into the server being "secure" per se.09:09
funabash1andol: like a vulnerability scanner09:10
funabash1patched version of programs etc09:10
funabash1lynis maybe is a good tool09:11
=== Into_the_Pit is now known as Frickelpit
=== sobukus_ is now known as sobukus
=== israfel- is now known as israfel
nixadminHi all10:53
nixadminCurrently now server using 99% of my memory, In linux how can i find the exact amount of memory you would need?10:53
adacok now be honest who of you is Mark Shuttleworth? :-)11:14
adacthought this is a nice system montitor, maybe ubuntu likes to add to their packages: https://github.com/aksakalli/gtop11:15
wretchedspiritadac gtop looks pretty11:28
wretchedspirithtop is always an option too11:29
wretchedspiritand it's in the repositories11:29
adacwretchedspirit, yeap using that one :)11:37
adacmean htop already. very handy11:37
wretchedspirithell yeah11:38
Walexadac: it is based on 'node.js'!!!!!! :-(12:08
adacyeah :/12:15
stanfordtoolswhen I push to git, I'd like my remote server to pull automatically, so that my website is updated. What's the best way to make this automatic? Maybe instead of just pushing I can run another command that pushes and pulls remotely. But how can I make such script?12:17
lordievaderstanfordtools: You mean something like: https://www.digitalocean.com/community/tutorials/how-to-set-up-automatic-deployment-with-git-with-a-vps12:26
stanfordtoolsno12:37
stanfordtoolswell, kinda12:37
stanfordtoolsI don't want a bare repo12:37
lordievaderI don't think that that matters. The point of the tutorial is the post-receive scripts.12:38
stanfordtoolslordievader, I don't need those. I found a way to git pull via ssh12:53
stanfordtoolsso, i think that's all i need12:53
lordievaderI guess I misunderstand what you want then.12:54
=== JanC_ is now known as JanC
=== mundus2018 is now known as mundus
=== genii_ is now known as genii
=== hehehe is now known as hehehe_away
=== hehehe_away is now known as hehehe
naccdpb1: rbasak: i think i've fixed all the segfaults on x on a, still working through the python dependency chain to make sure the integration tests pass20:04
naccrbasak: you mentioned writing a test for the changelog case I hit yesterday (that is, dpkg-parsechangelog skipping some entries). How do I do that in pytest?20:04
rbasaknacc: drop a changelog file that exhibits the problem, and a test function that asserts it?20:06
rbasakI don't really know how else to answer the question, sorry.20:07
naccrbasak: we would just be testing dpkg-parsechangelog?20:07
naccrbasak: so i'm not sure what the test shows us other than you can't rely on the behavior on certain distros20:07
rbasaknacc: I'm suggesting a test that verifies that the behaviour is the one that we expect, that's all.20:08
rbasakSo the test will instantly fail if using a wrong dpkg-parsechangelog.20:08
naccrbasak: right, but I'm trying to understand who uses that test?20:08
naccand I don't expect someone runnning from git on xenial to run the unit tests before using the tooling20:08
naccsince that seems like the 'use case' -- to konw that you can't do that :)20:08
naccrbasak: i suppose we could have git ubuntu do self-tests on startup and fail to run unless you're on a 'good' OS20:13
naccthe snap would somehow avoid that, i thinkn20:13
naccat the same time, the fix is probalby to fix dpkg-parsechangelog on xenial :)20:14
rbasaknacc: that's a good point. I had assumed the test would fail if we do it wrong, but as you point out there's a build time vs. runtime distinction.20:28
naccrbasak: yeah, it's messy :)20:28
naccimplies, to me, that dpkg-dev needs the unit test20:28
rbasaknacc: perhaps we should run our test suites (or a subset that is possible) after building a snap, from the snap?20:28
naccrbasak: yeah, i was going to try that next (via our jenkins job)20:28
nacci think i'll need to switch to a shell20:29
naccbut also means i'll need to snap pytest :)20:29
naccso not a priority itself yet20:29
naccpytest-3, rather20:29
rbasakThis feels like a common problem for all snappers to me.20:29
rbasakAs-installed testing for snaps.20:29
rbasakA bit like dep8.20:29
naccjust asked that i #sanppy20:29
nacc*snappy20:29
* nacc needs to clean under the n key20:30

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!