sarnoldhey teward :)00:04
tewardsarnold: you pinged earlier00:05
sarnoldteward: 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
tewardsarnold: there's a known 'race' condition there, where if networking isn't up it breaks00:06
tewardnot sure if there's a workaround00:06
sarnoldteward: 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
tewardsarnold: i don't think there's a 'magic socket option' implemented :P00:06
tewardI *think* there's a way with systemd, but...00:07
tewardnot 100% certain00:07
tewardthat'd be a question sent upstream though00:07
tewardto Debian or nginx upstream00:07
sarnoldteward: aha!00:08
sarnoldteward: that poked the neuron that knew that magic socket option: IP_FREEBIND, last paragraph of http://www.freedesktop.org/wiki/Software/systemd/NetworkTarget/00:08
tewardsarnold: 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" state00:10
tewardunless systemd has separate v6 networking state commands00:10
tewardwhat makes it a little trickier is trying to get that working *earlier* in the boot process00:12
tewardsarnold: unless upstart has a way to specifically schedule process startup to after all networking is configured?00:12
sarnoldteward: heh, good question. :/00:13
tewardAIUI 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
tewardbut that's beyond my current knowledge set00:14
tewardand just my basic understanding00:14
sarnoldthanks teward :)00:15
=== Lcawte is now known as Lcawte|Away
=== cmagina_ is now known as cmagina
=== Valfor is now known as Guest43392
=== cpaelzer_ is now known as cpaelzer
CapprenticeWhat do you use to scan open ports aprt from netstat -tunlp ?09:08
Slingor lsof -i locally09:11
=== Lcawte|Away is now known as Lcawte
SonuHi ... i am facing a Curl issue on my server.. Curl is enabled but not working ...http://awesomescreenshot.com/0445exek3711:37
SonuFailed to connect to  port 80: Connection timed out..  when using curl11:47
caevehello 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:56
TJ-caeve: no issues :)13:58
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 devices14:00
caeveTJ- I understand..thank you!14:01
quanticcaeve: If compatibility is your concern, GPT has been supported since Windows XP for both boot and storage devices.14:04
quanticcaeve: Actually, scratch that. Vista and above.14:05
caevequantic, 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 happen14:08
rbasakGPT uses something that things that don't understand GPT will see as a single big MBR partition.14:09
quanticcaeve: 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 OK14:09
rbasakThat page has compatibility information too14:10
TJ-caeve: the *gdisk tools can all do that14:10
caevequantic, yes, as it happens every time when ext4 drives are inserted in windows14:12
caeveTJ-  sorry, I couldnt understand the part 'as long as you write either a protective or hybrid MBR'14:13
caevedo 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 GPT14:14
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 allocated14:15
caeveTJ- I am confused as I am not technical enough to understand these terms fully. maybe I should stick with mbr14:18
chris_123hello everybody14:24
caeveso is it safe to use gpt or not, with my systems being mbr?14:42
patdk-wkone should not use mbr, unless they are using it for a boot drive on an old bios14:43
caevebecause the extended partition thing os mbr did enough harm14:43
caeveof mbr*14:43
caevepatdk-wk, my OS is on an mbr drive, but it is an external drive that I consider using gpt14:44
patdk-wkif the disk is <2tb, mbr is ok14:45
patdk-wkif it is >2tb, you should use gpt14:45
caevepatdk-wk, the question is, is it safe to use gpt with the disk <2tb when the OS on hdd is mbr?14:46
patdk-wkif you want >4 partitions, gpt could be easier too14:46
patdk-wkit makes no difference14:46
caevepatdk-wk, having >4 partitions is the reason why I see gpt as more convenient14:47
patdk-wkthat is like asking, is it safe for me to install water in my house? cause the house down the road has a well14:47
Capprenticecaeve: For HDDs over 2TB in size, its mandatory to use GPT.14:47
caeveCapprentice, no, this is not the case for me14:47
CapprenticeI have used mixed mode.14:48
caeveso 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 drive14:48
patdk-wkthere is no way we can know that14:49
patdk-wkthat will depend on the os14:49
caeveuncertainty prevails14:49
patdk-wkbut any sane os won't do that, anymore than if you asked it to format your disk14:49
patdk-wkor if you get a virus14:49
caevepatdk-wk, it is the latest ubuntu LTS, so I hope it would be reliable?14:49
patdk-wkyes, it won't touch it, unless told to14:50
patdk-wklike, you using fdisk/gdisk/sdisk/parted/...14:50
caevepatdk-wk, ok, I'd like to count on that14:51
caevethank you everyone, for your insights and help!14:53
=== xfailedreality_x is now known as failedreality
Pwnnadoes anyone here know how to check the disks assigned to md0?16:06
lordievadermdadm --detail --scan /dev/md0 (or something along those lines)16:13
lordievaderCheck the man page ;)16:13
Pwnnayeah just got that too. it's very far down the man page16:18
=== newbie is now known as Guest87222
Delta706Does this channel cover general ubuntu hosting?17:34
hallynsmb: well never mind, the patch in trusty-proposed is kvm-only, so my qrt runs wouldn't test anything18:08
hallynor do they?  hm18:08
hallynnope.  might be worth augmenting qrt for that18:09
smbhallyn, must admit I am not sure right now. might be somewhere in the area of keeping qemu's world in sync with the kvm apic18:11
hallyni looked at the patch, seems ok18:11
hallynanyway i'll do a testrun anyway, but i don't see how it could test regressions in this case :)18:12
hallynbut then if i could foresee it, i wouldn't need tests18:12
smbvery true indeed :)18:12
=== Piper-Off is now known as Monthrect
DefunctProcessguys, 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 offline19:00
DefunctProcessis there a way to get debug log or somethign from the daemon?19:01
sarnoldDefunctProcess: check /var/log/upstart/ and /var/log/syslog19:02
=== Guest12059 is now known as med_
DefunctProcessi think i figured out how to get logs19:06
DefunctProcessnow it seems upnp is broken all of a suggen19:06
hallynsmb: huh, actually got a qrt failure.  on a nic test19:10
hallynnow i need to revert and see if i can reproduce19:10
hallynor if it was a fluke19:10
=== _thumper_ is now known as thumper
hallynsmb: d'oh, yeah, it's an actual regression.  holy schnickities19:55
=== InfoTest1 is now known as InfoTest
=== Monthrect is now known as Piper-Off
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?21:29
=== shauno__ is now known as shauno
tewardsarnold: ping22:23
sarnoldafternoon teward :)22:23
tewardsarnold: 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 condition22:23
tewardand I was poking at systemd and came to a similar conclusion22:23
sarnoldthanks :)22:24
tewardso unless Upstart is being revamped to have a v4 and v6 specific option, (same with systemd) that's... blah22:24
tewardcouldn't find anything on IP_FREEBIND upstream though22:24
tewardso maybe you want to propose that to nginx on trac22:24
* teward has his hands full with a server migration22:24

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