[19:16] <melter> how do i specify in a script what to do when a service is stopped or restarted?
[19:17] <sadmac> melter: depends on what that script does and how it relates to the script stopping
[19:17] <melter> it's for a database
[19:18] <sadmac> melter: what does it do?
[19:18] <melter> starts the database at boot and shuts it down when the server is rebooted; i've also got other scripts, but that's the one i'm re-writing atm
[19:19] <melter> is there a complete upstart reference somewhere?
[19:19] <sadmac> melter: man 5 init
[19:23] <melter> it looks like pre-stop will work, but what does "It will be run before the job's stopping(7) event is emitted and before the main process is killed." mean? Will a stop command kill my database process?
[19:23] <sadmac> eventually, yes
[19:24] <melter> so how do i safely shut down something important without data loss?
[19:25] <sadmac> in pre-stop you'd quiesce it and halt it
[19:26] <melter> sadmac: thanks
 classic 'One of our Google Summer of Code students took this to heart and implemented a binary search that was unfortunately not only incorrect but also slower than the linear search'
[23:11] <ion> keybuk: It might be nice to have watershed-like functionality for tasks. ‘start foo’ if foo is already running would OR the ‘start_again’ flag for the instance with TRUE and when the instance stops, it would be started again if start_again is true.
[23:12] <Keybuk> yeah, I can see why that'd be useful
[23:12] <Keybuk> "restart task when done if another start request came in while it was running"
[23:17] <ion> Should also happen with start-inducing events including cron-like ones and state changes.
[23:22] <Keybuk> sure
[23:22] <Keybuk> same thing really
[23:23] <ion> Yeah
[23:25] <Keybuk> my next two weeks are going to be trying to write down Upstart design stuff
[23:25] <Keybuk> draw pretty diagrams etc.
[23:25] <ion> Alright


[08:02] <czajkowski> aloha
[08:08] <MooDoo> howdy
[13:16] <dpm> mhall119, we need to update the dates of http://uds.ubuntu.com - do we have access to that or do we need to talk to Michelle?
[13:20] <mhall119> dpm: I can do that
[13:35] <dpm> thanks mhall119
[13:43] <mhall119> dpm: updated
[13:43] <dpm> thanks mhall119
[13:43] <dpm> ara ^^
[13:44] <ara> thanks
[13:58] <dholbach> hey hey
[13:59] <dholbach> popey, uonair in 2h?
[14:01] <popey> dholbach: ya
[14:01] <dholbach> yoohoo!
[14:03] <popey> dholbach: do you have people to answer snappy questions?
[14:04] <dholbach> popey, yes, there'll be mvo and beuno
[14:04] <dholbach> I'm just setting up the event and stuff
[14:04] <popey> ok
[14:04] <popey> awesome, thanks
[14:06] <dholbach> popey, can you see the video feed on https://ubuntuonair.com/?
[14:06] <dholbach> I can't see it, but the HTML looks good to me, so I'm not quite sure what's happening
[14:08] <popey> dholbach: no
[14:08] <dholbach> hum
[14:08] <dholbach> bizarre
[14:09] <dholbach> the diff in the wordpress page revisions looks correct too
[14:09] <popey> i often see this
[14:10] <dholbach> before: http://paste.ubuntu.com/10821976/
[14:10] <dholbach> after: http://paste.ubuntu.com/10821981/
[14:13] <dholbach> brb
[14:15] <dholbach> dpm, davidcalle: want to have a quick hangout in a bit to talk about snappy docs?
[14:15] <davidcalle> dholbach, sure, whenever you can
[14:16] <dholbach> cool, let me set up a hangout
[14:17] <dpm> mhall119, ok, I'm done with my other ad-hoc call. As one thing I wanted to talk about was snappy docs, shall we just join the snappy hangout dholbach is just setting up?
[14:30] <mhall119> sure, dholbach can you link me?
[14:38] <dpm> mhall119, https://plus.google.com/hangouts/_/g7e346nvjsu7viy7atbcu4i5cea
[14:55] <dpm> dholbach, mhall119, not directly related to the snappy pages, but I've got a call with balloons coming up where we're going to do some long due reorg of the QA pages so that they're not under apps/ (as they apply to scopes too)
[14:55] <dpm> just as a heads up
[14:56] <balloons> mwahahha...
[14:57] <dholbach> nice one!
[14:58] <elfy> afternoon everyone
[14:59] <dpm> mhall119, dholbach, also moving apps/platform to start/platform for the same reason
[14:59] <dpm> hey elfy
[15:00] <mhall119> dpm: 'start' is slowing becoming more than just what you need to get started
[15:01] <mhall119> dpm: we should plan on making it 'platform' or something like that, as kyleN proposed last year
[15:01] <dpm> mhall119, indeed, but 'start' is about the only place I can think of for common docs right now
[15:01] <mhall119> agreed, I'm just thinking ahead
[15:01] <dpm> yeah, absolutely
[15:02] <dpm> I agree that we're overloading 'start' too
[15:09] <dholbach> dpm, add redirects! :)
[15:10] <dholbach> we always get bug reports when URLs change
[15:16] <elfy> popey: ping
[15:18] <popey> elfy: PONG!
[15:18] <elfy> hey :)
[15:18] <popey> yo!
[15:18] <elfy> so I'll blame balloons for this ... but he DID say talk to you :D
[15:19]  * balloons wonders
[15:19] <elfy> got the nexus 7 thing, got it running the dev channel
[15:19] <mhall119> don't run 'devel', it's really old
[15:19] <mhall119> run 'stable' or 'devel-proposed'
[15:20] <elfy> so ... now testing things, what? where? when?
[15:20] <elfy> mhall119: I just got info from the webpage - wording could be wrong
[15:20] <popey> which page?
[15:21] <mhall119> elfy: webpage could be wrong, in theory devel should be newer than stable, in practice it's lagged behind due to the switch to vivid
[15:21] <popey> elfy: from my perspective, use the device as you would any other. So sign into services, browse, use the things you would normally use.
[15:21] <dpm> dholbach, yeah, so far the world didn't break, and we're adding the redirects
[15:21] <dholbach> <3
[15:21] <popey> elfy: and the UK loco have collected a few things that we already know... http://pad.ubuntu.com/phonefaq
[15:21] <elfy> probably one of the developer.ubuntu.xcom/loads_of_touch_links
[15:21] <dpm> mhall119, how do I add a redirect to an existing page? Do I add a regular page and change its url?
[15:22] <elfy> popey: yea I've seen thge UK loco pad
[15:22] <mhall119> dpm: yes, add a regular page that will be at the URL you want redirected, and then in the advanced settings you can tell it where to redirect to
[15:25] <elfy> popey: last channel command I ran was ubuntu-device-flash touch --channel=devel --bootstrap
[15:26] <elfy> https://developer.ubuntu.com/en/start/ubuntu-for-devices/installing-ubuntu-for-devices/
[15:28] <popey> elfy: ok, as the guys say "devel-proposed" is more upd to date I believe
[15:29] <elfy> okey doke - as soon as I get chance I'll move over
[15:29] <popey> kk
[15:33] <dpm> Start > Overview | Platform | The Ubuntu SDK | Ubuntu for devices
[15:33] <dpm> balloons, that's what I'm seeing now ^
[15:54] <elfy> popey: never sure if my mails to the Membership board get modded - if they do there is one I'd love unmodded ;)
[15:58] <popey> am I an admin of that list?
[16:00] <elfy> mmm no idea actually lol
[16:01] <elfy> apparently not
[16:01] <toddy> elfy: thx for adding :)
[16:02] <elfy> hggdh: ping
[16:10] <czajkowski> dpm: membership board sorted
[16:11] <dpm> czajkowski, cool, thanks for the heads up
[16:11] <elfy> hggdh: nvm, seems ok
[16:12] <dpm> czajkowski, I can see the changes on https://launchpad.net/~ubuntu-membership-board/+members#active - that's clear now, thanks!
[16:13] <dpm> dholbach, mhall119, d.u.c/start has now got the Platform and Quality content moved from /apps - redirects are also in place
[16:13] <elfy> and congrats to those in here on the new board :)
[16:13] <dpm> \o/
[16:13] <elfy> toddy: welcome ;)
[16:14] <dpm> mhall119, one thing I wasn't sure of was whether there is any additional step to have the redirects in place for the zh-cn pages
[16:37] <hggdh> elfy: cool
[16:39] <elfy> hggdh: I assume as I've not had an 'your message is moderated' I'm good to spam that list now :p
[16:39] <hggdh> heh
[16:39] <hggdh> but I will check now anyways
[16:39] <elfy> ok - pretty sure it's on list, not had the oops here
[16:40] <hggdh> indeed, no messages in moderation
[16:41] <elfy> \o/ spam away then :D
[16:41] <hggdh> and yes, I got your email :-)
[16:41] <elfy> lol
[16:41] <hggdh> elfy: you are adding them to the LP team, or should I?
[16:42] <elfy> I've done that
[16:42] <hggdh> ack. I will send out a welcome email to them
[16:42] <elfy> they'll need IRC and m/l doing I assume
[16:42] <elfy> thanks hggdh :)
[16:43] <mhall119> dpm: you might need to do the same for the chinese pages,since they're not tightly links to the english IA
[16:49] <elfy> mhall119: so "ubuntu-device-flash touch --channel=devel-proposed --bootstrap" ? type thing
[16:50] <mhall119> elfy: you probably don't need --bootstrap again if you've already done it once
[16:50] <mhall119> but otherwise yes
[16:51] <elfy> ack, just lazy copy pasting :D
[16:55] <elfy> https://wiki.ubuntu.com/Touch/Testing
[16:55] <elfy> so from there?
[16:56] <dholbach> dpm, woohoo!
[16:56] <elfy> just saying, but too many pages to wade through ...
[16:56] <dholbach> all right... we're getting closer to lunch time - see you in a bit :)
[16:57] <popey> dholbach: thanks for organising that!
[16:57] <popey> was fun!
[16:59] <dholbach> thanks a lot - you were a great host, as always :9
[17:00] <popey> awwww
[17:43] <dpm> mhall119, I've got all the redirects in place, but it still does not seem to redirect e.g. https://developer.ubuntu.com/en/apps/platform/ - would you mind having a look if the redirects are set correctly?
[17:43] <dpm> I'm thinking I might have made a typo somewhere, but I cannot figure it out
[17:43] <mhall119> dpm: sure
[17:43] <dpm> thanks
[17:45] <mhall119> dpm: yup, typo "plaform" != "platform"
[17:46] <dpm> mhall119, yeah, but it seems the typo is only on the title but not on the slug or redirect?
[17:46] <dpm> oh
[17:46] <dpm> I hadn't published the fix
[17:46] <mhall119> it was on both title and slug
[17:46] <dpm> ah, ok
[17:47] <mhall119> works now :)
[17:47] <dpm> thanks mhall119!
[18:44] <czajkowski> dpm: are you free by any chance for a quick catch up in irc with the cc
[18:44] <czajkowski> cprofitt: elfy pleia2 and I are all about
[18:45] <dpm> czajkowski, I am
[18:45] <elfy> k
[18:45] <elfy> - 30 seconds while I grab my cape
[18:45] <dpm> are you batman as well?
[18:45] <elfy> no
[18:46] <elfy> I am Elfyman :D
[18:46] <dpm> lol
[18:46] <czajkowski> dpm: invite sent to pm
[18:46] <balloons> so many capes, so little crime
[18:46] <dpm> czajkowski, it seems the pm hasn't reached me yet?
[18:47] <czajkowski> I hate technology


[00:08] <wotwot> hi
[00:14] <KB1JWQ> !hi
[00:16] <slicslak> so, what do you guys say, is `nohup /bin/foo_daemon &` an appropriate replacement for a real init script?  :)
[00:18] <twb> That all depends
[00:18] <twb> You would probably do better to make an upstart job
[00:19] <twb> http://paste.debian.net/106373/ <-- example
[00:20] <slicslak> thx twb, i had been looking at start-stop-daemon earlier and just hadn't had the chance to write the init script yet.  i'll check your paste
[00:23] <wotwot> is there a currently working upgrade path from dapper to lucid ?
[00:31] <twb> slicslak: you have upstart; don't bother
[00:32] <twb> slicslak: if you REALLY want to use s-s-d and sysvinit, look into the metainit(8) package, which will turn something like that upstart.conf into a sysvinit script.
[02:07] <slicslak> twb, oh interesting
[02:07] <slicslak> ya, upstart looks be good enough
[02:07] <twb> Note that metainit is currently dead in the water, because init developers are insular, NIH-happy bozos
[02:08] <slicslak> lol
[05:28] <fluvvell> any tips on how to boot 8.04 server cd under virtualbox without a kernel panic?
[05:30] <jmarsden> fluvvell: I think it needs the PAE extensions visible to it.
[05:32] <fluvvell> jmarsden, yeah thought I'd just turned them on - still panic
[05:33] <fluvvell> pae/nx extended features enabled.
[05:33] <jmarsden> Hmm, I have a Hardy server virtualbox VM here that works... I rememebr there was something I had to add to make it work, but it was created a while ago...
[05:34] <fluvvell> yes, I have another that works, created a while ago too. Its just I need a new one for a transfer task. :(
[05:35] <fluvvell> is there a vga=   something setting to set in boot options ?
[05:35] <jmarsden> OK, let's see if I can create a new one here :)
[05:36] <jmarsden> I'm pretty sure I didn't have to do that...
[05:38] <jmarsden> fluvvell: Enable IO APIC :)
[05:38] <jmarsden> (I created one which crashed and read the traceback... which was about the APIC...)
[05:39] <fluvvell> Ah
[05:39] <fluvvell> wow, thats it.
[05:41] <fluvvell> Yes there was that in the traceback - of course! Thanks jmarsden!
[05:41] <jmarsden> fluvvell: You're welcome.
[05:46] <fluvvell> Well thats an 8.04 bare bones server install completed and logged in, 34Gb virtual hard disk space!
[05:46] <fluvvell> Was that 5Min???
[05:46] <EvilPhoenix> 6.34 mins.
[05:46] <EvilPhoenix> since your last post.
[05:47] <fluvvell> Astounding.
[06:04] <twb> LP570805
[06:04] <twb> LP #570805
[07:01] <chaunch> hey guys
[07:02] <chaunch> im trying to setup openvpn to tunnel all traffic to my VPS, but I need to setup a bridge interface to do it
[07:02] <chaunch> im having problems doing it though
[07:03] <soren> twb: You asked yesterday (or the day before) why su forks instead of just execing.
[07:03] <twb> soren: yes
[07:03] <soren> twb: It's because it needs to know when the process finishes so that it can close the pam session.
[07:04] <soren> twb: If you compile su with out pam support, it just execs.
[07:04] <twb> Hum, OK.
[07:04] <twb> But why is there a session when I'm not using "su -" ?
[07:05] <chaunch> https://help.ubuntu.com/10.10/serverguide/C/network-configuration.html#bridging
[07:05] <soren> twb: Million dollar question.
[07:05] <chaunch> am i suppsoed to replace the original /etc/network/interfaces file with the one there?
[07:09] <soren> twb: For security, I suppose. If I configure some sort of auditing in pam's session stack, I don't want people to be able to evade that by not passing - to su.
[07:11] <soren> twb: It's a half-baked argument, though. At best.
[07:11] <twb> Oh well; I'm fighting lucid-security's sync()-happy dpkg right now, which is way more important
[07:17] <soren> twb: Oh. It's the session handling that does stuff like mount the user's home directory and such. That sounds pretty useful :)
[07:17] <KB1JWQ> soren: Is that automount stuff?
[07:18] <soren> KB1JWQ: Depends on your PAM configuration. For me, for instance, it's ecryptfs.
[07:19] <KB1JWQ> Ahhh.
[07:19] <KB1JWQ> Interesting, I haven't played with encrypted home directories on servers yet.
[07:21] <soren> KB1JWQ: Well, this isn't really server specific.
[07:21] <KB1JWQ> soren: Right, but this channel somewhat is. :-)  I tend to want servers available to serve data from various homedirs regardless of who's connected at any given point.
[07:26] <twb> Is ecryptfs as shitty as pam_mount?
[07:26] <twb> In terms of mounting, I mean -- irrespective of crypto-y-ness
[07:37] <goddard> I need some help pxe isnt working
[07:38] <goddard> trying to netboot lucid server from windows 7 using tftp and this http://www.liberiangeek.net/2010/05/how-to-install-ubuntu-10-04-lucid-lynx-without-cd-usb-via-the-internet/
[07:38] <goddard> but it doesnt work
[07:38] <goddard> any ideas?
[07:39] <goddard> no more address or address previously allocated by another server [02/02 23:31:02.324]
[07:39] <goddard> Rcvd DHCP Discover Msg for IP <IP_ADDRESS>, Mac
[07:43] <goddard> it connects to dhcp i think just says no boot file name received
[07:54] <twb> Windows 6.1 ships with a TFTP server?
[07:55] <twb> goddard: the DHCPACK needs to pass the filename option, setting it to a string denoting the path to pxelinux.0 within the TFTP tree
[07:56] <goddard> ahh ha
[07:56] <goddard> got it
[09:21] <goddard> im trying to install ubuntu to compact flash and it isnt auto detecting what driver do i need any ideas?
[09:22] <twb> goddard: last time I did it, it just used the generic scsi driver -- the same as a SATA disk
[09:24] <DigitalFlux> Hi Guys
[09:24] <DigitalFlux> Anybody aware of a method to do a non-interactive execution of do-release-upgrade ?
[09:25] <twb> pass DEBIAN_FRONTEND=noninteractive to it?
[09:26] <goddard> twb that seems like it almost works but complains about some size problem
[09:26] <goddard> im using the scsi_debug driver
[09:26] <twb> DigitalFlux: note that if you're doing an actual upgrade from one release to another, you really really should read those messages.
[09:26] <DigitalFlux> twb: did that, didn't work
[09:27] <DigitalFlux> twb: I understand, i am just stuck with an old image template and need to automate it's upgrades
[09:27] <twb> Nod
[09:28] <twb> I don't support d-r-u because I don't like it, but if I tell you not to use it I'll get yelled at
[09:28] <twb> *I don't like or use it
[09:28] <goddard> ive never manually configured my drive before
[09:28] <goddard> I guess 8.4 gb is to small to auto partition
[09:29] <twb> goddard: I dunno.
[09:29] <twb> goddard: just allocate a single huge root filesystem, and no swap
[09:29] <twb> goddard: (I'm assuming this is a router or so, and you have more than enough ram.)
[09:29] <halvors> RoyK: I don't got that Samba server work last day, can you help me a bit more?
[09:30] <pit32> wont dance ?
[09:34] <goddard> twb i would although there isnt really an option for it i see raid lvm and iscsi
[09:34] <goddard> this isnt right
[09:34] <twb> goddard: choose "manual partitioning", silly
[09:36] <goddard> twb i go detect disks and it only shows me an 8.4mb thing and not my 12gb compact flash
[09:36] <goddard> and since i picked a driver it wont let me go back
[09:36] <goddard> twb this is pointless
[09:36] <twb> Oh 8.4 MEGAbytes
[09:37] <goddard> yeah but that isnt right
[09:37] <twb> I thought it was successfully detecting an 8GiB CF card
[09:37] <twb> Is the CF reader on the motherboard?
[09:37] <goddard> me to till i read mb haha
[09:38] <goddard> this is a little thin client
[09:38] <twb> If I were you I'd roll an image using live-build and/or LTSP
[09:38] <twb> Then just dd it on
[09:42] <goddard> twb well it was interesting more trouble than it is worth though
[09:43] <goddard> atleast i learned how to setup pxe haha
[10:43] <RoyK> halvors: sure, but I didn't quite understand _what_ that was that didn't work, and then you left
[11:34] <rtyuio> hello there
[11:34] <rtyuio> how to install complete java package ?
[11:36] <shadow42085> hey I am running a Ubuntu Server 10.04 with LAMP+Sendmail+Webmin I need to config sendmail woth webmin any ideas
[11:55] <airtonix> shadow42085: pretty sure webmin is not supported on ubuntu anymore
[11:57] <shadow42085> well what is recommened free Control Panel to use with LAMP+Sendmail or LAMP+Postfix
[12:00] <Daviey> shadow42085, The nearest to being recommend is ebox (now called Zentyal)... but it's still NOT recommended.
[12:00] <Daviey> This is an area of the server that isn't actively worked on as much as some would hope.
[12:02] <shadow42085> sheesh I am setting up a complete personal site except for domain with I use no-ip.com with DDNS
[12:02] <shadow42085> all I need is a control panel and a mail server
[12:03] <shadow42085> and the control panel sets it up I hate using command line and donlt want to use a GUI on the server
[12:06] <shadow42085> I could always use win server 03 but it's to old
[12:08] <Daviey> shadow42085, why not try the command line?
[12:08] <shadow42085> well if I try to config something in command I might mess up a config with
[12:09] <shadow42085> file with it**
[12:09] <Daviey> shadow42085, oh sure... but could you not do the same thing in a GUI?
[12:09] <Daviey> shadow42085, sudo cp /etc/some-config /etc/some-config.bak ... then you have a backup.
[12:10] <Daviey> if all else fails, purge the package and reinstall that package... :)
[12:10] <shadow42085> thats true but I want to be able to have access to all my server programs not other junk
[12:10] <TeTeT> I'd recommend etckeeper if you want to keep a trace of your chanegs
[12:11] <ttx> Daviey: looks like we won' tmeet i nBrussels
[12:11] <ttx> I need to go home, feeling worse
[12:11] <Daviey> ttx, Oh no!
[12:11] <ttx> Tell James
[12:11] <Daviey> ttx, Will do.. really sad to hear that...
[12:11] <ttx> I just shouldn't have come
[12:11] <ttx> That was a bad bad idea
[12:11] <Daviey> ttx, I didn't know you were poorly.
[12:12] <ttx> well, soren is staying, so you'll be able to ask him about how I was in details
[12:12] <Daviey> ttx, Hmm.. my main concern is who is going to buy the beer?
[12:12] <shadow42085> I have been looking at ehcp any ideas
[12:12] <Daviey> ttx, Ah great.. Well yes, don't overdo it and feel better for next $event.
[12:13] <ttx> ack
[12:14] <Sheepherd> hey guys i want to set up my own private server with ubuntu. does it matter what hardware i get? the plan is a "HP ProLiant N36L"
[12:14] <Sheepherd> are there any ubuntu-recommended servers?
[12:16] <Daviey> Sheepherd, you will probably be fine with anything... HP is pretty well supported... for more info on certified hardware: http://www.ubuntu.com/certification/
[12:18] <shadow42085> Sheepherd linux in general is fine with almost anything
[12:19] <shadow42085> what about webcp?
[12:20] <shadow42085> I have to use free ones other wise I would get either zpanel for cpanel
[12:20] <shadow42085> or**
[12:21] <shadow42085> I have also found virtualmin
[12:21] <halvors> I am trying to setup Samba
[12:22] <halvors> My goal is to login using unix users
[12:22] <halvors> And get access to users /home directory.
[12:22] <halvors> But i can't get it, so can anyone her look at my conf file?
[12:22] <shadow42085> ok u can sftp most of the time
[12:24] <halvors> Here is my /etc/samba/smb.conf file: http://pastebin.com/jF7j4UxE
[12:33] <halvors> Can anyone help me?
[13:08]  * \sh swears at upstart
[13:11] <\sh> anyone awake who is running lucid with some portchannel bonds?
[13:11] <Pici> yes. no.
[13:12] <\sh> Pici: yes, you are awake and no you don't have portchannel bonds? ;)
[13:12] <Pici> \sh: Correct ;)
[13:12] <\sh> Pici: hehe...that's bad for me...I need some testers
[13:27] <patdk-wk> portchannel bonds?
[13:27] <patdk-wk> I have many types of bonds, but never heard of portchannel
[13:29] <patdk-wk> mainly use active-backup, 802.3ad, etherchannel
[13:29] <gobbe> i think this means just basic etherchannel/port-channel
[13:29] <patdk-wk> so in linux, balance-xor :)
[13:39] <\sh> patdk-wk: etherchannel...(in cisco speak, on linux it's normally named portchannel, but anyways)
[13:39] <\sh> patdk-wk: the problem is described here: http://www.shermann.name/2011/02/ubuntu-1004-lts-portchannel-bonds.html
[13:40] <\sh> patdk-wk: on linux I'm running bond mode 4 (lacp + xmit_hash_policy layer3+4, to be cisco compatible)
[13:40] <patdk-wk> you do know that mode 4 != etherchannel
[13:41] <patdk-wk> mode 2 = etherchannel
[13:42] <Daviey> \sh, I assume you have "start on (local-filesystems and net-device-up IFACE=eth0)" in your upstart job?
[13:42]  * patdk-wk gets annoyed with etherchannel though, normally use lacp or nothing at all
[13:43] <\sh> patdk-wk: mode 4 == lacp
[13:43] <\sh> patdk-wk: btw...I upadted the post with a picture of a bond setup which worked out of the box on Jaunty
[13:44] <Daviey> \sh, If so, and that still doesn't work.. you might need to add some sleep magic... :(.... perhaps James Hunt knows..
[13:44] <\sh> Daviey: that's not possible actually, because when you have more then one interface you need to wait for all of them, then it's much better to tweak networking.conf to serve your needs, but there needs to be a default solution, because it worked in the past (without upstart), why not now (with upstart)
[13:45] <Daviey> \sh, I imagine it's an ordering issue :-)
[13:45] <Daviey> \sh, If you restart the upstart job; does it work?
[13:46] <\sh> Daviey: yes..it's just not working after boot
[13:46] <Daviey> \sh, You might need a loop, sleep, check stanza :(
[13:49] <patdk-wk> hmm, I haven't layered any bonds yet on lucid
[13:49] <patdk-wk> looks like that is the real issue
[13:49] <\sh> patdk-wk: jaunty => perfect / lucid => fail...and it's not the bonding driver which fails
[13:50] <Daviey> \sh, Something we do on Eucalyptus to stop something happening too fast is, http://pb.daviey.com/nkiN/ ... Not Ideal!
[13:50] <patdk-wk> what if you do a postup to bond bond0/1 to bond2?
[13:50] <\sh> patdk-wk: as said, after boot, bringing down all bond interfaces and bringing them up properly, the setup works
[13:51] <patdk-wk> ya
[13:52] <patdk-wk> I mean, kill the bond-slaves in bond2
[13:52] <patdk-wk> and have bond0 and bond1 add themselfs to bond2
[13:55] <\sh> patdk-wk: I tried, and the boot just stops
[13:55] <halvors> (kl. 13.21 +0100) halvors: I am trying to setup Samba
[13:55] <halvors> (kl. 13.22 +0100) halvors: My goal is to login using unix users
[13:55] <halvors> (kl. 13.22 +0100) halvors: And get access to users /home directory.
[13:55] <halvors> (kl. 13.22 +0100) halvors: But i can't get it, so can anyone her look at my conf file?
[13:56] <halvors> (kl. 13.24 +0100) halvors: Here is my /etc/samba/smb.conf file: http://pastebin.com/jF7j4UxE
[13:56] <gobbe> halvors: afaik samba needs separate passwords for users, you cannot use linux-users directly
[13:58] <patdk-wk> \sh I'll play with it sometime :) just don't have time till nextweek probably
[13:58] <halvors> gobbe: But i can't access homes
[13:59] <halvors> Does not samba ot libpam-smbpass
[13:59] <halvors> syncronize it?
[14:07] <RoAkSoAx> morning all
[14:07] <Daviey> RoAkSoAx, !
[14:07] <Daviey> How is it going?
[14:08] <RoAkSoAx> Daviey: pretty good, how about yourself
[14:09] <jpds> Daviey: You're not Cisco.
[14:13] <Daviey> jpds, am i not? :o
[14:13] <Daviey> RoAkSoAx, Good thanks.
[14:16] <panfist> my server has some nfs shares that are failing to mount on boot, is there any way to proceed booting anyway? it seems like it's just stuck
[14:19] <thomas_s> panfist: use _netdev in the mount options (after "default" in /etc/fstab). That will make sure they're ignored until the netfs service runs
[14:20] <thomas_s> s/default/defaults/ - sigh
[14:21] <panfist> thomas_s: i'm having trouble just getting a terminal prompt. it goes straight from the bios screen to the mount.nfs errors. i thought there was a key to press to go to the grub menu or something, but nothing is working
[14:22] <thomas_s> panfist: oic. you've got the grub timeout set to 0 probably.
[14:22] <thomas_s> But the failure to mount the fs' (unless it's the root you're nfs mounting?) should drop you to single user mode
[14:23] <thomas_s> You may need to bring out the ol' bootable cd
[14:27] <alvin> thomas_s, panfist: While the man page will tell you otherwise, _netdev will not help you. See bug 384347
[14:27] <panfist> sorry, i just crashed, i tried to send ctrl-alt-f3 to the server, it's running in a virtual machine, but the command was sent to the host machine instead and unfortunately trying to switch back to ctrl-alt-f7 causes my host's kernel to freeze
[14:28] <alvin> I have a few clients that don't mount their NFS shares automatically and I mount them after boot with mount -a -t nfs (or nfs4)
[14:48] <zul> some upstreams should be dead
[15:17] <panfist> is there any way to configure my server so that it starts listening for ssh connections before it tries mounting nfs shares?
[15:20] <\sh> patdk-wk: it's became more complicated ... I can see in syslog that the active bond slave changed from bond0 to bond1 but the mac address of bond1 is not taken by bond2 ;)...strange
[15:26] <zul> SpamapS: ping did you test the mysql stuff first?
[15:53] <Roasted> hola
[15:53] <Roasted> anybody have experience with setting up freeradius on linux?
[15:58] <zul> SpamapS: never mind i suck
[16:14] <sushi_> I accidentally removed one files from nginx. I reinstalled it but I don't see that file even after reinstallation. Any idea why?
[16:18] <SpamapS> zul: I will have to disagree with you there. You stink a bit, but you don't suck. :)
[16:18] <SpamapS> sushi_: is it in /etc ?
[16:19] <sushi_> SpamapS: I think I might need to apt-get purge.
[16:19] <sushi_> Yeah the file was in /etc/nginx/sites-available/default
[16:19] <SpamapS> sushi_: no
[16:19] <SpamapS> well you can --purge..
[16:19] <SpamapS> or dpkg -i file.deb --force-confmiss
[16:21] <sushi_> Yeah I can see the file after clean reinstall. THis django deployment is just killing me.
[16:21] <SpamapS> sushi_: removing a conffile is considered the same as editting it.. dpkg preserves it
[16:21] <SpamapS> sushi_: so --force-confmiss will restore it
[16:22] <azertyu> hello, why java not available on repository ?
[16:22] <sushi_> SpamapS: Thanks. TIL moment.
[16:22] <azertyu> i need to need to remote control 2 bladesystem
[16:22] <azertyu> i got a serious problem with java
[16:22] <SpamapS> !confmiss
[16:22] <SpamapS> that might be a good thing to have in the bot
[16:30] <azertyu> lo
[16:30] <azertyu> any one there ?
[16:33] <sushi_> plenty people here
[16:36] <azertyu> do you see my question ?
[16:46] <Tophat> ive got an opsview server setup to send email alerts, but now my sending SMTP acct is getting flooded with delivery failure messages -- ive uninstalled exim4 and still getting email failures, any way to stop the emails?
[16:54] <RoAkSoAx> zul: have a sec? I'm trying to package fence-agents, and I keep getting this error, in both the debian package, and compiling the source... any ideaS? http://pastebin.ubuntu.com/562065/
[16:55] <zul> looking
[16:55] <zul> RoAkSoAx: bad xml tag maybe?
[16:55] <RoAkSoAx> zul: that's the thing, the file is empty
[16:56] <RoAkSoAx> zul: i can't seem to figure it out, gonna have to try to compile it in maverick and see what happens
[16:56] <zul> fence2man.xsl is empty?
[16:57] <RoAkSoAx> zul: "python fence_alom" -> fence_alom is
[17:00] <RoAkSoAx> zul: this command ends up with empty output "python fence_alom ../../../fence/agents/lib/fence2man.xsl -o metadata"
[17:00] <RoAkSoAx> where fence_alom is created during build
[17:00] <RoAkSoAx> but is also empty
[17:01] <RoAkSoAx> maybe it is a bug in the makefile itself
[17:02] <zul> probably
[17:02] <zul> SpamapS: so the mysql source stuff
[17:08] <SpamapS> zul: yes?
[17:08] <zul> SpamapS: so i dont like it but is a necessary evil so i uploaded it
[17:12] <zul> SpamapS: so finish up the plugin and ill upload it as well
[17:12] <zul> and review it
[17:12] <SpamapS> zul: COOL.. ok n/m you don't stink. ;)
[17:13] <zul> SpamapS: heh
[17:27] <RoAkSoAx> zul: seems to be something wrong with python case all other that are not python based, they build ok
[17:29] <geekbri> if i only want to send outgoing mail from a server running ubuntu 10.04 what would be the best to install, exim ?
[18:07] <zul> SpamapS: can you look at https://bugs.launchpad.net/ubuntu/+source/nis/+bug/569757 its upstartish :)
[18:12] <SpamapS> zul: no sorry we fixed all the bugs in upstart that is user error ;)
[18:13] <zul> SpamapS: heh you just dont want to touch nis
[18:14] <SpamapS> DING DING DING
[18:14] <SpamapS> bingo
[18:14] <SpamapS> I used NIS successfully to deploy a roaming /home solution for a middle school computer lab once.
[18:14] <SpamapS> *never again*
[18:17] <zul> SpamapS: yes those were the days
[18:27] <RoAkSoAx> lol
[19:07] <airtonix> 4 yorkshiremen go!
[19:17] <gurkan_> hi all
[19:17] <gurkan_>  how to set the smtp server of my provider in my home's mailrc file i use mailutils 2.1
[19:17] <gurkan_> i saw the manual but not enough clear
[19:17] <gurkan_> someone have a mailrc sample
[19:30] <gnuyoga> gurkan_: what are u trying to do ?
[19:30] <gnuyoga> more details please
[19:32] <gurkan_> i try to set the smtp server of my provider in my home's mailrc file , it's for sending mail
[19:32] <gurkan_> i try to send mail myself
[19:33] <Roasted> anybody here familiar with freeradius? I keep going in loops with the authentication process.
[19:34] <gurkan_> i want to implement the line smtp://mysmtp.server.stuff in mailrc , i messed up the config
[19:43] <Sorinan> I jsut installed ubuntu server, but I'm getting an error when starting the system: modprobe: FATAL: Could not local /lib/modules/2.6.35-22-server/modules.dep
[19:44] <Sorinan> Altought the modules.dep exists, I already tried running depmod and regenerationg initramfs. Any ideas?
[19:46] <Sorinan> *Could not load /lib...
[20:17] <LaRockus> Has anyone here experienced an Ubuntu 9.4 Apache web server freezing up when the sendmail minute cron runs? I've looked all over but haven't been able to find any other instances of the same thing happening on the forums.
[20:33] <fluvvell> LaRockus, being a server, any reason it hasn't been upgraded to 10.04 LTS?
[20:37] <LaRockus> compatibility issues with our latest software release hasn't been through the QA process completely on a 10.4. I wish it had though, would love to get it upgraded.
[20:39] <LaRockus> I have 15 servers with the exact same configuration, only this one is giving me issue.
[20:40] <smoser> SpamapS, what woudl you do with: https://bugs.launchpad.net/ubuntu/+source/mysql-dfsg-5.1/+bug/711635
[20:40] <SpamapS> smoser: reading
[20:40] <thesheff17> LaRockus: anything in the logs...are the server patches up to date?
[20:41] <LaRockus> patches are up to date. Which logs specifically?
[20:42] <SpamapS> smoser: interesting.. I'd look at daemon.log .. is upstart trying to respawn mysqld?
[20:42] <smoser> well, the config probably tried to restart it
[20:42] <smoser> but its never going to start
[20:42] <thesheff17> LaRockus: usually freezes are kernel panics....have you been updating the kernels?
[20:42] <smoser> because it can't read /var/lib/mysql
[20:42] <smoser> :)
[20:42] <SpamapS> smoser: it shouldn't "never start" tho.. it should just error out
[20:42] <smoser> well, it is just hanging there.
[20:43] <SpamapS> Right, start mysql is waiting for something...
[20:43] <glycoknob> I have a question regarding ufw - I block outgoing connections but there are connections from port 80 to random higher ports (and random ips) that are blocked. apache should not doing this or?
[20:43] <SpamapS> smoser:     /lib/init/apparmor-profile-load usr.sbin.mysqld
[20:43] <SpamapS> smoser: is that running?
[20:44] <Roasted> anybody set up freeradius before? I'm having uathentication issues that I can't seem to track down
[20:45] <LaRockus> thesheff17, the install is less than a week old, unless there has been a huge kernel update in the last week should be good. the site actually stays up, and sendmail still sends when manually ran, its just extremely slow though, and does not run on through the cron
[20:45] <SpamapS> LaRockus: can you manually run the same command as the cron job runs?
[20:46] <smoser> SpamapS, http://paste.ubuntu.com/562208/
[20:46] <LaRockus> yeah, it takes about 10 minutes for each message to process.
[20:48] <thesheff17> LaRockus: maybe a hardware issue or a networking issues....how long does it take on the other servers? is it instant?
[20:49] <SpamapS> smoser: ahh!
[20:49] <SpamapS> smoser: its spinning forever in the post-start
[20:49] <SpamapS> smoser: or rather, it should only be spinning for 30 seconds
[20:50] <smoser> SpamapS, i wouldnt think its in post-start
[20:50] <SpamapS> smoser: status mysql
[20:50] <smoser> as there is no mysql process (in that pastebin)
[20:50] <SpamapS> smoser: right, because it exitted
[20:50] <smoser> mysql respawn/post-start, (post-start) process 24511
[20:50] <SpamapS> but post-start spins trying to ping the server
[20:50] <SpamapS> yep
[20:50] <SpamapS> should fail after 30 seconds
[20:51] <LaRockus> the transmission itself is almost instant, in and out through the mail queue in almost no time.
[20:52] <SpamapS> smoser: it should actually report the failure.. just that it will take 30 seconds :-P
[20:52] <thesheff17> LaRockus: sounds like a routing issue...I would check dns, network config, ping times, tracepath maybe even a different nic on the server.
[20:53]  * RoAkSoAx spent hours and hours trying to figure out what was wrong with the packaging/compilation of fence-agents to end up discovring that the cause of the failure was becuase of dash
[20:53] <LaRockus> with a routing issue would i experience any issues with the page displaying.
[20:54] <thesheff17> LaRockus: with apache?  not sure I understand the question ...displaying
[20:54] <smoser> SpamapS, yeah, its not failing after 30 seconds.
[20:54] <SpamapS> smoser: hmm.. logic error maybe
[20:56] <SpamapS> smoser: can you strace that sh process?
[20:56] <SpamapS> You actually might not be able to.. not sure if upstart ptrace's its post-start shells
[20:56] <SpamapS> I think not tho
[20:57] <LaRockus> I would expect to see issues with the web page displaying if there were physical issues with my nic, or with the DNS routing, or is my thinking wrong.
[20:58] <thesheff17> LaRockus: I admit I haven't used 9.04 much but when I did I saw it terribly slow on ssh for some reason even though apache worked fine....another thing you can do is just try 10.04 and see if you see the same problem and then you know it is software based.
[20:59] <smoser> SpamapS, upstart is re-execing that
[20:59] <LaRockus> I might have to try 10.04, I'm just reluctant with it being on a live customer. Thanks for the tips, im looking into those now.
[20:59] <smoser> i added a sh -x and redirected the post-start output to a file and i can watch it get called again after counting to 30
[20:59] <SpamapS> smoser: HMM
[21:00] <SpamapS> smoser: I wonder if that has to do with the respawning
[21:00] <smoser> respawn
[21:00] <smoser> yeah
[21:00] <smoser> it makes sense.
[21:00] <smoser> the job failed
[21:00] <smoser> upstarts trying to restart it
[21:00] <SpamapS> smoser: so maybe we need a respawn limit
[21:00] <thesheff17> LaRockus: there is just allot of factors from hardware, to networking config, to software...and only slowing eliminating them will help you find the problem.
[21:00] <SpamapS> I think the normal limit is like, 3 times in 5 seconds
[21:00] <SpamapS> But if we're delaying it by 30 seconds....
[21:01] <smoser> hm... can you exit from a pre-start in a way that says "don't bother"
[21:01] <SpamapS> actually we should probably change the goal back to stop
[21:01] <SpamapS> yes,   stop ; exit 0
[21:01] <smoser> why not stop exit 1
[21:01] <SpamapS> oh either is ok
[21:02] <SpamapS> 1 will report the problem to the user so yeah thats better
[21:02] <SpamapS> 0 is for if its been disabled
[21:05] <SpamapS> smoser: ultimately, we don't want to keep respawning over and over.
[21:05] <SpamapS> smoser: so I think the fix is  respawn limit 3 95 .. which would mean it respawns 3 times in a row waiting 30 seconds between (and give it 5 seconds for churn)
[21:06] <SpamapS> smoser: will post in the bug..
[21:06] <smoser> i dont know.
[21:06] <smoser> you migh tconsistently miss the 3 restarts in 95 seconds
[21:06] <smoser> due to load
[21:06] <smoser> and still hang there
[21:07] <SpamapS> I don't see a way to know before starting mysqld, that mysqld is going to fail.. but we can probably confirm that its not starting correctly if it fails 3 times in a row.
[21:07] <SpamapS> the exec is instantaneous..
[21:07] <smoser> i think if the post-start doesn't ever ping after 30 seconds, i think 'stop; exit 1;' is proper
[21:07] <SpamapS> the mysqladmin is a unix socket only..
[21:07] <smoser> nothing is instantaneous
[21:07] <SpamapS> so the thing would have to be *destroyed* with load
[21:08] <smoser> its also running http://pastebin.com/ZgPrG9AQ
[21:08] <SpamapS> on a respawn, the exec will wait for almost nothing
[21:08] <SpamapS> the binary is already cached..
[21:09] <smoser> http://pastebin.com/PSCz4HpN is /usr/share/mysql/debian-start.inc.sh
[21:09] <smoser> forks left and right in that script.
[21:09]  * SpamapS just loves waiting 30 seconds for pastebin's ads
[21:10] <smoser> all sorts of things could make this take longer than 1.033 seconds to run a full post-start
[21:10] <smoser> anyway...
[21:10] <smoser> if the thing never pings inside 30 seconds, the idea is its dead.
[21:10] <smoser> respawning is pointless.
[21:10] <SpamapS> smoser: debian-start is after everything is ok
[21:10] <smoser> true.
[21:11] <SpamapS> 120 may be in order though.
[21:11] <smoser> so, i dont know. but why would you bother.
[21:11] <SpamapS> just .. because why not?
[21:11] <smoser> it is seriously not going to come up
[21:11] <smoser> the whole point of the pre-start is to do this delay and wait for you
[21:11] <SpamapS> I'm more worried that we're only waiting 30 seconds
[21:11] <smoser> what value is there in doing it 4 times.
[21:11] <SpamapS> Have had mysql servers wait *hours*
[21:12] <SpamapS> innodb recovery is a bitch
[21:12] <smoser> hm..
[21:12] <smoser> i dlon t knwo.
[21:13] <smoser> if post-start exits false, then upstart respawns ?
[21:13] <SpamapS> so you're thinking only try and respawn once?
[21:13] <SpamapS> no
[21:13] <smoser> does it ?
[21:13] <SpamapS> upstart respawns if the main process exits != 0
[21:13] <smoser> so the loop is caused by mysql actually dying
[21:13] <smoser> yeah.
[21:14] <SpamapS> if the process is up, but the post-start exits 1 .. I think its just going to fail the start event
[21:14] <SpamapS> but the state won't be changed
[21:14]  * SpamapS tests this thory
[21:14] <SpamapS> theory too
[21:16] <SpamapS> actually exit 1 in post-start does nothing
[21:17] <SpamapS> Feb  3 13:16:07 lucid init: test-pstart post-start process (1279) terminated with status 1
[21:17] <SpamapS> thats about all you get
[21:18] <SpamapS> So really all you're doing is delaying or cancelling the started event
[21:19] <SpamapS> (running stop in post-start will kill the main process and there won't be a started event)
[21:20] <azertyu> hi there
[21:20] <azertyu> is there anyone here
[21:20] <SpamapS> azertyu: yes!
[21:21] <azertyu> well i got a vps server
[21:21] <azertyu> i forgot to backup data
[21:21] <azertyu> now someone hack my server
[21:22] <azertyu> root password gone
[21:22] <markpof> uh oh
[21:22] <azertyu> my question is : is it possible to sync vps data to my home pc ?
[21:22] <SpamapS> azertyu: I'm sure you can get a massage and some tylenol...
[21:23] <SpamapS> azertyu: sure. just rsync the data.
[21:23] <azertyu> i got2T Þ of HDD at home
[21:24] <smoser> azertyu, you can certainly sync anything your user can get to, assuming you can get to the vps system.
[21:25] <azertyu> rsync is it a virtual raid ?
[21:26] <SpamapS> azertyu: no it just copies things very quickly
[21:26] <SpamapS> azertyu: if you want the data copied in real time that will be much harder
[21:28] <azertyu> what do you mean by quickly copies ?
[21:28] <azertyu> is that copies just the data
[21:28] <azertyu> ?
[21:29] <azertyu> first i want to know virtual raid is that existing ?
[21:32] <SpamapS> smoser: fyi the default is not to stop respawning unless it tries *10 times* in 5 seconds
[21:32] <SpamapS> smoser: doh
[21:32] <smoser> i suspect that someone just added exim4 to the list of packages supervised by ubuntu-server
[21:32] <smoser> http://ubuntu-server-new-bugs.notlong.com/
[21:33] <azertyu> well, what i want to kow is :  i want to synceverything on my home pc  from the vps in case if i change my vps  i need every to reconstruct
[21:33] <azertyu> is it possible ?
[21:33] <azertyu> rebuild
[21:33] <SpamapS> azertyu: you should look into etckeeper too..
[21:34] <smoser> azertyu, you could very likely do something like a 'ssh root@VPS dd /dev/sda > my.disk.img'
[21:34] <smoser> but that is going to take quite a while
[21:35] <SpamapS> hah.. and may not be usable on a different disk.
[21:35] <smoser> you're would be much better off just getting the filesystem contents, and posibly the partition table and MBR or something.
[21:36] <smoser> rsync -avz root@VPS:/ ./my-vps-backup
[21:36] <SpamapS> yeah,   ssh root@VPS tar -czf - > backup.tar.gz also works
[21:36] <SpamapS> or you could do what I do.. tar my boxes up and push the tarball into S3
[21:36] <smoser> the rsync would be interupptable would be the big reason to use that.
[21:36] <smoser> if you connection died it would resume well.
[21:36] <markpof> is the dd output conform to the .img format (if there even is one?)
[21:37] <smoser> there is no ".img" format really.
[21:37] <markpof> ah
[21:37] <smoser> but basically, it would work with kvm as a "raw" disk file
[21:37] <smoser> (qemu-img create -f raw my-disk.img)
[21:37] <markpof> raw
[21:37] <markpof> i see
[21:40] <azertyu> there is no result for etchkeeper
[21:40] <azertyu> !
[21:40] <SpamapS> azertyu: etckeeper
[21:40] <azertyu> yes
[21:41] <azertyu> ok
[21:41] <azertyu> find it
[21:41] <azertyu> cfengine is for what ?
[21:42] <azertyu> anyone know that package ?
[21:42] <SpamapS> cfengine is  more for managing multiple machines
[21:43] <azertyu> be explicit
[21:43] <SpamapS> cfengine more for managing multiple machines, $#@!
[21:44] <azertyu> what kind of tasks ?
[21:44] <azertyu> managing what kind of tasks ?
[21:47] <SpamapS> smoser: the plot thickens .. I think the default respawn policy may cause something weird. *ANY* respawn limit clause seems to fix this problem.
[21:47] <SpamapS> smoser: including 'respawn limit unlimited'
[21:48] <SpamapS> heh.. which is an undocumented feature.. fun
[21:49] <smoser> really.
[21:49] <smoser> thats interesting.
[21:50] <SpamapS> yeah I'm trying some crazy limits and it works as I'd expect.. failed to start job
[21:50] <smoser> so the pre-start isn't counted in the respawn i guess ?
[21:51] <SpamapS> post-start..
[21:51] <SpamapS> not sure
[21:53] <SpamapS> smoser: so there's something that gets inexplicably changed just by having a limit mentioned..
[21:53] <SpamapS> smoser: the code defines the defaults as a limit of 10, interval 5 seconds
[21:53] <SpamapS> smoser: but if I say   respawn limit 10 5 ... the job fails as I'd expect
[21:54] <SpamapS> smoser: likewise a limit of 1 100 .. or<PHONE_NUMBER>0000
[21:54] <SpamapS> I think this one has to go upstream
[22:07] <mrothhh> were is the link to the hypervisor for zen bearmetal
[22:21] <SpamapS> smoser: commented. The workaround/fix for mysql seems simple.. I'm betting the fix in upstart is not.
[22:37] <SpamapS> zul: when can we kick nis out of main? ;)
[22:50] <MsBetty> What do I need to have a file and print server?
[22:51] <MsBetty> Apache and CUPS?
[22:51] <MsBetty> samba and cups?
[22:58] <qman__> MsBetty, that depends on your clients
[22:59] <MsBetty> qman__, two laptops on a home network
[22:59] <qman__> CUPS is needed if the printers are directly attached to the server regardless
[22:59] <qman__> if you have windows clients, you need samba
[22:59] <qman__> if you have linux clients, you have options
[23:00] <MsBetty> qman__, 1 laptop dual boots windows 7/#! and one is Linux Mint 10. An old desktop is getting reused for ubuntu server.
[23:01] <qman__> linux clients can connect directly to CUPS
[23:01] <qman__> but that's only for the printers
[23:01] <qman__> you'd still need a file server
[23:01] <qman__> linux clients can connect to samba file servers, so in a mixed network, samba is the most convenient
[23:02] <MsBetty> so I really just need to configure samba and cups properly. and make sure the clients have the appropriate packages?
[23:02] <qman__> that would work
[23:04] <MsBetty> qman__, thank you for the input. I'll go read the manuals and hopefully everything will go well.
[23:04] <qman__> no problem, good luck
[23:09] <airtonix> yo, i see that bug too when i connect to samba shares in nautilus
[23:10] <airtonix> !bug 712787


[16:13] <DigitalYeti> hmm
[16:13] <DigitalYeti> kinda quiet in here
[16:13] <DigitalYeti> ;)
[16:19]  * DigitalYeti looks around
[18:07] <DigitalYeti> I get the feeling this channel is usually pretty quiet lol


[02:41] <sbalneav> Evening all.  I'm trying to package up cnetworkmanager, and running into a problem.  It's got a setup.py, and a Makefile that calls setup.py for install, etc targets.  In my rules, I've got DEB_PYTHON_SYSTEM=pysupport, and include /usr/share/cdbs/1/class/python-distutils.mk, and dh_pysupport under the binary-install/cnetworkmanager:: stanza.  But, none of the actual cnetworkmanager bits get included in the package.
[02:48] <pting> i'm building php5 from source (php5_5.2.10.dfsg.1-2ubuntu6.3)... apt-get source php5 && dpkg-buildpackage -rfakeroot -uc worked great... i was able to generate the debs... however, subsequent dpkg-buildpackage -rfakeroot -uc seems to invokes a unpatch task in debian/rules... and it always fails at unpatching suhosin.patch... since this is my 1st attempt at building a package from source... am i possibly doing something wrong
[02:48] <pting> ? i'm on karmic
[02:51] <ScottK> sbalneav: It's unlikely yo uneed the  binary-install/cnetworkmanager:: stanza.  I'd try removing that.  Even easier, I'd try the debhelper 7 tiny rules.
[02:52] <ScottK> pting: Mostly likely it's a bogus patch that doesn't unpatch reliably or a bug in the packge clean rule.  You ought to start from a clean source each time you build it.
[03:03] <pting> ScottK, hum.. i ran dpkg-buildpackage without modifying the source after a apt-get source php5... i'll try it again just to make sure
[03:03] <sbalneav> ScottK: Yer some kinda freakin' genius.    It's definitely doing things now, and I'm using the rules.tiny.  but it's trying to run tests as part of the makefile in the check: target.  Any clues as to how I should turn that off?  it's trying to contact a dbus socket for network-manager, which blows fairly big chunks in a pbuilder chroot :)
[03:12] <sbalneav> Should I just patch the makefile to remove the target?
[03:18] <pting> ScottK: strange... here's the steps to repo it... apt-get source php5 && cd php5-5.2.10.dfsg.1 && fakeroot ./debian/rules configure && fakeroot ./debian/rules clean .... and the unpatching fails
[03:18] <pting> maybe it's because i'm calling t he rules tasks manually heh
[03:22] <JontheEchidna> sbalneav: It'd be better to see if there's a variable you can pass to the build to disable tests, but otherwise patching the tests out would work.
[03:24] <pting> well, imma heading out... the more i look at this problem, the more i think it's a bug... i'll look at it some more later... happy holidays everyone
[03:31] <ScottK> sbalneav: You're supposed to be able to pass 'nocheck' to and skip checks, not sure exactly how you do that in this case.
[03:38] <sbalneav> Hmm, well DEB_BUILD_OPTIONS=nocheck doesn't seem to do it...
[03:38] <sbalneav> and dpatch-edit-patch patch foo gives me: dh: Unknown sequence unpatch (choose from: binary binary-arch binary-indep build clean install)
[03:45] <ScottK> Not sure of the details.  Sorry.
[03:47] <sbalneav> NP!  Thanks for the help!
[03:47] <sbalneav> I'll just keep banging at it with the ball-peen hammer 'till it works :)
[03:56] <kklimonda> what would be a version for 1.80 beta1 release when the stable one is going to be 1.80? 1.80~b1-0ubuntu1?
[03:57] <ScottK> That would work.
[04:19] <sbalneav> ScottK: got it.  Just followed https://wiki.ubuntu.com/PackagingGuide/Python to the very letter.  Thanks for all the help!
[04:19] <ScottK> No problem.  Glad it worked out.
[04:23] <sbalneav> Since there's so few of us edubunters, and we've lost laserjock :( I'm gonna go for motu
[04:23] <maco> sbalneav: why not go for edubuntu-dev? they should have their own upload rights infrastructure soonish, right?
[04:23] <sbalneav> I'm already maintaining the sabayon package, and just updated irssi-plugin-xmpp today
[04:24] <sbalneav> this is my first package from scratch.
[04:24] <sbalneav> maco: That I'm not sure of, I'd have to check with highvoltage.
[04:25] <maco> archive reorg means instead of motu / core-dev, its switching over to general / ubuntu desktop / ubuntu server / kubuntu / edubuntu / blah blah blah
[04:25] <maco> kubuntu desktop and ubuntu desktop at least are done with being setup i think, but i dont know about edubuntu
[04:28] <sbalneav> well, either edubuntu-dev or motu, my packaging-fu has to improve :) hence, my diddling tonight.    Controlling network manager from the command line's more my thing anyway :)
[04:28] <maco> wait what?
[04:28] <maco> thats possible? AWESOME
[04:28] <sbalneav> I'll push it to my ppa
[04:29] <sbalneav> uno momento por favor
[04:29] <jdong> maco: you haven't seen cnetworkmanager before?
[04:29] <jdong> you're missing out :)
[04:29] <jdong> but yeah, it's a full blown CLI networkmanager client
[04:29] <maco> jdong: i just use ifup!
[04:29] <jdong> lol *eyerolls* ;-)
[04:30] <maco> well i did silly things to my system due to a broken cd drive (installed on 64bit machine, kept the 64bit /etc to avoid reconfiguring krb/openafs/vpn, then moved the disk to 32bit machine)
[04:31] <maco> so a lot of stuff is kinda broken *shrug* including knetworkmanager reporting that there's already a client running
[04:31] <maxb> wow!
[04:31]  * maxb installs cnetworkmanager
[04:31] <sbalneav> https://edge.launchpad.net/~sbalneav/+archive/ppa
[04:31] <maco> i dont care to debug it because 1) its certainly pebkac 2) i can workaround it easy enough
[04:31] <sbalneav> for karmic
[04:32] <maco> (other things that break when doing that: i have to use startx and audio is busted. i totally do not recommend keeping a cross-arch /etc)
[06:37] <nigel_nb> maco: when would u get the time to help finish with that vmbuilder that you helped me start off?
[06:38] <maco> yeah.... i think someone pointed out that the package included quilt hooks and that i should thus back up and explain it the quilt way instead of the normal way
[06:39] <nigel_nb> oh oh
[06:39] <nigel_nb> which means we get to do it again all over?
[06:39] <maco> i dont remember how far we got
[06:39] <nigel_nb> we got as far as actually editing the diff for the correct directories
[06:40] <maco> ok
[06:40] <nigel_nb> the diff was written to correct the bug when it was actually installed
[06:40] <maco> so make a debian/patches directory in the package
[06:41] <nigel_nb> we didn't get that far
[06:41] <nigel_nb> the last time, the edited debdiff didn't work on dry run
[06:41] <maco> pastebin your edited one
[06:42] <maco> because my edited one did :P
[06:42] <maco> oh i think there was one line where the whitespace was off...
[06:42] <nigel_nb> huh
[06:42] <nigel_nb> okay
[06:42] <nigel_nb> wait
[06:42] <nigel_nb> I did the whole thing again
[06:42] <maco> ok
[06:42] <nigel_nb> and I donno if the result showed that it worked or not :P
[06:42] <maco> huh?
[06:43] <nigel_nb> wait, I'll get you what it said
[06:44] <nigel_nb> Hunk #1 succeeded at 26 (offset -1 lines).
[06:44] <nigel_nb> patching file VMBuilder/plugins/libvirt/templates/libvirtxml.tmpl
[06:44] <nigel_nb> thats a complete success ?
[06:44] <maco> yes
[06:45]  * nigel_nb blushes
[06:45] <nigel_nb> ok, so what do I do next?
[06:45] <maco> now make a debian/patches directory in your source package
[06:46] <nigel_nb> inside the debian directory rite?
[06:46] <maco> well if inside the debian directory, then simply patches
[06:46] <maco> and set: export QUILT_PATCHES=debian/patches
[06:46] <maco> (may want to just plain put that in your .bashrc)
[06:47] <nigel_nb> where in the .bashrc does this go?
[06:47] <maco> anywhere
[06:47] <nigel_nb> done
[06:47] <maco> then itll be set for you all the time when you're working on packages
[06:48] <nigel_nb> ah okay :)
[06:48] <maco> if you didnt run that command on its own though, do so
[06:48] <nigel_nb> the patch?
[06:48] <maco> the export...
[06:48] <maco> since .bashrc takes effect on new shells (or after you run: source ~/.bashrc)
[06:49] <nigel_nb> it say set:: command not found
[06:49] <nigel_nb> extra :?
[06:49] <maco> dont put the word set:
[06:50] <maco> just
[06:50] <maco> export QUILT_PATCHES=debian/patches
[06:50] <nigel_nb> okay, my stupdity, sorry
[06:50] <nigel_nb> done
[06:50] <maco> dtchen says i should  point out that "source" is *only* an ok command to use in bash, dont put it in scripts
[06:51] <nigel_nb> meaning I have to run in manually?
[06:51] <maco> no meaning if youre making scripts for a packge, dont use the command "source"
[06:52] <nigel_nb> oh okay
[06:53] <dtchen> e.g., http://pastebin.com/d1fb25a21
[06:54] <nigel_nb> ah, that way :)
[06:55] <nigel_nb> source command actually updates bash?
[06:55] <jmarsden> nigel_nb: No, source command only exists in bash, not in sh
[06:56] <nigel_nb> jmarsden: oh okay, but what is its exact function?
[06:56] <dtchen> from bash(1): Read and execute commands from filename in the current shell environment and return the exit status of the last command executed from filename
[06:56] <jmarsden> It reads lines of a file and executes them as you they were right there in your script
[06:57] <jmarsden> nigel_nb: help source
[06:57] <nigel_nb> now, why didn't I try help, I tried man
[06:57] <nigel_nb> thanks guys :)
[06:58] <jmarsden> nigel_nb: For bash internal commands, use help, for external commands, use man :)
[06:58] <dtchen> I always refer to man, because not everyone uses bash(1)
[06:58] <nigel_nb> never realized that, now I'm embarassed to know how much of a newbie I actually am :(
[06:59] <jmarsden> dtchen: well, someone who uses source without thinking about it probably *does* use bash :)
[06:59] <dtchen> hence why I use man page references :-)
[07:01] <nigel_nb> okay, what next?
[07:05] <nigel_nb> maco: off to bed?
[07:05] <maco> nigel_nb: by the way when dtchen says bash(1) he means "man 1 bash"
[07:06] <maco> soon, yes. feeling rather sick
[07:06] <maco> after this cup of tea
[07:06] <nigel_nb> how free are you on sunday?
[07:07] <maco> busy. school projects and a dinner outing
[07:07] <nigel_nb> in a sense we're in the same boat
[07:07] <nigel_nb> I'm out with cold
[07:07] <nigel_nb> worked all night
[07:07] <nigel_nb> now its 12:37 PM
[07:07] <maco> i feel like the top of my head is trying to kersplode off. i think i have a sinus infection :(
[07:07] <nigel_nb> strange, I got up yday at someting like 4 PM
[07:08] <nigel_nb> oh oh
[07:09] <nigel_nb> get to a doc soon
[07:09] <nigel_nb> or get some tylenol sinus (not sure if its OTC)
[07:10] <maco> i have lots of sudafed, ill be ok :)
[07:11] <nigel_nb> been off the clinic note stuff for quite some time, dont remember the cold drugs :(
[07:11] <nigel_nb> in real life, I work as a medical transcriptionist
[07:31] <nigel_nb> maco: want to do this later? :)
[07:31] <maco> yeah
[07:31] <nigel_nb> thought so, and I feel guilty keeping you up when u're sick
[07:31] <nigel_nb> some time on sunday?
[07:31] <maco> as i said busy sunday
[07:32] <maco> maybe saturday?
[07:32] <maco> well its technically saturday now
[07:32] <maco> but i mean the saturday evening that comes in 15 hours :P
[07:32] <nigel_nb> well, its saturday afternoon for me now
[07:33] <nigel_nb> and I got work tonight
[07:33] <nigel_nb> :(
[07:33] <nigel_nb> which extends to next week
[07:35] <nigel_nb> how about some time next week then, if u're free
[07:42] <nigel_nb> maco: ?
[07:42] <maco> ok
[07:42] <maco> are you in au or nz or something?
[07:42] <nigel_nb> go to bed :)
[07:42] <maco> timezones are confusing.
[07:42] <maco> hehe its almost 3am here
[07:42] <nigel_nb> a little way too ahead
[07:42] <maco> on saturday
[07:42] <nigel_nb> I'm in India
[07:42] <maco> ah ok
[07:43] <nigel_nb> 2:42
[07:43] <nigel_nb> I know
[07:43] <nigel_nb> I added you to my clock
[07:43] <maco> ah ok. i just have europe in my clock list
[07:43] <nigel_nb> its 1:15 here :)
[07:43] <nigel_nb> and I'm fatigued
[07:43] <nigel_nb> I'm a little more ahead of "that" time :P
[07:44] <nigel_nb> btw, I did mail you sometime last week
[07:44] <nigel_nb> or I think I mailed you, from LP
[07:46] <nigel_nb> I'm off then, catch you later :)
[07:51] <mannyv> fabrice_sp, if you are around did you still have some merges you wanted a hand with, im running our of sync requests
[07:52] <fabrice_sp> mannyv, I have an upgrade
[07:52] <fabrice_sp> let me check
[07:52] <fabrice_sp> :-)
[07:52] <fabrice_sp> well: merge/sync
[07:53] <mannyv> oh i was going to say i havent done  an upgrade before
[07:53] <fabrice_sp> uim: I upgraded it for Karmic, and now, Debian has a newer version
[07:54] <fabrice_sp> it's a kind of 'messy' package
[07:54] <mannyv> well i could give it a shot, about time i got my hands dirty
[07:55] <fabrice_sp> unstable has 1.5.7 (because of a build dependency), and Lucid 1.5.6 :-)
[07:55]  * fabrice_sp has to check if he has more merge/sync waiting in MoM
[08:04] <fabrice_sp> mannyv, you can also have a look at hydrogen
[08:05] <fabrice_sp> I had a quick look, and it should be a merge
[08:05] <mannyv> ok uim and hydrogen
[08:05] <fabrice_sp> yes
[08:05] <fabrice_sp> and I've just seen that porthose stole me a sync! ;-)
[08:06] <fabrice_sp> so for any contributor: remember to ask previous uploader, before working on a merge or a sync
[08:07]  * fabrice_sp goes back to sponsoring :-)
[08:16] <mannyv> fabrice_sp, I was having a look at cyrus-sasl2-heimdal and there is no difference between the ubuntu and debian package  http://pastebin.com/f38ce0ad9, except for the standard maintainer/original-maintainer fields. It builds fine but I cant do a test install because one of its depends is waiting for a merge
[08:17] <mannyv> it should have been a sync and not a merge last time too
[08:17] <fabrice_sp> which depends?
[08:18] <mannyv> Depends: libsasl2-modules (>= 2.1.23.dfsg1-3) but 2.1.23.dfsg1-2ubuntu1 is installed
[08:22] <fabrice_sp> hmm: this package is in main... I can't help you more than saying: ask to zul to see if he is willing to work on the merge again
[08:23] <mannyv> ok i will talk to him next time he is around, and i am awake, good night =)
[08:23] <fabrice_sp> good night :-)
[08:23] <fabrice_sp> by the way: did you put in MoM that you are working on hydrogen and uim merge?
[08:25] <fabrice_sp> Did it for you :-)
[10:13] <stochastic> Is there any reason why Raul http://packages.debian.org/source/squeeze/raul and Flowcanvas http://packages.debian.org/source/squeeze/flowcanvas have not yet been pulled from squeeze into Lucid?  Is there a proper way to request these?
[10:13] <fabrice_sp> stochastic, are they 3.0 source format?
[10:13]  * stochastic isn't sure what that means
[10:13] <fabrice_sp> by the way, what about bug 479156?
[10:14] <fabrice_sp> hmm, flowcanvas is 1.0 format :-/
[10:14] <stochastic> fabrice_sp, that has been committed for Lucid's codbase
[10:14] <fabrice_sp> no idea then
[10:14] <fabrice_sp> u-u-s has been subscribed. So you want someone to review it?
[10:15] <fabrice_sp> it's still in progress
[10:15] <stochastic> fabrice_sp, I'm not sure what to mark that bug
[10:15] <fabrice_sp> do want your debdiff to be sponsored?
[10:16] <stochastic> fabrice_sp, I've committed the code changes to the bzr branch of ubuntustudio's seeds, but for it to be fixed in Karmic, someone else will need to push the debdiff
[10:16] <stochastic> I don't have the upload privileges
[10:16] <fabrice_sp> oh, for karmic. so it's a SRU
[10:17] <stochastic> yeah, but I'm not sure if the bug deserves a SRU fix for karmic
[10:17]  * stochastic hasn't ever filed an SRU before
[10:17] <fabrice_sp> you should subscribe ubuntu-sru team, then
[10:17] <fabrice_sp> !sru
[10:17] <fabrice_sp> just follow the guide ;-)
[10:17] <stochastic> fabrice_sp, do you think that bug deserves an SRU?
[10:17] <fabrice_sp> let me check
[10:18] <stochastic> or should it just get fixed in Lucid and be left at that?
[10:18] <fabrice_sp> not sure it's worth a SRU
[10:18] <stochastic> that's what I was thinking
[10:18] <fabrice_sp> what do think ubuntustudio members?
[10:19] <stochastic> ??? who are you asking?
[10:20] <stochastic> I can raise the issue at the next Ubuntu Studio Developer's meeting (Dec 13th)
[10:23] <stochastic> fabrice_sp, so what's the proper way to request Raul and Flowcanvas?
[10:26] <fabrice_sp> new packages should have been synced. Ask an archive admin, because I don't know
[10:27] <stochastic> fabrice_sp, do you know of any archive admins that would be around?
[10:27] <geser> as autosync needs now more handholding as in the past, I get the impression it's get done less frequent
[10:31] <stochastic> geser, would you know any archive admins that would be responsive a this time on a saturday?
[10:33] <geser> stochastic: https://wiki.ubuntu.com/ArchiveAdministration#Archive%20days
[10:34] <fabrice_sp> have to go. Bye
[10:34] <geser> nobody on the weekends, unless you are lucky to reach one of them and presuade him
[10:35] <stochastic> geser, okay thanks.  I'll wait
[11:34] <cjwatson> stochastic: raul and flowcanvas (among others) are on their way in now
[11:45] <geser> anyone familiar with python-central around?
[11:50] <pochu> mvo and doko, but they're not around :)
[11:50] <pochu> POX too
[11:50] <pochu> geser: what's up?
[11:50] <geser> bug 490731
[11:53] <geser> hmm, when thinking more about it, isn't this more a dpkg problem? I remember something about changing a directory into a symlink
[12:02] <pochu> geser: sounds like a bug in the package
[12:02] <pochu> it should rmdir the directory in preinst I think
[12:02] <geser> yes, "A directory will never be replaced by a symbolic link to a directory or vice versa;" (policy 6.6.4)
[12:15] <stochastic> cjwatson, thank you very much!
[12:26] <stochastic> grr, flowcanvas failed to build
[13:00] <stochastic> hmm, on this build log: http://launchpadlibrarian.net/36472094/buildlog_ubuntu-lucid-i386.flowcanvas_0.5.1-1_FAILEDTOBUILD.txt.gz there's a line that says "sh: gcc: not found"  what could be causing gcc not to be found on a compile?
[13:02] <geser> stochastic: that line appears in all build logs, you can ignore that
[13:03] <geser> "error: 'uint32_t' has not been declared
[13:03] <geser> looks like a missing include (or a missing define)
[13:03] <stochastic> geser, yeah, it looks like it's a compiler issue with the code.  It built fine in Debian.
[13:03] <geser> stochastic: debian still uses gcc 4.3 by default, right? Ubuntu has gcc 4.4
[13:04]  * stochastic checks debian, but knows we use 4.4
[13:04] <stochastic> yes, that's correct
[13:04] <geser> did you do a testbuild before requesting the sync, didn't you?
[13:05] <stochastic> no, I was just eager to start building higher level packages
[13:06] <stochastic> geser, so the proper way to go about fixing this is to file a 'fails to build' bug on flowcanvas, get a patch cooked up, then make a debdiff?
[13:07] <geser> yes, and forward it to debian and upstream. Debian will have the same problem once it moves to gcc 4.4
[13:07] <stochastic> okay, will do.
[16:14] <ScottL> i'm working with the ubuntu studio developers trying to package lv2 apps for lucid
[16:14] <ScottL> but i don't think i've set up my pbuilder correctly for using lucid
[16:14] <ScottL> it doesn't seem to find the new lv2 apps already in lucid for building these new ones
[16:15] <ScottL> can someone answer a few questions about setting up pbuilder for newer releases
[16:17] <ScottL> this is the information that i've been following:   https://help.ubuntu.com/6.10/ubuntu/packagingguide/C/gs-pbuilder.html
[16:18] <geser> ScottL: do you have universe enabled in your pbuilder?
[16:22] <ScottL> geser, to be honest, i'm not sure  i did update pbuilder with --othermirror "deb http://archive.ubuntu.com lucid universe mulitiverse"
[16:25] <ScottL> geser, are you talking about settings in ~./pbuilderrc?   I just found this in the wiki for pbuilder
[16:25] <geser> better check inside your pbuilder (pbuilder login) if universe is enabled (e.g. by looking at /etc/apt/sources.list)
[16:40] <ScottL> geser, i loging into the pbuilder and found sources.list but I don't know how to open it, gedit, less, vi, nano all don't work
[16:41] <geser> cat or install less (apt-get install less)
[16:45] <ScottL> geser, i forget about cat and quite frankly i didn't think to try apt-get inside the chroot environment, but I should have, brb
[16:46] <geser> a pbuilder chroot is very minimal so everything you need you have to install
[16:46] <ScottL> geser, using cat it i found that it only includes the main repository, so I could echo "deb etc, etc lucid universe" >> /etc/apt/security.list  no?
[16:47] <ScottL> but how would I save the changes under the chroot?
[16:47] <ScottL> obviously i need to read up on the chroot instead of just the pbuilder stuff
[16:47] <geser> either that (but then you need pbuilder login --save-after-login) or use the steps on the pbuilder wiki page
[16:48] <ScottL> i'll try the login --save-after-login....man, thanks a million
[16:49] <ryanakca> When a library bumps it's SONAME (libfoo1 -> libfoo2), and I bump it in control, do I have to add a conflicts or a replaces for libfoo1 ?
[16:50] <geser> no, that way you can have libfoo1 and libfoo2 both installed (unless you have a file conflict)
[16:50] <jmarsden> ryanakca: Usually, yes.  If the two libs can coexist on a system, no.
[16:50] <porthose> ScottL, have a look at pbuild-dist in ubuntu-dev-tools, I find it handy for managing multiple pbuilders :)
[16:50] <ryanakca> jmarsden: How can I find out if the can coexist?
[16:50] <jmarsden> ryanakca: Try installing them both and see if they conflict :)
[16:51] <ryanakca> jmarsden: lovely :)
[16:51] <geser> ScottL: btw your nick is pretty close to ScottK :)
[16:57] <ScottL> porthose, I read about that and I look forward to having that as I dabble in backporting jack, ardour, celt, ffado for ubuntu studio
[16:57] <ScottL> porthose, but i want to keep it simple until i feel like i have thing a little more under control ;P
[16:58] <porthose> ScottL, cool :)
[16:58] <ScottL> geser, yeah, our last names even have the same number of syllables   :D
[16:58] <ScottL> oh, it appears that it's working btw    thanks you guys, big time help
[17:00] <qnix> hmm... what the other tool similar to cowbuilder/pbuilder ?
[17:01] <qnix> cbuilder? something like that...
[17:01] <geser> sbuild?
[17:01] <qnix> yea! thx.
[17:02] <qnix> What are the benefits to use it instead of cowbuilder&
[17:43] <mok0_> qnix, the real advantage of sbuild is that you can use it with LVM snapshots
[17:44] <qnix> so, the chroot is never corrupt or something?
[17:44] <qnix> I've never had problem with my current setup. (not using snapshot)
[17:45] <hyperair> it really depends which technology you prefer
[17:45] <hyperair> i prefer cowbuilder since my space isn't limited.
[17:46] <davromaniak> hi
[17:46] <davromaniak> I would like to know if there's a template page for the laptop tests on the wiki
[17:46] <qnix> Currently, My build machine is a openvz vm, so I guess sbuild will not bring me any benefit.
[17:47] <qnix> It works well, and I can move my build machine anywhere easily.
[17:47] <qnix> Anyway, will try sbuild a day for sure.
[17:48] <ryanakca> libqinfinity bumped its SONAME from 1 to 2 between 1.0~beta3-1 and 1.0~beta4-1, are these the correct conflicts? http://paste.ubuntu.com/335401/
[17:56] <fcuk112> doing a merge using grab-merge.  i updated the files that appeared in the REPORT file under the debian folder, but apart from that i do not see any other changes that need to be made.  does this mean i need to raise a sync bug?
[17:57] <fcuk112> the patches under debian/diff still apply.
[18:02] <geser> ryanakca: why the conflicts at all?
[18:03] <geser> fcuk112: which package did you work on?
[18:03] <fcuk112> geser: it's dash.
[18:04] <ryanakca> geser: Wait, I don't need them now that I look at it, I didn't want an old version of libqinfinity-dev to be installed alongside libqinfinity2, so I would just need to have a conflicts between libqinfinity2 and libqinfinity1 so that the two don't get installed together.
[18:05] <geser> ryanakca: can't they both be installed at the same time?
[18:06] <ryanakca> geser: Well, wouldn't having libqinfinity-dev and both libqinfinity1 and libqinfinity2 installed at the same time cause confusion? If I had libqinfinity-dev installed and upgraded to libqinfinity2, I would want to make sure libqinfinity-dev got upgraded too
[18:07] <geser> fcuk112: the files mentioned in the REPORT are files that MoM can't merge itself (listed at Conflicts). This files need human action. But they might be other changes which MoM could apply itself (like new patches in debian/patches)
[18:08] <fcuk112> geser: there's no debian/patches folder, just debian/diff - i checked those and they still appear to apply (no changes).
[18:08] <fcuk112> geser: so i just updated 2 files which appeared in the REPORT file.
[18:08] <fcuk112> geser: so no additional changes to add in the changelog => should it be a sync?
[18:10] <porthose> fcuk112, you should be asking yourself, in debian/changelog what changed to caused the initial delta :)  If the change that caused the delta is still needed then merge the package if not sync it :)
[18:10] <geser> fcuk112: then check if the other Ubuntu changes got included in the Debian package
[18:12] <geser> ryanakca: only if you care about users, the buildds will pick up the latest available version
[18:12] <ScottK> ryanakca: Generally you want the libraries themselves to co-installable for transition purposes.
[18:12] <ryanakca> geser, ScottK: OK. So no conflicts / whatsoever?
[18:12] <ryanakca> conflicts/replaces
[18:15] <geser> no
[18:15] <fcuk112> geser: these are the previous ubuntu changes: http://pastie.org/729226.  how do i check if these have been applied in the debian package?
[18:17] <geser> what about the changes from -2ubuntu1?
[18:18] <fcuk112> geser: http://pastie.org/729232
[18:18] <geser> you should have a patch with all the Ubuntu delta (or look at LP for the changes between each upload) and check if the debian/changelog mentions them (you might also look into the changed files)
[18:19] <fcuk112> geser: these changes have been picked up in the new version.
[18:21] <geser> fcuk112: if I don't know what is left after the merge attempt from MoM, I create a debdiff between the Debian version and the MoM version and look what is inside
[18:22] <fcuk112> geser: OK, thanks.
[19:45] <ari-tczew> is debhelper 7.3.16 somehow specially changed than 7.3?
[19:52] <jgoppert> how do i build a package that depends on sudo-ldap, i need to export SUDO_FORCE_REMOVE=yes, i tried doing this in my preinst script but this didn't work
[20:21] <jgoppert> s there any way to have a package export an environment variable exported before conflicting packages are removed?
[20:23] <jgoppert> *is there any way to have a package export an environment variable before conflicting packages are removed
[20:31] <ScottK> jgoppert: It's probably better if you explain what problem you are trying to solve.
[20:37] <jgoppert> i was trying to create a meta-package for ldap client that had sudo-ldap and other packages, but sudo-ldap requries that you export SUDO_FORCE_REMOVE=yes, i tried to put this in the hsl-desktop.preinst file but it didn't run before the conflicting packages were removed, which triggered the sudo-ldap.prerm script that check for the exported variable
[20:40] <jgoppert> i asked over at debian-mentors and was told to just give up on sudo-ldap and try to use pam
[20:41] <ScottK> Probably good advice, although it's not really a part of the system I know a lot about.
[20:45] <jgoppert> well thanks for you input Scott
[21:45] <jgoppert> if i want to package a vimrc.local file in a meta package for my workstations how should i install it?
[21:47] <jgoppert> the meta package doesn't have a makefile, should i just put the install command in debian rules?
[21:50] <geser> yes
[21:50] <jgoppert> thanks
[22:57] <Guest39184> Have few questions about packaging. anyone willing to help ?
[22:58] <nhandler> Guest39184: Try asking the questions. People will respond if they know the answer
[22:58] <Guest39184> ok is there any skeleton script for rc scripts in debian ?
[22:59] <Guest39184> or are any special requirements for rc scripts ?
[23:01] <Guest39184> sorry.. by debian i mean ubuntu of course :)
[23:10] <Guest39184> can anyone pls confirm that this applies also to ubuntu ? http://www.debian.org/doc/debian-policy/ch-opersys.html#s-sysvinit
[23:15] <ScottK> Guest39184: Sort if.  We use upstart instead of sysvinit, but it's got a compatibility mode, so that should work.
[23:18] <Guest39184> I am trying to create a package for a software that does not use autoconf but just a plain makefile. I created package skeleton with "dh_make -s -c gpl" but i do not know how to tell in rules file that makefile is located in src/ directory not in package root. Any ideas ?
[23:27] <geser> either "cd src && make" or "make -C src"
[23:35] <Guest39184> geser, thx works great
[23:38] <Guest39184> I understand that in install target of makefile binaries should be copied to $(DESTDIR)/bin and configuration files to $(DESTDIR)/etc. Is this correct? Where should I copy man pages ?
[23:42] <geser> $(DESTDIR)/usr/bin ($DESTDIR is usually debian/tmp as the staging directory for packaging building)
[23:43] <sebner> mighty geser, as lively as ever, especially at that time :)
[23:43] <geser> Hi sebner :)
[23:52] <Guest39184> so binaries to $(DESTDIR)/usr/bin and manpage to $(DESTDIR)/usr/share/man/man8
[23:53] <ScottK> If they are in section 8, yes.
[23:57] <Guest39184> I would like to create a package for 10.04 release. Which version of ubuntu should I use to create the source package?