/srv/irclogs.ubuntu.com/2016/02/11/#ubuntu-server.txt

=== FunnyLoo_ is now known as FunnyLookinHat
=== Lcawte is now known as Lcawte|Away
=== alexisb is now known as alexisb-afk
acmehendelcan someone suggest how to deploy node on a prod machine?01:46
sarnoldprobably it's best to get it from upstream and sbuscribe to their security list if they've got one; no one tends to the node packages in the archive so they may be a bit stale01:51
sarnold.. unless you want to be the one to tend to the archive packages ;) hehe01:52
acmehendelsay I installed node.js under a user rather than root...how would I have node js launch automatically under services?02:52
sarnoldyou coulduse upstart with proper user and group configuration options http://upstart.ubuntu.com/cookbook/  or you could use vixie cron's @reboot specifier (look in the crontab(5) manpage)02:57
=== rww is now known as rw
=== rw is now known as rww
=== aluria` is now known as aluria
mwhudsonrbasak: do you have opinions about maintaining packages in git vs just using git for merges?08:58
mwhudsonrbasak: and are they written down anywhere?08:58
rbasakmwhudson: in the end I'd like to do both. That makes future merges easier, since every logical change will be a separate commit that could be rebased.09:02
rbasakmwhudson: for now, don't worry about it too much though. The git merge process can adapt ordinary uploads.09:02
mwhudsoni'm not doing a merge here :-)09:02
mwhudsonjust some fairly hairy surgery09:02
mwhudsonrbasak: do you use gbp much?09:03
rbasakmwhudson: not much. I used to. I think git-dch may still make sense.09:03
mwhudsonis that sort of the opposite of debcommit ?09:04
rbasakgbp's import function works well when maintaining an upstream directly09:04
rbasakI never really understood debcommit09:04
rbasakIt just updates debian/changelog with the commit messages from previous commits.09:04
mwhudsoni've used it as a sort of one-off thing, gbp import-dsc current version, hack hack hack, get result uploaded, throw repo away again09:04
rbasakRather than updating debian/changelog with each commit, which is another common pattern.09:05
rbasakAh. For that, I use git-dsc-commit from my merge tooling.09:05
mwhudsonum, i thought it committed to vcs with commit messages taken from d/changelog09:05
rbasakNo, it's the other way round.09:05
mwhudsonbut hey, i have commit rights in debian golang now so ...09:05
mwhudsonit would be nice to maintain the ubuntu stuff in git and push it to lp09:06
mwhudsonextra confusion from us being ahead on upstream version too09:08
mwhudsoneh i guess that doesn't really matter09:08
mwhudsonrbasak: do you have a replacement for gbp import-orig too?09:09
mwhudsonargh now i remember why i dislike gbp: cleaning up after a mistake is such a pain09:27
rbasakmwhudson: no. I use gbp import-orig for example in maintaining MySQL in Debian. But for Ubuntu dev, I just treat upstream as part of the same tree.09:30
rbasak(and just rely on Launchpad to keep the orig)09:30
rbasakmwhudson: also I understand that pristine-tar is considered fundamentally broken and deprecated now.09:31
mwhudsonoh ok09:34
mwhudsonagh well i've messed up my repo enough for one night i think09:37
rbasakUse tags and reset back. Can't mess up a repo then since you can undo everything.09:49
rbasak(and you can use the reflog if you didn't leave tags)09:49
mwhudsonrbasak: well you have to reset back on two branches and delete 1-2 tags09:54
mwhudsonit's not impossible of course, just a bit annoying09:54
rbasakmwhudson: I wonder if there should be some tooling around this. Essentially back up .git/refs and restore it, but in a safer way.10:01
=== Lcawte|Away is now known as Lcawte
rbasakkickinz1: I'm reviewing ntp now. Tag "logical/new-ubuntu" is what I should be reviewing for upload, right?11:23
rbasakCommit d4cc365?11:24
rbasakOh, you're on holiday.11:25
rbasakNever mind!11:25
caribourbasak: I did the CVE review on another tag, let me fetch it for you11:26
caribourbasak: It was review/robie-1st-stage11:27
rbasakcaribou: OK, thanks.11:27
rbasakThat makes sense.11:28
caribourbasak: btw, I'm mostly done with the clamav merge but there are a few things I'd like some expert's eyes on11:30
rbasakcaribou: no problem. I can look after this ntp review. Do you want to leave me some notes?11:44
caribourbasak: yes, I'll get that ready for you in a minute11:44
caribouwhere should I push the GIT tree ?11:44
rbasakcaribou: do you want to try the full MP review process we've been developing? I can tell you what to push where for that. It's good for peer review as well as sponsor/sponsoree review.11:46
caribourbasak: that's why I took the learning curve to use your git method so sure11:47
caribourbasak: I did my best to follow the server team Wiki article11:47
rbasakOK so first in ~/.gitconfig:11:48
rbasak[url "git+ssh://racb@git.launchpad.net/~racb/ubuntu/+source/"] insteadof = lpmep:11:48
caribourbasak: there might be some rough edges & missing bits but I think it is not so bad11:48
rbasakinsteadof is on a second line there, paste error. And replace both occurrances of racb with your own lpid11:49
rbasakcaribou: definitely rough edges and missing bits in the docs. And the exact process still. Feedback and wiki edits appreciated :)11:49
rbasakThen, push to lpmep:clamav11:49
rbasakYou can push everything you like, since that helps with any review around the process.11:50
rbasakFor sponsorees, I would specifically like the logical/<old ubuntu> tag11:50
rbasakAnd a "merge" branch for the actual proposed upload.11:50
rbasakThen propose a merge for that merge branch against the "ubuntu/dev" branch in ~ubuntu-server-dev.11:51
rbasakI see that does exist for clamav yet.11:51
rbasakDoes not exist11:51
rbasakWe will have an importer soon.11:51
rbasakUntil then sponsorees are requesting the branch be created (by me right now) first, so that the work can be based on it.11:52
rbasakIf done afterwards, it is still possible to rebase upon it, but that is a little painful.11:52
rbasakSo not sure what you want to do there. The totally accurate (process-wise) way to do it would be for me to import and then for you to rebase, but I appreciate that's painful and maybe not worth the effort.11:53
caribourbasak: maybe the best for now is just for me to push my git repo so you can look at it with my upcoming comments12:01
caribourbasak: then once everything is ok, I can upload it the normal way for now12:01
caribourbasak: then we can arrange the proper git repo for the next merge12:02
caribouhow does that sound ?12:02
rbasakcaribou: sure, that's fine.12:07
=== Lcawte is now known as Lcawte|Away
caribourbasak: I'm finding a few more things as I'm writing the notes so I'll fix those along so it'll be a bit longer 'til I send it your way12:41
rbasakOK, no problem. I'm still working on NTP.12:44
dannymichelpressing up to go to past commands gives me weird character like '^[[A’ any ideas why?12:59
hateballdannymichel: how are you connected to the console13:02
dannymichelJust normal ssh via Mac terminal hateball13:02
hateballhmmm, usually get such issues if I connect with weird encoding, but OS X should be using utf8 as well13:04
hateballdannymichel: and you're not holding ctrl or any modifier key down? :p13:04
dannymichelnot holding any keys down, no13:04
hateballI've no experience with OS X really so I can't say. Can you see if you get the same issue locally or using a linux ssh client?13:04
dannymichelit doesn’t happen when I’m logged in as root13:05
hateballroot on OS X or ubuntu?13:06
dannymichelubuntu13:07
hateballheh13:07
hateballcheck what locale the regular user has then13:07
hateballcompared to root13:07
dannymichelnot sure if i get your meaning13:07
dannymichelone thing thats different about this user is that bash starts at just $ rather than a username like dmichel@s:~$13:12
hateballis their shell even bash13:13
mikkyhi, how am I supposed to turn around network interface on a 14.04-based server remotely and still be able to connect to it afterwards?13:27
patdk-wkwhat does, turn around, mean?13:29
mikkyreload settings13:29
maswanyou mean restart networking or ifdown+ifup? the second you can do in screen(1) on one command line with "ifdown eth0; ifup eth0". Of course, it is better to do it over an OoB console login13:29
patdk-wkI have never found any reason to do that ever13:29
maswanI have, fairly frequently actually13:30
patdk-wkthe only thing I can think of, is to switch from/to dhcp/static13:30
maswanlike swiching from dhcp to static, adding ipv6, moving to a bridge13:30
patdk-wkanything else, you can adjust without taking the interface down13:31
patdk-wkand even that, you can, just harder13:31
maswanyes, but that doesn't test that your new interfaces is correct13:31
mikkysorry, forgot to mention its a bond interface, set up as static. Somehow it works on boot but at runtime, it seems to fail. "restarting" the interface after changing network/interfaces is important if you want to be sure it will set up correctly at boot13:32
maswanMy primary suggestion is to login over the console to do this13:33
maswanOtherwise, one command line in screen works if you make no mistakes13:33
maswanIf you make mistakes, you need the OoB console login anyway13:33
mikkyaccessing the console is possible but it's a complicated company process, security-wise13:34
maswanthen I suggest you don't make mistakes. :)13:35
maswanhaving a second interface would also help13:35
mikkyok, seems the problem is with bonding rather than network setup. I keep getting "waiting for slave to join bond0" for 60 seconds and then failing. But if I then ifup all the bonded slaves, it get up automagically. At boot, on the other hand, the bond get configured correctly.13:57
patdk-wkwhat is in your interfaces file?13:58
mikkyit's rather long, the machine's got quite a few other interfaces. let me pull the relevant parts13:59
mikkyinterfaces: http://pastebin.com/rJCKEgss14:04
mikkyi've tried both bond-slaves p3p2 p3p1 and bond-slaves none. No obvious difference.14:05
patdk-wkhmm, dunno14:12
beisnercoreycb, ok, to confirm:  *-icehouse x next + stable ... and trusty-liberty x next + stable  ...  all @ proposed?14:33
beisnerfor deploy/tempest sru checks14:33
beisnercoreycb, or, feel free to trigger at will  :-)14:34
coreycbbeisner, sure I'll go ahead14:34
coreycbthanks14:34
beisnercoreycb, ok cool.  yw & thanks too14:34
beisnerjamespage, re-confirmed 14:17:44 ceph/0 does not have pool: cinder on the ceph erasure pool test14:36
beisnercoreycb, can you confirm - will the icehouse uca sru pull all of these?   http://pastebin.ubuntu.com/15016392/14:46
coreycbbeisner, yeah basically we just need to flush everything from http://reqorts.qa.ubuntu.com/reports/ubuntu-server/cloud-archive/icehouse_versions.html to updates14:46
beisnercoreycb, ack14:48
=== rattking is now known as Hugh_Mann
rbasakkickinz1: argh. I missed that pps-tools is in universe, and ntp is in main.15:12
=== alexisb-afk is now known as alexisb
=== RickyB98 is now known as Guest41422
=== bleepy_ is now known as bleepy
coreycbbeisner, can you promote horizon and neutron from trusty-liberty proposed to updates?  testing is complete.16:57
coreycbbeisner, might as well also promote qemu as it was included in the testing.16:58
AapjesKijkenhi good evening all17:21
tarpmangood morning17:21
AapjesKijkenhow are you?17:21
tarpmannot totally awake just yet :)17:22
AapjesKijkenhehe maybe koffie?17:22
tarpmanin progress17:23
AapjesKijkennice, take it easy17:23
AapjesKijkendo you know ubuntu good?17:23
tewardAapjesKijken: asking a real question will help17:23
tarpmanteward: so hasty :)17:24
tewardtarpman: you try dealing with people saying "hi who knows ubuntu" in #ubuntu every day17:24
teward:p17:24
tarpman^^17:24
tewardhaving said that, real questions DO actually get you better replies17:24
tewardso just asking if someone knows Ubuntu gets you nothing worthwhile, as that's not a real question17:24
AapjesKijkenmy english is not so good but i will try17:24
AapjesKijkenhaha sorry for that, this all is new for me17:24
AapjesKijkenif i have dowloaded ubuntu and i want install ubuntu17:25
ogra_teward, and it is kind of redundant inside an #ubuntu-* channel ;)17:25
AapjesKijkenbut if i wanna instal it there is a problem and i can't install it17:26
AapjesKijkensorry for that, but i'm new and don't know how i can start that question :$17:26
AapjesKijkensomebody speak dutch?17:27
tewardogra_: indeed17:29
teward!dutch | AapjesKijken17:30
ubottuAapjesKijken: Nederlandstalige ondersteuning voor Ubuntu (en vers gezette koffie) is te vinden in #ubuntu-nl17:30
tewardi think17:30
AapjesKijkenthank you, i go try it again17:30
naccsmoser: for the eventual removal of php5 (or say tomcat7) ... how do we sync the removal from the archive with the seed update? or woudl that be the last thing the admins would help out with?17:39
smosernacc, well i think you'd do the seed update first17:40
smoserwhich woudl drop it from main17:40
smoserand then at leisure archive admin can remove it from archive.17:40
smoserto clear it up for me, we're going to not have php5 packages when debian would, right ?17:41
AapjesKijkendo some body now were i have to be for penetration testing/hacking? (wanna learn, now i have to sit home for few  months) ..17:44
naccsmoser: right, same for tomcat7 possibly17:45
naccsmoser: so i supposed we'd also need to avoid sync'ing automatically?17:45
smoseryeah, i dont actually know how that happens.17:46
smoserive never dealt with a package that ubuntu did not want to have that debian did have.17:46
AapjesKijkenvery iritating ..17:47
rbasaknacc, smoser: autosync ignores anything with "ubuntu" in the version string in Ubuntu.17:53
rbasakIt might be worth changing the seeds first, because though that'll through up a ton of component mismatches, then we know that things destined for main are built correctly with only main enabled. I'll defer to slangasek or infinity or some other archive admin though.17:54
ogra_arent we in DIF already anyway ?17:54
rbasakogra_: DIF is synced with FF nowadays, so no.17:55
ogra_ah, but only a few days away :)17:55
rbasakYes, it is tight :-/17:55
naccrbasak: ok, i'll ask them that separately17:58
=== Lcawte|Away is now known as Lcawte
beisnercoreycb, delayed response - do we have a bug and a card for the T-L promotions?18:16
coreycbbeisner, no it's just the results of auto-backports from trusty SRUs that I wasn't a part of AFAIK18:23
coreycbbeisner, sorry yes theres a card, no bug18:24
beisnercoreycb, got it, thx18:25
wk-workis there any way to configure an network network interface with kickstart with additional routes? just specifying the ip, netmask and gateway is not enough to get network access.18:56
beisnercoreycb, promoted from proposed @ liberty cloud archive:  horizon 2:8.0.1-0ubuntu1~cloud0, neutron 2:7.0.1-0ubuntu1~cloud0, qemu 1:2.3+dfsg-5ubuntu9.2~cloud018:57
coreycbbeisner, thanks19:08
=== cpaelzer is now known as cpaelzer_afk
haidar_hello , I would like to create a cisco router on ubuntu server after I download dynamips and dynagen and during the procedure need to create a dynagen configration file I already have the configration but How can I create thats file also where should put the file to run the Dynagen any Idea please??19:19
geniihaidar_: /etc/dynagen.ini19:36
haidar_thanks sir19:36
genii..is where you want to put the file, and what it's name should be19:36
genii:)19:36
geniihaidar_: Might also want to point your web browser at: file://usr/share/doc/dynagen/docs/tutorial.htm19:38
haidar_ok sir create a folder or just type like that19:39
wk-workis there any way to configure an network network interface with kickstart with additional routes? just specifying the ip, netmask and gateway is not enough to get network access.19:56
sarnolddo you need it during the kickstart or after the install is over?19:57
sarnoldcan you specify 'up' lines in /etc/network/interfaces in the kickstart?19:57
wk-worki need it during install yeah19:58
wk-worksarnold: thats what i'm asking if i can, i need it both during and after19:58
sarnoldif you need it during install then perhaps the /etc/network/interfaces direction won't help much..20:00
sarnoldcan you run arbitrary scripts during kickstart? or is it entirely declarative?20:01
wk-workbasically, we're using a kickstart file for automating VM installations. all vms are issued global ip addresses (not natted or on a local network) but require additional routing to get internet connectivity.20:02
rbasakwk-work: OOI, why aren't you just using Ubuntu cloud images instead of messing with "installations"?20:04
wk-workwe're using KVM20:05
sarnoldwk-work: it might be a touch more work but this sounds likes omething that ought to be done via ubuntu's cloud images, which have cloud-init support built in.. not that I know how to do the multiple routes with that off the top of my head either, but i know cloud-init makes it easy to supply scripts, files, etc..20:06
rbasakThat's fine. Ubuntu cloud images work with KVM.20:06
wk-worknever even heard about that20:06
wk-workmy google-fu has failed me20:06
rbasakGoogle for "cloud-init". It's pre-installed on Ubuntu cloud images.20:07
rbasakYou boot a pristine, official image. cloud-init runs inside and sets it up sensibly on first boot. That's it - done.20:07
rbasakYou do need to tell cloud-init what you want (eg. ssh key or something else to make the system usable)20:07
rbasakLook up cloud-init docs on how to do that.20:07
wk-workah i see, the thing is we're using a web interface for creating VMs, much like solusvm20:08
wk-worklet me take a look20:08
sarnoldrbasak: does uvtool serve the cloud-init data to the cloud images? I always get a bit confused about how you actually feed cloud-init data :)20:14
rharpersarnold: via config drive (cloud-init)20:54
rharpersarnold: uvtool creates a second disk (iso format) and use cloud-localds to write out the userdata and metadata20:55
sarnoldrharper: aha ;) thanks!20:56
rharpersarnold: sure20:56
=== cpaelzer_afk is now known as cpaelzer
VelusUniverseSyshello all im not to sure if this is the best place to ask but where can i get a bit of software to stream playlists to an icecast server? does anyone know any good bits of software?22:59
sarnoldapt-cache search icecast playlist   :)22:59
VelusUniverseSyshmmm give me a few to look at, im needing something that would do video lol23:04
VelusUniverseSysand easy to set up and have the list updated daily?23:04
VelusUniverseSyshmmm ezstream seems good but i cant find docs23:05
VelusUniverseSyslol23:05
VelusUniverseSysgot them lol23:06
naccrbasak: smoser: for demoting php5/promoting php7... shoudl i go ahead and send the seed update for php5 demotion now? it might lead to some component mismatches, but if i can get swig going (slogging through it on the side), they will be resolved by the end of the php7 update. Should it be two merge requests? one to demote and one to promote? Or is it better to do it in one commit and be sur there is s23:21
naccome php available in the seeds?23:21
VelusUniverseSyssarnold, how would i do a apt-get install ezstream to include suggested pacakge23:26
sarnoldVelusUniverseSys: you can use apt-get install --install-suggests ezstream   if you want to include the Suggested: packages too23:27
sarnoldVelusUniverseSys: note that that is recursive, which might mean that it installs a lot more packages than you really need23:27
VelusUniverseSysthanks23:27
VelusUniverseSysgeese 2682 to intnall lol thats a lot lol23:28
VelusUniverseSysthanks god my hosting company gave me 100tb of space for free lol23:29
sarnoldpackages? o_O or kilobytes? or..23:29
VelusUniverseSyspackages23:31
sarnoldthat seems .. wrong :)23:32
VelusUniverseSysthats what it said lol its a new system23:32
sarnoldI've got 2847 packages on my system now, it's been through 3.5 years of upgrades, installing packages on a "geewhiz that looks neat" basis, etc :)23:32
VelusUniverseSyshmmmm ok23:33
VelusUniverseSysi now just need to know how a playlist is set out like how does the format look like for m3u so then i can create a php script to do it in the backgound every day lol23:36
=== rww is now known as ezri
nestor_ubuntu/nginx/php5 I set memory_limit=512M but limit shows as memory_limit=256M - Any ideas?23:38
nestor_I set it in the /etc/php5/fpm/pnp.ini23:39
VelusUniverseSystry a phpinfo() and check there which php.ini file its reading from? it may be reading from somewhere else23:41
sarnoldpnp.ini?23:43
VelusUniverseSysi think he ment php.ini23:44
nestor_I create a phpinfo.php file and that is the one I am looking at.  I also copied it somewhere else and still the same memory_limit23:44
VelusUniverseSyshmmm23:44
nestor_I can see that the loaded config file is /etc/php5/fpm/php.ini23:45
VelusUniverseSyssarnold, can you think of a php script that can create a m3u playlist23:59
sarnoldVelusUniverseSys: sorry, never looked for one23:59

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