/srv/irclogs.ubuntu.com/2013/12/09/#ubuntu-server.txt

gdi2k@andygraybeal did you try a reconfigure?00:02
andygraybealon postgres yes00:02
gdi2kno interactive questions?00:02
andygraybealbut it didn't pop up any message saying to set a paassword or anything00:02
andygraybeali'm going to purge00:02
gdi2kok00:03
andygraybealyea, no interactive quesitons00:03
andygraybealthank you for the response00:03
gdi2kI have RT4 installed too, but can't remember how I installed it00:03
andygraybealyea, i've done it several times00:04
andygraybealyou use it?!!?!!00:05
gdi2kyes! :)00:05
andygraybealawesome!!00:05
andygraybeal^500:05
andygraybeali love it00:05
andygraybeali can't be without it myself.00:05
andygraybeali just bought a linode host, and i have it up and running over on an ec2 instance.00:05
gdi2kit's a bit clumsy and ugly, but it flexible beyond belief00:05
gdi2kyeh, that's what I do, EC200:05
andygraybeali agree with the clumsy and ugly.. but i still love it...00:06
andygraybealcan you recommend the best way to purge stuff in ubuntu?00:06
andygraybeali want to start over again :)00:07
andygraybealwithout setting up another instance00:07
gdi2kah, I hate package management... sudo apt-get remove --purge package ?00:07
andygraybealk00:07
andygraybealthank you00:07
gdi2kI think it will only remove the package you specify, so you have to figure out dependencies. I think aptitude may be cleverer at figuring it all out00:08
gdi2kyou can check your apt logs though00:08
andygraybealaah aptitude....00:08
andygraybeali'm not used to that00:09
andygraybealgah.. it keeps bitching about sqlite, and i never installed it00:11
andygraybeali was trying to use postgres....00:11
andygraybeali hate this stuff00:11
andygraybeali'll just try different things and be persistent...00:11
=== markthomas_zz is now known as markthomas
andygraybealyay!!!!!!! gdi2k it worked... i was doing apt-get purge.... and aptitude made all the idfference00:19
=== markthomas is now known as markthomas_away
itzikbHi, is this the right place to ask about bug in cloud-archive?01:48
lifelessitzikb: its a fine place to ask that01:50
itzikbThanks. I opened two bugs: https://bugs.launchpad.net/cloud-archive/+bug/1255420 , https://bugs.launchpad.net/cloud-archive/+bug/1257732 and I wonder how can I help to solve them01:52
uvirtbotLaunchpad bug 1255420 in cloud-archive "Neutron Mellanox plugin package is missing" [Undecided,Confirmed]01:52
=== markthomas_away is now known as markthomas
=== markthomas is now known as markthomas_away
=== thumper is now known as thumper-afk
=== markthomas_away is now known as markthomas
=== gfrog_afk is now known as gfrog
=== thumper-afk is now known as thumper
Free_psyBNCI am now offering free psyBNC access type !bnc to learn more.04:39
Free_psyBNCI am now offering free psyBNC access type !bnc to learn more.04:42
cfhowlett!spam|Free_psyBNC,04:42
cfhowlettFree_psyBNC, please stop spamming the channel04:43
cfhowlettFree_psyBNC, and stop PM spamming me04:43
KnownSyntaxNo one wants a free bnc including one that no one has no idea about.04:45
KnownSyntax..04:45
cfhowlettKnownSyntax, suspect that's a bot, but you are spot-on04:45
=== markthomas is now known as markthomas_away
zzxcHey do I set the default sound card?05:10
=== thumper is now known as thumper-afk
=== gfrog is now known as gfrog_meeting
=== markthomas_away is now known as markthomas
=== markthomas is now known as markthomas_away
=== markthomas_away is now known as markthomas
=== gfrog_meeting is now known as gfrog
=== geser_ is now known as geser
=== thumper-afk is now known as thumper
=== ikonia_ is now known as ikonia
=== hXm is now known as hxm
=== wizonesolutions_ is now known as wizonesolutions
=== Tribaal_ is now known as Tribaal
jamespagezul, libunwind build failure is isolated to just test-0111:00
jamespageso I've bypassed it and backported manually for the time being11:01
jamespageopenvswitch is fine in icehouse-proposed so ignoring that issue for the time being as well11:01
jamespagezul, adam_g: gonna sync up icehouse-proposed11:03
jamespagezul, it would be good if we can get the other packages through into trusty11:04
rbasakjamespage: http://status.ubuntu.com/ubuntu-t/group/topic-t-servercloud-overview.html seems incomplete? Eg. https://blueprints.launchpad.net/ubuntu/+spec/servercloud-1311-maas is missing from it. Do you know what we need to do to hook everything up?11:29
rbasakjamespage: I was looking for a mongodb/arm64 work item to assign myself to it, but I can't find anything easily right now.11:29
jamespagerbasak, its on https://blueprints.launchpad.net/ubuntu/+spec/servercloud-1311-juju11:30
jamespageI thought that only approved blueprints got onto status.ubuntu.com11:30
jamespagebut it seems that's not the case11:30
jamespagearosales, ^^ any ideas?11:30
rbasakjamespage: thanks!11:30
rbasakjamespage: I'll start on the mongodb package, I assume, and then we can port any patches to juju-mongodb?11:31
jamespagerbasak, yes - but you will need to make it use the embedded libv8 copy11:31
rbasakIt looks like a first step would be to switch to gcc intrinsics for everything, which I can test (as best as is possible) on armhf too, and then send upstream.11:31
jamespage(that's what we do for the juju-mongodb package currently stuck in -proposed due armhf build failure :-))11:32
rbasakv8 looks like a major porting effort :-/11:33
rbasakI don't see any 32-bit arm implementation either. Am I missing something?11:34
rbasakAh. The archive's v8 source has it, but not mongodb's embedded source.11:35
jamespagerbasak, there is a 32 bit arm version in upstream v811:52
rbasakjamespage: yeah, spotted it, thanks.11:52
jamespagethat appears to have been stripped our as part of vendorfication11:52
rbasakjamespage: so from my initial look, it seems to me that v8 has no interpreter mode, and doing the JIT stuff involves a major porting effort.11:53
jamespagerbasak, mwhudson is looking at whether we can drop the v8 requirement for un-ported archs11:53
jamespageand run without that bit of the mongo shell11:53
jamespagemight work11:53
rbasakjamespage: OK, shall I focus on the non-v8 part for now, then?11:53
rbasakThat bit I can chug through, I think.11:54
jamespagerbasak, I think that would be good11:54
jamespage+111:54
jamespagezul, did you miss horizon last week intentionally?11:55
jamespageor do I still need to ack a MP11:55
jamespageI probably do don't I11:55
jamespagezul, commented on https://code.launchpad.net/~zulcss/horizon/2014.1.b1/+merge/19795711:56
jamespagezul, I don't see an upload for glance either - although the MP is merged11:57
jamespageyolanda, that sounds better - yes12:03
yolandaok12:03
yolandai will do a try12:03
yolandajamespage, nova is FTBFS? wanting to add the patch there, but cannot build12:08
jamespageyolanda, can you leave this until icehouse-1 is out of the door - should be today/tomorrow12:08
yolandajamespage, ok12:08
jamespagethere is a pending MIR that needs to complete12:09
yolandacan i do it with other packages?12:09
jamespageyolanda, nova ftbfs?12:12
jamespagethat was one that did go through12:12
jamespageyolanda, oh - in the lab?12:13
yolandayes, in the lab12:13
yolandajamespage, using the ubuntu-server-dev packages to add the banners, am i right?12:13
jamespageyolanda, well you could fix that problem at the same time - its probably just a patch refresh or drop12:13
yolandaok, i'll take a look12:15
=== Ursinha-afk is now known as Ursinha
yolandajamespage, what do you think should be the best way to show distribution on python? as i cannot send a var to precompiler as other languages, I was thinking in patching the file i need with some placeholder, and then do a sed to replace with right vars on debian/rules13:16
yolandacan you think on something better?13:16
ice9when I try to install zram-config on Ubuntu 13.04 VPS I get this error:13:21
ice9invoke-rc.d: initscript zram-config, action "start" failed.13:21
=== gary_pos` is now known as gary_poster
patdk-lapice9 what did you expect? that seems a very valid result13:30
jamespageyolanda, not quite sure what you are trying to achieve patching python itself?13:30
jamespageor is this a general how do I do the banner for a python app thing?13:30
ice9patdk-lap, you mean because 13.04 doesn't support zram?13:30
patdk-lapno, cause you are using a vps13:31
yolandajamespage, patch is done in wsgi.py file, but i don't want to hardcode ubuntu13:31
yolandaso i was looking for a way to dynamically set that13:31
yolandain other packages i was just sending a var to preprocessor using makefile, but with python i'm not sure on how to do it13:31
ice9patdk-lap, so now how do I remove zram from apt-get is it's not installed and still giving an error when installing any other package13:36
patdk-lapthat I don't know13:36
zuloh my god i hate the winter13:38
jamespageyolanda, http://paste.ubuntu.com/6545838/ - that's what I see as test coverage for heat right now13:41
yolandamm, let me check if i haven't pushed13:41
jamespagezul, cinder and nova need a dependencies version review - how's that tool coming along?13:44
zuljamespage:  delayed13:44
jamespagestaging to proposed is a great place to spot these things13:44
zuljamespage:  six?13:44
yolandajamespage, are you grabbing from here? ~yolanda.robla/charms/precise/heat/trunk/13:44
zul2cheeks13:44
yolandai don't have anything to push, and my coverage shows 85%13:44
jamespagezul, yup13:45
jamespageditto on wsme13:45
zuljamespage:  ack13:45
zuljamespage:  we need to fix something for horizon after i get it uploaded today13:45
yolandai see heat_context tests differently: heat_context        34      8    76%   27, 34-40, 43-4413:45
zuljamespage:  http://pastebin.ubuntu.com/6545845/13:46
jamespagezul, oh great13:46
jamespagethat old chestnut13:46
zulyep13:47
zuljamespage: i opened #1259166 because of it13:49
jamespagebug 125916613:50
uvirtbotLaunchpad bug 1259166 in horizon "Fix lintian error" [Undecided,New] https://launchpad.net/bugs/125916613:50
=== Pici` is now known as Pici
zuljamespage:  https://code.launchpad.net/~zulcss/horizon/2014.1.b1/+merge/19795714:01
jamespagezul, you need to include the new assets14:01
zulargh14:02
zuljamespage:  done..14:38
zuljamespage:  wrt to waittress, the tests run fine locally but doesnt run in a build, ive added dep8 tests for them and ill ping mterry about it14:39
zuljamespage:  lemme know when you get back14:47
hallyn_zul: bug https://bugs.launchpad.net/ubuntu/+source/ipxe/+bug/948323, do know what path xen looks for for ipxe roms?  does it look for /usr/share/qemu or /usr/lib/ipxe?15:09
uvirtbotLaunchpad bug 948323 in ipxe "Rom images for e1000 and ne2k missing vendor and device id" [Low,Fix released]15:09
hallyn_i'm wondering whether we still need that delta from debian15:09
zul/usr/share/qemu i think15:09
zulsmb: ^^^15:10
smbhallyn_, Probably yes as long as the xen build getting those for xm path15:10
smbAnd yes, I think /usr/share/qemu15:10
zulhallyn_:  i should have an updated libvirt for you today...if my uploads to the ppa wouldnt timeout15:10
smbzul, Would your updated libvirt be actually tested with xen?15:10
smbzul, As it is segfaulting fight now15:11
zulsmb: nope i dont have xen installed15:11
zulsmb:  1.2.0?15:11
smbzul, May I slap you a little bit?15:11
zulsmb: no :)15:11
smbWishful thinking15:11
zulyou can wish for a little bit longer then :)15:12
smbNothing to do with libvirt upstream as with a mis ported patch of mine15:12
zuldoh15:12
zulsmb: well patches welcome15:12
smbRight now I got it to be ok with xl stack but not working yet with xm15:12
smbTheoretically we should move to xl as default anyways15:13
smbThough xl has pxeboot issues15:13
hallyn_smb: yeah if you want tested with xen beforehand i think you need to have zul ping you when he's merging, as he does me . (cause i' not gonna test xen either :)15:13
smbhallyn_, That would be some progress at least15:14
smb:-P15:14
smbBetter than to find out when I actually want to do something else15:14
zulhallyn_:  maybe we should keep smb in the loop when we merge a new version15:14
jamespagezul, bug 125920315:14
uvirtbotLaunchpad bug 1259203 in python-wsme "require versioned dependency on python-six" [Undecided,New] https://launchpad.net/bugs/125920315:14
smbzul, Thats what he said15:15
zuljamespage:  arrgh15:15
smbzul, translating US to CA... ;)15:15
smbor vice versa15:15
zulsmb: yes we actually use english ;)15:15
smbzul, So give me a sec. The patch might not yet be good but better than before15:16
zulsmb:  ack15:16
zuljamespage:  on it15:16
jamespagezul, good man!15:16
jamespagezul, they don't need an immediate upload btw - they can wait for other things15:16
smbzul, chinstrap:~/smb/ubuntu-xend-probe.patch15:17
zuljamespage:  ok i talked to mterry about webtest its on his todo list for today15:17
jamespagezul, thanks15:17
hallyn_zul: sounds worthwhile :)  (keeping him in the loop)15:17
=== wedgwood_ is now known as wedgwood
zuljamespage:  also ill have a nova merge for you shortly (just buidling locally for any surprises)15:18
lfaraonesmoser`: did you have a chance to check out that script?15:18
jamespagezul, ok15:18
smbzul, If you can point me (or drop me) your 1.2.0, I can switch fiddling around with that15:19
zulsmb: https://launchpad.net/~zulcss/+archive/libvirt-1.2.015:19
smbzul, thanks15:20
smoser`lfaraone, i'm sorry. its on my todo list.. i just wrote it  there again today :)15:20
smoser`lfaraone, link ? and i'll take a quick look now.15:20
=== smoser` is now known as smoser
lfaraonesmoser: neat, thanks. https://bazaar.launchpad.net/~lfaraone/+junk/configure-interfaces/view/head:/configure-cloud-interfaces15:21
smoserlfaraone, fwi, there is '#cloud-init' channel also15:21
smosernot that your comments are inappropriate here15:22
smoserbut that they my be more appropriate there.15:22
lfaraonek, joined.15:24
=== freeflying is now known as freeflying_away
zuljamespage:  https://code.launchpad.net/~zulcss/nova/icehouse-sqlalchemy/+merge/19827815:38
jamespageyolanda, the problem is that openstack does not have the same concept as apache15:47
yolandajamespage, zul, so my thought about a var in config file also, is that the way that openstack is deployed, with puppet or other tools, will make that this var is just ignored15:47
jamespageI'd prefer that we have something config driven so that users can disable it - but that might not meet the objectives for this blueprint15:47
yolandapeople won't be adding any extra vars15:47
jamespageas its easily disabled15:47
jamespageyolanda, well you could have a sane default15:48
yolandamm, but then it will be done in runtime15:48
yolandaif i check if var is not set,and then check for distribution... it will be wasting a lot of time15:49
jamespageyolanda, for example platform.dist() return a tuple of useful information15:49
yolandabut that's runtime, right?15:49
jamespageyolanda, yes15:49
yolandaso imagine that extra call for each api call...15:49
yolandai don't think that's a good idea15:50
jamespageits probably cached15:50
jamespageor maybe not15:51
jamespageyolanda, I agree that sucks15:51
yolandaand setting a var in keystone.conf will be mostly ignored, don't you think?15:51
yolandaproblem on what i did now is that is not easily movable upstream15:52
yolandaso jamespage, zul, what alternatives do we have?16:03
zulyolanda:  i still think if you do keystone --version thats good enough16:04
yolandabut that's not the objective for server banners16:04
zultrue but its not always a good idea to do it in server banners16:05
yolandamm i checked with jamespage and we decided that this wasn't good, so we need some agreement16:06
a1fahello16:39
a1fain terms of monitoring cpu utilization, should one focus on %sys or %idle and or %soft?16:39
a1faon cpu load, should i really care about %idle versus anything else? how about si or hi?16:57
zulroaksoax:  ping maas doesnt use beautifulsoup does it?17:05
roaksoaxzul: np[e17:06
roaksoaxnope17:06
zulroaksoax:  awesome17:06
=== freeflying_away is now known as freeflying
zulDaviey:  ping17:42
hallyn_zul: all right, qemu 1.7 working for me.  if you want to look at it before i push to trusty, shout18:00
hallyn_oh wait, gotta look for a new version of linaro patchset.  heh.18:00
zulhallyn_:  sure why not18:00
zulhehe18:00
hallyn_zul: ok, it (without linaro patchset) is in github.com/hallyn/qemu branch ubuntu_1.7.0+dfsg-218:01
yolandaso zul, jamespage, i'll need some feedback about it. We have several options, not sure what will be best, also smoser sent some feedback: https://code.launchpad.net/~yolanda.robla/keystone/icehouse_fix-distribution/+merge/19827518:12
smoseryolanda, was i wrong ?18:13
smosersurely something loaded in that wsgi.py is only loaded once, right?18:13
yolandabut it should be loaded on every api call18:13
smoserno...18:13
smoserare you saying you'd want it to be ?18:14
smoseror are you saying that wsgi.py will actually be loaded by python on every api call18:14
smoseri could be wrong, but i surely wouldn't expect that it would be. and if it is, we can find somewhere else to put the DISTRIBUTION18:14
yolandasmoser, i think wsgi should be loaded on each api call18:15
yolandabut i'm not sure at this moment anyway18:15
yolandaalso we were discussing about using a config var for it18:16
smosersure. config var is no different. i'm fine with that.18:16
smoserif you have something up, you can easily check if wsgi.py will be loaded on every call.18:16
yolandaproblem with config var, is as openstack is normally deployed using puppet or other tools, won't be easily used, people willl override it18:16
smoseryou just do open("/tmp/mfile.txt", "w+").write("loaded")18:17
yolandaone solution that jamespage also proposed, is to set that in config, and it not present, default it with some python call (for example the approach you told)18:17
smoserand if every api call gets appended to that file, then i'm wrong18:17
yolandayes,  i was thinking in testing it18:17
yolandaalso zul suggested just to patch the --version call, so we have several alternatives18:17
smoserpersonally, i might just do it like a "config" that is a dict18:18
smoserand allows you to specify 'X-Distribution: foo-bar'18:18
smoseras well as18:18
jefgyI have a server using a near-offset mdraid 1 I need to convert it to a far-offset raid 10.  There don't see anyway to do this without basically taking the machine down for a full rebuild and copying the data over.  any better suggestions?18:18
smoser'X-GoCubsGo: cubswintoday'18:18
smoserand update the dict with the config value18:19
smoserie, it doesn't 'have to be distribution specific at all.18:19
smoserjust "additional headers"18:19
yolandasmoser, and also you would add a section in .conf files for that?18:20
smoserwell, a config variable.18:22
smoserso you'd ether have a config variable value tha tis then an array (or dictionary)... I think there are some values that are ',' delimited18:22
smoseralready18:22
smoserie, which have been 'shoved' into a single string18:22
smoseror you can just refer to a file that has this data in it json encoded.18:23
smoserthe file reference is what I did for "vendor data" in openstack.18:23
smosers/openstack/nova/18:23
smoserhttps://review.openstack.org/#/c/37964/18:23
smoserthat might be overkill here. as may be my generic "additional_headers"18:28
smoserbut it is very functional18:28
yolandaok, i'll take a look18:32
bogeyd6a.net18:57
frojndHi. What ftp server do u suggest? So Users could upload to /var/www/servers/ ?18:57
frojndPreferably users without shell and access to upload only to /var/www/servers/user1/ ?18:58
sarnoldfrojnd: ftp is a horrible protocol, I'd rather offer sftp through sshd.18:58
frojndanyways if that filezilla supports I'm good with it?18:59
frojndit does..18:59
frojndOk So I have only 2 demands. User can not ssh to server but is able to upload to /var/www/servers/user1/ directory and all subdirectories18:59
frojndAlso this directory has following rights: drwxr-xr-x 10 www-data www-data19:00
frojndThis means only www-data is able to write19:00
sarnoldfrojnd: look at sshd_config(5), especially ForceCommand and internal-sftp19:01
sarnoldfrojnd: I'd change the directory's owner and group -- you do not want your web server to be able to write to this directory, do you?19:02
frojndNope. What is the common group user for websites on ubuntu?19:03
sarnoldI'd make a new group, myself, since I don't care for the use of www-data for both the webserver process -and- the webserver data files.19:04
hallyn_sarnold: if i want to allow ext* and xfs mounting, do you know offhand if i can just say "mount fstype=ext* xfs," ?19:14
sarnoldhallyn_: try "fstype in (ext*,xfs)" -- though you might need (ext2,ext3,ext4,xfs) ...19:16
hallyn_sarnold: in an apparmor profile?19:17
hallyn_(the 'in' seems out of character)19:17
hallyn_eh, i'll just list them out - clearer anyway.  thanks :)19:17
sarnoldhallyn_: yeah, the 'in' was introduced because 'mount' is funny -- we wanted something more flexible than "this exact set of options" to allow "anything in this list of options". so 'in' was introduced.19:18
hallyn_in what release?19:18
sarnoldsorry, I don't recall.19:18
sarnoldsigh I need to set up some more-featured chroots, 'bash: man: command not found" ...19:19
hallyn_yeah i need to tweak my canonical-containe-creation scripts to add things like that, as well as divert dpkg19:21
hallyn_not today :)19:21
sarnold:)19:21
sarnold.. when waiting six seconds for a vm to spin up and ssh in is just too painful ..19:22
hallyn_stgraber: well that was weird.19:24
sarnoldhallyn_: looks like precise has the mount 'in' rules. Not lucid, no real surprise there I guess.19:24
hallyn_on 3.12 kernel, i did 'dd if=/dev/zero of=xxx bs=50M'.  when it got to 5.5G i ran out of disk19:24
hallyn_sarnold: do you have a link to docs on it?19:24
hallyn_dude htis happens on host too19:25
sarnoldhallyn_: nothing better than apparmor.d(5), sorry: http://manpages.ubuntu.com/manpages/precise/en/man5/apparmor.d.5.html19:25
hallyn_oh, heh.  i see what i did there19:25
hallyn_well, i need a reboot.  biam19:26
sarnold.. you actually ran out of disk, right? :)19:26
hallyn_yup19:28
hallyn_stgraber: when you get a chance could you look at my debdiff to https://bugs.launchpad.net/ubuntu/+source/maas/+bug/1257389 ?19:38
uvirtbotLaunchpad bug 1257389 in maas "cannot run maas-import-ephemerals inside lxc container" [Undecided,Confirmed]19:38
roaksoaxjamespage: silly question.. but do you think it would be better to rename maas-region-controller-min to maas-region-controller-common?19:40
stgraberhallyn_: do you actually need to allow nesting in the -with-mounting profile?19:42
hallyn_stgraber: not necessarily, but since you can't "combine" features, i thought i'd go for the lowest common denominator19:42
hallyn_smoser: the containers wher eyou'd want to mount blockdevs, you wouldn't be using cgroups there right?19:43
stgraberhallyn_: I think it'd be best to have the with-mounting profile only allow mounting and not allow nesting (so drop start-container, cgroup, proc, sys and the rw,bind of dev/shm)19:43
stgraberhallyn_: if someone actually wants both, they should just add an extra profile which includes both with-nesting and with-mounting19:44
smoserhallyn_, um... i don tthink so, but i'm not sure.19:45
hallyn_stgraber: ok will update the debdiff on the bug19:48
hallyn_stgraber: are you pushing soon to trusty with your new config layout?19:49
hallyn_do you want to just add this to your upload if so?19:49
stgraberhallyn_: next upstream push will be next Tuesday with the release of beta119:51
stgraber(17th)19:51
TeraJLi have  a small USB (500mb) drive, is there any way to install ubuntu server? online instalation or something?19:53
fugahi i have some problem to receiving mail on my postfix/dovecot server...19:54
fugahttp://paste.ubuntu.com/6547378/19:54
sarnoldTeraJL: I've got to run out the door.. but perhaps try one of the 'mini' images on your usb stick, just dd the thing, that might do a live instance for you in the tiny space..19:55
hallyn_stgraber: all right i'll push lxc with that fix, then.  i'll work upstream for the lxc-ubuntu-* template option to specify apparmor profile.  (if i can think of a good way to specify one)20:02
stgraberhallyn_: I just applied a commit from caglar that adds that kind of documentation to ubuntu.common.conf, so you probably just want to add a section in there.20:07
hallyn_ok20:10
fugano one to help me?20:20
rdw200169fuga: it is extremely probable that your ISP is blocking port 2520:23
rdw200169fuga: try telneting from a *remote* host that is nowhere near you, like from a amazon ec2 micro instance or something back to your ip:25 with postfix running20:24
fugamy port are open...i've already a web server on the same computer using port 80 and i have opened 25 and 143 by the same way20:25
rdw200169fuga: true, most ISPs allow you to open port 80 and host a page no problem; port 25 is another matter, though.  port 25 and an MTA leave you wide open with the standard configs as a spam relay host, which will trash your IPs reputation, and by proxy of that your ISP20:26
fugaon my ISP/modem i have open the port..it's possible the portsstill close despite this?20:30
=== freeflying is now known as freeflying_away
rdw200169fuga: yup; email is a horrible dangerous game to play, and most ISP's don't want to see their customers bandwidth get aggregated to the hilt with spam traffic to some subscribers open MTA20:32
fugahow can i do to have my domain email adress....like  john@mydomain.com?20:33
rdw200169fuga: just trust me on this one, but give up trying to run your own mail server out on the open internets; it's fine if you want to *send* email to remote SMTP servers, just not receive20:33
rdw200169fuga: you can, off the top of my head, use google apps; go daddy and most of the big registrars as well will host email for your domain20:34
fugadi you have some help links for me?20:35
fugago daddy? i don't understand...20:35
rdw200169fuga: godaddy.com20:35
fugaok just...it's a free solution?20:36
fugabecause money it's a problem to^^...20:36
rdw200169fuga: probably not; there was a time when google apps was free, and that is when i got in, but i don't know if it is free any more20:36
ScottNYCquestion, why is it that Ubuntu Servers guided LVM install creates a sperate ext3 /boot partition? Why isnt it part of /roots' logical volume or at least its own logical volume, why ext3?20:36
fugaok i look that20:36
ScottNYCis it to make the boot partition easier to access?20:37
rdw200169ScottNYC: that is probably an old doc; regardless, separating your partitions is always a good idea; particularly between variable and non-variable data20:37
rdw200169ScottNYC: mostly it has to do with old versions of the boot loader (grub) and its idiosyncrasies regarding what types of partitions and whatnot it could read the boot stuff off of; my understanding now is that Grub2 can access pretty much anything, to include inside a mdadm raid array20:38
rdw200169ScottNYC: And i am almost certain that there was a time when grub could not access partitions inside of LVM for the stage2 file20:39
ScottNYCyeah that makes sense, thx rdw20016920:41
PryathI'm going to attempt to configure my iptables for ubuntu server, but I'm worried I'll end up locking myself out or screwing up the rules. This paste is basically two examples I found mashed up together into one (with an extra part at the bottom I'd manually add). Can anyone tell me if this will work or give me advice on how to improve it? http://pastebin.com/EsR9ZFpH20:53
frojndsarnold: I've used internal-sftp20:54
frojndsarnold: the problem is that when I try to login with newly created user that has only rights in /var/www/server/this_server he can also see other stuff20:55
frojndHe can only write or do stuff in /var/www/server/this_server but still... I thought I've chrooted it properly20:56
frojndOne newbie question. Let say I chroot sftpuser. Can this chrooted user still have access to read other directories?21:07
frojndif other directories have -r flags for other?21:07
sorenfrojnd: Depends on where they are.21:10
frojndsoren: if they are in /var/www/servers/server1/ ?21:10
frojndI'd like to create a sftp option for one user that wish to upload new stuff for site21:11
frojnddirectly to site21:11
frojndAnd I already this is a bad ieas since now while I'm testing it I can locate .crt, .key, .csr files21:12
sorenfrojnd: WEll, they can only access things that are in the chroot.21:12
frojndsoren: but I can go out of there21:12
frojndI can actually go to /21:12
sorenfrojnd: Then you're not chrooted.21:12
frojndhm21:12
sorenThat's what chroot means.21:12
sorenIt redefines the meaning of /.21:12
frojndYeah, I thought so21:12
frojndFirst I've created user: sudo useradd --home-dir /data/incoming --no-create-home sftpuser21:13
frojndANd then add a passwrd.21:13
sorenSo if you have a process that's been chroot('/var/www/whatever')'ered, that process will see /var/www/whatever as its /.21:13
frojndmhm ok I understand21:13
frojndI fucked something up on the way then21:13
sorenIt won't see "/var/www/whatever" mentioned anywhere and just be blocked from going further up (or down, whichever way you typically visualise it) the tree.21:14
frojndanyways after creating a new user without shell I've chown already created directory: sudo chown /var/www/servers/server1/public_html21:14
sorenSo when you say it can go to /, what do you mean?21:14
frojndIt can actually go to / :) and go to /home/ and see all the users with shell21:15
frojndit can also go to /etc/nginx/ssl :P21:15
sorenOk.21:15
frojndso I must have mispeeld or did something wrong21:15
sorenWhat did steps did you take to attempt to chroot it?21:15
frojndok21:15
frojnd1) created a user: sudo useradd --home-dir /data/incoming --no-create-home sftpuser21:15
frojnd2) gave it a password..21:15
frojnd3) chowned dir: /var/www/servers/server1/public_html21:16
frojnd4) edited /etc/ssh/sshd_config to look like this: Subsystem sftp internal-sftp21:16
frojndand added this: http://sprunge.us/LIhG21:17
frojndAnd after it I've restarted ssh service21:17
frojndand I found something..21:18
frojndI made a typo :S21:18
sorenCan you paste the output of "ls -l..."21:18
sorenoh21:18
sorenNever mind, then :)21:18
frojndin sshd21:18
frojndlet me try it21:18
frojndyeah21:19
frojndit was a typo, I didn't properly wrote sftp username in sshd21:20
sorenLooked ok to me?21:20
frojndI forgot to add sftpuser[server1] here21:21
frojndThis is a nice feature. Chroot21:22
frojndHm21:29
frojndPam is douing a problem21:29
frojndor not21:30
=== freeflying_away is now known as freeflying
ScottNYCdoes it matter the order in which u create logical volumes? for example After creating logical volumes root, swap. and home, when viewing the partitions I just created, their listed from top to bottom, home, then root then swap.21:43
jpdsScottNYC: No.21:43
ScottNYCok thx21:43
=== aarcane_ is now known as aarcane
Pryathwelp I locked myself out of my server. It's a good thing it's non persistent (through restarts)21:55
jkyleI'm noticing exceptionally long ifup -a times22:38
jkyleover 5 minutes22:38
jkyleis there some logs to help me narrow down what's stalling?22:40
PryMar56jkitchen, ps aux | grep dhclient22:44
PryMar56jkyle, meant for you22:44
PryMar56I had a new server setup where dhclient was missing22:45
jkyleyeah, I think I nailed it down to that. fella that set up the vm didn't bridge the interface so it wasn't serving dhcp23:15
jkylePryMar56: ^23:16

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