/srv/irclogs.ubuntu.com/2011/08/02/#ubuntu-server.txt

JanCzoopster: you have some experience with them?00:00
zoopsternot with using them. in a sysadmin fashion, no00:00
=== medberry is now known as med_out
lifelesssidnei: yes00:13
lifelesssidnei: https://dev.launchpad.net/Running/LXC00:14
lifelesssidnei: did you see my reply ?00:23
sidneilifeless, no, but i figured it out. i forgot to create the target directory for the mount.00:23
sidneithe error i got was complete nonsense. :/00:24
lifelesssidnei: shouldnt be needed with bind mount00:25
lifeless*shrug*00:25
lifelesssidnei: anyhow with oneiric its just -b sidnei to lxc-create :)00:25
sidneilifeless, i was trying to mount /src in the host as /src in the container.00:26
sidneilifeless, it's where i keep all my checkouts.00:26
sidneilifeless, and /src didn't exist in /var/lib/lxc/<container>/rootfs/src00:26
sidneilifeless, so lxc-start failed in obscure ways00:26
=== skrewler_ is now known as skrewler
=== RoAkSoAx is now known as andreserl
zulRoAkSoAx_: you can do usb power on the pandaboard fyi02:13
Martynsort of02:16
Martynit needs slightly more than USB is designed to give to run02:16
zullooks fine to me02:16
Martynso you can run the CPU, but when you have to power the USB network device at the same time you'll brown out the CPU slightly02:18
MartynIf you are using the WiFi, you'll be fine (but only just)02:18
MartynUSB can provide about ~80% of the power the board needs02:19
Pilif12pWhy would my server be showing just $ when I ssh in, not tanner@server~$ or whatever02:21
twbPilif12p: because /bin/sh is your login shell02:23
twbPilif12p: I would guess because you are creating users with (say) webmin instead of adduser.02:24
Pilif12pno, i did "useradd tanner"02:24
twbDo not use useradd02:24
Pilif12pWhat shall I use instead?02:24
twbadduser02:25
twbuseradd is a low-level command invoked by adduser02:26
Pilif12poh02:26
octillionI don't see anything wrong with using useradd.  If you want to change the default shell, just use the -s option02:31
octillionor use usermod to change the shell after the fact02:31
octillionPilif12p, do "sudo usermod -s /bin/bash tanner" to change the default shell for tanner to bash02:33
Pilif12purgh, i can't delete users now02:33
Pilif12pmeh. fixed it02:34
Pilif12pthanks octanium02:34
Pilif12pand octillion02:34
twboctillion: yes, but presumably he's enough of a newbie that adduser's hand-holding is beneficial02:34
twbYou're right that I should've mentioned chsh (or usermod -s), though.02:34
octilliontwb, fair enough, though reading through the man page for useradd shouldn't be too difficult02:34
twboctillion: if he could read a damn manpage he wouldn't have asked us :-/02:35
RoAkSoAx_zul: cool!! no power supply then02:53
RoAkSoAx_zul: what type of cable ar eyou using?02:54
philipballewhow do i find all open ports on an ip address02:56
philipballewneed to scan my remote server03:00
=== RudyValencia- is now known as RudyValencia
qman__philipballew, nmap, but be forewarned, using this tool wrong over the net can be illegal03:03
qman__so make sure you RTFM and know exactly what you're doing03:03
philipballewfor sure. qman__  its just my friends server i am troubleshooting for him. doing it to unknown random people is usually bad03:06
philipballewthose damn blackhats!03:06
twbCrossing the street can be illegal03:33
philipballewtwb have you ever "crossed the street"?03:36
twbphilipballew: sure; https://secure.wikimedia.org/wikipedia/en/wiki/Jaywalking03:37
philipballewthe cops have better things to do then bug people for jwalking'03:37
twbAnd there are enough dumbasses running nmap on 0/0 that probably nobody is going to knock on your door for doing it03:38
twbAlthough I suppose your ISP might cut off your tubes for violating AUP03:38
philipballewdepends on the isp probably03:42
twbYeah, definitely03:44
philipballewatt are the worst03:44
lifelesshallyn: well, it tries to start now (without step 3)03:54
lifeless sudo lxc-start -n lucid-test-lp03:54
lifelessinit: plymouth-splash main process (155) terminated with status 203:54
lifelessinit: plymouth main process (7) killed by ABRT signal03:54
lifelesshallyn: but its a little unhappy ;)03:55
lifelesshallyn: though that looks like it might be a container glitch; investigating03:58
lifelesshallyn: yes, looks like a container glitch04:00
lifelesshallyn: ahh, I can reliably nuke an lucid container :(04:24
uvirtbotNew bug: #819621 in lxc (main) "container start failure after calling poweroff -n" [Undecided,New] https://launchpad.net/bugs/81962104:41
sw0rdfishhow to check what my friend is doing? I gave him ssh access to do something for me in my vps?05:39
RoyKsw0rdfish: ttysnoop?07:12
=== smb` is now known as smb
huatsmorning !07:43
bkerensagood morning :)07:44
_ruben*yawn*07:47
tipharescan someone name a simple, yet good, text editor witha gui for ubuntuserver?09:22
_rubengui and server don't go along very well usualy09:24
greppygvim09:24
greppyor just use nano in an xterm.09:25
tipharesi have fluxbox on it because i find coding easier with a gui09:25
tipharesi use nano for 'everyday use'09:26
incidenceHi, I'm installing openvpn but I keep getting error: "Since you are using --dev tun with a point-to-point topology, the second argument to --ifconfig must be an IP address. You are using something (255.255.255.128) that looks more like a netmask."10:55
incidencewhen connecting with a client10:55
incidencehttp://pastie.org/private/pwoyp62ifmdpayl7ldxg - there's my server config file10:56
incidenceI'm trying to access our offices 10.0.1.1 network via openvpn10:56
uvirtbotNew bug: #819791 in setserial (main) "Sync setserial 2.17-46 (main) from Debian unstable (main)" [Wishlist,New] https://launchpad.net/bugs/81979112:41
hallynSpamapS: I know you're uber-busy, but have you had any cycles to think about bug 350936 ?13:51
uvirtbotLaunchpad bug 350936 in libvirt "Should shut down domains on system shutdown" [Medium,Triaged] https://launchpad.net/bugs/35093613:51
hallynI'm tempted to say let's create a libvirt-shutdown.conf, startig on start runlevel 06, which shuts down the domains, and having qemu-kvm wiat on that one to finish before stopping13:52
hallynthough I guess sendsigs is still a problem;  so that's the main reason I'm pinging you :)13:53
r4__so im trying to build slapd with tcp wrappers support....im issuing the command "dpkg -b openldap-2.4.21/" but im getting the error "dpkg-deb: failed to open package info file `openldap-2.4.21//DEBIAN/control' for reading: No such file or directory"14:45
r4__however... openldap-2.4.21/debian/control exists14:45
r4__the only modification i did to the source was adding "--enable-wrappers" to the "CFLAGS = ..." line in openldap-2.4.21/debian/rules14:46
r4__any suggestions? the man page failed me14:46
patdk-wkr4__ I seriously doubt c supports the --enable-wrappers command14:47
r4__c?14:47
patdk-wkyes, you added it to CFLAGS14:47
patdk-wkflags used when running c (or gcc)14:47
r4__hrm...then im not too sure where i need to add that command :(14:48
=== RoAkSoAx_ is now known as RoAkSoAx
patdk-wkwell, something told you to add --enable-wrappers, what told you that?14:48
r4__i could of sworn it was a CFLAG14:48
patdk-wkI will bet you it isn't :)14:48
r4__digging thru the source...lemme find a link14:48
r4__http://tinyurl.com/3ufw4hg14:51
r4__line 27914:51
patdk-wkoh, 3 things14:52
patdk-wkI don't see anything about CFLAGS there14:52
patdk-wkthat isn't instructions14:52
patdk-wkand you should atleast google this, or do what I told you days ago, and not go greping the source14:53
patdk-wklike I told you a few days ago, edit debian/rules14:55
patdk-wkand add the --enable-wrappers in there to the configure command14:55
=== otubo is now known as otubo[AFK]
patdk-wkheh useless, openslap has --enable-wrappers by default15:03
r4__patdk-wk: thats what i did15:13
r4__i edited rules15:13
patdk-wkwell, it's already enabled15:13
patdk-wkso I dunno why you need to *redo it* to enable it15:13
r4__but thanks for telling me it has it by defualt...i did not see it in rules15:13
r4__i dont...i couldnt find it in there, so i assumed it wasnt15:14
patdk-wkthe rules file imports configure.options15:14
r4__ahh...so that is the file where i would find if such flags were set15:14
r4__patdk-wk: thanks for dealing with my ignorance :)15:33
SpamapShallyn: I did spend some time on it last cycle but got distracted15:48
SpamapShallyn: re bug 35093615:48
uvirtbotLaunchpad bug 350936 in libvirt "Should shut down domains on system shutdown" [Medium,Triaged] https://launchpad.net/bugs/35093615:48
SpamapShallyn: I seem to be caught in a cycle where I go "oh thats a bug I'll do that after Feature Freeze" and then after feature freeze I go "oh there are bugs in my new features I have to fix those" and then I never get to these important ones. :-P15:50
hallynSpamapS: I wonder if we can work aroudn it for libvirt by having it start on starting (whatever starts sendsigs)15:54
hallynI think I might have to pursue that.  I feel like this is something that needs to be solved.  soon.15:54
SpamapShallyn: I believe the appropriate thing to do is to have the thing that shuts down all vms start on starting rc RUNLEVEL=[016]15:54
SpamapShallyn: once rc has started, its kind of over. :-P15:55
hallynright15:55
hallynsince sendsigs is initscripts, that's what i meant :)15:55
hallynSpamapS: i think i'll work on a proposal15:56
hallynlemme rephrase more assertively.  I will work on a proposal :)15:56
SpamapShallyn: cool.. appreciate it, I think that bug is important too. :)15:56
hallynthx, ttyl15:56
SpamapShallyn: reassign the bug to yourself and mark it In Progress then.15:56
zulhallyn: did you run the last meeting?16:00
hallynzul: no i didn't, though i did pretty recnetly16:02
hallynSpamapS: yup, soon as i get started16:02
hallynzul: what no agenda updates?16:02
potatoeI added new modules to /lib/modules, what is the command that I must run after I add these modules ( before I start doing modprobes )16:41
patdk-wkdepmod?16:43
=== otubo[AFK] is now known as otubo
Davieyzul: Can you add ipxe to server-supported for now, and we'll think about adding it to another post A3.16:47
zulDaviey: yep16:47
Davieycool16:47
zulDaviey: umm already there: http://bazaar.launchpad.net/~ubuntu-core-dev/ubuntu-seeds/ubuntu.oneiric/view/head:/server-ship16:48
Davieyzul: so it is..16:51
Daviey:)16:51
Davieyannnnd. it's showing.. we are just blocked on AA.16:51
hallynSpamapS: if i do 'stop on starting runlevel [016]', will that DTRT?16:55
hallyneh - let's try16:56
potatoeTHANKs :D patdk-wk16:59
SpamapShallyn: no17:03
SpamapShallyn: stop on starting rc RUNLEVEL=[016]17:03
h4lfl1nghello all, i'm running ubuntu server 11.04 and I cant seem to get sudo to keep environmental variables that were exported either as sudo or su or sudo -i17:09
RoyKh4lfl1ng: su alone should keep your environment, I don't think sudo will17:11
Picih4lfl1ng: What about sudo -s ?17:13
RoyKdunno - try it17:13
RoyKdoesn't look like it17:14
RoyKPici: man sudo17:14
RoyKPici: there's a -E flag17:14
h4lfl1ngPici: noope..17:14
* RoyK throws an RTFM in Pici's direction17:15
PiciRoyK: throw it at h4lfl1ng17:16
RoyKh4lfl1ng: see above, please :P17:16
RoyKPici: sorry17:16
PiciRoyK: its okay.17:16
h4lfl1ngRoyK: -E for what command?17:18
h4lfl1ngsudo?17:18
RoyKh4lfl1ng: man sudo17:18
RoyKh4lfl1ng: man sudo # RTFM17:19
h4lfl1ngRoyK: How do I use the SETENV tag? When I try to do sudo -E export ASD="stuff" I get export not found..17:23
Piciexport is a shell builtin17:24
RoyKh4lfl1ng: export somevar=asdf; sudo -E ... echo $somevar17:25
RoyKsudo -Ei should work well, preseving the old variables17:25
RoyKh4lfl1ng: it's all in the docs ;)17:25
VelmontProblem: multiple computers with multiple users. They "lock screen" and sometimes ppl have to turn computer off (cutting power). That makes Firefox go batshit crazy because of .lock-files, so it never starts again.18:09
VelmontProblem 2: If you login on two computers, and open LibreOffice on both, LO will destroy its own profile. Never starting again (until you delete the profile).18:10
VelmontSo. Possible fix 1 to problem 2: How can I only allow people to login ONCE? I'm using OpenLDAP and pam_ldap.18:11
VelmontPossible fix for problem 1: How can I NOT allow people to lock the computers? Only logout?18:12
PiciDepending on what desktop environment you're using, and how updated these links are...18:13
Pici!lockdown18:13
ubottuLooking to lockdown your users' GNOME environment? Check out http://library.gnome.org/admin/deployment-guide/ - GNOME's Sysadmin guide may also be helpful: http://library.gnome.org/admin/system-admin-guide/stable/18:13
PiciThat *might* help.18:13
VelmontPici: Yes pessulusus or what's it's name. I can see if it has anything that can help :-D18:14
VelmontTrying to force everyone to use gnome-desktop by default, because Unity crashes so badly and only allows people to login 2/3 of the times they try (or else they have to reboot). It's a problem with either compiz, or unity and ldap. Or maybe NFS. I have no idea after trying to find out why. :-)18:16
VelmontPici: Disable Lock Screen and Disable User Switching will work. -- Great, that should help with the Firefox and Thunderbird lock problem.  --  It won't help with the OpenOffice problem though. But a step closer to more sane computing (and less yelling at the Linux machines)18:20
OsakaFoohi, just got all the way though to "configure package manager" and for some reason it decided to disconnect the usb which it was installing to. Is there any way to continue the install?18:25
miceikenCan't connect to local MySQL server through socket '/tmp/mysql.sock' (2) - I am getting this error when trying to make a gameserver connect with the mysql-server. It works fine other than that with for example PHP.18:58
patdk-wkmiceiken, heh, that shouldn't work :) that is a huge security issue19:07
r4__ugh i cannot figure out for the life of me why the ldap daemon won't start after i enable SSL authentication19:41
r4__following this guide, http://tinyurl.com/3fmbtt819:42
r4__At the end of the section...that is the error i get.19:43
patdk-wkprobably broken cert19:45
caaakeeeyhey, whats the best ami to use on amazon?19:45
patdk-wkpersonally, I perfer one that works :)19:45
caaakeeeywhich one would that be?19:50
=== otubo is now known as otubo[AFK]
r4__patdk-wk: probably...fun!19:53
lifelesshallyn: hiya19:58
=== med_out is now known as med
=== med is now known as medberry
hallynlifeless: hey20:22
lifelesshallyn: hey20:22
hallyn(doing some tests involving rebooting my laptop right now, apologies in advance for delays)20:23
lifelesshallyn: seen my omgwtf bug ?20:23
lifelesshttps://bugs.launchpad.net/ubuntu/+source/lxc/+bug/81962120:23
uvirtbotLaunchpad bug 819621 in lxc "lucid container start failure after calling lxc-stop (fails across reboots)" [High,Confirmed]20:23
skaetDaviey,  hggdh - are you good with the current Ubuntu server images, or do you want to pick up the new images that were part of the respin?20:23
hallynlifeless: yup20:23
hallynlifeless: the workaround there should fix the wrost part (the not restarting)20:23
lifelessah, thanks! will try after I get off the call I'm on20:24
lifelesshallyn: and so ssh was blocking getty ?20:24
hallynno, but networking was20:24
lifelessthanks!20:25
hallynlifeless: i'm really hoping that next week we can get real reboot support so we can stop having all these issues20:26
lifelessthat would be cool20:26
* hallyn reboots20:26
lifelessis my playing with this helping you at all?20:26
stgraberhallyn: getting reboot working and getting closer to having the user namespaces would be awesome :) then we'd have good hopes of having close to OpenVZ's feature set for the next LTS20:27
uvirtbotNew bug: #820023 in samba (main) "package samba 2:3.5.8~dfsg-1ubuntu2.2 failed to install/upgrade: il sottoprocesso vecchio script di post-installation ha restituito lo stato di errore 1" [Undecided,New] https://launchpad.net/bugs/82002320:36
lifelesshallyn: back ?21:00
BernhardAny dutch people ?????21:04
genii-around!nl21:04
ubottuNederlandstalige ondersteuning voor Ubuntu (en vers gezette koffie) is te vinden in #ubuntu-nl21:04
hallynlifeless: what's up?21:09
hallynstgraber: user namespace won't be ready :(  unless a miracle happens, I expect the vfs support to tak ea long time21:10
lifelesshallyn: just wondering if my experiments are helpful to you, or I'm just finding issues you already know about ?21:11
hallynlifeless: they are helpful to me, definately21:16
photonhi21:17
hallyn(time for another sync and reboot)21:18
skaethmm.. haven't heard back on those Server images so going to post the latest.21:19
uvirtbotNew bug: #820054 in samba (main) "package samba 2:3.5.8~dfsg-1ubuntu2.3 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/82005421:22
hggdhskaet: I have not looked at the server images; it is probably not a bad idea to get the latest respin21:24
skaetthanks hggdh21:25
=== photon is now known as neutron
=== neutron is now known as photon
lifelesshallyn: cool; I shall persevere then!21:37
photonhey. can anyone recommend a good book on Linux server administration, Ubuntu Server specifically, that focuses on security and efficient administration? I need something to read on my 10 hour plane ride.21:39
hallynlifeless: I appreciate it21:50
Bernhardwhen i install a prog with for example apt-get install nginx21:55
Bernhardthen it does not install automaticly the latest version.. how can i update and install in the same path ?21:55
=== robbiew is now known as robbiew-afk
=== medberry is now known as med_brb
=== med_brb is now known as med
=== med is now known as medberry
Davieyskaet: I don't think significant testing has yet been achieved, thereore i'd like to stay as current with the other flavours as possible.22:40
skaetDaviey,  goodness since I just finished updating ;)22:40
Davieyhah, glad you thought to ask tho :P22:41
skaetDaviey,  well hggdh did say it was ok.  ;)22:41
skaetDaviey, I'm looking to see if the arm server images are off the builder,  and if so, unless you tell me otherwise,  I think you've got your images.22:42
Davieyskaet: good stuff!22:44
Davieyskaet: I will sign off amd64 and i386, NCommander needs to sign off the arm delieverables.22:45
skaetDaviey,  gotcha.22:50
=== otubo[AFK] is now known as otubo
lifelessSpamapS: hallyn's lxcmount.conf patch should fixup lxc starting up for you on oneiric23:18
lifelessSpamapS: I suspect it was the same issue23:18
SpamapSlifeless: sweet23:18
SpamapSlifeless: any other gotchyas?23:18
lifelessSpamapS: see my running docs - ./lucid-test-lp/rootfs/etc/init/lxcmount.conf23:20
lifelessbah23:20
lifelesshttps://dev.launchpad.net/Running/LXC#preview23:20
lifelessSpamapS: anything [oneiric only] is a gotcha :P23:21
SpamapSlifeless: we can likely backport lxcguest to lucid for these purposes.23:23
lifelessSpamapS: yes, see https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/819621/comments/12 :P23:23
uvirtbotLaunchpad bug 819621 in lxc "lucid container start failure after calling lxc-stop (fails across reboots)" [High,Confirmed]23:23
lifelessSpamapS: that said, we should fix oneiric as much as possible to avoid -faarghly- workarounds.23:23
VelmontWhat? LXC? How new is that? Is it former vserver? I've tried Xen, KVM, usermode linux, openvz and vserver. But never seen LXC.23:42
VelmontIn mainstream kernel since 2.6.29. Hmm. Ohwell. Need to look that up then :]23:44
SpamapSVelmont: LXC is most like OpenVZ23:52
patdk-laplxc is much better then openvz23:53
VelmontSpamapS, patdk-lap: Yes, I'm reading some of the guide. Although I should be asleep, seeing as I've got a job interview tomorrow :-)23:53
SpamapSVelmont: 5 hour energy FTW23:57

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