[00:04] <sarnold> hey teward :)
[00:05] <teward> sarnold: you pinged earlier
[00:05] <teward> :)
[00:05] <sarnold> teward: yeah; a user was having trouble getting nginx to start late enough, ipv6 addresses added via /etc/network/interfaces weren't up yet, so he had to hack up a restart..
[00:05] <teward> ah
[00:06] <teward> sarnold: there's a known 'race' condition there, where if networking isn't up it breaks
[00:06] <teward> not sure if there's a workaround
[00:06] <sarnold> teward: I was curious if you'd seen that, knew a good upstart workaround, or knew if the nginx guys had switched to whatever that magic socket option is that allows binding to addresses that aren't upyet..
[00:06] <teward> sarnold: i don't think there's a 'magic socket option' implemented :P
[00:07] <teward> I *think* there's a way with systemd, but...
[00:07] <teward> not 100% certain
[00:07] <teward> that'd be a question sent upstream though
[00:07] <teward> to Debian or nginx upstream
[00:08] <sarnold> teward: aha!
[00:08] <sarnold> teward: that poked the neuron that knew that magic socket option: IP_FREEBIND, last paragraph of http://www.freedesktop.org/wiki/Software/systemd/NetworkTarget/
[00:10] <teward> sarnold: the tricky part is we ahve to have some kind of network dependency - preferably network-online.target possibly, but not 100%.  That'd be a systemctl level command, I believe.  And if v4 but not v6 is up, you're still stuck in the "Not Configured" state
[00:10] <teward> unless systemd has separate v6 networking state commands
[00:12] <teward> what makes it a little trickier is trying to get that working *earlier* in the boot process
[00:12] <teward> sarnold: unless upstart has a way to specifically schedule process startup to after all networking is configured?
[00:13] <sarnold> teward: heh, good question. :/
[00:14] <teward> AIUI there wasn't a way for that in upstart.  And AIUI currently, there's no way to differentiate v6 from v4 in 'network is up' state...
[00:14] <teward> but that's beyond my current knowledge set
[00:14] <teward> and just my basic understanding
[00:15] <sarnold> thanks teward :)
[09:08] <Capprentice> What do you use to scan open ports aprt from netstat -tunlp ?
[09:10] <Sling> nmap
[09:11] <Sling> or lsof -i locally
[11:37] <Sonu> Hi ... i am facing a Curl issue on my server.. Curl is enabled but not working ...http://awesomescreenshot.com/0445exek37
[11:47] <Sonu> Failed to connect to  port 80: Connection timed out..  when using curl
[13:56] <caeve> hello everyone, I was referred to here from ubuntu channel for my question. would using gpt (GUID) partition table on external drives have any drawbacks with existing file systems or OSes? I never used it, and apparently it is preferrable to MBR, but I wish to avoid any unsafe, outright risky situations such as problems recognizing existing data or partitions..
[13:58] <TJ-> caeve: no issues :)
[14:00] <TJ-> caeve: The only area you might face problems is for older Windows versions not recognising GPT. I think 64-bit XP is OK, not sure where Vista/7 stand. Windows BIOS installs require MBR, but I *think* they can read GPT for data devices
[14:01] <caeve> TJ- I understand..thank you!
[14:04] <quantic> caeve: If compatibility is your concern, GPT has been supported since Windows XP for both boot and storage devices.
[14:05] <quantic> caeve: Actually, scratch that. Vista and above.
[14:08] <caeve> quantic, there has been mbr in OSes and other devices, so I wanted to be sure things like partition being overwritten because of having been unrecognized or considered free space or similar wouldnt happen
[14:09] <rbasak> GPT uses something that things that don't understand GPT will see as a single big MBR partition.
[14:09] <quantic> caeve: Windows XP (potentially) and prior (definitely) will pose that problem. Any Linux/Unix release that's at all recent, and Mac OS X can recognize and read GPT disks. That said, if the partition is formatted with an FS that some other OS doesn't recognize, it may treat it as unformatted and ask to format it itself.
[14:09] <TJ-> caeve: as long as you write either a protective or hybrid MBR GPT will be OK
[14:09] <rbasak> https://en.wikipedia.org/wiki/GUID_Partition_Table#Legacy_MBR_.28LBA_0.29
[14:10] <rbasak> That page has compatibility information too
[14:10] <TJ-> caeve: the *gdisk tools can all do that
[14:12] <caeve> quantic, yes, as it happens every time when ext4 drives are inserted in windows
[14:13] <caeve> TJ-  sorry, I couldnt understand the part 'as long as you write either a protective or hybrid MBR'
[14:14] <caeve> do my existing mbr systems need to have these qualities?
[14:14] <TJ-> caeve: the GPT tools can write an MBR. Either protective (it has a single partition that covers the entire disk) or hybrid (it has up to 3 partitions - more usually up to 2 - that map onto partitions in the GPT
[14:15] <TJ-> caeve: No. The purpose of protective/hybrid MBR when using GPT is to prevent MBR tooling that is not GPT-aware from blindly overwriting/allocating space on the disk that GPT has allocated
[14:18] <caeve> TJ- I am confused as I am not technical enough to understand these terms fully. maybe I should stick with mbr
[14:24] <chris_123> hello everybody
[14:42] <caeve> so is it safe to use gpt or not, with my systems being mbr?
[14:43] <patdk-wk> one should not use mbr, unless they are using it for a boot drive on an old bios
[14:43] <caeve> because the extended partition thing os mbr did enough harm
[14:43] <caeve> of mbr*
[14:44] <caeve> patdk-wk, my OS is on an mbr drive, but it is an external drive that I consider using gpt
[14:44] <caeve> on
[14:45] <patdk-wk> if the disk is <2tb, mbr is ok
[14:45] <patdk-wk> if it is >2tb, you should use gpt
[14:46] <caeve> patdk-wk, the question is, is it safe to use gpt with the disk <2tb when the OS on hdd is mbr?
[14:46] <patdk-wk> if you want >4 partitions, gpt could be easier too
[14:46] <patdk-wk> it makes no difference
[14:47] <caeve> patdk-wk, having >4 partitions is the reason why I see gpt as more convenient
[14:47] <patdk-wk> that is like asking, is it safe for me to install water in my house? cause the house down the road has a well
[14:47] <Capprentice> caeve: For HDDs over 2TB in size, its mandatory to use GPT.
[14:47] <caeve> Capprentice, no, this is not the case for me
[14:48] <Capprentice> I have used mixed mode.
[14:48] <caeve> so all I want to know is that my OS, which runs on a mbr drive, would not mess any of the partitions or data on the GPT-formatted external drive
[14:49] <patdk-wk> there is no way we can know that
[14:49] <patdk-wk> that will depend on the os
[14:49] <caeve> uncertainty prevails
[14:49] <patdk-wk> but any sane os won't do that, anymore than if you asked it to format your disk
[14:49] <patdk-wk> or if you get a virus
[14:49] <caeve> patdk-wk, it is the latest ubuntu LTS, so I hope it would be reliable?
[14:50] <patdk-wk> yes, it won't touch it, unless told to
[14:50] <patdk-wk> like, you using fdisk/gdisk/sdisk/parted/...
[14:51] <caeve> patdk-wk, ok, I'd like to count on that
[14:53] <caeve> thank you everyone, for your insights and help!
[16:06] <Pwnna> does anyone here know how to check the disks assigned to md0?
[16:13] <lordievader> mdadm --detail --scan /dev/md0 (or something along those lines)
[16:13] <lordievader> Check the man page ;)
[16:18] <Pwnna> yeah just got that too. it's very far down the man page
[16:18] <Pwnna> thanks!
[17:34] <Delta706> Does this channel cover general ubuntu hosting?
[18:08] <hallyn> smb: well never mind, the patch in trusty-proposed is kvm-only, so my qrt runs wouldn't test anything
[18:08] <hallyn> or do they?  hm
[18:09] <hallyn> nope.  might be worth augmenting qrt for that
[18:11] <smb> hallyn, must admit I am not sure right now. might be somewhere in the area of keeping qemu's world in sync with the kvm apic
[18:11] <hallyn> i looked at the patch, seems ok
[18:12] <hallyn> anyway i'll do a testrun anyway, but i don't see how it could test regressions in this case :)
[18:12] <hallyn> but then if i could foresee it, i wouldn't need tests
[18:12] <smb> very true indeed :)
[19:00] <DefunctProcess> guys, my deluged daemon simply wont run, starting it with $sudo service deluged start seems to work, but status indicates its not running, and web gui shows it offline
[19:01] <DefunctProcess> is there a way to get debug log or somethign from the daemon?
[19:02] <sarnold> DefunctProcess: check /var/log/upstart/ and /var/log/syslog
[19:04] <DefunctProcess> nope
[19:05] <DefunctProcess> ok
[19:06] <DefunctProcess> i think i figured out how to get logs
[19:06] <DefunctProcess> now it seems upnp is broken all of a suggen
[19:10] <hallyn> smb: huh, actually got a qrt failure.  on a nic test
[19:10] <hallyn> now i need to revert and see if i can reproduce
[19:10] <hallyn> or if it was a fluke
[19:55] <hallyn> smb: d'oh, yeah, it's an actual regression.  holy schnickities
[21:29] <preseeder_> I am trying to preseed a mini iso with 15.10 downloaded from here -> https://help.ubuntu.com/community/Installation/MinimalCD . This is my preseed file -> http://hastebin.com/jukiyelanu.hs and these are the forms of txt.cfg i have tried -> http://hastebin.com/haquzuzuru.mel So far the mini iso will not use the preseed file for some reason.Does anyone have an idea why? is it not supported with mini iso's?
[22:23] <teward> sarnold: ping
[22:23] <sarnold> afternoon teward :)
[22:23] <teward> sarnold: good evening!  with regards to the thing a few days ago, upstart's 'network up' check only requires one (either v4 or v6) to be up, I think, which means there's still a race condition
[22:23] <teward> and I was poking at systemd and came to a similar conclusion
[22:24] <sarnold> thanks :)
[22:24] <teward> so unless Upstart is being revamped to have a v4 and v6 specific option, (same with systemd) that's... blah
[22:24] <teward> couldn't find anything on IP_FREEBIND upstream though
[22:24] <teward> so maybe you want to propose that to nginx on trac
[22:24]  * teward has his hands full with a server migration