/srv/irclogs.ubuntu.com/2012/05/15/#ubuntu-server.txt

Gallomimiahow can i re-activate my ssh server? seem to have mistakenly uninstalled it. i think i reinstalled it now00:02
UrsinhaGallomimia, if openssh-server is installed, so it should work normally (I guess service activation happens when the package is installed)00:09
Ursinhahehe00:09
=== Telg is now known as Telgalizer
=== Telgalizer is now known as Telg
koolhead17waoo awesome :P00:17
brainysmurfI see a {crypt}x value for the userPassword field in an ldif file for an ldap; what does that mean?00:17
tdelamhey guys, i have a web app where I am encoding a video and uploading to a fileshare, I want to mount the drive locally, i have been using smbmount but I am getting permission denied, i can't seem to set the permissions, am i doing something wrong in the mounting?00:40
alazare619tdelam:  is your user accoutn in the smbmount user group?00:58
tdelamhmm, no00:59
tdelami don't believe so, let me check when it comes back from reboot.00:59
tdelamalazare619: how do i add my user to that group01:06
jvargashow do I restore locale to en_US by default?01:06
jvargasinstallation was performed using es_CR, and I need to change it for compatibility reasons.01:06
=== elake is now known as etank
qman__tdelam, try mount -t cifs01:51
tdelami think i finally have it01:52
tdelamthis is pretty finicky01:52
tdelamI have kids so I can deal with picky but this is daft :)01:52
tdelamthanks though qman__01:52
koolhead17neoXsys,02:02
* semiosis is back.02:11
* semiosis is away. please leave a /msg02:11
* semiosis is away. please leave a /msg02:11
* semiosis is away. please leave a /msg02:11
semiosisoops!  sorry02:12
twbDon't do it again.02:14
semiosistwb: ok :)02:15
EvilResistancesemiosis:  yeah, away message broadcasts arent exactly liked on ubuntu irc channels02:15
semiosisi can't imagine they're liked anywhere02:16
EvilResistanceindeed02:16
semiosistoo tired to be messing with irc client options02:17
semiosissorry again02:17
stonedHi, I'm on Ubuntu Lucid and I need to install python 2.7.x but repositories only have 2.6.x. What should I do?03:54
stonedAre there any 2.7 backports? Or do I have to build python from source?03:55
ScottKThere are PPAs that have it, but as with any PPA, check who's PPA it is and decide if you trust them.04:01
stonedI need to install python 2.7 on lucid. What's the best way to do this?04:03
rbasakstoned: <ScottK> There are PPAs that have it, but as with any PPA, check who's PPA it is and decide if you trust them.04:05
twbScottK: is PPA upload access discretionary?04:05
rbasaktwb: anyone can have their own PPA. You just need to sign the Ubuntu Code of Conduct, that's all.04:05
twbScottK: i.e. if I "own" a PPA, can I delegate upload rights to additional people, who maybe you (a user of the PPA) don't trust?04:05
ScottKYou can tell who had upload rights.04:06
stonedWhat's a PPA?04:06
stonedI have to also setup mod python for apache for 2.704:08
stonedShould I build from source?04:08
twbstoned: why do you need python 2.7 on lucid?04:09
stonedThe server we have where everythign is hosted is lucid04:09
stonedThe client needs to host something that requires 2.7 apparently04:09
stoned2.6 is what comes w/ lucid04:09
twbSay to them that this is non-trivial.04:09
stonedI can't. I have to get this done.04:09
twbAsk them if it is worth the investment, or if they'd prefer to fix/test their app to work with 2.604:09
twbI have had this argument with customers before04:10
twbFor something as deep in the core as python, it will be a headache to backport it to lucid.  Best is to fix their app, middle is to upgrade the VPS to 12.04; worst is to try to backport newer python to lucid04:10
stonedI could backup and restore the sites/db etc. on a new server install04:11
twbIf it was an "edge" package, the order might be different.04:11
stonedhowever, our ip will change04:11
stonedAnd they use their own DNS to poitn to our server04:11
stonedAnd having them do that takes almost 4-6 weeks (it's a global corporation and paperwork etc.)04:12
twbAnyway, deciding on which path to choose is up to the customer; you just need to make them aware of the costs & risks of each choice04:12
stonedOk. Thanks.04:13
stonedI let my CEO know. He will talk to them himself.04:13
stonedWorst case scenario, we built a new vps for them on new ubuntu04:14
stonedthey should just let us handle the domain but blah04:14
twbYou might point out that 10.04's already two years into its five-year EOL04:14
twbhttps://en.wikipedia.org/wiki/Three-point_estimation04:15
twbIf you use that technique, you give a biiiiig number for the worst case to demonstrate how iffy the backporting can be04:17
twbLike ½/2/14 days04:18
stonedI always do that04:18
stonedI learned from my mentor that if it takes 10 hours to do something, tell them 60 best case scenario.04:19
stonedI mean I get you.04:19
twbHaha, that's just inflation04:19
stonedHeh.04:19
stonedWell I don't do any billing so I dunno04:19
stonedI just job it04:19
twbI give three-point estimates to my management, who will either make the decisions or bundle it with other estimates and pass the decision up to the customer04:20
stonedI am reading it04:20
stonedintersting article04:20
stonedthanks04:20
twbIt's really no harder than single-point estimates, and it gives management a lot better understanding on your confidence level for a given task04:20
twbOf course its important to understand that "worst case" is also ONLY an estimate.  It only covers the "known unknowns" as Cheney put it04:22
stonedhow come your nickname is twb04:22
twbIt's just an MIT-style username.04:22
stonedInitials?04:23
twbXavier Yusuf Zbiegniew ==> xyz04:23
stonedThat's a wicked name if it were a real one04:23
twbIt's historical; hispanic orthography now uses "javier"04:23
stonedsounds like heavier04:24
stonedI find Spanish to be a rather funny sounding language, no disrespect intended04:25
=== jtv1 is now known as jtv
=== Gallomimia_ is now known as Gallomimia
=== smb` is now known as smb
=== almaisan-away is now known as al-maisan
lynxmanmorning o/08:39
linociscoanybody tried ubuntu mail server on virtualbox? INternet will be through Host XP09:06
RoyKlinocisco: it should be like running on iron09:18
linociscoRoyK, umm. it is to test. what do you mean running on IRon?09:19
RoyKhardware09:19
Tzunamiibare-metal is the correct phrase :)09:46
ARTSIOMcan someone please explaine me how "su - user" command works. IN documantation is said that "-" option will "Provide an environment similar to what the user would expect had the user logged in directly.". But this is not the case for me on 12.04. When I am loging in directly with the user I have a different $PATH when I am login in with "su - user"10:18
ikoniaARTSIOM:  the - assume the new users enviornment10:21
ikoniaARTSIOM: eg: su artsiom just switches user to artsiom, but keeps the current users environment, su - artsiom changes to the user as if you had logged in as that user10:22
ARTSIOMikonia: but this is exactly what is not working for me. When I am loging in with artsiom directly I have a $PATH variable, which differs from the one I get when I login as "su - artsiom"10:23
ikoniawhat is the path variable for both10:24
ARTSIOMwhen I am login in directly I get $PATH which is defined in /etc/environment, when I am login in with su I get - "/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games"10:26
ikoniawhere is /usr/local/games etc set, in your .bash_profile (for example)10:27
ikoniasounds like it's not running a login shell10:27
ARTSIOM /usr/local/games etc, is not set in users's  .bashrc and .profile files10:29
ikoniawhere is that set then ?10:30
ARTSIOMit is defined in /etc/login.defs, but I have no idea why it is loaded when using "su - user"10:31
ARTSIOMI am not even sure that it is really loaded from /etc/login.defs and not from somewhere elese10:33
ikoniaquite surprised by that10:35
RoyKhm... with encrypted home, google tells me there's an --encrypted-home flag to useradd, but that doesn't seem to be the case for precise11:19
ikoniaRoyK: doesn't core utils have to be built linked against a certain set of libs for that11:22
RoyKno idea - I just want to create a set of users on this new precise install, and I want their homes to be encrypted, so I'm looking for an easy way11:23
anomanI have problem with installing ubuntu 12.04 server using usb keyboard11:26
RoyKanoman: hm... has worked for me a few times... perhaps BIOS is set to USB legacy?11:27
RoyKnot that that should matter11:28
RoyKjust guessing11:28
anomanI have try but not working11:29
RoyKplease check if usb legacy is set in BIOS - it might help to change that setting's status11:30
anomanwhen entering the BIOS settings to run normally, but when it entered the keyboard is not detected in ubuntu11:33
RoyKbut did you check that setting?11:33
anomanyes11:33
RoyKand what was it set to? and did you try to change it?11:34
anomanI do many time for sure11:34
RoyKok11:34
RoyKdunno, then11:34
anomanUSB key board detected11:34
zulhallyn: i have libvirt 0.9.12 working i just need to clean things up11:37
anomansome one11:42
=== mrmist_ is now known as mrmist
=== dendro-afk is now known as dendrobates
=== dendrobates is now known as dendro-afk
=== dendro-afk is now known as dendrobates
hallynzul: cool, so do you have that based on upstream, not the debian 0.9.12-rc2 right?13:16
=== dendrobates is now known as dendro-afk
zulhallyn: upstream13:16
hallyni've gotta start by ...  figuring out where to start.  would like to start the whole qemu re-do (as early as possible) but don't think i can do that yet13:23
zulbasically i took whats in the archive right now and a big hammer13:23
hallynwhat could go wrong?13:25
zulhallyn: not a big enough hammer13:29
mboeruhello huys13:49
RoyKhttp://imgur.com/vWIul13:49
mboeruhas anyone succesfully managed to setup raid using kickstart/kickseed/preseed when deploying any ubuntu sever version?13:50
mboerusooo I'm guessing no one13:51
RoyK!patience13:52
ubottuDon't feel ignored and repeat your question quickly; if nobody knows your answer, nobody will answer you. While you wait, try searching https://help.ubuntu.com or http://ubuntuforums.org or http://askubuntu.com/13:52
mboeruoh i am patient :) also searched13:53
mboeruthanks13:53
=== nathwill_will is now known as nathwill
ARTSIOMcan someone please explaine me how "su - user" command works. In documantation it is said that "-" option will "Provide an environment similar to what the user would expect had the user logged in directly.". But this is not the case for me on 12.04. When I am loging in directly with the user I have a $PATH, which differs from the one I get when login in with "su - user"13:57
xnoxARTSIOM: ...hence _similar_ =)14:01
xnoxtry `sudo -i -u user'14:02
frankbanhi hallyn, yesterday I attached a patch to bug 994752: it contains lxc-ip and an updated version of lxc-start-ephemeral.14:50
uvirtbotLaunchpad bug 994752 in lxc "lxc-start-ephemeral's use of dhcp lease table is fragile" [High,Triaged] https://launchpad.net/bugs/99475214:50
hallynfrankban: yup, i saw it, haven't opened it yet (was out yesterday)  thanks for that14:51
frankbanhallyn: thank you for taking a look at that14:52
randomDudeI'm trying to pxe boot install _alot_ of workstations, i have pxe working... but preseed REFUSES to work! pxe boot config : http://pastebin.com/0Qu84GiP, preseed : http://pastebin.com/VNZBmXSb15:17
roaksoaxrandomDude: you might wanna look at http://bit.ly/uinstall15:19
roaksoaxand compare your preseed15:19
randomDudei'm looking at that15:20
roaksoaxrandomDude: and we cannot help if we don't know what the error is if you don't show us an error15:20
randomDudewell i can't _ show _ the error15:20
randomDudeit keeps saying i don't have a cd inserted15:21
randomDudei think i've lost 5 hours of my life trying to make this work15:22
roaksoaxrandomDude: why don't you just use MAAS?15:22
roaksoaxrandomDude: https://wiki.ubuntu.com/ServerTeam/MAAS15:23
=== al-maisan is now known as almaisan-away
randomDudebecause i want desktops?15:25
randomDudenot servers?15:25
roaksoaxrandomDude: then you just add the ubuntu-desktop metapackage in /var/lib/cobbler/snippets/maas_client_packages and that's it?15:25
roaksoaxrandomDude: http://askubuntu.com/questions/127313/how-do-i-add-different-packages-to-maas-clients-on-installation15:26
randomDudeand learning how to use maas represents a much larger investment of time where as to get this preseed to work *should* be as *simple* as one variable...15:26
randomDudeyeah no, i don't have the time to learn how to use cobbler, orchestra and puppet etc etc15:26
roaksoaxrandomDude: have you compared your preseed with the one I linked you?15:27
randomDudenot to mention all the _undocumented_ bugs that go with them15:27
randomDuderoaksoax: that preseed you linked is for 7.0415:27
randomDudehttps://help.ubuntu.com/12.04/installation-guide/example-preseed.txt15:27
roaksoaxrandomDude: no it is not15:28
roaksoaxrandomDude: try this: d-icdrom-detect/ejectboolean true15:28
roaksoaxrandomDude: try this: d-i cdrom-detect/ejectboolean true15:28
roaksoaxrandomDude: i'm guessing you configured BIOS to boot for PXE first instead from cdrom right?15:29
randomDudeobviously15:29
roaksoaxrandomDude: try this: d-i cdrom-detect/eject boolean true15:29
roaksoaxrandomDude: even with a minimal preseed file the installer will continue asking questions15:30
roaksoaxrandomDude: I recommend you look at http://blog.dustinkirkland.com/2012/01/ubuntu-quick-installation-preseed-link.html15:30
mdeslaurhallyn: how is bug 999681 a virt-manager bug, if virsh doesn't show them either?15:31
uvirtbotLaunchpad bug 999681 in virt-manager "Afer upgrading "libvirt-bin" to  0.9.8-2ubuntu17.1 to virsh cannot identify  machine after reboot " [Medium,Incomplete] https://launchpad.net/bugs/99968115:31
roaksoaxrandomDude: go to the line: d-ipkgsel/include string byobu vim openssh-server and add "d-ipkgsel/include string byobu vim openssh-server ubuntu-desktop" and if you follow what's specified there in the blogpost, you should have an installation with no questions asks at all15:31
hallynmdeslaur: bc virt-manager isn't actually creating them?  i'm going to mark it as also affecting libvirt, was just in the middle of replying15:31
roaksoaxrandomDude: *and* this is *NOT* for a 7.04 as you mentioned above15:31
randomDudestill thinks there is a cdrom to use15:32
hallyni like to do things in as many steps as possible15:32
mdeslaurhallyn: well, he does say the xml files are in the directory...but I'll follow the bug too, thanks15:32
hallynoh i missed that bit15:32
randomDuderoaksoax: what am i supposed to do with this blog post you sent me to that just links me to the first url you sent me to ?15:33
mdeslaurhallyn: sorry, I'm not trying to play the bug bounce game, I was just curious if I had missed something :)15:34
hallynno, i'm just doing things in silly orders while catching up on email15:34
roaksoaxrandomDude: this is how my pxe file looks like: http://pastebin.ubuntu.com/989101/15:35
roaksoaxrandomDude: using a netboot image on a tftp server rather than nfsroot as you are trying to15:36
randomDuderoaksoax: remember i want to install desktops not servers15:36
roaksoaxrandomDude: which I suggest you use (a netboot image)15:36
roaksoaxrandomDude: installing the desktop is simply adding 1 package to the package list (ubuntu-desktop)15:37
roaksoaxrandomDude: and you tell what packages to install in the preseed file15:37
=== matsubara is now known as matsubara-lunch
roaksoaxrandomDude: i have never pxe booted from a live image so I can't help you with that. I, however, would suggest you use the netboot image, grab the preseed as linked above, add ubuntu-desktop to the package list and that'd be it15:39
hallynstgraber: is bug 999187 related to the sources.list but you mentioned before wrt amd64?15:39
uvirtbotLaunchpad bug 999187 in lxc "lxc-create for armhf fails with error "failed to execute template 'ubuntu'"" [High,New] https://launchpad.net/bugs/99918715:39
stonedhi15:39
randomDuderoaksoax: i am using the alertnate iso15:40
randomDuderoaksoax: also alot of the settings in that preseed are unsuitable for desktop15:40
stonedI need to setup mod_wsgi w/ python 2.7 on lucid. I came in here last night and I was told that backporting it to lucid would be a very difficult task. I could try to build python 2.7 from source or install a PPA. How would I then configure mod_wsgi to use the 2.7 python instead? please advise15:40
stgraberhallyn: yes, that's exactly what I fixed in quantal15:41
randomDuderoaksoax: so i used your preseed, and it still freaks out that it can't mount a cd rom15:41
randomDuderoaksoax: should i press the left key and select <yes> try looking for the cdrom again? or should i press the right key and select <no>15:42
randomDuderoaksoax: does this explain the error enough for you yet?15:42
hallynstgraber: was there an open bug for the q one?15:42
stgraberhallyn: I don't think so, I just saw it when doing something else in the template and fixed it immediately15:43
stgraberhallyn: btw, for some reason -ubuntu55 was removed from -proposed. I poked cjwatson to have it published again :)15:44
roaksoaxrandomDude: again, I have not tested this on an alternate cd. I have tested this on a netboot image15:44
Davieyzul: you are chairig the meeting?15:44
zulam i?15:44
hallynstgraber: ok thanks, guess we'll add that one to the list to sru in 56 :)15:44
Davieyzul: rota seems to suggest that?15:44
stgraberhallyn: well, actually, I think you could just re-upload -ubuntu55 with that extra change as according to LP our current -ubuntu55 was "removed from disk" :)15:45
randomDuderoaksoax: i thought alternate iso was meant to be used with preseed15:45
zulDaviey: who was the last one?15:45
hallynfeh.  not sure i have access to my copy of 55 right now15:45
stonedI need to setup mod_wsgi w/ python 2.7 on lucid. I came in here last night and I was told that backporting it to lucid would be a very difficult task. I could try to build python 2.7 from source or install a PPA. How would I then configure mod_wsgi to use the 2.7 python instead? please advise15:45
stgraberhallyn: wget https://launchpad.net/ubuntu/precise/+source/lxc/0.7.5-3ubuntu55/+files/lxc_0.7.5-3ubuntu55.dsc https://launchpad.net/ubuntu/precise/+source/lxc/0.7.5-3ubuntu55/+files/lxc_0.7.5-3ubuntu55.debian.tar.gz https://launchpad.net/ubuntu/precise/+source/lxc/0.7.5-3ubuntu55/+files/lxc_0.7.5.orig.tar.gz15:46
stonedIf I build python 2.7 from source, and then build mod_wsgi from source and link against 2.7 python, do you think that would work?15:46
Davieyzul: i have NFI, i just know that your name is now there.. is that wrong?15:46
zulDaviey: i have no idea15:46
Davieyzul: i think it was utlemming15:46
hallyni see i thought i'td gotten deleted :)  ok thanks15:46
zulDaviey: ill chair the meeting though15:46
stgraberhallyn: the binaries have, apparently the source is still around :)15:47
Davieyzul: super.. we'll i'm not going to be able to be entirely there..  Can you ensure that "Quantal Development".. has a strong focus on blueprint writing.. Would be good to be in a position to be able to review them next meeting.  Ta!15:47
roaksoaxrandomDude: yes, but in your particular case, cdrom question being asked sounds to me like something is missing in the preseed, or maybe is due to a kernel argument, or its because you are booting from nfsroot15:48
zulDaviey: ack15:48
stgraberhallyn: actually, let me do it quickly, I'll stack an -ubuntu56 entry on top of our -ubuntu55 and use -v to include both entries in the changelog15:48
stgraberwill be cleaner and may avoid some LP weirdness caused by the removal15:48
hallynstgraber: ok.  thanks.  (i assume 0081-fix-multiarch-install was the actual fix - but will let you :)15:48
BilgeSo I just upgraded from 10 to 12 LTS15:51
BilgeThere's a few mysterious packages appeared in aptitude that think they have been selected for installation15:51
stonedWhat if I install a latest ubuntu chroot inside lucid15:51
stonedinstall 2.7 python and apache there15:51
BilgeLike mbr and g++-4.415:51
BilgeShould I install these or is it fine to just deselect the,?15:51
Bilgethem*15:51
stonedand serve apache out of there and point the traffic there15:51
stonedEither no one knows, or no one cares to tell me.15:52
stoned:(15:52
rbasakAny comment on how to SRU bug 988819 please? I've written up the options I can think of in #6, but I don't like any of them. Is there anything else we can do?15:57
uvirtbotLaunchpad bug 988819 in apache2 "wrong path to libxml2.so.2 in mod_security" [Unknown,Fix released] https://launchpad.net/bugs/98881915:57
EvilResistancerbasak:  if you have a patch to solve this then it could be more capable of SRUing15:58
EvilResistanceSRUs usually arent version upgrades, so if you proposed that, well...15:58
EvilResistanceah15:58
rbasakEvilResistance: the question is how to write the patch. I've detailed options in the bug.15:58
EvilResistancerbasak:  was this fixed in Quantal?15:59
EvilResistanceor rather, is this fixed in QUantal15:59
rbasakEvilResistance: it will be when packages are synced from Debian, yes15:59
EvilResistanceis it fixed in this?  https://launchpad.net/ubuntu/+source/modsecurity-apache/2.6.5-216:00
EvilResistancesincie that was synced from Sid recently16:00
rbasakThe fix will need an apache2 merge, too.16:01
rbasakI should do that.16:01
EvilResistanceshould probably fix it in Quantal before you start looking at SRUing to Precise16:01
EvilResistancethe last SRU-ish-related thing i dealt with for Precise (I'm on BugSquad so i see these sometimes), the fix had to exist in Quantal, so...16:02
hallynstgraber: say, i forgot to add 'generalize apparmor patch to enable selinux' to the lxc blueprint.  do you object to my adding it to the action list (for myself)?16:02
rbasakYes, it's a requirement to have it fixed in Quantal before upload. Doesn't mean that I can't work on both at once :)16:02
EvilResistance:P16:02
rbasakHere, the fix for Q is trivial as it's in Debian. The SRU is more involved.16:03
EvilResistancemh,16:03
EvilResistancemhm*16:03
stgraberhallyn: I certainly don't have a problem with you adding more work to your own todo list ;)16:06
hallynkthx16:07
EvilResistanceand, there it goes :P16:08
blkperlcan someone set the importance of bug 93206416:09
uvirtbotLaunchpad bug 932064 in amanda "amtape crash" [Undecided,Confirmed] https://launchpad.net/bugs/93206416:09
EvilResistanceblkperl:  to?16:09
EvilResistanceactually lemme see16:09
* EvilResistance is on BUgSquad and can get it triaged if needed16:09
blkperlEvilResistance: i would say high, it prevents amanda from working on precise16:09
blkperlworks on oneiric and quantal :S16:10
EvilResistanceblkperl:  refer to this first16:10
EvilResistancehttps://launchpad.net/ubuntu/+source/modsecurity-apache/2.6.5-216:10
EvilResistanceerm16:10
EvilResistancewait16:10
EvilResistancesorry16:10
EvilResistancehttps://wiki.ubuntu.com/Bugs/Importance16:10
EvilResistancemispaste16:10
stonedIf I build python 2.7 from source, and then build mod_wsgi from source and link against 2.7 python, do you think that would work?16:10
EvilResistancerefer to that page first, then confirm you recommend high16:10
stonedI need to setup mod_wsgi w/ python 2.7 on lucid. I came in here last night and I was told that backporting it to lucid would be a very difficult task. I could try to build python 2.7 from source or install a PPA. How would I then configure mod_wsgi to use the 2.7 python instead? please advise16:10
blkperlEvilResistance: ok then yes, it has a severe impact on a small portion of ubuntu server users16:11
blkperlso importance High please16:11
EvilResistanceblkperl:  does it also prevent the application (and/or dependencies) from working?16:12
EvilResistancenevermind16:12
* EvilResistance answered his own question16:12
autifI installed matchbox window manager (on 12.04) - however, after reboot - matchbox did not come up - what else do I need to wire matchbox, so that it starts on reboot?16:14
EvilResistanceblkperl:  refresh the bug, it should be high now16:17
EvilResistances/high/Importance: High/16:18
blkperlEvilResistance: thanks, appreciate the assistance16:19
stgraberhallyn: ubuntu56 is now in proposed16:28
hallynstgraber: cool, thanks16:30
smbzul, smoser So just to repeat, there likely will still be a linux-virtual and linux-image-virtual meta-package. As there is still those for linux-server and linux-image-server. Just pointing to generic binary packages16:31
smoserright.16:31
smoseri know.16:31
smoserbut its still a change. if nothing else, there will no longer be /boot/vmlinux-*-virtual anymore16:32
smbYes, true. Just mention it as the discussion about detecting a server install went slightly confusing (at least for me)16:33
pdtpatrickSo here's an interesting question - if ubuntu by default sets up the first user with sudo access rather than create a root account (disabled by default), how can u boot into recovery mode and drop to a root shell if the root account has no password/disabled ?16:33
claude2_anyone here know how to lock down rpcbind and all the NFS stuff to a specific interface?16:44
=== niemeyer__ is now known as niemeyer
pdtpatrickclaude2_: check /etc/default/nfs-kernel-server16:47
claude2_this is for the client side16:47
claude2_do i even need rpcbind on the client side?16:47
pdtpatrick then /etc/default/nfs-common ?16:48
claude2_yeah i checked there, but didnt see anything in there. I guess it might not be possible16:49
claude2_ i can't find anything on google either16:49
pdtpatrickcheck the meta package and see what it installed16:49
pdtpatrickif on the server u only installed nfs-kernel-server then see whether that pulled in anything else16:53
pdtpatrickapt-rdepends <packagename>16:53
pdtpatrickor u can search for rpc  .. dpkg -l *rpc*16:53
=== Lcawte|Away is now known as Lcawte
=== matsubara-lunch is now known as matsubara
nijabazul: hello.  Are we tracking bug #920197 ?17:28
uvirtbotLaunchpad bug 920197 in swift "webob last stable version 1.1.1 response header bug" [Undecided,New] https://launchpad.net/bugs/92019717:29
zulnijaba: now we are17:29
nijabazul: thanks :)17:30
pdtpatrickhmmm MaaS's python script will hang if u've already have an OS installed rather than starting anew. For some reason it tries to use "maas" user to configure postgres but it never prompted to set that up or grant it privileges nor does it state what credentials it is trying to use so you end up with a Traceback and it does not exit. Not cool17:34
pdtpatrickwill have to run it with strace17:34
RoyKevening17:35
RoyKanyone that knows how I can have ubuntu /etc/skel include a symlink, public_html -> /var/www/$username ? or should I script that somehow?17:36
nathwillRoyK, i think that's easier done with apache directive: UserDir public_html ?17:38
RoyKnathwill: doesn't work too well with homedir encryption ;)17:38
ikoniashould do17:39
ikoniaas the user will decrypt it17:39
RoyKwhile logged in, obviously, but not after logging out17:39
RoyKsince that will umount the user's filesystem17:39
RoyKfor obvious reasons17:39
* RoyK just checked17:39
ikoniaah, I see what you mean17:39
nathwillhrm17:40
RoyKnathwill: less point of having homedir encryption if it's mounted all the time17:41
nathwillyeah, agreed17:41
nathwilli'm wondering if you can get /etc/default/useradd to run scripts...17:42
nathwilllooking now...17:42
nathwillbecause putting this in /etc/skel i don't think is going to work since the target is different per user17:42
RoyKyeah, agreed17:42
nathwillso... i'm seeing discussion of some concept of dynamic symlinks that will create the target if it does not exist...17:44
nathwillmay be worth investigating17:44
nathwillonly other thing i can think of is a cronjob... :(17:46
RoyKnathwill: or a wrapper script17:49
nathwillroyk, yeah...17:49
RoyKdamn - should have been a trigger for a custom script in useradd17:49
hallynzul: would you mind looking at and considering sponsoring http://people.canonical.com/~serge/dialog.debdiff ?17:52
zulhallyn: sure17:52
Davieyhallyn: make sure you submittodebian :)17:57
hallynDaviey: did17:57
Daviey\o/17:58
Ryan_Laneon all of my precise virtual machines, I'm getting soft lockups like this: http://pastebin.com/m7ZfhQJB18:42
Ryan_Lanenot just for nscd, though. for random processes18:42
Ryan_Lanehm. ignore me. I seem to be getting them for lucid too18:43
resnoi am getting "temporary failure resolving '*.ubuntu.com'". i am unsure how to correc this. 12.0418:57
zulsmoser: ping18:58
zulRyan_Lane: can you trigger it reliably?18:59
Ryan_Lanewell, I think it's due to filesystem operations timing out under very high load18:59
Ryan_Lanewe're using glusterfs underneath the instances, and it is performing terribly18:59
zulRyan_Lane: ext4?19:00
zulRyan_Lane: er...what fs?19:00
Ryan_Laneext4 on the instance, then qcow, then glusterfs, then ext319:00
zulRyan_Lane: can you open up a bug in launchpad please than we can get the kernel team to look at it, or even on #ubuntu-kernel19:01
Ryan_Lanewell, I have a feeling it isn't actually a kernel bug19:01
zulsmoser: ^^^19:02
zulor utlemming: ^^^19:02
Ryan_Laneand there's so many levels of indirection that I doubt a report is going to be terribly useful19:02
Ryan_Lanewhen we switch off gluster I'll report an issue if we're still having it19:02
zulk19:02
Ryan_LaneI have a really good feeling gluster is my issue19:02
veebullhello, having some trouble getting squid3 set up... client machines are supposed to be set to use a proxy for their updates, but I'm still getting a ton of 403 errors whenever they try to use the squid proxy19:11
RoyKveebull: does manually setting the proxy work? if so, are the clients listed under the squid ACL in its config?19:23
smoserzul, whats up?19:23
zulsmoser:  you mentioned last week at uds that you wanted to see the openstack-ci do some benchmarking on the images, what do you mean by that19:24
smoserveebull, your squid3 ocnfig is probably just not allowing proxying for those hosts (per its config).19:25
zulhallyn: i should have libvirt up tomorrow so you can review and play with it19:25
veebullRoyK, So far I just have the default setup - I think I need to define an acl for the local lan19:25
smoserveebull, you can just install squid-deb-proxy, which is taylored to that, or, you could just look at the config that it uses.19:25
veebullhere is the (stripped) version of my acl:  http://paste.ubuntu.com/989497/19:25
hallynzul: cool, thanks.19:25
veebullsmoser, already have squid-deb-proxy running for the ubuntu-based vms... trying to set up 'regular' squid to work with the RH-based distros19:26
smoserzul, i meant that if we're running some instances in a per-every-something (commit, day....) then we might as well be running some thing inside those instances, and timing how long that something takes.19:26
zulsmoser: ah ok19:27
smoserwhich would potentially give us insight into a kvm performance enhancement, regression, change...19:27
smoser(but it will unfortunately be hard to isolate the numbers as we have no way that i know of to get a consistent host environment ... ie, one day 2 guests may go to 1 host, the next to a different one)19:27
smoserveebull, ah... i suggest just removing the RH-based distros.19:28
smoserthats the easiest thing to do :)19:28
veebullsmoser, true... but probably not going to happen ;)19:29
RoyKveebull: vi /etc/squid/squid.conf, look for acl19:30
veebullI've edited their /etc/yum.conf files to point to a proxy @ 'http://192.168.1.1:3128', which is the ubuntu server address on the lan19:30
RoyKveebull: default config is to only allow access from localhost19:30
veebullRoyK, ah.  un commented the line to allow squid to use a disk cache, now I need to set up a lan acl, yes?19:31
RoyKyep19:31
RoyKcreate an acl for lan19:31
RoyKand set allow on that named acl later19:32
veebullcool, I'll give it a go.19:32
RoyKveebull: the config file is rather self-explainatory if you try to read it ;)19:32
veebullyeah... I hate it when people say 'TLDR'... but this may be one of those times.19:34
veebullmore a case of the colors used on the terminal screen I'm on make reading comments very difficult19:34
veebullon the eyes.19:34
DestreyfI was wondering if anyone had any idea's on how to handle nodes that do not appear in the dashboard.  I used the enlist feature on Ubuntu ISO, the environment looked like it provisioned, but it hasn't shown up in the MAAS node panel yet.19:35
claude2_is it a risk to have portmap exposed to the internet?19:38
claude2_err rpcbind i guess19:38
claude2_like can it leak anything important?19:38
RoyKveebull: with vim, :set background=dark19:39
RoyKclaude2_: historically, portmap has been rather bad, but I don't think much bad has happened the last five years, at last19:39
claude2_RoyK: we've got internal and external interfaces on our NFS clients. I've been searching all day for a way to make it only listen to the internal interface19:41
RoyKclaude2_: ufw/iptables is quite easy to use in that respect19:43
claude2_yeah I'm trying to do it without iptables first for political reasons19:44
RoyKI think it uses tcpwrappers as well19:44
RoyKmight be more politically correct ;)19:44
claude2_haha yeah. I saw that somewhere, but haven't been able to make it work yet. I'll keep fiddling19:45
claude2_thanks19:45
RoyKedit /etc/hosts.deny19:45
veebullRoyK, adding that acl did the trick, thanks!19:48
Gojkoanyone here that can help about installing ubuntu server installation on old HP proliant server19:49
RoyK!ask19:49
ubottuPlease don't ask to ask a question, simply ask the question (all on ONE line and in the channel, so that others can read and follow it easily). If anyone knows the answer they will most likely reply. :-) See also !patience19:49
Gojko!patience19:49
ubottuDon't feel ignored and repeat your question quickly; if nobody knows your answer, nobody will answer you. While you wait, try searching https://help.ubuntu.com or http://ubuntuforums.org or http://askubuntu.com/19:49
Gojko!ask19:51
ubottuPlease don't ask to ask a question, simply ask the question (all on ONE line and in the channel, so that others can read and follow it easily). If anyone knows the answer they will most likely reply. :-) See also !patience19:51
stonedhey guys19:51
stonedhttp://pastie.org/3916869 here is my problem in pastebin. Could anyone kindly take a look and please advise?19:51
stonedI require a solution to this problem19:52
qman__stoned, if it's chrooted and running on a different port, you just point to the different port19:52
qman__in that configuration the ports define which to ask19:53
RoyKstoned: I don't think "requiring" a solution will work too well in here ;)19:53
stonedWould you kindly help me find a resouce online that sheds more liehg on this19:53
qman__building a chroot is complicated and difficult, though19:54
stonedeverywhere it's about mod chroot for apache19:54
Gojkowell,i guess i havent said what is problem,apparently it seems i need drivers for a scsi controler,i have tried with installing CentOS 6.2 but it did not recognise any disks in system,and since i am very uninformed with this , if there is any1 that can point me out any kind of info i can use to solve this,atm i am downloading nev ubuntu server,with hope it will recognise my controller,or19:54
Gojkoif there are any additional drivers needed,anyone could point me out to any info19:54
stonednot quite that difficult I just need a refresher19:55
stoneddebootstrap latest ubuntu, mount binds the device tree and other things19:55
qman__you have to build a base environment in a directory19:55
stonedI can't remember all the things19:55
RoyKGojko: those hp servers may come with a raid controller, which should be supported, but will need to be configured to export the drives either individually (JBOD) or as a RAID19:56
RoyKGojko: you can usually configure that with the "smart start" CD19:56
qman__Gojko, depends on how new/old it is and which raid controller19:56
RoyKqman__: for an "old" HP server, I think those should be supported. My guess is that the hardware RAID isn't configured19:58
qman__probably, but I've also seen some cases where old SCSI drivers aren't loaded by default because they conflict with other things19:59
claude2_RoyK: does the nfs client really need portmap/rpcbind anyway?19:59
RoyKclaude2_: iirc yes19:59
qman__yes19:59
Gojkohuh,alot info at start,RoyK i bought this server as "used" so i dont have any CD or documentation that should or should not have came with it20:07
Gojko@:qman__ i can check what controler is in,but my best guess so far is googling compatibility and trying different versions of distros20:08
qman__Gojko, have you configured the raid? it prompts you to press a key combo during boot to do so20:08
Gojkoit prompts me to press <ctrl-S> if that is what you mean,ill check it and be back in few sec20:09
qman__I have a compaq proliant DL380 which more or less works out of the box20:09
qman__pentium 3 era, only things missing are fan control20:10
claude2_yeah most likely it will work fine20:10
qman__not important in a data center or server room20:10
RoyKGojko: you can find that smartstart cd with a quick google20:10
qman__hugely important when you're sitting in front of it20:10
Gojkowell i have checked a bit,server is arround 10 years old so... ill try to find that startsmart CD20:16
claude2_i think you can just download the newest one?20:17
claude2_like its not model-specific i dont think20:17
Gojkowell as i said,i am very uninformed about linux,but,since this is for my gamehouse i am holding i want to make it to work as dedicated counterstrike server for my clients.20:19
Gojkoi found this startsmart CD and downloading it20:19
RoyKtry that first :)20:20
Gojkolink is a bit long,if anyone wants to check am i on the right path20:20
Gojkohttp://h20000.www2.hp.com/bizsupport/TechSupport/SoftwareDescription.jsp?lang=en&cc=us&prodTypeId=15351&prodSeriesId=316537&swItem=MTX-597d7cb6b45d493285e27c1412&prodNameId=3279705&swEnvOID=181&swLang=8&taskId=135&mode=4&idx=120:20
RoyKI'd say try it20:20
RoyKit's quite possible that none of us has your hardware20:20
qman__that should do20:22
Gojkowell, i cannot afford some fancy expencive server so this one will be more than good to do it,and i dont want to put windows on it,i wand best for my customers ;)20:22
qman__though I have to ask, counter strike 1.6? otherwise it may not be fast enough20:22
qman__game servers are a heavy CPU load20:22
Gojkoyes 1.620:23
qman__ok20:23
GojkoWELL20:23
GojkoON INTEL G62020:23
Gojkosoz caps20:23
RoyK!caps20:23
ubottuPLEASE DON'T SHOUT! We can read lowercase too.20:23
RoyK:)20:23
Gojko2 servers+cafe software+AVP+ deepfreeze console and i have servers on 1000 FPS so i think i can hold 4 servers here if on linux20:24
Gojkoany1 can give opinion20:24
RoyKwhat sort of server is this?20:25
Gojkodedicated CS server20:27
=== PreciseOne is now known as IdleOne
Gojkoonly thing it will serve for20:27
RoyKjust wondering about cpu+memory+ec20:28
RoyKjust wondering about cpu+memory+etc20:28
Gojkoin your opinion,can it hold 4 srv on 1000 FPS,since i will not use it for anything else20:28
RoyKyou still haven't said what sort of cpu it has or how much memory it's got...20:29
Gojko1 Gb RAM,xeon 2.820:31
Gojkoit is ml350 g320:31
RoyKnot a whole lot, but then, I don't know much about gaming servers20:32
qman__single or dual xeon, how many cores20:32
qman__may not be enough RAM for four, not sure20:32
* RoyK somewhat doubts those CPUs are multicore20:33
Gojkoi think single,i can get another 1 Gb20:34
qman__one single core may not be enough either, but it'll be close20:34
RoyK- Up to 1 GB of 2-way interleaving capable PC2100 DDR SDRAM, with Advanced ECC capabilities (Expandable to 8GB)20:34
Gojkoit is delivered with 1 gb,supports up to 820:34
qman__best to just try it and find out, since you already have the server20:35
RoyKmost cheap laptops may beat that :)20:35
qman__monitor resources and load up the servers20:35
RoyKqman__++20:36
qman__true, but most cheap laptops don't have raid, remote management cards, or cost $20 like my P3 did20:36
RoyKindeed, but then, if you don't need hw raid or remote management, a cheap mobo, cpu and memory will go a long way20:37
qman__yep20:38
RoyKsw raid may be just as good as hw raid in most cases20:38
Gojkowell as qman__ said, it was BANG for a BUCK ;)20:38
qman__I'm running a minecraft server on just such a setup, a sempron "single core" am320:39
qman__which is actually dual core, and running at ~3.5GHz instead of the default 2.720:39
Gojkowell i guess i gotta try to get it up and running first,it is easiest for me to put load on it,so ill first download all of these isos and after that i will try to get it working20:46
=== matsubara is now known as matsubara-afk
=== Ursinha` is now known as Ursinha
=== Ursinha is now known as Guest8786
blendedbychrisif i am getting mount.nfs: requested NFS version or transport protocol is not supported what should i be looking for21:31
blendedbychrismount -o proto=tcp,nfsvers=3 -t nfs sld-web-4:/srv /srv.gluster21:31
pdtpatrickblendedbychris: maybe it wants to use version 4 instead of 3 ?21:39
=== niemeyer__ is now known as niemeyer
blendedbychrispdtpatrick: no?22:02
pdtpatrickwhat version of NFS do u have installed?22:04
blendedbychrispdtpatrick: it's just nfs-common on precise so i pressume its v3 and v422:04
blendedbychrisfrom man22:04
rocketsHow is this information generated on login? Is there a way I can edit what shows up? http://pastie.org/391748522:05
pdtpatrickrockets: look in /etc/update-motd.d22:06
=== Lcawte is now known as Lcawte|Away
rocketspdtpatrick, thanks!22:07
rocketspdtpatrick, actually it appears to be non-trivial to edit. hmm22:25
blendedbychrispdtpatrick: is it true that nfs-common should support either version?22:25
pdtpatrickright but why are you trying to use version 3 ? does it work with version 4 ?22:25
blendedbychrisgluster doesn't support v422:26
blendedbychrishttp://download.gluster.com/pub/gluster/glusterfs/3.2/Documentation/AG/html/sect-Administration_Guide-GlusterFS_Client-NFS.html#id172034722:26
pdtpatrickworked fine on my glusterfs setup. Instead of using nfs22:27
pdtpatricki used mount.glusterfs server1:/test-volume /mnt/glusterfs22:27
blendedbychriswhat?22:27
blendedbychrisi am trying to specifically use nfs22:28
pdtpatrickr u on solaris ?22:29
blendedbychrisno22:29
blendedbychristrying to use nfs because it can help io issues22:29
blendedbychrisinstead of mounting using the gluster client22:29
pdtpatrickI'm only seeing vers=3 mentioned under solaris22:29
pdtpatrickdoes this not work for u ? mount -t nfs server1:/test-volume /mnt/glusterfs22:30
blendedbychrisno that times out presumably because it's trying to use udp22:30
blendedbychristhese guys were saying i had to use portmapper22:31
blendedbychrisi wonder if the nfs port is wrong22:31
blendedbychristried  :38467 no luck22:31
pdtpatrickdo u get this message ?22:31
pdtpatrickrequested NFS version or transport protocol is not supported.22:31
blendedbychrisyes'22:31
blendedbychrisOR if i don't specify the protocol it just times out22:32
blendedbychrismountproto to be specific22:32
pdtpatrickmount -o tcp -t nfs server1:/test-volume /mnt/glusterfs22:33
pdtpatrickbtw -- what happens when u run "showmount -e <ipaddr>"22:33
pdtpatrickdo u see any exports ?22:33
blendedbychris^^ that's not a valid option22:33
uvirtbotblendedbychris: Error: "^" is not a valid command.22:33
blendedbychrisclnt_create: RPC: Program not registered22:34
blendedbychrispresumably i can use a hostname in that command/22:34
blendedbychriseither way same issue22:35
pdtpatrickif show mount returns nothing - then there's probably nothing being exported?22:35
blendedbychriswhat do you mean by that?22:35
pdtpatrickon the server ur trying to connect to  -- what does /etc/default/nfs-kernel-server say ?22:35
pdtpatrickit would tell u the ports and such22:36
pdtpatrickthen in there -- do u have anything in /etc/exports ?22:36
blendedbychrispdtpatrick: gluster runs the nfs server22:36
blendedbychrisit's a nfs server on it's own22:36
pdtpatrickthanks for that clarification22:36
pdtpatrickwell I'm out of ideas then.  maybe ask in #gluster  and share your fix when found please22:40
pdtpatrickalso thought current versions of NFS used tcp by default22:40
pdtpatrickTCP is the default transport protocol used for all modern NFS implementations.   It  performs22:40
pdtpatrick       well  in  almost  every  conceivable  network  environment  and provides excellent guarantees22:40
pdtpatrick       against data corruption caused by network unreliability.  TCP  is  often  a  requirement  for22:40
pdtpatrick       mounting a server through a network firewall.22:40
pdtpatricksorry for spam .. was supposed to be paste bin22:41
blendedbychris yea i was bugging those guys and it seemed like they were hinting towards "not our problem, it's your lack of nfs knowledge"22:41
blendedbychrisheh22:41
blendedbychrispdtpatrick:22:51
blendedbychrisdoh22:51
blendedbychrishttp://www.gluster.org/community/documentation/index.php/Gluster_3.2:_Using_NFS_with_Gluster22:51
pdtpatricklol what ?22:53
pdtpatricku hadn't brought the volume set up ?22:53
pdtpatrick:(22:53
blendedbychrismissed the option22:53
blendedbychrisno22:53
blendedbychrisnfs is disabled by default apparently22:53
pdtpatrickwell that's interesting22:53
pdtpatrickso what makes u think u get better io ?22:53
blendedbychrisUsing a platform's native NFS client will result in best performance when reading many small files (web serving). However, no automatic fail-over will happen in case of brick failure.22:54
blendedbychrisdocs say so? heh22:54
pdtpatrickon small files yes22:54
pdtpatrickbecause gluster using xattr22:54
blendedbychriswell that's my usecase22:54
pdtpatricki c22:54
pdtpatrickwell looks like ur all set :)22:54
blendedbychrisindeed22:54
blendedbychristhanks for your persistence :)22:54
pdtpatricknp, glad to have "tried" to help22:55
sakohey guys, i rolled my own repo with reprepro, what's the easiest way to pin it so apt prefers any package in my custom repo over all others?23:07
qman__sako, make your version numbers higher than those in the public repos23:09
sakoHUH23:09
sakooops sorry for caps23:09
sakoisn't there a way to pin all packages from a repo with 999 or whatever the highest # is so that apt will always install it over other repos?23:10
qman__sako, not that I'm aware of, you set that per-package when you create them23:14
sakohmm i don't think so.. i found the man file23:14
sakoman apt_preferences23:14
sakothanks23:15
nathwillsako: crunchbanglinux.org/forums has some pretty detailed apt-pinning guides for debian23:18
nathwilli imagine a lot of that would apply23:19
three18tiIn a local network, how can I configure DNS so I can address each host by host name instead of by IP?  Initially, I had thought if running a dedicated DNS server, but this will require configuring the DNS for each new guest, and I'd like something more automatic.  I would prefer not to use DHCP for addressing my hosts.23:35
ikoniayou need a name service such as dns / ldap and you either need to use dhcp to update, or your need to manually manipulate the name service record for each new host23:39
postpac1i'm running 12.04 desktop but having some raid/mdadm issues and #ubuntu suggested someone here might have more experience in that area.  basically my raid 5 was working perfectly, i upgraded to 12.04 from 11.10, and as soon as i rebooted everything went to hell.  mdadm is saying all 3 disks have wrong raid level and can't assemble mbr metadata23:45
three18tiikonia, ok, thanks.  That's kinda what I was thinking, but was hoping someone had some magic.23:58

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