/srv/irclogs.ubuntu.com/2014/02/27/#ubuntu-server.txt

=== thumper-gym is now known as thumper
=== jaimef_ is now known as jaimef
=== jaimef is now known as Jaimef
=== Jaimef is now known as jaimef
MavKenis it ok to regularly run apt-get dist-upgrade?01:27
sarnoldMavKen: see the unattended-upgrades package   :)01:28
MavKenok01:28
BilgeWhy, when installing a package for which configuration conflicts with a file already existing on the system, do you only get prompted to explore the differences the first time the package is installed? Subsequent remove/installs do not prompt for conflicting configurations01:29
sarnoldBilge: it depends if the packaged configuration file changes01:33
sarnoldBilge: if the file doesn't change on a package upgrade, it's left alone. and since we all dislike those prompts, most packages try to avoid changing those files on a whim :)01:34
BilgeRight, but I just installed a package and got the prompt01:35
BilgeThen I removed it and installed it again01:35
BilgeNo prompt01:35
BilgeWhy?01:35
BilgeI want to get the prompt back01:36
sarnoldBilge: try this: echo >> /path/to/config/file   -- changing your local copy of it (hopefully appending a newline doesn't change the meaning of the file) might bring the prompt back01:37
sarnoldit might only prompt again if the upstream version changes though. I can't recall the details.01:37
Bilgetouch isn't enough?>01:41
sarnoldthat won't change a cryptographic hash of the file01:42
BilgeIt didn't do anything anyway01:42
BilgeNormally it is only when the upstream changes but there MUST BE a setting locally that flags whether the prompt has been shown01:43
sarnoldBilge: try reinstalling the package with --force-confask -- see the dpkg(1) manpage for details. I'm not convinced it'll do the job but it's worth a try01:45
BilgeI install the package with apt-get, and it does not understand that switch02:13
BilgeI don't know how to install with dpkg02:13
BilgeIt wouldn't help anyway since I want to reset the prompt for another "user" (a robot), not for my use02:14
sarnoldBilge: there'll be a package in /var/cache/apt/archives/ for the package you're installing; you can use dpkg -o on that02:15
sarnoldBilge: hrm, how about make a copy of the file; install the package; apt-get purge the package; move the backup back in place; try the install again02:15
BilgePurge did the trick :)02:19
sarnoldyay!02:19
sarnoldI'm sorry I didn't think of it earlier. sigh.02:19
sarnoldgive me an hour, I'll eventually come around to the right answer. sheesh. :)02:20
BilgeI appreciate the help02:22
BilgeCan't beleive I didn't know about the purge command either02:33
=== justizin_ is now known as justizin
=== thumper is now known as thumper-back-for
=== thumper-back-for is now known as thumper-afk
Voidalhey guys, odd question but is it possible for apache to cache files on the server? (Sorry I'm a bit new)06:30
Voidalmy university assignment would display data from hours ago at random06:30
sarnoldthere's a lot to modern web contraptions... it's common to run a caching proxy in front of web servers to spread the load across more machines..06:32
TJ-Voidal: Depends on what the Expires header says06:32
TJ-Voidal: See mod_expires06:32
VoidalI'm not sure we students have access to that, my lecturer said the MIME type on their server might be not expiring06:33
VoidalIt's all submitted and working now, it's just been bugging me06:33
Voidalsarnold: that might be it, it's a large university with a ton of computers06:34
sarnoldif the mime types had something to do with it, I'd suspect a broken proxy -- caching decisions should be made on the basis of more concrete things than what "usually" works for a given mime type..06:34
sarnoldand who knows how the web server gets the files it serves; if they are loaded over nfs, and it caches nfs aggressively (against spec but common because nfs would otherwise be slow :) -- it might be working fine but a lower level might not have been working quite right06:35
TJ-Yeah, if the user-agent does a HEAD and the there is no Expires itwon't bother fetching the document, it'll use the one in its local cache06:36
TJ-You can usually force the browser to do an explicit refresh (GET) in that case, I seem to recall Ctrl+F5 on some browsers would do it06:37
VoidalWell shit, I wish I knew about ctrl+f5 yesterday06:37
VoidalI enjoy php programming a bunch but my experience with servers is only basic06:38
Voidalso this is all pretty new :)06:38
TJ-For dynamically generated content (e.g. PHP scripts), if the result is being cached then generally the server is mis-configured06:38
sarnoldwell...06:38
sarnoldgenerating generated content is also pretty slow06:39
sarnoldthere's a lot of opportunities for caching content there, as well, and most frameworks will have mechansisms to make that happen06:39
Voidalthe assignment generated response data (in xml and json) by pulling data from a source XML file06:40
sarnoldfragment caching, full-page caching, etc. knowing when to expire that cached content can be a huge part of keeping such a system afloat and functional06:40
sarnoldVoidal: for more than you'll want to know :) check out section 14.9 here: http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html06:41
sarnoldtime for bed, have fun Voidal and TJ- :)06:41
Voidalthanks for the help06:42
MangledBlueCan anybody help??? simple install - my MD5 checks out in ISO-  c7f439e864d28d9e5ca2aa885c4ec4cb *ubuntu-12.04.4-desktop-amd64.iso - but I cannot get it to work - any thoughts?06:59
=== _ruben_ is now known as _ruben
=== rvba` is now known as rvba
=== LeMike is now known as LeCappu
rcsheetsI'd like to start testing PXE auto install for 14.04, but it appears that none of those bits are present on the current daily build CD images. Does anyone know when that might be expected to change?07:50
Lord_Setrcsheets, why not use MAAS?08:08
Lord_SetAny developers here that deal with network drivers?08:11
Lord_SetI have a question regarding a specific 10g NIC/HBA/CNA08:12
rcsheetsLord_Set: I have not investigated MAAS, because the name makes me think it is for deploying physical systems. I am currently focused on deploying VMs.08:16
Lord_SetAhh ok. MAAS will work for deploying VMs as well as far as I know.08:17
rcsheetsLord_Set: I would prefer to tweak my existing, working VM deployment workflow so that it works with 14.04, rather than switching to something entirely new. But I can change if support for PXE/casper has been dropped.08:17
Lord_SetMAAS/Juju should be able to deploy everything you need...08:18
rcsheetsalright well if I have to set up entirely new stuff, then I guess I'll give up for now and wait till I have more time.08:22
TJ-rcj: what bits seem to be missing?08:22
rcsheetsTJ-: was that for me?08:22
TJ-rcsheets: oops! bad tab-completion! what bits seem to be missing?08:23
rcsheetsTJ-: /install/netboot doesn't exist. that's where i normally find a kernel and initrd suitable for PXE-booting the install environment08:23
TJ-Hmmm, I have a script the breaks out a standard installer ISO for PXE, not noticed any issues with Trusty ... let me look08:26
rcsheetsTJ-: maybe I'm just not seeing where to get the alternate install iso? all i can find is desktop.08:28
TJ-There is no alternate any longer08:29
rcsheetsserver and alternate are the only ones i've seen pxe bits on, and i don't see daily isos for either of them08:30
rcsheetsoh! trusty server is at http://cdimage.ubuntu.com/ubuntu-server/daily/current/08:30
rcsheetswell then, i got the wrong iso. silly me08:30
* rcsheets looks embarrassed08:30
rcsheetsyep, on the proper iso everything is as i expected it to be08:34
rcsheetssigh08:34
=== thumper-afk is now known as thumper
=== psivaa-afk is now known as psivaa
nitinhello11:05
nitinhello .. guys is it worth to configure a vps running ubuntu server where apache is actually running and a website is being hosted to be configured as a VPN server as well..?11:06
leitmediumnitin: what do you mean by "is it worth"? technically it is possible, of course. A simple well-documented OpenVPN setup is enough.11:40
leitmediumnitin: if you want to use the server encrypted, you can go with ssh and https, too.11:40
hello123hello11:48
hello123i wanted help in software raid11:48
hello123any 1?11:49
hello123?11:51
leitmediumhello123: it's better to just type your question.11:55
hello123ok11:55
hello123i have 6 x 4tb drives11:55
hello123but in/home 4 tb is showed11:55
leitmediumwhat das "cat /proc/mdstat" say?11:56
leitmediumplease paste to paste service :)11:56
hello123http://pastebin.com/Mb0CLYQp11:57
hello123:)11:57
leitmediumis it possible you setup a raid1?11:58
leitmediumjust mirrored?11:58
hello123i didnt setuped11:58
hello123while installin os it automatically came11:58
hello123i need 24tb @ /home11:58
hello123:(11:59
leitmediumhello123: check: "dmesg | grep md2" and "dmesg | grep md3"12:00
leitmediumthere you shoud see somethink like12:00
leitmedium"md/raid1:md2: active with 2 out of 2 mirrors"12:01
hello123letitmediuim i messed with partition and now reinstalling os12:01
leitmediumthis gives you a hint, which type of raid you have12:01
hello123just in less than half an hour it will be back12:01
hello123its 3 rd time reinstallinjg12:01
ikonia/proc/mdstat will show you each arrays status12:01
ikoniaas will mdadm exaine12:02
ikoniaexamine12:02
leitmediumikonia: but not the type, right?12:02
ikoniathe type ?12:02
ikoniathat will show you the raid level12:02
ikoniaor should do12:02
hello123i have sent it12:02
hello123check in pastebin12:02
ikoniawhich one ?12:02
ikoniamd5 : active raid1 sda7[0] sdb7[1]12:02
ikonia(as an example12:03
hello123http://pastebin.com/Mb0CLYQp12:03
ikoniashows my md5 is a raid 1 mirror made up of 2 disks on partition 712:03
leitmediumikonia: of course, just overlooked it12:03
leitmediumikonia: you are right12:03
hello123first pic12:03
ikoniahello123: yours are both mirrors12:03
ikoniathey are all raid 112:03
leitmediumhello123: you have a raid1. so every bit of data is replicated throughout all disks12:03
hello123@leitmedium yahoo or skype?12:04
hello123yeah12:04
hello123i want it raid 512:04
leitmediumhello123: at least this is very fault tolerant12:04
leitmedium:)12:04
hello123and full 24tb @ /home12:04
leitmediumhello123: then you have to resetup the array12:04
hello123i dont know thats the problem new to linux :(12:04
hello123tried and it has been almost a month12:05
hello123:'(12:05
hello123ikonia you know to setup raid 5?12:05
hello123leitmedium?12:05
ikoniahello123: you need raid 5 ror raid 612:05
ikoniahello123: you need something that creates a raid array spanning your disks, rather than mirroring them12:05
ikoniaI'd strongly advise against raid 0 for something that big though12:05
hello123raid 512:05
hello123raid 0 if 1 disk fails all gone12:05
hello123thats also a problem12:05
ikoniaexactly12:05
ikoniaso you want raid 5 or 612:05
hello123raid 512:07
hello123ikonia can you setup raid 5?12:07
xnoxhello123: raid installation instructions are here: https://help.ubuntu.com/12.04/serverguide/advanced-installation.html#software-raid12:07
leitmediumhello123: have you seen https://help.ubuntu.com/12.04/serverguide/advanced-installation.html =12:07
leitmediumhehe12:08
xnoxsnap! =)12:08
hello123:p i just dont want to take risk as i am new to linux :(12:08
hello123and even that how to delete12:08
hello123the raid 1 array12:09
hello123and make raid 512:09
xnoxhello123: in the menus explained in that guide, you can add/delete raid arrays and choose any raid level (if you have enough drives)12:09
hello123The mdadm utility can be used to view the status of an array, add disks to an array, remove disks, etc:12:10
hello123not removal of array :(12:10
hello123any1?12:13
leitmediumyou have to "disassemble" it.12:14
leitmediummdadm --stop /dev/md212:14
hello123yeah thats good and ahead?12:15
leitmediumthen follow the guide12:15
hello123leit when i tried previous time it said sd1 device busy or unavaialble12:15
hello123:(12:15
hello123?12:19
leitmediumhello123: is it still mounted?12:22
hello123when i try to unmount /sda112:22
hello123it says not mounted anywhere lol :p12:23
bgardnerhello123: Did you actually try to umount '/sda1' or was it /dev/sda1?12:36
hello123 it was /dev/sda112:38
bgardnerhello123: You should pastebin the output of mdadm --stop /dev/md212:40
hello123@bgardner ok12:41
bgardnerhello123: Let's keep the conversation here so others can weigh in and assist.12:41
hello123yeah sure12:42
merlijn|hi, I was wondering if anybody is able to tell me what happened to the virtual kernel images in 14.04 - it appears you can only use generic kernels for this?12:46
hello123how to change password of root from rescue mode?13:00
ikoniayou shoudln't13:01
bekksroot has no password to be changed.13:01
ikoniathe root password shouldn't be set13:01
hello123i cant login into server13:01
hello123bt i can go into rescue13:01
bekksyou cannot log in as root by default because root has no valid password set.13:02
bekks!root | hello12313:02
ubottuhello123: Do not try to guess the root password, that is impossible. Instead, realise the truth... there is no root password. Then you will see that it is 'sudo' that grants you access and not the root password. Look at https://help.ubuntu.com/community/RootSudo13:02
hello123psswd make a root passwrd right?13:02
xnoxjamespage: will icehouse be available for 12.04 via cloud archive?13:02
bekkshello123: Please read the article linked by ubottu.13:03
hello123ok13:03
memoryleakHi13:12
=== marcoceppi_ is now known as marcoceppi
makarawhen chrooting, why do we always mount /dev and /dev/pts separately?13:40
sixBBHello.  I have a question about mounting a thumbdrive.  I type "sudo mount /dev/sde1 ~/thumbdrive" but when I do this, all the files are owned by root.  Is there a way to avoid that?13:47
DarkStompyIs there any wany for me to reset a user password (as user, I am not an admin). I am unable to log in to the server.14:04
sixBByou can reset your own14:09
sixBBbut if you're not an admin, you can't reset others'14:09
sixBBto reset your own, type "passwd"14:10
DarkStompysixBB: Thanks.14:14
sixBBnp14:14
shreddingBut you have to be logged in to change it ...14:14
sixBByes.  You have to know the old password even if you're already logged in.14:22
sixBBonly an admin can change your password without knowing it14:22
sixBBbut the user said that he was unable to login, not that he forgot his password. :D14:23
=== frankban_ is now known as frankban
=== rcj` is now known as rcj
=== Ursinha is now known as Ursinha-afk
=== Ursinha-afk is now known as Ursinha
kirklandjamespage: SpamapS_: rbasak: nice work ;-)  http://mysqlrelease.com/2014/02/repos-and-distros-upstream-and-downstream/15:28
hello123hii15:31
hello123bgardner there?15:31
bgardnerhello123: Yes?15:32
hello123yeah i got the server back what to check now?15:32
bgardnerhello123: What is your question?15:33
hello123make raid 5 all my 6 hdd15:34
hello1236 x 4tbhdd15:34
bekksDo you have a hardware raid controller?15:35
hello123no softraid15:35
=== Ursinha is now known as Ursinha-afk
jamespagekirkland, ta15:40
hello123hello?15:44
=== Ursinha-afk is now known as Ursinha
=== roo_ is now known as roo
webfox_HI, could someone help me to test and make it work my server network please?16:56
webfox_I am trying to set a static ip address to it but still not being sucessful.16:57
rbasakkirkland: thanks! I love reading posts like that :)17:28
kirklandrbasak: ;-)17:31
=== SpamapS_ is now known as SpamapS
SpamapSwait what17:49
SpamapS5.6 in trusty?17:49
SpamapSthat is..17:49
SpamapSaggressive17:49
SpamapSkirkland: All I did was pawn all the work off on jamespage .. ;)17:50
SpamapSok I see, 5.6 in universe still17:50
SpamapSnot a good idea IMO17:50
SpamapSbut hey, nobody asks me. :)17:50
henkjan5.6 in trusty. cool!19:25
hazmathallyn, i've noticed some oddity around lxc-clone destroying my container (btrfs snapshot) if its interuppted (13.10) leaving just a rootfs.hold and a missing rootfs directory...20:06
hazmatie. its destroying the clone source if interuppted20:06
hazmatjust curious if that sounds familiar.20:07
hallynhazmat: no, please file a bug.  we probably need to change the new container's rootfs in config earlier20:08
hazmathallyn, sure.. github preferred for the bug?20:09
hallynhazmat: lp would be good20:13
thumperstgraber, hallyn: at what process during boot do the lxc containers try to autostart?21:10
thumperis there any way I can make sure an upstart job happens before it tries?21:10
hallynthumper: well you could do "start on starting lxc"21:11
hallynautostart is done by /etc/init/lxc.conf which starts on runlevel 234521:12
thumperhallyn: so here is what we are planning... could be considered crazy21:14
thumperfor fast lxc and the juju local provider we are wanting to have /var/lib/lxc be btrfs21:14
thumperwe look, and if it isn't, we create a loopback device for it, and mount a btrfs in /var/lib/lxc21:15
thumperhowever if there are existing containers, we bail21:15
thumperand ask the user to either remove them or specify a directory override as a mount point21:15
thumperwe'll have a process watch the free space and add extra space as necessary21:15
thumperFSVO magic21:15
thumperthis way we can use the faster clone, and create juju template containers to clone from21:16
thumperalso, we are making the juju autostart containers for the local provider to be an envron config option21:16
thumperbut we need to support the case where the user has autostarting containers, but they are in the btrfs loopback magic fs21:17
thumperso I want to make sure we appropriately setup the loopback devices, and mount the btrfs in the right place before lxc tries to do the restart21:17
hallynwhat about just mounting the btrfs elsewhere?  I keep mine under /opt/lxc...21:18
hallynthey woulnd't autostart without a change, but you're making a change anyway21:18
hallyn(i suggest it bc then the user's existing containers under /var/lib/lxc wouldnt' matter)21:18
thumperhmm... we were considering that option21:19
hallyni assume you've measured hwo btrfs on loopback performs?  what about apt-get/dpkg on btrfs?21:20
thumperI'll be testing it21:20
thumperalso21:20
thumperif we have a different directory for the containers21:20
thumperthen we have to make sure that the user always specifies this dir when using the CLI tools21:21
thumperwere hoping to avoid that...21:21
thumperbut perhaps that is too much21:21
thumperhallyn: it seems that we can't pass a different root dir to lxc-autostart21:22
thumperin order to list the autostart containers21:22
thumperif we put them elsewhere21:22
hallynthumper: lxc-autostart -P works21:23
hallynshould work21:23
=== unreal_ is now known as unreal
hallynthumper: anyway what you're suggesting sounds reasonable to me21:23
thumperoh, missing from the man page21:23
hallynthumper: I assume you've considered lvm?21:23
hallynyeah.  stgraber: ^ autostart manpage needs to include the common opts page :)21:23
thumperhallyn: I'm taking what hazmat has and putting it into core21:24
thumperhallyn: he has good reasons AFAICT for btrfs21:24
thumperI really don't want to make it too complicated21:24
thumperhallyn: is lvm likely to be more efficient that btrfs on a loopback device?21:24
thumperI don't understand lvm21:24
hallynthumper: yeah, it's only that on older kernels apt-get is *really* slow on btrfs21:24
thumpernot looked at it at all21:25
hallynthumper: no ths is not about the loopback device21:25
thumperhallyn: we are doing this for trusty + only21:25
smoserutlemming,21:25
smoserhey.21:25
hallynoh.  ok.  there it's much better21:25
smosercloud images have 'perl-modules'21:25
thumpero/ smoser21:25
thumperhallyn: yeah, I had concerns with older versions too21:25
thumperso I'm saying this is just a trusty feature21:25
thumperfor the local provider21:25
hallynthumper: so to be clear, you're goin to use an upstart job that starts on startling lxc andn does the logic you mentioned above right?21:25
thumperif I have a job that starts on start of lxc, will that happen before lxc runs?21:26
xnoxthumper: btrfs on a loopback device, gains you none of the btrfs benefits. Neither does lvm on loopback device, much. Either reinstall, make your host be on top of lvm/btrfs. Or don't bother with lvm/btrfs.21:26
smoserutlemming, we have 'perl-modules', but perl-modules recommends each of21:26
smoser  libarchive-extract-perl libmodule-pluggable-perl libpod-latex-perl libterm-ui-perl libtext-soundex-perl21:26
smoserbut those are *not* in the image.21:26
smoser:-(21:26
hallynthumper: yes.  lxc wont' start until anything which starts on starting lxc completes21:27
utlemmingsmoser: hrm, interesting...I thought the recommends are installed.21:27
utlemmingsmoser: which release?21:27
thumperxnox: I have been told otherwise, and the only way to confirm is to test and measure21:27
* thumper shrugs21:27
thumperhallyn: how does clone work if not on lvm or btrfs?21:28
thumperhallyn: does it still work but slower?21:28
hallynthumper: it either copies the whole directory, or uses overlayfs or aufs for snapshot21:28
smosertrusty.21:28
hallynxnox: untrue though :)21:28
xnoxthumper: you loopback file is stored on another filesystem, which is not checksummed nor snapshotable, while it appears that you have snapshots and checksuming, in fact you don't get that.21:28
hallynxnox: a btrfs subvolume snapshot will still be much faster21:28
smoserutlemming, heres my list of "i don't understand"21:28
smoserhttp://paste.ubuntu.com/7007244/21:28
xnoxthumper: hallyn: if you want to snapshot loopback devices, convert them to be qemu-image based files which support efficient snapshots.21:28
hallynno, subvolume snapshot is done at metadata level.  it'21:29
thumperhallyn: ok, so worst case, lxc-clone on ext4 will just copy the root fs?21:29
xnoxthumper: any host filesystem corruption, will propagate into all volumes snapshots in the loopback device.21:29
hallynthumper: correct21:29
thumperhallyn: ok, ta21:29
thumperxnox: I appreciate that, and this is not what we are trying to use btrfs for21:30
hallynthumper: so fallback to that is probably ok.  it's a tradeoff21:30
thumperthis is a dev tool21:30
hallynif most of what you'll be doing is creating the container clones, then btrfs-on-lo will be good21:30
thumperhallyn: ok, I can test the speed behaviour of using clone independently of dealing with btrfs loopback21:30
hallynif you'll be doing a lot of work on top of there, then not21:30
thumperso I can at least get some timing from that21:30
hallynok - ttyl21:30
thumperkk21:30
hallynxnox: the main goal would be to avoid copying 300-700M of data on each container clone21:31
smoserhallyn, oh comon. IO is fun.21:31
utlemmingsmoser: I'll look into that shortly, I think this might be a live build issue21:31
* hallyn hugs eatmydata21:32
smoserutlemming, the only other thing in that list is python21:32
smoseri dont know where python3.3 is coming from in th eimages.21:32
xnoxhallyn: dedup with hardlinks?! *har* *har*21:32
hallynxnox: that sounds like the old vserver method21:33
hallynwhich worked quite well21:33
hazmatthumper, actually aufs will be better21:33
smoserand yuck, looks like we have python3.3 and python3.4 in there!21:33
thumperhazmat: geez man, make up your mind21:33
hazmatthumper, its lxc 1.0 on trusty.. i'm giving it a whirl now..21:33
hazmatthumper, well originally when we talked overlayfs several months ago.. i said i'd prefer aufs.. it just wasn't supported in lxc for this usage.21:34
hallynhazmat: yeah i think stgraber can point you to any issues you'll run into with aufs.21:34
hallynof course, there's the issue of potential regresions as aufs is afaik unsupported21:34
hazmatthumper, aufs vs overlayfs thread from last august fwiw21:35
thumperhazmat: ok, I'll defer working on any of the btrfs loopback bits21:35
thumperhazmat: and just move forwards with the template images and clone21:35
thumperhazmat: and we can measure differences from that21:35
hazmatthumper, cool. by big concern with btrfs.. is well dealing with size management is a pain on the loops as usage grows...21:35
thumperkk21:36
hazmats/by/my21:36
xnoxthumper: i'd be very surprised if you hit any bottlenecks.21:36
thumpergetting templates, clone and a method to update templates will take me a while I guess21:36
thumperwe can look at speeding up clone once those are in place21:37
thumpermeasure often21:37
thumperhazmat: sound reasonable?21:37
hazmatthumper, sounds good.. also we should talk auto apt-proxies  at some point.. we had some for local in pyjuju days.. saved much bandwidth.. i didn't see it in core.21:37
thumperhazmat: it's there :-)21:38
thumperall that proxy work I did21:38
hazmatthumper, that's if you explicilty set one on the env.. but it doesn't set one up for you..21:38
hazmat?21:38
thumperFSVO of auot21:38
thumperlocal does21:38
thumperit looks to see what you have21:39
thumperand uses that21:39
thumperalthough it probably needs a tweak or two21:39
hazmatwhat you have on the host?.. but that means effectively its not being used..21:39
hazmatie. pyjuju installed apt-cacher-ng on host and configured containers for it..21:40
smoserhazmat, you can't really do loopback devices.21:40
hazmatsmoser, cause?21:40
smoseror at least if you're suggesting that you need to be aware that fsync doesn't work through them.21:40
thumperok, perhaps I don't understand what you are after, or you aren't aware of what's happening, either way, can we shelve this for another time?21:40
smosersometimes people care about fsync.21:40
hazmatsmoser, hmm.. noted.. aufs is the preferred choice.. and thanks to stgraber is viable with lxc21:40
hazmatthumper, sure21:41
thumperhazmat: if we use aufs, how is that going to work if we update the base container from which it was cloned?21:41
thumperis there something we need to care about here?21:42
thumpero/ njpatel21:42
hazmathmm.. its not going to like that..21:42
hazmatthumper, tbd21:42
thumperhazmat: but we were wanting to keep the base template updated no?21:42
hazmatthumper, we may have to create new layers for updates21:42
njpatel'ello there thumper21:42
thumpernjpatel: what's up in SFO?21:43
njpatelstuff and things :)21:43
njpatelHow's the cloud world?21:43
=== Ursinha is now known as Ursinha-afk
=== Ursinha-afk is now known as Ursinha
=== unreal_ is now known as unreal
mgwIs there an option for apt to prevent it from trying to install a half-installed package "A" when I tell it to install package "B"?23:02
sarnoldmgw: I think I've had to tell apt to uninstall A before trying to install B when I've faced that in the past23:04
mgwsarnold: thanks, not what I was hoping for23:05
mgwI'm working on the SaltStack aptpkg module, and it sort of blows up in that situation.23:06
mgwWas hoping there was an option that could just ignore those23:06
sarnoldmgw: hrm. :/ maybe there's a dpkg --force- option that would work. I've tried to avoid those..23:07
mgwsorry… I'm actually trying to remove package B23:07
mgwin this case23:07
mgwbut I think an install would fail too23:07
mgwfail in the sense that apt-get would return non-zero23:07
mgwwhen it failed to configure package A23:07
sarnoldmgw: oh, I wonder, can you just call dpkg --purge on B directly?23:09
mgwsarnold: no, it complains about dependencies23:14
mgwbtw, in my test case it's Java related, so go figure23:15
mfischzul: do you know if ceilometer-alarm-notifier is packaged for havana?23:17
* mfisch will be back later to see the answer, commuting23:17
sarnoldmgw: hrm, is this related? https://bugs.launchpad.net/ubuntu/+source/openjdk-7/+bug/127360123:18
mgwsarnold: i don't think so23:19
mgwthe underlying issue is with oracle-java7-installer23:19
mgwwhich fails to fully install23:19
mgwthen when you try to install/remove other packages, it keeps trying to fix oracle23:20
mgwIt's not that big a deal for me, I was just hoping there was an option I could add to the salt module to ignore that23:21
sarnoldmgw: bugger. it was a stab in the dark anyway..23:21
mgwsarnold: thanks23:22
TJ-mgw: There's a kludge I've used in the past, hacky but saved my sanity: edit /var/lib/dpkg/status, locate the "Package: " stanza, and change "Status:" to "install ok installed" temporarily23:25
sarnoldTJ-: ha! nice.23:26
TJ-mgw: That example extracts the single package; to make it generate the entire new status file, you'd remove the final "M==1" conditional so it is just "{print $0}"23:41
=== SpamapS_ is now known as SpamapS

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