/srv/irclogs.ubuntu.com/2013/12/13/#ubuntu-server.txt

thurstylarkis there a specific place that it is prefered i go to ask about minecraft server questions, or can I ask here?01:11
=== gfrog_meeting is now known as gfrog
shodan45does /boot have some magical (apparmor? selinux?) size limit? I don't have a separate partition, just a single big one, yet I'm getting out of space errors when trying to update kernels.08:38
shodan45and if so how do I get rid of the #^%@!*& thing? >_>08:38
cfhowlettshodan45, spring cleaning time: empty out the old kernels08:38
shodan45cfhowlett: apt won't let me, no matter what I do, I get out of space errors from apt08:40
shodan45I have 1.3GB free space; I have no idea why it thinks it's out of space.08:41
shodan45which goes back to my original question: does /boot have some "invisible" space limit?08:42
cfhowlettshodan45, dannnngggg!  I feel for you.  IIRC, boot is where the kernels get store.  linux doesn't autodelete upgraded kernels for obvious reasons and the "running out of space" alert doesn't seem to be designed in so ... one day you log in and no go.08:42
cfhowlettshodan45, ask in channel or over on #ubuntu - I've only hit this error myself one time.  deleting old kernels doesn't require apt08:42
shodan45cfhowlett: this is particular to ubuntu (debian?)... never seen this in RHEL >_>08:43
cfhowlettshodan45, I don't have enough background to answer that08:44
cfhowletthttps://help.ubuntu.com/community/Kernel08:44
maxbThere is no invisible space limit on /boot unless it's a separate partition08:44
maxbperhaps you should pastebin the output of 'df -h' so we can be sure about your filesystem layout08:45
shodan45maxb: sure. http://paste.ubuntu.com/6565613/08:47
maxbHmm... I don't suppose you're in a VM with a sparsely allocated disk image, and the host has run out of space and can't expand it?08:48
maxb(Noting that your root is a virtio device)08:48
shodan45I asked about some "invisible" space limit because /boot is almost at 128MB: http://paste.ubuntu.com/6565618/08:49
cfhowlettshodan45, mine is at 94 ...08:50
cfhowlettshodan45, and didn't I read that /boot is auto set to 100 MB?08:50
shodan45maxb: it's a KVM VM, and the disk image is located in the same place as that ~3TB /storage NFS mount08:50
shodan45cfhowlett: I use custom partitioning08:51
maxbI think it's definitely worth double-checking that there's free space where the disk image is located before puzzling on it further08:51
=== Ursinha-afk is now known as Ursinha
shodan45here's apt complaining about no space left: http://paste.ubuntu.com/6565631/08:53
shodan45not seeing anything in dmesg either08:54
maxbThe pathname in the error shows that it's not /boot that's the problem08:55
maxbOh, also, you could be out of inodes08:55
shodan45maxb: ahhh didn't think of that08:55
shodan45although, not sure how or why that could happen, this VM doesn't do much08:56
maxbshodan45: 'df -i'08:56
shodan45maxb: bingo :) 99% used08:56
shodan45maxb: thanks!08:57
maxbYou're welcome :-)08:57
* shodan45 learned to not take his inodes for granted today09:02
* cfhowlett learned he doesn't know his inodes from his unodes09:02
jamespagezul, adam_g: https://code.launchpad.net/~james-page/swift/daemon-test-fix/+merge/19889209:25
jamespagewell infact any ubuntu-server-dev or core-dev would do09:26
jamespage:-)09:26
jamespagerbasak, ^^09:26
yolandajamespage, have you seen feedback about API headers? https://review.openstack.org/#/c/61128/09:26
jamespageyolanda, makes alot of sense09:27
jamespagedo it in one place, then everything gets it09:27
jamespageyolanda, its positive it was not a nack09:28
jamespagebut a - just do it somewhere else :-)09:28
yolandai can take a look, they aren't objecting about sending extra headers in API calls, yes09:28
jamespageyolanda, +109:28
yolandai'll take a look today, will be great if we fix it on one place for all the packages09:29
igalicI have the following cron job: * */3 * * * /usr/local/sbin/backup-gitlab.sh -- which produces the following, disk-filling backups: http://dpaste.com/1502915/ and.. I'm an idiot.09:51
jjohansenstgraber, hallyn_: right. Its similar to the none stacking case with namespaces09:51
jjohansen  apparmor_parser -n <nsname> profile09:51
jjohansenwill load a profile to a namespace nsname, and to execute a task within that namespace09:51
jjohansen  aa-exec -n <nsname> -p <profilename> -- cmd09:51
jjohansenwill run the <cmd> confined by the profile in the namespace. Of course aa-exec is just using the change_profile interface. You can specify the profile and namespace directly09:51
jjohansen  aa-exec -p :nsname://profilename -- cmd09:58
jjohansenis the same as the above aa-exec using -n09:58
jjohansenFor stacking, its similiar you will be able to use the aa-stack cmd, or library fn, but can get the same thing via change_profile09:58
jjohansen  aa-stack -n <nsname> -p <profilename> -- cmd09:58
jjohansenis equiv to09:58
jjohansen  aa-stack -p :<nsname>://<profilename> -- cmd09:58
jjohansenassuming a current profile of <currentprofile> is equiv to09:58
jjohansen  aa-exec -p <currentprofile>//&:<nsname>://<profilename> --cmd09:58
jjohansenthe stack cmd/interface just lets you not have to deal with what the current profile confinement is.09:58
yolandajamespage, one question. I'm trying to collect all peers from rabbitmq, to create the "hosts" settings. But with peer_units() i just have the unit name. Is there any way, given an unit name, to get the private ip? i only see unit_get working with current unit10:12
jamespageyolanda, relation_get(rid, unit, 'private-address')10:13
jamespageyolanda, look at the rabbitmq context - I think it already builds a list10:13
jamespage(I thought about this a bit last cycle)10:13
yolandaok, i'll take a look10:13
=== freeflying_away is now known as freeflying
WinstonSmithhi. i seem to have found a bug related to the kernel and sshd, should i report that in the ubuntu bugtracker or on the kernel bugtracker?12:13
rbasakWinstonSmith: pick the most appropriate one, provide your best explanation of how they're related, and a triager will figure it out.12:25
WinstonSmithrbasak: maybe you could help me to pick the most appropriate?12:26
WinstonSmithas i don't think i am qualified enough to judge that12:27
rbasakHaltingState: one note for http://paste.ubuntu.com/6562305/: when you sync, you probably want to filter on arch as well. Then you won't download other arches' images, and you won't need an arch filter when you create.12:49
rbasakSorry, that was for hallyn_ ^^12:49
=== gary_poster|away is now known as gary_poster
=== psivaa_ is now known as psivaa
zuljamespage:  when you get a chance: https://code.launchpad.net/~zulcss/trove/trove-cleanups13:43
jamespagezul, ditto the swift fixup above13:43
zuljamespage:  rbasak already +1ed it13:43
jamespagezul, sorry - missed that13:43
jamespage(was away)13:44
zulno worries13:44
zuljamespage:  thats why you have someone semi-conscious watching your back :)13:44
jamespagezul, good work on re-enabling swift units tests btw13:52
jamespagenice one13:52
zuljamespage:  thanks13:52
jamespagezul, swift needs a bit of polish - we are missing some upstart configurations and the man pages are all in one package13:54
jamespagezul, I'll add it to the blueprint13:54
zuljamespage:  ok13:55
zuljamespage:  so what do we say if our packages are rpms :)13:56
jamespagezul, ?13:56
zuljamespage:  power openstack doc13:56
jamespagezul, btw I have the openstack-on-openstack stuff working now with neutron overlay networking13:59
jamespageI can float IP's and everything13:59
jamespagezul, havana introduced some stuff that we needed14:00
jamespage(namely mac-address learning)14:00
jamespageso its all good now14:00
zuljamespage:  sweet14:00
jamespagezul, the procedure is pretty much as on bare metal14:00
jamespagebut post deployment you add an extra nic to the quantum gateway and set it in its configuration14:00
jamespagethen TADA!14:00
zuljamespage:  docs?14:01
zuljamespage:  we could possibly use this for lxc ci testing14:01
jamespagezul, dude - I only just hacked it together - docs next week!14:03
jamespagezul, I'm going to write up the juju-deployer configs, (and give those to jcastro as well) and then try to automate some testing that way14:03
jamespageI was going to try to have a pre-christmas week hack on the CI bits we need14:04
jamespagearchive manager, build nodes, jenkins etc...14:04
zuljamespage:  coolio!14:04
smoserrbasak, http://status.qa.ubuntu.com/reports/ubuntu-server/cloud-archive/cloud-tools-next_versions.html14:14
smoseruvtool failed to build, could you just look at that ? i've done nothing more than look at that chart14:14
smoserand while i'm bothering you...14:17
smoserhttps://code.launchpad.net/~smoser/uvtool/sm-features00/+merge/19883814:17
rbasaksmoser: I know why it failed to build. I'm doing stuff in tests that precise doesn't have. I didn't realise that uploading to trusty would make the backport attempt happen automatically, sorry.14:21
rbasaksmoser: I'm confused by patch_filters.14:26
=== mjohnson15_2 is now known as mjohnson15
rbasaksmoser: line 196 of the diff. Shouldn't that be % f?14:27
rbasaksmoser: and then line 197 will never match if the user said "trusty"14:28
rbasaksmoser: also, what if the user says "release=trusty"?14:28
smoserrbasak, yes. line 196 is wrong14:29
smoserif user says release=trusty they dont get this behavior.14:29
smoserin that case they should explicitly state their mirror.14:29
rbasakI think that's surprising. I think "trusty" could reasonably be expected to be an exact alias of "release=trusty"14:30
rbasakAlso, what about "... sync release~(saucy|trusty)"?14:30
smoserthats fine. you can do that if you wnt.14:30
smoserright.14:30
smoserthats why you dont.14:30
smoserdont bother.14:31
rbasakWith Ubuntu-specific knowledge, I know that release in the released stream correlates to release in the daily stream.14:31
zetheroo1what is the default Chunk size for a RAID1 mirrored array?14:32
smoserrbasak, yeah. you could just hit them both, and filter out 'daily'  somehow.14:32
rbasakzetheroo1: easiest to check /proc/mdstat?14:32
smoserbut that requires the same basic flaw.14:32
smoserinterpreting 'label~(alpha1|beta2|release)'14:32
zetheroo1rbasak: cat /proc/mdstat is not showing me much info14:33
ikoniazetheroo1: 64k I think14:33
rbasakzetheroo1: perhaps mdadm -E?14:34
zetheroo1ikonia: ok14:35
zetheroo1hmmm ... no Chunk Size info14:35
zetheroo1http://paste.ubuntu.com/6566983/14:35
rbasakzetheroo1: oh, RAID 1. In that case, what do you mean by chunk size?14:36
zetheroo1I am using Webmin to make a RAID1 mirror and it's asking what Chunk Size I want14:37
rbasakI could be mistaken, but I didn't think that chunk size made any sense on RAID 1.14:37
rbasakWhat does it mean, anyway?14:37
rbasakAlso,14:37
zetheroo1I read that RAID1 doesn't use chunk size ...14:37
rbasak!webmin | zetheroo114:37
ubottuzetheroo1: webmin is no longer supported in Debian and Ubuntu. It is not compatible with the way that Ubuntu packages handle configuration files, and is likely to cause unexpected issues with your system.14:37
zetheroo1but it's still asking me14:37
zetheroo1well we are using Ubuntu 12.04 ... and I think it was compatible with it back then ... no!?14:38
rbasakI don't think so.14:38
ikoniazetheroo1: it must use a chunk size as the disk is made up of blocks14:38
ikoniazetheroo1: it's been dead since before 10.04 (webmin014:39
ikoniawebmin14:39
zetheroo1oh shucks14:39
zetheroo1and there is no replacement or alternative ... ?14:39
rbasakzetheroo1: look into Zentyal. I'm not sure if it's an exact equivalent, though.14:39
ikoniathey pushed ebox for a while....but I'd look at it before trying to use it14:39
zetheroo1rbasak: Zentyal is an entire server built on a Ubuntu backdrop - no!?14:40
=== rdw200169_ is now known as rdw200169
zetheroo1how do you see which groups a user is member of?15:02
jrwrenzetheroo1: the id command is one way, maybe?15:04
zetheroo1ok15:04
zetheroo1doesn't look like zentyal is anything like webmin ...15:08
zetheroo1webmin was all about administrating the server itself ... too bad it's not compatible any longer ...15:08
jrwrendoes ssh a shell, coreutils and vim count as 'an alternative'?15:10
zetheroo1nope ;)15:11
jrwrenevery once in a while I wish I had a web interface15:11
zetheroo1but it looks like I have to stick to ssh term for now :P15:11
jrwrenmore for diagnostics than admin15:11
jrwrenbut maybe common admin tasks.15:12
zetheroo1it's strange that there are so many how-to's for installing it in 12.04 and even for 13.04 ...15:12
zetheroo1well I especially liked it for the RAID GUI15:12
clientHello15:31
hallyn_rbasak: yeah one of the examples in my blog used arch to sync right?  At home I don't care, I've got a fat pipe.15:42
clienthallyn_ is it possible to setup A records if you're given a DNS without some CPanel type of setup?15:43
ikoniaclient: of course15:43
ikoniaclient: you set it up on the dns server15:43
clientikonia the DNS server is being provided by my VPS host. How would I get access to it?15:45
ikoniaclient: ask the vps host15:45
clientikonia, they recommend that clients use their DNS network. Can it really make a difference using a different DNS?15:46
ikoniaclient: yes15:46
clientikonia how close should the DNS be to the actual server?15:48
ikoniaanywhere you want15:49
ikoniano set rule15:49
clientOkay, I guess I will use 1 european DNS and 1 somewhere in the states15:50
ikoniawhy would you do that ?15:50
clientMost of my users are in Europe and the States15:51
ikoniaclient: are you talking about dns servers as a resolver or as a host of your domain records15:52
clientikonia my host calls it "DNS provider"15:54
ikoniaclient: not asking what your host calls it, I'm asking what it does technically15:54
clientThey fail to mention that ikonia15:56
rbasakhallyn_: right16:08
=== darmok_ is now known as darmok
=== marrusl_ is now known as marrusl
jamespagekrtaylor, hey!17:59
krtaylorjamespage, hey!18:00
=== justizin_ is now known as justizin
=== genii_ is now known as genii
=== freeflying is now known as freeflying_away
=== freeflying_away is now known as freeflying
QnD Does anyone know a way of hardening against the ptmx exploit  on 12.04 server22:18
QnDhello ?22:20
QnDim gettn my box slammed and need to harden it quick..... but there seems to be no info about this exploit22:21
sarnoldQnD: do you have a CVE number handy?22:26
QnDyeh 1sec... thx22:27
sarnoldQnD: hrm, is this it? http://people.canonical.com/~ubuntu-security/cve/2013/CVE-2013-0160.html22:27
uvirtbotsarnold: The Linux kernel through 3.7.9 allows local users to obtain sensitive information about keystroke timing by using the inotify API on the /dev/ptmx device. (http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-0160)22:27
QnD(CVE-2013-0160  several cve's dependin on attack22:28
uvirtbotQnD: The Linux kernel through 3.7.9 allows local users to obtain sensitive information about keystroke timing by using the inotify API on the /dev/ptmx device. (http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-0160)22:28
QnDyeh22:28
sarnoldQnD: do you have one of those, or newer, kernels installed?22:29
QnDthat and for some reason udev is actually mounting a strange device as /dev... im assuming for rkit purpose unless ubuntu has changed to some strange practice lol22:29
QnDim on plain ol 12.04.3 server22:30
QnDsystem got walked through like it was standing still a few times....22:30
QnDim ready to try to honeypot the attack without using a prepackaged service22:31
QnDim at a loss22:33
QnDsarnold r u still there ?22:38
sarnoldQnD: yeah22:39
QnDany ideas on those issues... im stumped22:41
mbnoimiDoes any one know any NAT 2 NAT server? I want to use a remote desktop by VNC in similar way to TeamViewer22:41
sarnoldQnD: do you have the latestkernel updates installed? did you reboot into those newer kernels?22:42
QnDi tried both leaving it alone and with current sec updates including kernel22:43
QnDit looks like all kernels are getting hammered...22:43
QnDi updated a box and dumbed it down to just sshd running and I got hit22:44
sarnoldQnD: how exactly did you discover that one of your users / processes was timing keystrokes via inotify?22:44
QnDbasically I noticed FS changes22:46
QnDI had btrfs mirroring to a /dev that was logging stuff.... great idea... but not good !22:46
QnDi/dnode inconsistancies when I loaded backtrack to check out drive offline22:47
QnDit is a bad state when OSX takes lead for security :(22:48
=== gary_poster is now known as gary_poster|away

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