/srv/irclogs.ubuntu.com/2015/09/03/#ubuntu-server.txt

eatingthenightcan anyone help me out. Can i reformat a hard drive for raid autodetect to ext4 without losing the data on it?00:41
eatingthenightI broke up the partion and cleared the super blocks on both of the drives00:41
eatingthenighthowever I can't mount them now since the partion table is not a valid one you can specify00:41
patdk-l2what does that even mean?00:42
patdk-l2there is no such thing as raid autodetect00:42
patdk-l2what is it really?00:42
eatingthenightthat is what fdisk -l specifies it as00:42
tarpmanI think he means the type code in the partition table00:43
patdk-l2yes, but that has nothing to do with what is actually on that partition00:43
eatingthenightyeah sorry you are right00:43
eatingthenightthat is just the system it's listed as00:43
patdk-l2blkid00:43
eatingthenighto00:46
eatingthenightinteresting00:46
eatingthenightsudo blkid /dev/sdd1 shows type ext400:46
eatingthenightwhich is the one that was listing as raid auto detect in fdisk00:46
eatingthenightso i should be able to just mount it?00:46
patdk-l2probably00:47
patdk-l2try readonly first00:47
eatingthenightugh. when i mount with sudo mount /dev/sdd1 /media/store -r -t ext400:48
eatingthenighti get a ton of checksum for ground (somenumber)00:48
eatingthenighthas failed00:49
patdk-l2how was this setup?00:49
eatingthenighthaha, yeah i made this raid1 like 2 years ago. But do you mean how did i make the raid or how did i break it apart?00:50
patdk-l2how the raid1 was made is important00:50
eatingthenightwell shit00:50
patdk-l2normally raid1 are mirror images00:51
patdk-l2but it has options also to not be mirrors, to increase speed00:51
patdk-l2if it isn't a real mirror, you won't be able to read it without raid00:51
eatingthenightI am guessing it was the default 1 for 1 setup because when i made it i had to wait a ton of time for them to sync00:52
patdk-l2that is true no matter what option you pick00:52
patdk-l2except raid000:53
eatingthenighto ok, alright guess i have to dig into it some more00:53
eatingthenightyeah sorry it's just been so long since i set it up00:53
eatingthenightthank you for the help though :)00:54
=== markthomas is now known as markthomas|away
NemoVhi everyone04:55
NemoVwhen a running webserver online with several domains does it matter what your server name is? should it be one of the domains you are hosting?04:56
sarnoldI don't think it matters04:57
NemoVhmm okay04:59
lordievaderGood morning.05:30
roo79xhi all I'm running ubuntu server vivid, tried to setup mpd (music player daemon) for the first time ever..  everything worked but had no sound, could someone please point me to a good tutorial for beginners? thanks06:25
=== Lcawte|Away is now known as Lcawte
=== sebhoss is now known as Guest64486
medflyhey guys08:47
=== kickinz1 is now known as kickinz1|lunch
=== MrPPS is now known as Guest58791
* RoyK is in Liverpool :)12:19
=== hackeron_ is now known as hackeron
moneylotionany idea how one might ssh tunnel a vpn?13:03
moneylotionipsec13:03
patdk-wkwhat does that mean?13:04
moneylotionvpn > ssh tunnel > vpn13:05
lordievadermoneylotion: Why do you want to do that?13:05
patdk-wkagain, that means nothing13:05
lordievaderIpsec already does encryption.13:05
moneylotionschool is blocking my vpn to dynamic ip address, but not to vps server13:05
patdk-wkssh tunnel ONLY supports tcp, or does it do udp13:05
patdk-wkipsec doesn't support either13:05
patdk-wkthey aren't blocking ipsec, they likely are just not supported nat outside of normal tcp/udp13:06
moneylotionit worked for about an hour13:07
lordievadermoneylotion: Are the ipsec ports open and is the protocol allowed?13:07
moneylotioni can vpn in from the coffee shop13:07
patdk-wkalso, unless they are running an ipsec helper13:08
patdk-wkonly one user behind that firewall can connect to the same ipsec vpn server at a time13:08
patdk-wkwithout confusing the crap out of it13:08
patdk-wksometimes only one user can use it at a time13:08
patdk-wkdepending on how horrible their firewall is13:08
brane_anyone have exclusive locks on CLVM working in 14.04?13:28
jcastrostokachu: yo, so I filed a bug today on our stuff: https://github.com/Ubuntu-Solutions-Engineering/openstack-installer/issues/67213:32
stokachujcastro: thanks we got it, we'll get it fixed asap13:33
jcastrostokachu: do you happen to know why we have Canonical-Ltd and Ubuntu Solutions Engineering as separate github orgs?13:33
jcastroI thought I was going to be clever and just find it where everything else was13:33
stokachui think when we created our teams org we didn't know about canonicalltd13:34
* jcastro nods13:34
stokachuonce lauchpad's git is on par with bzr features we'll probably move it back there13:35
* jcastro nods13:47
=== Luke_ is now known as Luke
=== mlazov1 is now known as mlazov
=== mlazov1 is now known as mlazov
=== markthomas|away is now known as markthomas
=== Lcawte is now known as Lcawte|Away
prudentmavwhen I use adduser I want to also create /var/www/$user/public how can I do that?18:39
shaunolook for adduser.local in man adduser.  adduser does allow for a script to be run at the end of the process which is passed the username etc18:41
prudentmavthanks18:42
prudentmavany reason to chgrp www-data of public_html vs keeping it as the user?19:06
patdk-wkif a cgi needs to write to it19:07
patdk-wknot normally a good idea19:07
patdk-wkbut might be needed for say, cache or something19:08
patdk-wkbut really that stuff should live outside publically accessable folders19:08
patdk-wkthough people program stupid19:08
teward|webis arm64 officially 'fully supported' yet?19:09
sarnoldteward|web: it doesn't look like it https://wiki.ubuntu.com/SecurityTeam/FAQ#Architectures19:12
teward|websarnold: so I should not be worried about https://bugs.launchpad.net/ubuntu/+source/nginx/+bug/1491978 ?19:12
ubottuLaunchpad bug 1491978 in nginx (Ubuntu) "[wily] nginx fails to install on ARM64 " [Undecided,Incomplete]19:12
sarnoldteward|web: depends on why it's broken, I guess. feel free to ignore it until he gets back to you with logs.19:15
teward|websarnold: I intend to :p19:15
teward|webwhen people don't provide debug data I tell them to then move on xD19:15
teward|webjust glad the apport hooks that get us USABLE debug data exist19:15
sarnold*nod*19:15
teward|webtoo bad people don't leverage apport-bug /var/crash/THECRASHFILE to actually GET us debug data19:15
sarnoldor just 'ubuntu-bug nginx'19:17
sarnoldheh19:17
teward|websarnold: meh, true, but i know it makes a crash and i don't want unnecessary other superfluous data19:18
teward|web:)19:18
sarnoldhehe :)19:22
qman__account de set status '159 | Don't ask to ask a question, just ask'19:43
qman__oops, ignore that19:43
=== JanC_ is now known as JanC
=== Luke_ is now known as Luke
MoPacHello. On a new server installation, the default "Ubuntu" boot fails (some odd characters, a "probe failed" message, and then stuck on "starting version 219"). However, choosing the second grub option, rescue/recovery mode, then "resume normal boot" works fine.21:47
MoPacI'm wondering what to look for in the grub config files to make the normal boot do what the alternate boot is doing...21:48
=== Lcawte|Away is now known as Lcawte
sarnoldMoPac: "219" sounds like you made it to some part of userland -- that sounds like a systemd version number, to me: https://launchpad.net/ubuntu/+source/systemd22:19
sarnoldMoPac: I have a vague feeling that messing with grub might not help as much as you'd like22:20
MoPacsarnold: Well, but the root directory is in an encrypted LUKS volume, and when the default boot has failed, I have not yet been prompted for the password22:21
MoPacSo I must not have gotten *all* that far..22:21
sarnoldMoPac: ah :D22:22
DalekSecsarnold: So hello.  I have an updated package that uses openssl.  I of course use pbuilder chroots to build it against the target system.  I have the same exact package on each system, but different versions of OpenSSL of course.  Now, wily and Debian testing interact properly, but trusty-vivid can't connect with them, but they can connect with each other.  The errors I get: 1.0.1f-1ubuntu11.4:22:23
DalekSec"hmac authentication error, received invalid packet could be an attack, or just corruption or a synchronization error."; 1.0.2a-1ubuntu1: "protocol version 1.150." (Should be 1.0); 1.0.2d-0ubuntu1 Works fine.22:23
sarnoldDalekSec: ooof, that is a beast of a problem :) is the application using the "use ..._v23() function, disable ssl2, disable ssl3" idiom in the connection setup portions?22:25
MoPacsarnold: Anyway, I figure I'm sort of in luck because the "resume normal boot" in recovery mode works fine, right? Would that really be the result of a post-grub config change? If if won't work to do some kind of diff between 20_linux and 30_linux_xen, I'm out of ideas22:25
sarnoldDalekSec: are both endpoints configured to use the same ciphersuites?22:25
sarnoldMoPac: sorry, i ran out of ideas right at "encrypted root", hehe :(22:26
DalekSecsarnold: I did a quick grep and didn't see those.  If I pull libssl from wily into vivid, it all works there.  I thusly presumed that it was an OpenSSL issue.22:27
sarnoldDalekSec: ah :) it certainly could be.. it's complicated code :(22:28
DalekSecsarnold: Oh, package is CVS snapshot of gvpe.22:29
sarnoldDalekSec: the functions involved would be SSLv23_server_method or SSLv3_server_method, SSLv23_client_method or SSLv3_client_method22:30
DalekSecsarnold: Hmm.  Not actually seeing those.22:39
Demon_JesterHey guys, I changed my default port for ssh, and I get a connection timed out when I try to ssh, people say that I use ufw to modify firewall for ssh port, but I don't see ufw on my server.22:42
DalekSecsarnold: I did try rebuilding with disabling SSLv3, didn't seem to make any difference.  So far, vivid is really of no concern, but more the trusty incompatibility.  I'm not really sure what else I can privide you with.22:44
DalekSecRebuilding openssl that is.22:44
sarnoldDalekSec: I don't see anything obvious skimming through connection.c...22:48
sarnoldDalekSec: it looks like there are some configration directives that have to match identically on both peers (config_packet::chk_config()) -- what are the chances that one or the other might have different values?22:51
sarnoldDalekSec: if it doesn't stand out to you, it's probably best to file a bug on openssl. someone else may know what's going on, or spot it quickly..22:52
DalekSecsarnold: I poked mdes laur about it, but he didn't seem to have the time and his only idea was to recompile OpenSSL without SSLv3 support.  Yes the config must match, and it does down to line breaks.22:53
sarnoldDalekSec: that error messageis near a compression config #ifdef.. I get the impression that gvpe is doing its own compression and not using openmssl's compression, but that might be one more thing to check22:54
sarnoldDalekSec: I thuoght we'd disabled compression in openssl on all releases, but I could be wrong..22:54
DalekSecsarnold: All changelogs have 'Disable compression to avoid CRIME systemwide', and a quick grep of 'compress' in debian/ -R shows the same for all 3 versions.  Thanks for that idea.22:59
sarnoldDalekSec: thanks for checking. it was a longshot anyway :/23:00
DalekSec(-Ri to be precise.)  Hey no, thanks.  And thanks for all the help so far!23:00
DalekSecMore progress than I've made otherwise.23:01
DalekSecsarnold: FWIW, I'm using a cvs snapthot as the version in Ubuntu as tiny keysizes, such that it's not really secure.  The snapshot is protocol incompatible, but that doesn't matter if you are running the snapshot on all systems.  The reason there isn't a release, upstream was going to add curve support (IIRC), so yet another protocol breakage and he didn't want to do that twice.  Otherwise he says23:09
DalekSecit's fine to run it.  I have the packaging in git if that'd help, and a csv → git repo of upstreams code too.  I didn't go to the openssl channel as I presume they'll want me to just use a current version of openssl, and I'm sure that won't get backported. :P  Anywho, thanks again for all the help, even if the problem isn't fixed it's great to have someone else take a look at it. :)23:09
sarnoldDalekSec: hmm, I -was-  cheating a bit and just using the sources.debian.net archive...23:11
sarnoldbut those changes might be significantnenough23:11
DalekSechttps://bitbucket.org/unit193/gvpe/src is upstream, and I can send you a link of the packaging vcs too if needed.23:12
sarnoldoh that feel smuch less archaic than the viewvc thing.. :)23:13
sarnoldthanks23:13
DalekSecIndeed.  Of course.23:13
DalekSec(There's http://loki.unit193.net/cgit/users/unit193/gvpe.git/, but that shouldn't matter.)23:14
=== Lcawte is now known as Lcawte|Away
sarnoldDalekSec: I'm not spotting anything here, either :/; it all looks normal enough..23:25
DalekSecDang.  Well thanks for trying!23:25
sarnoldgood luck :)23:26
DalekSecWell, in this case it's been cheat: Vivid gets wily's libssl, trusty sadly gets no connection.23:26
sarnold:(23:27

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