/srv/irclogs.ubuntu.com/2013/03/05/#ubuntu-server.txt

=== wedgwood is now known as wedgwood_away
adam_gjamespage, ive just consolidated all changes to $charm/hooks/lib/* and hopefully resolved all diffs safely and pushed to lp:~openstack-charmers.~openstack-charmers/openstack-charm-helpers/ha-helpers, going to sync across all ha-support branches that use them off00:52
smoserjcastro, oh. wow. wednesday.01:29
jcastroI know right01:31
=== holstein_ is now known as holstein
=== ping__ is now known as rhyda
=== rhyda is now known as rhyda-kumisan
=== rhyda-kumisan is now known as klo
=== klo is now known as tukang-cukur-nai
=== tukang-cukur-nai is now known as tukang-sapu
spencerHey, anyone got experience with inotify or inotifywait to watch for file system changes?04:50
sicnessHello. By default dhclient runs with parametr "-1" that meen to be dead if dhcp server will not respone. How to make dhclient "PERSISTENT" at network start?06:21
qman__you could probably just set the max tries to something astronomical06:31
sicnessqman, thx, I'l do that if wouldn't find right way.06:34
sicnessAnybody know who does start  dhclient usually?06:34
Syriacould someone please tell me how can I completly remove phpmyadmin and SQL ! after deleting the users from phpmyadmin by accedent I cannot log in anymore!07:00
andolSyria: Generally phpmyadmin doesn't know anything about your users, but merely relays the login to the mysql server.07:15
Syriaandol:  So deleting the mysql-server should solve this problem?07:15
Syriaand re-installing for sure.07:16
andolSyria: Well, there are a few more packages related, to might want to for all packages matching mysql-server*, as well as running the apt-get remove with the --purge flag. Depending on whatever the removal removes the /var/lib/mysql or not (depends between versions) you might manually need to remove that as well. That is assuming that you are still fine with the option of completly starting over with MySQL.07:19
andol(As I pointed you to yesterday, there are otherwise more surgical solutions to recreating your mysql users.)07:20
Syriaandol:  Yeah I don't have any important information, so I have to start with "sudo apt-get remove --purge mysql-server" right?07:21
Syriaandol:  The remove the files in " /var/lib/mysql " ?07:22
andolSyria: Well, mysql-server is really only an (empty) meta package, so as I said, you want to do the same with your other installed mysql-server* packages07:25
Syriaandol:  I see.07:27
Syriaandol:  Then it might be an easier thing that I try to add a "root" user !07:27
=== Masshuu_ is now known as Masshuu
MasshuuI want to get the contents from either a running screen or tmux. Issue is both require there be a terminal to attach to and i'm trying to do it programmatically where thats not an option.08:35
Piegohi! I have a problem. I have a linux box perfectly configured whose connection does not work. It is a virtual machine so it cant be a hardware problem. What can it be the problem? The ip address is correctly configured and route too. Dns is fine. The gateway works because other vms pass through it. Im lost :-/08:56
nilliI'm looking to install a php extension and the latest version I can find is a .deb for ubuntu 7 but my server is ubuntu 8.04.4. is that definitely a bad idea or should I just and see?09:17
nillitest and see*09:18
apelleshello.  can someone here help me setup email server - packages needed tweeks and stuff09:24
apellesis there special time i should visit this irc channel to get hel?09:26
apellesmaybe i should leave my email address, and someone will get back to me: apellesnoel@gmail.com09:29
nillithat probably won't happen09:29
maxbapelles: I think your problem is that your question is too general09:30
nilliapelles: this article could help you get better help http://www.sabi.co.uk/Notes/linuxHelpAsk.html09:31
maxbMost people are happy to help on IRC with specific probles. However most people don't want to talk people through entire setup procedures09:32
apellesis there a server i can get help from? or a channel  to visit09:32
apellesnilli - article is great !  thank you09:33
nilliI think you'll have a hard time finding any one person to help you through every step, unless you ask the right questions or pay someone for it09:33
maxbBest start by reading some documentation, having a go, and asking questions about specific things which are unclear or which don't work09:34
=== smb` is now known as smb
apellesthank you - bye for now09:41
=== dijit_ is now known as dijit
mark__hello10:05
mark__i'm seeking help10:05
mark__i cannot use my apt-get to do anything10:05
mark__when i want to install anything apt tells me that the package exim4-base is broken10:06
mark__when i want to remove it (because i don't use it) it tells me it's broken and to reinstall it10:06
mark__when i reinstall it breaks10:06
mark__and when i want to remove it, it returns with an error from post-removal10:06
mark__can anyone shed some light on it?10:07
mark__i wanted to install postgresql-contrib-9.2 but i get errors about exim4-base10:07
yolandahi, can you try with: dpkg -r <<name of package>> ?10:07
mark__i did. DPKG tells me that exim4-base should be reinstalled10:08
mark__is there a way to brutally remove exim4, so that apt forgets about it and will not try to do anything with exim4 while installing other packages?10:10
yolandadpkg -r exim4-base doesn't do the trick?10:16
mark__tried that several times, but it tells me to first reinstall exim4-base10:24
mark__when i try apt-get install --reinstall i get errors10:24
yolandaand with --force flag?10:27
mark__apt-get install --reinstall --force exim4-base?10:28
mark__or dpkg -r --force exim4-base ?10:29
yolandadpkg -r --force exim4-base, but not sure10:31
Seveasmark__, that's the 'dpkg is very confused' warning. Best to follow its advice10:47
Seveascan you pastebin the foll error that you get when reinstalling?10:47
Seveass/foll/full10:48
g0tchahey guys, really need some help, whenever i try to install something on my ubuntu server i get this: http://paste.ubuntu.com/5587550/10:59
g0tchaand the package doesnt get installed.. anyone know how to fix that by any chance?11:00
Seveasg0tcha, try removing redmin and ruby-rails-3.211:00
g0tchaSeveas, i did, i still get the same error when i try to remove a package too11:01
Seveasg0tcha, pastebin the output of: dpkg -P redmin ruby-rails-3.2 (this will purge the packages completely from your system)11:02
g0tchaSeveas, here are the results: http://paste.ubuntu.com/5587557/11:04
g0tchawhen i run apt-get install it gives another error11:04
Seveasg0tcha, typo in the command. redmin should be redmine11:04
g0tchaSeveas, cool.. i think it worked now!11:06
g0tchaSeveas, thanks alot, this fixed my issues no doubt.. i just have a question, what does "apt-get autoremove" does exactly?11:21
g0tchalast time when it suggested to run it, it was going to remove 380MB of data from the server11:22
Seveasautoremove removes packages that got installed as dependencies, where the dependent has already been removed manually11:23
g0tchaso its safe to run this from time to time to make sure the system is clean?11:24
Seveasso if you do 'apt-get install foo' and foo has bar as dependency, 'apt-get remove foo' won't remove bar but a subsequent 'apt-get autoremove' will.11:24
g0tchait will Not remove something thats being used by something else, correct?11:24
g0tcharight.. interesting11:24
g0tchathanks for the info11:24
Seveasit's safe to run if you inspect the list of packages beforehand11:24
freakynlHi, I'm running badblocks on 12 SAS disks connected to a LSI SAS controller. iostat shows they only do 7.3MB/s though, any ideas? 7.3 is really low, have system that's identical (hardware wise) that went way over 100MB/s (the first so much data (outter ring) anyways)11:27
freakynlHmm dd does ~130MB/s (1mb bs), any guesses why badblocks would be so slow?11:56
freakynlThe only thing I can come up with is that it's related to the USB stick it's running off which is connected to a USB 1.1 port (why would one wire the USB 2.0 the chipset provides if you can just wire 1.1 and forget about it)?11:56
patdk-lapfreaknl, maybe you should actually show the iostat values?12:13
ruben231hi guys, i have installed apache2 on my ubuntu 10.04 LTS but problem when i reboot it wont start automatically i need to induce it with command before it starts /etc/init.d/apache2 restart <<<<<-------------------any idea how to solve this..?12:29
DavieyI want a biscuit12:40
g0tchawould changing the hostname of an ubuntu server break anything?12:40
g0tchaif its still a fresh install, just need to change the hostname set durring the installation12:41
patdk-lapruben231, how exactly did you install apache2?12:41
ruben231patdk-lap: apt-get install apache212:42
ruben231any idea..?12:44
rbasakjamespage: powerpc ftbfs fix: https://bugs.launchpad.net/ubuntu/+source/ipmitool/+bug/1074443/comments/1112:54
uvirtbotLaunchpad bug 1074443 in dell-poweredge "Please upgrade ipmitool to 1.8.12 for 13.04" [Wishlist,In progress]12:54
jamespagerbasak, ta12:56
jamespageI'll review and upload12:56
rbasakThanks!12:56
jamespagerbasak, as the resident non-x86 expert any ideas on the armhf failure here - https://launchpad.net/ubuntu/raring/+source/mongodb/1:2.2.3-0ubuntu112:57
* rbasak looks12:57
jamespagerbasak, I'm sure this worked OK for me locally but I think it may have been with 2.2.2 rather than 2.2.312:58
jamespagemy panda is being temporamental right now12:58
rbasakjamespage: looks like a preprocessor accident to me. I'll pull the sources and take a look.12:59
Nul0 Hello. I'm considering formatting my external drive as ZFS and using it as a backup storage system (mainly for its inbuilt deduplication). I'm running Ubuntu 12.04. Does this sound like a good idea? Any words of caution I should bear in mind?13:01
jamespagerbasak, ta13:04
=== dayangkun_ is now known as dayangkun
zulhallyn:  ill get 1.0.3 packaged today (i hope)13:13
=== med_ is now known as medberry
=== med_out is now known as med_
=== med_ is now known as Guest44335
=== medberry is now known as med__
=== Guest44335 is now known as medberry
ruben231hi guys, i have installed apache2 on my ubuntu 10.04 LTS but problem when i reboot it wont start automatically i need to induce it with command before it starts /etc/init.d/apache2 restart <<<<<-------------------any idea how to solve this..?13:22
hallynzul: nonsense, you're busy today13:35
zulhallyn:  im always busy :)13:39
=== cronus is now known as Guest82449
=== cronus_ is now known as cronus
* SpamapS wonders if the server team went out drinking on Google+ last night to make it a proper UDS13:42
* jamespage is still getting over the hangover13:43
ogra_SpamapS, yeah, and they all ctached virtual ubuflu ... !13:43
Davieyi'm hanging out of bed13:44
SpamapSyeah I seem to have caught real ubuflu even w/o the flights and many nights of sleep dep and self-poisoning13:47
ruben231hi guys, i have installed apache2 on my ubuntu 10.04 LTS but problem when i reboot it wont start automatically i need to induce it with command before it starts /etc/init.d/apache2 restart <<<<<-------------------any idea how to solve this..?13:47
GridCubehi, what is the alternative to use >> sysctl net.inet.tcp.msl=2500 << in ubuntu, given that there is no /proc/sys/net/inet directory?13:48
SpamapSruben231: you should see something in the console/boot messages about why it is failing.13:49
SpamapSruben231: any reason you're not using 12.04 ?13:49
SpamapSGridCube: is it possible that setting has been deprecated?13:49
jamespagerbasak, uploaded13:50
rbasakjamespage: thank you!13:50
GridCubeSpamapS, and what would be an alternative to that?13:50
rbasakjamespage: I'm reproducing your mongodb ftbfs now13:50
jamespagerbasak, thanks for looking at that - it does take a v long time to build on arm btw13:50
GridCubehttp://serverfault.com/questions/129950/can-i-make-tcp-ip-session-to-run-less-than-60-seconds this is from where im taking it13:51
GridCubeits there something like tcp.nolocaltimewait?13:52
rbasakGridCube: looks like tunables are in /proc/sys/net/ipv4 now. I don't see msl though13:54
rbasakGridCube: I don't think this is an Ubuntu-specific thing. I think the change probably applies to anyone running a more recent Linux kernel. That might help your Googling perhaps?13:55
GridCube:( i've been searching for hours13:55
GridCubewell, 'bout two13:56
rbasakYou could find the Linux git changelog message associated with the change. The commit message might list something useful.13:56
rbasak(eg. what replaces it, or why they removed it)13:56
jamespagerbasak, w00t - https://launchpad.net/ubuntu/raring/+source/ipmitool/1.8.12-0ubuntu213:56
hdd1rbasak: but then the msl is hardcoreded in some sys/*.h library?13:56
rbasakhdd1: they removed the tunable sysctl and hardcoded it?13:57
rbasakIf they did, presumably they had a reason and the commit message would be where to start looking13:57
hdd1rbasak: thanks we will keep looking13:58
GridCubewhere would one find such commit message?13:58
rbasakI would start by going to a kernel that had the sysctl and finding the source code responsible. Then go to the current kernel and ask git for changes only to that file13:59
rbasakjamespage: \o/13:59
rbasakjamespage: this mongodb build is indeed taking a while. I'll leave it going :)13:59
* rbasak didn't run it inside a screen though :-/13:59
SpamapSGridCube: why do you want to make tcp sessions run less than 60 seconds?14:00
GridCubeSpamapS, to many conections that saturate the server14:00
SpamapShm14:03
hdd1SpamapS: as GridCube say, there are too many tcp connections and that "overbloat" the server with timewait14:03
hdd1SpamapS: we try with tcp_recycle and reuse, but got the problem that sometimes when an old conection is reused,this old connection can send again a new package and all got miss up14:04
hdd1SpamapS: but this can only happend with the WAN connections, so the perfect value that solves all is nolocaltimewait14:04
SpamapSinteresting14:05
nxvlDaviey: c'mon!14:07
hdd1SpamapS: yup. We saw some forums where they set the net.inet.tcp.nolocaltimewait=1 , but we try this and we get the unknow key error14:07
nxvlDaviey: don't make that face again!14:07
hdd1SpamapS: i know that in freebsd that value stills on (its really usefull in servers) but dont know what append in ubuntu-server14:08
g0tchawhen trying to bring a network interface up using 'ifup eth1' and it says "RTNETLINK answers: File exists" .. does this mean the IP is being used?14:08
eutheriahello, i was wondering, is there something like landscape for my LAN?14:31
SpamapSeutheria: yes you can get an on-premise landscape14:35
eutheriai bet that is expensive14:35
=== wedgwood_away is now known as wedgwood
g0tchaheya guys, i installed LAMP on ubuntu server and the home dir is /var/www, if my username is 'gotcha', how can i give permission to 'gotcha' to be able to edit /var/www ?15:08
NafalloSpamapS: hey. I have a question for you, if you're around :-)15:33
=== fire is now known as nerd
CPrompt^greetings.  For some reason apache will not run on my ubuntu server unless I am logged in.15:45
CPrompt^where can i start to look for a cause?15:45
CPrompt^i have not changed anything except that I pointed the main web directory to a directory in my home folder15:45
CPrompt^i have done this in the past and it never requried me to log in15:45
PiciCPrompt^: is your home encrypted?15:46
NafalloCPrompt^: ecryptfs?15:46
CPrompt^ah...that is a good question.  I just installed did a fresh install a few days ago so honestly I can't remember if I told it to encrypt the home directory or not.15:48
CPrompt^oh man15:50
CPrompt^yeah.  you are correct15:50
CPrompt^it is set to encryptfs.  So...since I made a bonehead move, is there a way to allow it run without being logged in?15:50
Nafallonot without running with ecryptfs.15:50
CPrompt^bummer15:50
Nafalloalt. changing directory15:50
CPrompt^so...if I create a new user will it automatically use ecryptfs?15:51
Nafallomy tests say no15:51
CPrompt^yeah that's an easy test.15:51
Nafallobut then, do you need ecryptfs on a server? :-)15:51
CPrompt^well...this is just for my personal use so to me? no, I don't15:52
NafalloCPrompt^: https://help.ubuntu.com/community/EncryptedPrivateDirectory#How_to_Remove_an_Encrypted_Private_Directory_Setup15:54
CPrompt^oh nice.  I'll give that a go.  Need to back a backup and try it out15:56
CPrompt^thanks Nafallo15:56
Nafallono worries :-)15:56
Nafalloglad I could help15:56
thane_Hi, I'm trying to configure an virtual Ubuntu server as a router. IP forwarding is on, interfaces are running, routing table looks ok, other machines can ping the server, but other machines cannot ping eachother using the server. Any tips on how to troubleshoot this?15:56
CPrompt^i'm glad you could too :)15:56
thane_Hi, I'm trying to configure an virtual Ubuntu server as a router. IP forwarding is on, interfaces are running, routing table looks ok, other machines can ping the server, but other machines cannot ping eachother using the server. Any tips on how to troubleshoot this?16:09
Nafallo!ask | thane_16:12
ubottuthane_: Please don't ask to ask a question, simply ask the question (all on ONE line and in the channel, so that others can read and follow it easily). If anyone knows the answer they will most likely reply. :-) See also !patience16:12
Nafallobah, that might not be the one for repetative questions :-P16:12
GridCube!patience | should be16:14
ubottushould be: Don't feel ignored and repeat your question quickly; if nobody knows your answer, nobody will answer you. While you wait, try searching https://help.ubuntu.com or http://ubuntuforums.org or http://askubuntu.com/16:14
jcastrorobbiew: I'll fire up the plenary like 10 minutes early if you want to prepare16:26
robbiewjcastro: cool, thx16:27
rbasaksmoser: could you please comment on bug 1069570? What's our current answer, and is the patch anywhere?16:53
uvirtbotLaunchpad bug 1069570 in isc-dhcp "1 MAC Address, two IPs - DNS is "out of sync" with DHCP leases databases, I think..." [Undecided,Confirmed] https://launchpad.net/bugs/106957016:53
hallynsmoser: fwiw, http://thread.gmane.org/gmane.comp.emulators.qemu/198455/focus=198477    mjt brought up the memory size patch on qemu m-l16:54
hallynsmoser: i particularly love the second email - basically a previous patch had been nacked bc it didnt' also handle numa (feh)16:54
smoserrbasak, the patch is in the branch there.16:55
rbasaksmoser: ah yes of course - thanks. I missed that.16:56
smoseri'll put a comment in though16:56
=== wedgwood is now known as wedgwood_away
=== wedgwood_away is now known as wedgwood
smoserrbasak, i just re-based raring branch there.17:16
rbasaksmoser: thanks!17:16
smoserstgraber, you've recently touched isc-dhcp...17:16
smoserso i'm wondering on your feelings on https://bugs.launchpad.net/ubuntu/+source/maas/+bug/106957017:16
uvirtbotLaunchpad bug 1069570 in isc-dhcp "1 MAC Address, two IPs - DNS is "out of sync" with DHCP leases databases, I think..." [Undecided,Confirmed]17:16
stgrabersmoser: I've seen a few emails from LP this morning about that bug. I'm currently busy preparing my plenary but I'm scanning through isc-dhcp bugs fairly regularly, so I'll get to it17:17
smoserread comment 34 and see patch in my branches.17:17
smoserstgraber, no hurry.17:17
smoserthanks.17:17
=== wedgwood is now known as wedgwood_away
rbasaksmoser: thanks for the update on that bug!17:35
adam_gjamespage, is this fix still appropriate for the charms? it was proposed to into nova-compute but i'd like commit the same to the other relevant places.  https://code.launchpad.net/~gandelman-a/charms/precise/cinder/lp1099900/+merge/15181217:39
=== wedgwood_away is now known as wedgwood
jamespageadam_g, yes it is17:39
adam_gjamespage, thanks17:40
jamespageadam_g, man do we need to migrate to python :-(17:41
jamespagemaybe raise that at the charms session for post HA work17:41
adam_gjamespage, yeah...17:41
=== med__ is now known as medberry
SpamapSNafallo: I'm around now, wassup?17:58
jamespageadam_g, I added a comment to https://code.launchpad.net/~gandelman-a/charms/precise/glance/lp1099900/+merge/15181318:00
jamespagere the get_ip function18:00
jamespageand some feedback jimbaker gave me on the ceph charms which made sense to me18:00
adam_gjamespage, ah,thanks18:01
jamespageadam_g, with regards you comment on https://code.launchpad.net/~gandelman-a/charms/precise/hacluster/ocf/+merge/15134518:01
jamespagewould the packages ocf's not overwrite the charm ones?18:02
adam_gjamespage, yeah, thats what i was getting at (sorry, it was 6AM:) if the ceph-resource-agents package does not provide the rbd OCF, it will fallback to what is installed by the charm18:03
jamespageadam_g, ah - right I think I see now18:05
=== blitzkrieg3 is now known as jmleddy
=== medberry is now known as med_
=== NomadJim_ is now known as NomadJim
paco1hello masters!19:46
paco1i have a little with my bind servers. i have 2 servers, master and slave with TSIG and it works fine. if i incorpore a second slave bind server with the same TSIG key, i have that error: zone 172.in-addr.arpa/IN: refresh: failure trying master 172.31.250.1#53 (source 0.0.0.0#0): tsig indicates error19:49
paco1i generated the TSIG key like that: dnssec−keygen −r /dev/random −a HMAC−MD5 −b 512 −n HOST name19:50
paco1-n HOST: is it just for one slave server?19:57
rbasakjamespage: I couldn't reproduce the ftbfs in mongodb. My build succeeded using sbuild. There is only one build dependency selection difference, which is a missing libsqlite3-0 on the buildd, but I don't see how it could be related. I'll dig more tomorrow.19:59
smoserhallyn, or anyone...20:11
smoserhow can i know how many blocks are on a block device20:11
smoserhoping not to parse /proc/partitions20:11
RoyKsmoser: /proc/partitions is pretty easy20:12
RoyKit's just 1kB blocks20:13
smoserRoyK, if you happen to know the kernel name20:13
smoserwhich, yes, is fairly easy to find out given udev's nicely created /dev/block/MAJOR:MINOR20:14
smoserbut i'm just hoping to depend on just about as little as possible.20:14
smoserRoyK, (sorry if i sound ungrateful, thanks for your input)20:16
RoyKsmoser: np20:17
smoseri think i might have to end up parsing /proc/partitions20:17
smoserbut its a PITA for testing20:17
smoser(since not only am i needing to read that, i'm wanting to invoke 'update' and see it change)20:18
astorwhat is *roughly* the minimum image/install size for a server that is set up to be part of a juju-cluster? before any services are installed?20:19
sarnoldastor: I think "hundreds of megabytes" isn't too far wrong20:20
astorsarnold: ok, thanks.20:21
astorsecond question: The faq states: "Currently each service unit is deployed to a separate machine that...".  I assume that jojo can create a separate VM on a single machine for each service? True or not?20:23
sarnoldastor: it's complicated...20:23
sarnoldastor: in 'local' mode, juju can deploy services in LXC containers -- but that won't ever leave the one machine20:24
sarnoldastor: you can also start a pile of VMs yourself and have them run openstack or MAAS and deploy to those VMs, but juju doesn't provide much help in that case, as I understand it20:25
hallynsmoser: uh, sudo fdisk -l?20:25
hallynyou probably mean from c code...20:25
sarnoldhallyn: I thought about suggesting that but figured (a) it only reports partitions tables, not actual device data (b) it doesn't grok gpt partition tables either :(  ...20:26
smoserwell, no. i meant from python.20:26
smoseri was just wondering if hter ewas something easy.20:26
smoserie, an explicit size attribute back from stat or something.20:26
sorensmoser: blockdev --getsz?20:26
astorsarnold: if I spin up a dozen VMs that have the "hundreds of megabytes" image that is juju-ready, then I can somehow register these with juju, and juju can deploy to them, but not create new ones (or make changes to them).  Is that close to the truth?20:27
smoserthat would seem to be it, soren.20:27
hallyncool20:28
sorenYeah. That's why I suggested it. :)20:28
sorenHappy UDS, by the way.20:28
sorenOr is it merry UDS? I always forget.20:28
astoranother q: does MAAS only cover the concept of Linux+LXC, and not Xen+Linux?20:29
sarnoldastor: it ought to be able to make changes as needed; just not create new ones itself20:29
astorsarnold: ok, thanks. good to know.20:30
sarnoldastor: well, my suggesting MAAS on top of kvm or xen is an abuse of maas -- which is intended for running on bare metal20:30
smoserhttp://unix.stackexchange.com/questions/52215/determine-the-size-of-a-block-device gives lots of answers20:31
astorsarnold: I understand. I'm looking for a small TCB.  OpenStack is Xen + lots of services, while MAAS is without Xen, so there's something missing in between.20:31
sorensmoser: If you want to avoid shelling out (even though that's a perfectly reasonable thing to do, but I know many frown upon it), the ioctl you want is BLKGETSIZE64.20:32
smosersoren, right.20:32
smoserbut i think i might just read /sys/class/block/<devname>/size20:32
smoseralthough i'm not certain that is in 512 byte blocks (always).20:32
fluvvellDoes anyone have a happy tale to tell about grub installing on a new GPT partitioned drive? I've got one that wont boot without some help20:33
sarnoldastor: you may wish to ask in #juju if there's a better provider for your goals :)20:33
SpamapSsmoser: ioctl(3, BLKGETSIZE, 0x7fff215a5f60)    = 020:33
sarnoldastor: (everything I've got is second-hand at best :)20:33
astorsarnold: ok, thanks.20:33
SpamapSsmoser: unfortunately, its not clear whether python has a way to know what BLKGETSIZE is20:34
sorenSpamapS: ..and hope it fits in an int.20:34
SpamapSyeah, fcntl.ioctl looks really low level and not very python-programmer friendly20:36
SpamapShttp://stackoverflow.com/questions/2773604/query-size-of-block-device-file-in-python20:36
SpamapSsmoser: ^^ might work20:36
smoserhm... thats interesting.20:38
smoserSpamapS, that seems pretty nice.20:40
sorensmoser: You can rely on /sys/block/blah/size to results consistent with --getsz (i.e. both in sector counts).20:42
sorensmoser: fwiw20:42
hallynheh, that (seek to end) is what i like to do for files, but some filesystems don't support it20:42
hallyn(esp some proc files)20:42
sorensmoser: They are implemented pretty much the same in the kernel.20:42
smoserhallyn, well, here i know the file is a block device20:43
hallynsmoser: I know, i chuckled bc i didn't think to do it for a blockdev, whereas it would be myd efault for a file20:45
hallyni was bein gsilly20:45
hallynttyl :)20:45
=== JonnyNomad_ is now known as JonnyNomad
hallynstgraber: see my reply to Christian about merge requests.   we should perhaps formalize some workflow.  You and I work differently so I'm not sure what would be preferred in the end...21:16
hallyn(several ppl submitting patches have github trees, so we can at any rate make this easier than hand-applying patches from email)21:17
stgraberhallyn: I tend to prefer processing the patches with git am. I also tend to review the ones we get through github, but it's usually more painful as I need to click through the whole site to get meaningful diffs, then cherry-pick and edit the commits to ack them21:21
hallynstgraber: agreed, i don't want pull requests21:22
hallyngit fetch + get cp or get rebase is nice21:22
stgraberhallyn: so it's nice to have a github branch to be able to easily see the end result and try some test builds, but for the actual review, I prefer individual patches to the ML21:22
hallyn(especially since email patches tend to be line-wrapped)21:22
hallynstgraber: so it sounds like we're agreed,21:22
hallynto my surprise :)21:22
hallynsee the process i recommended in email and lemme knwo if you'd change anything21:23
stgraberthe only pull requests I deal with is the ones I send to Daniel for releases because sending a few hundred e-mails to him seems rather pointless when he realistically won't look at them all anyway21:23
hallynyup21:24
hallynhm, i was hoping that with vUDS going on, ppa build farm would be under-utilized, and builds woudl go through quicker :)21:26
hallynalas, no21:26
stgraberhallyn: if you give me a URL I can bump the score for you21:27
hallynstgraber: qemu build in https://launchpad.net/~serge-hallyn/+archive/virt21:28
hallyni'm hoping it'll give a more stable qemu-arm-static for builders21:29
stgraberhallyn: bumped21:30
hallynthanks!21:31
hallynwell that was underwhelming21:45
Dataoriginalhello23:53
=== wedgwood is now known as wedgwood_away

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