/srv/irclogs.ubuntu.com/2014/04/11/#ubuntu-server.txt

mwhudsonif you've just deployed an openstack for testing purposes, is there some easy way to get some images into glance?00:39
adam_gmwhudson, grab the *-amd64.img or *-i386.img from http://cloud-images.ubuntu.com/trusty/current/01:02
adam_gmwhudson, install python-glanceclient, source your OS credentials and run: glance image-create --name trusty --disk-format ami --container-format ami --is-public True --file $path_to_img01:03
mwhudsonadam_g: is there some cli tool for doing that?01:03
mwhudsonah ok01:03
adam_gmwhudson, https://launchpad.net/simplestreams is a project that provides the ability to pull ubuntu images and sync to your glance server automatically01:05
mwhudsonoh right01:07
mwhudsoni think i even knew that, somewhere...01:07
=== peter is now known as Guest64599
semiosissarnold: ping?01:42
=== wendar_ is now known as wendar
=== s3ri0us is now known as s3ri0us|away
sarnoldhey semiosis03:09
=== s3ri0us|away is now known as s3ri0us
sarnoldsemiosis: ah, very nice bugzilla bug. Thanks :)03:39
arrithis there a standard way to have different 'views' of a directory, basically excluding certain files and directories? this is to provide different virtual machines guests different files, some of them shared03:53
sarnoldarrith: not easily; check out the 'shared subtrees' support in the linux kernel03:53
sarnoldarrith: Documentation/filesystems/sharedsubtree.txt03:53
arrithsarnold: ah neat thanks03:54
arrithiirc i read about a feature like this somewhere, and i think it was something about some plan 9 9p file sharing protocol thing03:54
sarnoldarrith: very similar indeed; plan9 apparently used 'bind mounts' all over the place; you'll do something very similar here, mount --bind but with some 'unshare' stuff beforehand..03:55
sarnoldarrith: oh, hrm, you mean 9p specifically? maybe. I don't know enough about it. :(03:56
arrithyeah unshare sounds great. i mean i figure there's probably a way to exclude with nfs but this is all on one machine, so that isn't as lightweight as i would prefer03:56
hallynin fact, the unshare syscall came about precisely for pam modules to be able to use CLONE_NEWNS to provide polyinstantiated directories for mls.04:03
hallynbefore that you had to clone.  which was useless in pam.04:04
hallyn(polyinstantiated dirs being sort of what you want)04:05
arrithah that's a good search keyword04:07
arrithi'm finding a lot about namespaces04:08
=== mikal is now known as stillbert
arrithseems the most straightforward is maintaining links, bind mounts, or rofs-filtered04:24
arrithhttp://askubuntu.com/questions/44925/how-can-i-create-a-filesystem-view-of-a-folder-that-excludes-certain-files04:24
lerraHi, I have a netinstall setup based on preseed and 12.04.4, a new laptop I have does not have it's nic present in debian installer. So i tested a 12.04.4 livecd and the nic comes up there so the kernel supports it. When I create my own alt 12.04.4 cd with the preseed on it it gives the same error that it cant find the nic but when I use the normal preseed it seams like the nic works but in a later stage of the instal06:31
=== liam_ is now known as Guest89383
rbasaktgm4883: are you aware that Apache has moved its default directory to /var/www/html? Some changes in config files are accordingly needed.07:08
lordievaderGood morning07:24
jorenHey, anyone happen to know how to get a dell r610 to pass the disks off to ubuntu for software raid? I've traid everything I can think of at this point...07:32
sheptardwhat raid card07:34
jorenPERC 6/i? I thought I saw something saying it was part of the iDRAC6 stuff, I think it's just a random onboard card07:37
jorenbut I'll try and dig up more details.07:37
jorenRAID CONTROLLER PERC 6i w/ 256MB BATTERY BACKED CACHE07:37
jorenactually, I guess if it's got the battery backup maybe I want to use the perc07:38
rabbelHey guys. Did anyone ever tried to run an ssh tunnel (reverse) into the background?08:14
rabbelIf I try it, my tunnel keeps disconnecting immediately08:15
rabbelIf I run it in the foreground, it just stays there and does not disconnect...08:15
jorenrabbel, can you just stick it in a screen?08:17
rabbeljoren: is that the only solution?08:18
jorenprobably not, but it's not something I've tried.08:19
tiblockHi. I have debian's init script, will it work in ubuntu?10:28
lordievadertiblock: Yes. At least the scripts I wrote do :)10:29
tiblocklordievader, thank you10:29
RoyKrabbel: I run them in the background10:43
hadifarnoudI see some services were not affected by heartbleed bug. is it just because of OpenSSL version, or they use an alternative (if there is any)?11:52
bekkshadifarnoud: All libssl version unaffected and services using them arent affected.11:53
hadifarnoudbekks: so libssl is the alternative11:54
bekkshadifarnoud: No. libssl is part of openssl.11:55
bekkshadifarnoud: And the libssl component is/was affected.11:55
bekks!sslbug | hadifarnoud11:55
ubottuhadifarnoud: A fix for the recent OpenSSL vulnerabilities (2014-0076 & 0160) has been pushed to the Ubuntu repositories, see http://www.ubuntu.com/usn/usn-2165-1/ and http://heartbleed.com/ for more information.11:55
Patrickdkhadifarnoud, curl wasn't affected11:57
Patrickdkhadifarnoud, and the *issue* is not limited to services11:57
hadifarnoudPatrickdk: did not know that.11:58
Patrickdkwget is affected11:58
Patrickdkphp is affected11:58
Patrickdkany client or server that uses ssl/tls, is affected11:58
hadifarnoudPatrickdk: all VPNs. shit, that's huge11:58
Patrickdkif your browser uses openssl, and connects to a server, that server could compromise you11:58
Patrickdknot all vpn's11:59
Patrickdkit's limited to ssl/tls vpn's11:59
mardraumnot even most vpns, heh11:59
Patrickdkipsec is not compromised, pptp is not11:59
Patrickdkppp I mean11:59
hadifarnoudPatrickdk: openvpn is I guess11:59
Patrickdkyes11:59
* Patrickdk doesn't know any browsers that use openssl though12:01
hadifarnoudPatrickdk: IE probably :D12:05
hadifarnoudI did upgrade all packages. version is still 1.0.1 but hopefully it has patched12:06
Patrickdkdpkg -l | grep libssl12:06
Patrickdkthen compare that version with the openssl entry from12:06
Patrickdk!usn12:06
ubottuusn is Please see http://www.ubuntu.com/usn for information about Ubuntu security updates.12:06
hadifarnoudubottu: I do have affected version (1.0.1-4ubuntu5) but apt update&upgrade says nothing to update12:08
ubottuhadifarnoud: I am only a bot, please don't think I'm intelligent :)12:08
hadifarnoudnevermind. I have the patch.12:09
=== DaIRCKing is now known as GTAXL
moparisthebesthow can I add another ipv6 address to a running machine?12:54
moparisthebestI added a 'iface eth0:1 inet6 static' block in /etc/network/interfaces and ran /etc/init.d/networking restart12:54
moparisthebestbut that didn't do it12:54
rbasakDon't restart networking. That can break things (eg. in Trusty).12:58
rbasakifdown the interfaces you want to change, edit /etc/network/interfaces, then ifup the interfaces you changed.12:58
rbasakI'm not sure if this is the cause of your problem or not.12:59
rbasak(I hope it's self-evident that ifdown will disconnect you if you run it over the interface you're taking down)13:00
moparisthebestyea it's on a remote machine with only one interface, so I can't really do that :/13:02
moparisthebestthis is 12.04 Precise btw, if that matters13:02
zulcoreycb: glance rc2 should be out today (hopefully) do you want to handle it? ill handle swift rc2 if its out today13:16
coreycbzul, sure sounds good13:16
=== loc4l_ is now known as loc4l
=== GeekBlogTV is now known as BasedGeek_bike
jamespageclre13:48
jamespagecoreycb, zul: https://code.launchpad.net/~james-page/swift/fixup-upgrades/+merge/21542313:48
jamespagezul, that can go with the swift rc2 imho13:48
jamespagebut lets get it pushed into the lab so we can test it13:48
zuljamespage:  done...merged it as well13:50
zuljamespage:  wait...hold on...my tarmac is broken...gimme a sec13:50
coreycbjamespage, +1 thanks!13:53
jamespagecoreycb, that appears to be my achilles heal this cycle13:53
jamespagecoreycb, got one wrong in neutron yesterday as well13:53
tgm4883rbasak, yea we noticed that, but wouldn't a different site still be in a different folder under /var/www (eg. /var/www/mythweb ) ?14:10
rbasaktgm4883: I can only guess here. Can you tell me what exactly is broken?14:11
tgm4883rbasak, just a sec, I just woke up and am reading backlog from last night. superm1 may have fixed it late last night14:12
tgm4883rbasak, I can't get him now, but looking at his comments and his commit it looks like it's fixed. Thanks for looking, sorry to bother you14:16
rbasaktgm4883: np14:17
DevilsOwnHello! How are ya'll14:20
rabbel12:42:50 < RoyK> rabbel: I run them in the background > I managed to do it, with -N and -f :-)14:21
DevilsOwnHow do you guys have a GUI during install and none after install?14:21
patdk-wkno14:22
patdk-wkthere is no gui14:22
jibelcould anyone have a look at bug 1306575 found during an upgrade test from Precise to Trusty ?14:22
uvirtbotLaunchpad bug 1306575 in nova "package nova-common 1:2014.1~rc2-0ubuntu1 failed to install/upgrade: ErrorMessage: subprocess installed post-installation script returned error exit status 1" [High,New] https://launchpad.net/bugs/130657514:22
jibelthe base system was Precise amd64 + all the package in main14:22
DevilsOwnHow do you guys have a GUI during install and none after install14:23
patdk-wkthere is no gui14:23
verdePhow do I create a named fifo pipe? like say I have some program that constantly outputs stuff to stdout and I want to pipe it to some command that will take that output and make a file in /tmp/fifopipe that I can access that stream from, so I can use it as a file name for daemons etc...but the file is just an access point to the pipe, like it doesn't grow in size14:23
DevilsOwnbut I can use the mouse and see colors and logos during the boot process for the first time... what is that then?14:23
PiciverdeP: have you looked at the mkfifo manpage?14:23
patdk-wkDevilsOwn, in what version?14:23
patdk-wkI didn't see that at all even in trusty14:24
verdePPici: ah looking now ^^14:24
DevilsOwnUbuntu Server 11.04 onwards14:24
patdk-wkhmm, not in my trusty iso's14:24
patdk-wkpici, you mean mknod?14:24
DevilsOwntrusty as-in which numerical version?14:24
patdk-wk14.0414:24
patdk-wkand I know there isn't a gui in 12.04, installed that millinos of times14:25
RoyKrabbel: mhm14:25
DevilsOwnaah... but every server version from 11 through 12 that I have used has the GUI during install with a purple background and message boxes and choose what to install questions?14:25
patdk-wkthat isn't a gui, that is ncurses14:26
DevilsOwnaha completely ncurses?14:26
Picipatdk-wk: I didn't, but that should work just as well. They look to have very similar arguments.14:26
DevilsOwndoes ncurses let'cha use the mouse?14:26
patdk-wkno14:26
rbasakIs it ncurses, or whiptail+newt? Anyway, same concept.14:27
patdk-wkgpm would14:27
rbasakThere is some mouse support in terminals. I've seen an urwid-based package use it.14:27
rbasakNo idea about the current installer.14:27
verdePoh mknod looks nice as I can buffer it a bit, which could be really useful as this will be for streaming audio14:27
DevilsOwnand is it a custom made installer?14:27
rbasakIt's based on Debian's installer.14:27
DevilsOwncool! thanks guys! tata for now!14:28
verdePmeh :( the command I pipe to it just says broken pipe /:14:35
verdePI tried like command | mkfifo somename, then I also tried mkfifo somename then command | somename14:35
verdePthe docs are really sparse for both mkfifo and mknod btw xD14:36
verdePand they don't explain the [Major][Minor] arguments either for mknod14:36
verdePcould I use >> to my named fifo? o.o14:37
patdk-wkmajor/minor aren't use for pipe14:38
verdePodd if I go tail myfifo for e.g., it causes the program that I'm >> from to start, but as soon as I stop accessing that file, the program says broken pipe14:38
verdePso like something has to be reading the pipe for it to use it?14:39
patdk-wkdid you read the man page14:39
verdePyes I know they are for block device14:39
verdePand yes I did14:39
patdk-wkminor/major MUST NOT be used when using type p FIFO14:39
verdePI know14:39
verdePwtf14:39
patdk-wktht isn't how you use a pipe14:39
patdk-wk| pipes to a program14:40
patdk-wkyou need to use >14:40
patdk-wkmkfifo somename; command > somename14:40
verdePhow do I make the command think the pipe is always being accessed? cause I just tried with a single > and it does the same thing14:41
patdk-wkit can't14:42
patdk-wkit's a fifo14:42
patdk-wkfirst in, first out14:42
patdk-wkyou can't put more in, tillyou take some out14:42
patdk-wkif you wanted it to think it was always being dumped, use /dev/null14:42
verdePif I send it to /dev/null, can I still sample the output with another program at the same time?14:43
zulcoreycb/jamespage: ok glance uploaded to saucy-proposed14:43
verdePor transparently switch to another program taking the output and back to /dev/null when it doesn't need it, so the original command always keeps sending14:43
jamespagezul, saucy?14:44
zuljamespage:  yep14:44
zuljamespage: 2012.2.314:44
verdePI mean the program does give me the option to write out just as a file, but that file will get really huge, if I could just keep deleting part of the file...idk /: not sure the best way to handle this14:45
verdePits all live streaming stuff14:45
jamespagezul, okies14:46
verdePand I don't want to record more than whats needed for buffer14:46
jamespagezul, Daviey was wanting for something todo earlier so I pointed him at you previous uploads :-)14:46
zuljamespage:  cool...thanks...yeah unemployment must suck ;)14:47
verdePhmm I still see a way to do it, I'll just add the named fifo to my ffmpeg server config, then only start the server after I use command >, thanks patdk-wk and Pici14:48
moparisthebestI added a file /etc/init/deluged.conf15:07
moparisthebestand made a symlink /etc/init.d/deluged -> /lib/init/upstart-job15:07
moparisthebesthowever, everytime I do anything with it, it says 'start: unrecognized service'15:08
moparisthebestdo I need to do something else? never added an upstart job before15:08
baggar11Anyone have a good PPA on 12.04 for Libvirt backports?16:17
bekksbaggar11: There are quite a few: https://www.google.de/search?client=ubuntu&channel=fs&q=ubuntu+precise+ppa+libvirt16:18
baggar11bekks: You have experience with any?16:19
bekksbaggar11: No. I am using vbox since ages.16:20
baggar11bekks: libvirt supports vbox too :)16:22
bekksIt wants to. All vital functions are unsupported or buggy.16:22
bekksThats why I am not using it, since I dont need another layer between me and vbox when scripting vbox using VBoxManage, which works remotely, as well.16:23
DevilsOwnhow do the devs create the ISO for Ubuntu Server?17:14
jrwrenafaik, they don't. some automated system does it.17:14
DevilsOwnI have a heavily customized version of the server with asterisk configured, how do I convert it into an ISO?17:14
DevilsOwnI have a heavily customized version of the server with asterisk configured, how do I convert it into an ISO?17:17
jrwrenhttp://askubuntu.com/questions/83617/can-i-build-a-ubuntu-iso-from-a-manifest17:24
jrwrenDevilsOwn: ^^17:24
DevilsOwnthanks mate le'mme check that... appreciate it17:26
DevilsOwnIf I customize the LiveCD will it be persistent also?17:33
jrwrenanyone every use iptables match-set ?  it seems to not be matching for me.17:49
=== s3ri0us is now known as s3ri0us|away
=== s3ri0us|away is now known as s3ri0us
jrwrenah, src,dst is and not or.  ipset & iptables match-set works19:10
jdstrandzul: fyi, commented in the heat MIR19:19
zuljdstrand:  cool thanks19:20
Havenstancetrying to install grub on a system with a RAID1 config it fails every time. says nothing but executing "grub-install /dev/sdb' failed this is a fatal error19:23
Havenstance13.10 server19:23
Havenstancedo i have to do a separate boot partition outside of the Software RAID1?19:24
=== GeekBlogTV is now known as WizardSleeve
zuljamespage: when you get a chance can you have a look at some heat fixes based on the MIR review https://code.launchpad.net/~zulcss/heat/heat-mir/+merge/21549419:39
smoserroaksoax, have you (or will you) uploaded maas ?19:48
=== beisner is now known as beisner-food
=== beisner-food is now known as beisner
=== Ursinha is now known as Ursinha-afk
rostamhi I am using 12.04 LTS and running tftp-ha on my ubuntu box. How could I enable the log messages on tftp-hpa? thx20:47
=== Ursinha-afk is now known as Ursinha
=== GeekBlogTV is now known as WizardSleeve
GrueMasterHas anyone actually tested the trusty daily amd64 server image on an actual server?  Partman had no clue as to the 120GB sata drive in my Intel servers (I tried a few different off-the-shelf systems).  Saucy found them just fine (even if it did install grub to the usb flash drive used for image installation).21:32
GrueMasterI'd file a bug, but since this was a failed install, I don't have any (wouldn't know what to file on anyways - always get the wrong packages).21:33
GrueMaster*any log files (ment to say).21:34
sarnoldGrueMaster: I'd try filing against debian-installer, lacking any better ideas..21:35
sarnoldGrueMaster: if the desktop installer also fails, that's the ubiquity installer21:36
GrueMasterI understand that.  My main issues (aside from the obvious bugs) is that my bug reports, no matter how detailed, almost always get rejected without logs.  Kind of frustrated witht he whole bug filing process (still).21:40
GrueMasterIf I get a chance next week, I'll try to get a screen capture and file one.21:41
sarnoldGrueMaster: completely understood21:42
sarnoldGrueMaster: can you fire up another console while running the installer to run the ubuntu-bug command? it may be able to capture some logs21:43
GrueMasterI'll see if I can.  It will be a little while, as I am busy with something else atm.  (more "gotta have this now" crap).  :P21:44
sarnoldGrueMaster: man it's too nice a friday afternoon for -that- :(21:44
=== stillbert is now known as mikal
GrueMasterI'm hoping to finish by 4, tee off at 5.21:46
sarnoldwooooo21:48
=== Zeus is now known as Guest82984
=== Guest82984 is now known as Kwiirk
hallynsmb: i rudely subscribed you to bug 1218959.  IIUC backporting those two commits to every post-3.5 kernel would fix the bug.  (and be much better than working around it with a udev script, since udev script will miss custom-made bridges)22:59
uvirtbotLaunchpad bug 1218959 in libvirt "KVM virbr# no longer forwards multicast traffic by default (U12.04)" [High,Confirmed] https://launchpad.net/bugs/121895922:59
KihokkiI'm going to give ssh access to few users but how do I prevent them browsing each others homedirs? Just chmod?23:38
sarnoldKihokki: that's probably the easiest approach23:40
Kihokkisarnold: chmod 0750 fits for this purpose?23:41
sarnoldKihokki: assuming your users do not share groups, yes23:42
Kihokkisarnold: thanks, I'll try this23:42

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