/srv/irclogs.ubuntu.com/2010/01/20/#ubuntu-server.txt

wish^well rpm is a bitch so i guess thats good00:00
unit3haha yeah. sort of my feeling.00:01
unit3well, current rpm + yum isn't too bad, but dpkg + apt-get is generally nicer.00:01
fallousI still prefer ports to aptitude, but that's more crotchety old habits instead of anything inherent in the two systems00:02
wish^apt-get is nice yea00:02
unit3fallous: yeah, i sort of ditched aptitude these days, i just use apt-get and prevu directly, and don't really miss ports anymore.00:03
unit3but then again, i'm pretty much not into building packages myself anymore either. too much to do.00:03
unit3i'd rather just get signed good packages from upstream 99% of the time.00:04
fallousyeah00:04
unit3although maybe ports has better selection of binary packages these days? I dunno, I haven't used freebsd for anything serious in ages.00:05
fallousI never much bothered with binary packages in ports since compiling assured things were built to my system setup and worked pretty much flawlessly00:05
unit3yeah. that's sort of the ports way of things. it's just not the best for big rollouts. especially when the compiling gets hairy.00:06
unit3hell, even backporting packages with prevu sometimes gets a little crazy these days. I'm glad there's people upstream working to sort that out for me. :)00:07
unit3I mostly just have a ton of systems to patch and upgrade, and if upstream has binary packages, then awesome. Ubuntu's good for that. :)00:07
fallousyeah00:07
jacob__unit3: hey back again...hoping you might have some other idea why its not working...i unistalled everything related to apache,php,mysql, and only installed bare essentials, apache and the php...still nothing00:11
jacob__google is also natually unhelpful on the subject00:12
unit3jacob__: without taking a look at the server, it's hard to say.00:12
unit3can you put more debugging info into your test file? make it some text, then some php, then some more text, so you can see if it even reads the file or not?00:12
unit3perhaps you have permission issues.00:13
unit3as well, I'd suggest *not* setting some random directory in your home dir to your document root. use default settings for everything until you've got the basics working, then make changes one at a time and make sure they don't break anything.00:13
jacob__kk..will run test and try to get more info to you....i know i'm not giving alot of to go on00:16
=== dendrobates is now known as dendro-afk
jacob__unit3: information on this isn't very clear....i'm getting this error [notice] caught SIGTERM, shutting down00:22
unit3what's not clear? that's just an informational notice telling you apache shut down at that time.00:22
unit3it's not an error.00:22
jacob__unit3: ok maybe now i have some usefull info.....when i go to the default server is list my webpages andd i can click on them they open just fine...but still no php00:29
jacob__also no error messages00:29
unit3not sure what you mean by "they open just fine".00:30
jkakarisg: So, I have a running cloud controller/cluster controller/storage cluster/walrus.  Am installing the node controller now.00:31
jkakarisg: I forgot to mention earlier that I've been following these instructions: http://testcases.qa.ubuntu.com/Install/ServerECluster http://testcases.qa.ubuntu.com/Install/ServerENode http://testcases.qa.ubuntu.com/Install/ServerEConfig00:31
jkakarisg: I'm on the second one now.00:31
jacob__sorry....i made a random web page with links to a few other pages added a bunch of text, and a few pictures...all of that works...when i go to the http://127.0.0.1/ is shows me a index of...then all of my sites info is listed below it as in name, size and descriptions of each00:32
unit3jacob__: right, so did you try to create a test.php or whatever that had some more content and php in it, like i recommended, to see what happens with it?00:33
jacob__unit3: wow just realized the walkthrought i had been looking at was stupid....may have solved it00:36
unit3haha ok00:36
unit3you're generally best off reading the docs on help.ubuntu.com and wiki.ubuntu.com before looking at generic documentation.00:37
jacob__lol yea this was  a w3school, they are usually pretty good about it....but sadly didn't fix it00:38
jacob__and still no errors00:40
unit3w3school is just for writing web pages, they shouldn't really have any info about apache configuration... and if they do, I suspect it's massively out of date.00:40
unit3in any case, can you try setting up a test page with more content in it like i suggested?00:40
jacob__i did that, added a bunch of text, variables for the text...and working on adding a few more things to it atm00:43
unit3ok, so, you've got some text, some php, and some more txt. can you pastebin the results of "view source" from that?00:44
jacob__yep give me a sec and i will link it to yo00:46
jacob__you(00:46
jacob__unit3: http://pastebin.com/m6f92adc000:50
=== dendro-afk is now known as dendrobates
unit3errr... ok, that's the code, and is that the same output you get from the web server, or is it different?00:53
jacob__lol ignore my comment i figured out why those other two didnt work00:53
unit3ok...? so it's working now?00:53
unit3well, good luck, I'm out.00:55
jacob__ty00:55
wish^unit300:57
wish^ports wins out00:57
wish^unix ftw00:57
jkakarShould it take long for a UEC node controller to register with a cluster?01:06
jkakarI've been following the instructions (http://testcases.qa.ubuntu.com/Install/), but my node controller doesn't seem to be finding its cluster.01:07
wish^how long?01:07
jkakarwish^: 10 minutes?01:11
jkakarI'll try registering it manually.01:11
wish^im no expert with ubuntu but it shouldnt take that long01:11
jkakarHrm.01:14
jkakarEven after running euca_conf --register-nodes $IP it still doesn't work.01:14
jkakarHmm, key synchronization might be the issue.01:14
=== corp186_ is now known as corp186
uvirtbotNew bug: #495249 in clamav (main) "ClamAV 0.94 end-of-life announced" [Undecided,Fix released] https://launchpad.net/bugs/49524901:36
uvirtbotNew bug: #509934 in likewise-open (main) "password caching no longer works" [Undecided,New] https://launchpad.net/bugs/50993401:51
mike3weird issue. when i boot up i don't get the login prompt. I have to hit ctrl+alt+f202:32
mike3a different tty or whatever02:32
bogeyd6mike3, did you check the logs to find the error?02:34
bogeyd6also, this is a server channel and we assume you didnt install a GUI desktop02:35
mike3this is ubuntu server02:38
mike3no errors that i can find02:44
mike3nothing that shows me why it's just sitting there02:44
usrvok ubuntu geniuses, I've got a challenge for you. "/dev/sdc is apparently in use by the system; will not make a filesystem here!" but it's not mounted or in use02:53
usrvi'm using ubuntu server02:54
VanhaltHello there !!03:01
Vanhaltdoes the ubuntu server edition comes with a GUI packed to install or it must be downloaded ? sorry newbie question03:03
usrvmust be downloaded03:03
Vanhaltestimated size ? ...03:04
usrvhmm... not sure03:05
usrv sudo apt-get install ubuntu-desktop and it should tell you how much space03:05
usrvyou'll have the option to continue or not03:05
Vanhaltmmm ...03:06
Vanhalthave to try that ..03:06
Vanhalt2nd newbie question... Ubuntu cloud it's a local cloud or you have to be connected to the internet ? login in a web or something ?03:07
=== Vanhalt is now known as gQuash
gQuashwell ... thanks =)03:16
gQuashgoing to read the docs03:16
mike3weird issue. when i boot up i don't get the login prompt. I have to hit ctrl+alt+f203:21
marks256How can i return a user's id? I want to be able to (as root) type in "getid bob" and have it return me the UID03:28
marks256got it. id -u <username>03:32
j416is acpi-support the right package for 9.10 to enable acpi?04:07
domitoevening04:17
marks256i tried adding the user "apache" to the sudoers list in the following fassion04:31
marks256apache  ALL = NOPASSWD: /usr/sbin/useradd04:31
twbj416: acpid enables acpi support.  acpi-support-base and acpi-support include some rules which are, generally, Good Things.04:32
marks256but when i try to run it, it says permission denied04:32
twbj416: if you only need to power button to trigger shutdown -h now, just get acpi-support-base.04:32
j416twb: ok! thank you. I only need a way to power down my machine externally (I'm running it inside virtualbox).04:33
j416so that should be enough then!04:33
marks256Anyone have any ideas why the user account apache isn't running useradd as root, as it has been instructed to do in /etc/sudoers?04:35
j416twb: I tried: sudo apt-get install acpi-support-base05:11
j416and I get: "E: Package acpi-support-base has no installation candidate"05:11
j416does this mean I have to install the acpi-support package afterall?05:11
twbj416: maybe it's called something different where you are05:12
j416where I am?05:13
j416are package names dependent on .. location?05:13
twbBleh, I don't have apt-file(8) on any Ubuntu hosts, and (bleh) ubuntu-server doesn't support the power button by default.05:13
twbj416: FSVO location = distro and release.05:13
j416ok05:13
j416sorry05:13
twbnp05:13
twbj416: which release are you using?05:14
j4169.10 32-bit05:14
j416there seems to be a package called acpid, I wonder if that will do what I need?05:14
twbacpid is just the daemon05:15
j416yeah, seems so.05:15
twbIt needs config files to tell it what to do05:15
j416need scripts for it eh05:15
j416I guess I'll just install acpi-support then05:16
twbYeah, the main problem with that is that it's so bloody bloated, and it pulls in a heap of useless shite05:17
j416aah...05:17
twbj416: ah, it seems that in Ubuntu 9.10, acpid includes acpi-support-base05:17
j416maybe I can just install acpid and make a config file myself?05:17
j416oh05:17
j416cool05:17
j416I'll try that first then05:17
twbBecause ultimately power button support is these two files: acpid: /etc/acpi/events/powerbtn /etc/acpi/powerbtn.sh05:18
j416hah it works05:18
twbapt-file is your friend05:18
j416yeah :) found that05:18
j416thanks05:18
j416The system is going down for halt NOW! Power button pressed05:19
j416woho05:19
error404notfound[REPOST from #ubuntu] i am following https://help.ubuntu.com/community/InstallCDCustomization and when i try to build iso i get http://pastebin.com/m64a867e8, any ideas?06:36
twberror404notfound: ow.06:36
jmarsdenerror404notfound: I'd guess the genisoimage command expects to find an hfs.map file and it's not there?06:38
error404notfoundjmarsden, can't say anything, my first experience with building a custom iso06:38
twberror404notfound: it's much easier to just roll a bootable USB key06:39
jmarsdenAnd you're doing it for an older Mac... wow... I'd start with customized images for a boring x86 PC if I were you (and I had a boring PC, of course)...06:39
error404notfoundtwb, hmmm, thats also fine, i can try that in vbox as well06:39
twbjmarsden: since he's blessing an HFS partition for PowerPC, I'm guessing NewWorld06:39
error404notfoundjmarsden, me? nope, i am on ubuntu, no hfs stuff, i just copy paste commands from community wiki :)06:41
jmarsdenerror404notfound: Then you copied the wrong stuff.06:41
error404notfoundjmarsden, good point, let me get to the other LCD06:42
error404notfoundjmarsden, aah, yes, sorry, dumb me, 4 LCDs are too much for 2 eyes, right?06:42
jmarsdenerror404notfound: As a general rule, you will learn more by using man and actually trying to understand the commands you find in any tutorial type page like taht, *before* you try them out.  Especially as root!06:43
error404notfoundjmarsden, aah yes, agree, but i am of the type that learn by doing instead of reading, which doesn't mean that i never read man pages.06:44
jmarsdenMaybe I'm just old fashioned, but I simply do not trust random people who create web pages enough to type in commands as root that I do not understand... it is very very dangerous to your system to do that.06:44
andoljmarsden: Well, copy-n-pastying random commands as root might actually turn into a very learnable leasons :)06:45
error404notfoundjmarsden, you are right, but i am about to format this little thinganyway :)06:45
error404notfoundandol, exactly :)06:45
twbjmarsden: that's basically your wetware virus protection system06:45
jmarsdenandol: ... lessons in how good your backups are :)06:45
andoljmarsden: exactly :)06:46
andolerror404notfound: On a more serious note, you really should be listenting to what jmarsden is trying to tell you.06:46
* error404notfound is a sysadmin, and understand this but sometimes i am just fine with "whatever", just see if it works if i have gotta format anwyay :)06:46
error404notfoundandol, i do, i actually never login as root, except when i am using console on servers and recovering data06:47
jmarsdenerror404notfound: That's not what your pastebin suggests... :)06:47
error404notfoundjmarsden, this isn't a server and i am not recovering data, but this machine is pretty screwed up already, and its not mine, i was handed this over for a fresh ubuntu install :P06:48
domitoAny experts on bridging/transparent firewalls here?  I have an odd issue which is that arp from the inside segment gets out, but only about 33% is replies get back to the requestor07:13
twbdomito: proxyarp?07:14
domitoproxy_arp did not help07:14
twbOops, I don't think that's for bridges.07:14
domitono that's for nat07:14
domitothe traffic coming back hits the eth0 and the br0, but not all get to eth1 on the inside07:15
domitovery bizarre07:15
domitobeen banging my head on it for days07:15
twbdomito: does dmesg say anything?07:15
twbHave you tried swapping in a different NIC (with a different chipset)?07:15
domitotwb: no, but it is currently full of ebtables logging :)07:15
twbIf it's a shitty old machine, I suppose it could be overloaded07:15
twbdomito: it sounds like you're already at least as competent as I am, so I don't have any other ideas.07:16
domitotwb: no, it's running under ESX ... I have ensured that the vmxnet driver is working and pcnet32 is no longer in the mod stack07:16
domitotwb: it's not old, running 8.04 server07:17
domitolts07:17
twbI meant old as in old hardware, but if it's running under ESX then I dunno07:17
domitoanyone ever used parprouted?  would that work?07:17
twbYou should also talk to #vmware, it might just be a known suck with vmware07:17
domitoyou really gotta dig for any info on bridging firewalls07:18
domitoya I may try that channel07:18
twbFWIW I have OpenVZ hosts on the same 192.168.1/24 as the physical machines, and I remember that I had to turn on proxy arp to make that work.07:18
twbBecause the bridge is at layer 3, not layer 2, if you follow me07:18
domitoI can't really snoop the physical interfaces from the vhost shell, which sucks07:18
twbdomito: get a hub (not a switch) and force everything to promiscuous?07:19
domitotwb: switching is all done via vmware ... it's a virtual switch07:19
twbOops, of course07:19
domitoto make matters worse, the co-lo thinks that giving ppl 12 IPs out of a /24 is a good idea, no proper subnetting which would probably have fixed the whole thing07:20
twbAh, then the solution is simple!  Switch provider! :-)07:21
domitoworking on them to do so07:21
domitoin the meantime I have to give all servers inside the bridge static arp entries to keep the lights on07:21
domitowhich brings me here to see if anyone around these parts have done bridging and maybe fixed the same issue07:23
domitonever hurts to ask heh07:23
twbNot me, sorry.07:25
domitowell thanks for trying, I appreciate it07:26
milestonehi all08:40
milestoneis it possible to disable a ssh password login for a user and only allow him pubkey authentication? Only for one user though, not server-wide08:41
twbmilestone: if that user is root, yes08:42
twbmilestone: otherwise, I think you can do it by giving that user the "null" password, which will prevent all pam password auth for that user unless they're on a "trusted" tty, as defined by /etc/securetty08:43
twbYou might be able to get that effect by "locking" the account or giving it an invalid password, too -- try it and see.08:43
twbNote that in either of the latter two approaches, sudo won't work, either.08:43
twb(Er, assuming you've got sudo configured to prompt for a password.)08:44
=== erichammond1 is now known as erichammond
=== erichammond1 is now known as erichammond
milestonetwb: i have setup sudo08:53
milestonebut for this certain account08:53
milestonewith NOPASSWD08:54
milestonewill this work after "locking" the account?08:54
twbI don't know.08:54
twbOf course, it would be far simpler to disable sshd's password-based auth outright.08:54
milestonetwb: i know08:55
milestonebut it is a customers machine for whom i do remote services08:55
milestonehe needs password based auth08:56
milestonei don't08:56
milestoneand i usually disable it on my machines08:56
milestonefor security reasons08:56
sorenmilestone: What do you mean by "locking"?08:57
twbIt is a good idea to teach him how to use keys08:57
twbsoren: sticking an "x" or so in /etc/shadow08:57
sorenmilestone: If the account is locked such that you can't log into it, it can't get to use sudo anyway.08:57
a_okWhat is the easiest way to migrate an existing 32bit instalation to 64bit?09:10
=== erichammond1 is now known as erichammond
twba_ok: reinstall09:18
a_okok09:19
a_oktwb: I take it I can install over the existing installation09:21
sorena_ok: I don't recommend that.09:28
sorena_ok: I would take the list of installed packages (using dpkg --get-selections), store it in a file, install a 64 bit version of ubuntu, install all the same packages (using dpkg --set-selections < selections.txt ; dselect install), and move all my data (/home, relevant parts of /etc and /var, etc.) to the new system.09:38
da65Hi, is there a Ubuntu Sever secruity update mail list I can join,09:40
a_oksoren: Thanks I was thinking the same.09:40
da65just found it, thanks https://lists.ubuntu.com/mailman/listinfo/ubuntu-security-announce09:42
=== ttx_ is now known as ttx
kworki cant find dccd from apt, is it included in ubuntus version of dcc ?10:40
uvirtbotNew bug: #510038 in squid (main) "[patch] Please provide a example refresh_pattern for debs" [Undecided,New] https://launchpad.net/bugs/51003811:06
da65anyone know of some open source software I can use on a domain tha will allow people to automatically create an email account from the web browser?11:08
auda65: citadel groupware I believe11:10
da65ty, will take a look11:10
uvirtbotNew bug: #510065 in freeradius (main) "dynamic-client support doesn't work" [Undecided,New] https://launchpad.net/bugs/51006512:21
=== jono is now known as Guest95190
zulmorning13:23
szczymmorning, how i could link https://bugs.launchpad.net/ubuntu/+source/mc/+bug/263442 as a Server usability papercut ?13:25
uvirtbot`Launchpad bug 263442 in mc "mcedit is not longer the default editor" [Undecided,Confirmed]13:25
vishttx: hi... could you add https://launchpad.net/bugs/194472 to the server papercuts?13:44
uvirtbot`Launchpad bug 194472 in sudo "Entering password in Terminal gives no visual feedback" [Unknown,Fix released]13:44
vishi brought it up a few days back.. you asked me to remind you when server papercuts were started ;)13:45
ttxvish: can't you use "Affect project" yourself ?13:45
ttxand point to "server-papercuts" as the affcetd project ?13:45
vishttx: i can , but just wanted to make sure  , if i was allowed :)13:45
ttxThat would track more accurately /who/ proposed it13:46
* vish adding task13:46
ttxthanks13:46
vishty13:46
mathiazttx: hi!13:50
ttxmathiaz: o/13:50
mathiazttx: should the server team be still subscribed to likewise-open bugs?13:50
ttxmathiaz: probably not. Let's trade it against python-boto13:50
ttxmathiaz: I'll stay subscribed to those for a few13:53
mathiazttx: ok. I've swaped likewise-open for python-boto13:53
coffeedudettx, mathiaz: I've picked up the two new bugs that will filed against likewise-open.  I'll get a repro in the day hopefully.13:57
ttxcoffeedude: cool, thx13:58
BillyBoyhi boys need little help, don't know how to start php extensions gd-bundled and imagemagick library.. could someone help me? show me the way?14:14
mathiazzul: hi - any reason to sync munin from unstable rather than testing?14:24
zulmathiaz: upstream prefers us to use the version in unstable14:24
mathiazzul: is that the best option given we're targeting an LTS?14:25
zulmathiaz: i think so14:25
zulit has a whole bunch of bug fixes as well14:25
zuland it has all of our changes14:25
=== dendrobates is now known as dendro-afk
smoserttx, soren, mathiaz is ubuntu-devel appropriate place for this discusion, rather than a more kernel specific list14:53
ttxubuntu-devel is ok14:53
ttxsmoser: you might want to wait until I publish the minutes though, to have some background14:54
ttx(for free)14:54
smoserwill do14:55
=== dendro-afk is now known as dendrobates
=== dendrobates is now known as dendro-afk
=== dendro-afk is now known as dendrobates
=== g-zus is now known as g-zuis
BullterdHey All.15:37
BullterdStupid question time15:37
BullterdI have a 8 disc RAID array (RAID 5) - if for whatever reason, power gets cut to like 4 discs15:38
BullterdI know the RAID has failed15:38
Bullterdhowever, if I think restore power to the 4 discs that lost power, would the RAID come back online?15:38
Bullterd*if I then15:38
dasunsru1e32Wrong forum, if the disks come back on, the array should be able to rebuild15:39
Bullterdwould it need to rebuild?15:39
dasunsru1e32you could suffer data loss though15:39
dasunsru1e32depends on your adapter15:39
BullterdI mean, if you lost 4 discs it couldnt rebuild a RAID 5 array15:40
Bullterdbut then if all the discs came back, surly if I reboote the server it'd recognise the array and chug along?15:40
dasunsru1e32as long as those disks are readable15:40
dasunsru1e32it "should" work15:40
Bullterdk15:40
screen-xBullterd: although they probably will be inconsistent15:40
screen-xtoo late..15:40
dasunsru1e32he legt15:40
dasunsru1e32left15:40
dasunsru1e32lol15:40
dasunsru1e32I hope he isn't trying something stupid15:41
dasunsru1e32lol15:41
dasunsru1e32sounds like somebody messed up and doesn't know how to fix it15:41
screen-xRaid failure is a nightmare :(15:42
dasunsru1e32Yep15:42
domito_hi folks15:42
screen-xso use rsnapshot!15:42
dasunsru1e32backup, and you won't have to worry about it15:42
dasunsru1e32lol15:42
dasunsru1e32yep15:42
dasunsru1e32just replace the disk(s), doesn't rebuild, restore it from a new snapshot15:42
dasunsru1e32;-)15:43
smoserjjohansen, ping15:52
jjohansenpong15:52
jjohansensmoser: ^15:53
smoserdo you know how /dev is mounted in the kernel?15:53
smoserwithout ramdisk, I still get a 'evtmpfs /dev devtmpfs rw,size=251292k,nr_inodes=62823 0 0'15:53
smosermounted15:53
domito_Any experts on bridging/transparent firewalls here?  I have an odd issue which is that arp from the inside segment gets out, but only about 33% of replies get back to the requestor15:54
smoserthe kernel is doign it, as I verifiy its there by an 'init=' program15:54
domito_the traffic coming back hits the eth0 and the br0, but not all get to eth1 on the inside15:54
smoseris it possible that the ec2 kernel is failing to do that devtmpfs mount?15:54
jjohansensmoser: hrmm, no I don't know how its mounted, I'll need to look into it15:54
jjohansensmoser: possibly, but I need to figure out what it is doing first15:55
smoserjust looked, on the uec kernel i get a line like:15:55
smoser[    0.660664] devtmpfs: mounted15:55
smoseri do not see anything like that in the ec2 kernel's boot log15:56
jjohansenhrmm, okay I'll poke and see what I can find15:57
jjohansensmoser: http://lwn.net/Articles/345480/15:57
marks256I added the user apache to the sudoers file (apacheALL = NOPASSWD: /usr/sbin/useradd) to be able to use the command useradd without a password. When i run my command via PHP, it doesn't work. But if i log in as apache, and paste the line into the console, it works. Is something wrong with my sudoers entry?16:12
smoserjjohansen, https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/51013016:14
uvirtbot`Launchpad bug 510130 in upstart "ec2 instance fails to boot if registered without ramdisk" [Undecided,New]16:14
smoseri think this is related to "# CONFIG_DEVTMPFS is not set"16:14
killaxxll16:14
jjohansensmoser: hrmm, yep.  Will look into it, expect an EC2 update this week16:15
pmatulisre kvm dhcp-enabled guests, is there any decent way to discover ip addresses (w/o going through the vnc console)?16:15
killaxxlterminal ifconfig ?16:16
jtrimmerI might be in the wrong place to ask this question and if so please excuse me.  I have 5 servers at our central office 2 running ubuntu 3 running other flavors.  We have a site2site vpn which connects our remote office into our domain controller and all of our internal resources.  Well my problem is this.  I can ping and connect to every device from the remote office except the ubuntu boxes.16:16
jtrimmerI've checked iptables and it is flushed and I can ping the box from the central office maches.  Any suggestions what I might check?16:16
smoserjjohansen, i cant' easily get debug logs without a ramdisk (I'd have to rebundle and upload, which is just time consuming), but at very least its a difference that should be removed.16:16
killaxxljtrimmer: ifconfig in console16:16
jjohansensmoser: yep there are a few other config differences to resolve as well16:17
Reepicheeppmatulis: do you have access to the DHCP server log?16:17
pmatulisReepicheep: nope  :)16:17
Reepicheepman .. that would be to easy wouldn't it16:18
killaxxlpmatulis: dig <servername>16:18
Reepicheeppmatulis: then do you have access to sniff the traffic?16:18
Reepicheepfor instance .. the bridge interface on the KVM machine..16:19
pmatulisReepicheep: that's what i tried (tcpdump on the bridge interface) but i have a lot of guests!16:19
Reepicheepthat is assuming that it is on the bridge16:19
jtrimmereth1      Link encap:Ethernet  HWaddr 00:1e:c9:fd:9a:d7 / inet addr:10.1.0.15  Bcast:10.1.1.255  Mask:255.255.254.0 / inet6 addr: fe80::21e:c9ff:fefd:9ad7/64 Scope:Link / UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1 / RX packets:39168 errors:0 dropped:0 overruns:0 frame:0 / TX packets:24173 errors:0 dropped:0 overruns:0 carrier:0 / collisions:0 txqueuelen:100016:19
jtrimmerRX bytes:16177505 (15.4 MB)  TX bytes:6110109 (5.8 MB) / Interrupt:16 Memory:f4000000-f401210016:19
smoserjjohansen, i assigned that bug to you.16:19
Reepicheepyou should be able to use filter on tcpdump to show you only the DHCP traffic16:19
pmatulisReepicheep: i'm working remote right now, usually i would bow down and check the vnc console16:19
marks256As root, when i type in sudo -u apache /usr/sbin/useradd, i get a permission denied, yet apache is added to the sudoers file, why?16:20
smoserscream loudly if you object.16:20
jjohansensmoser: okay16:20
jjohansensmoser: nope, I need to fix the kernel config16:20
pmatulisReepicheep: my b/w seems low b/c i can't x-forward the console16:20
domito_marks256: it sounds environment related ... processes do not always get the full shell env when running from apache16:21
pmatulisReepicheep: yes, i suppose i could try rebooting and checking dhcp traffic16:21
domito_last time I had this exact same issue tho it was selinux related16:21
marks256domito_, any ideas on how to fix that?16:21
domito_might be apparmor if you are using that16:21
domito_add a wrapper around your call to the shell and trap the error messages might help16:22
Reepicheeppmatulis: maybe something like "tcpdump -i bridgeinterface port 67 and port 68"16:22
marks256domito_, i'll have to look into that16:22
domito_if you are using selinux then check the audit log using audit2why16:23
domito_create rules with audit2allow16:24
domito_if you can create a simple script to pump out the env as well as the results of 'sudo -l' it may shed some light16:24
pmatulisReepicheep: hell of a way though... rebooting.  thanks16:24
jtrimmerany thoughts?16:26
Reepicheeppmatulis: you may need to add -n to make it not resolve IPs and ports16:29
marks256domito_, well i'm using centos, but selinux is disabled16:29
Reepicheepalso.. I just tried it and by default tcpdump is not decoding the data of the response16:30
jdstrandmarks256, domito_: this should not be apparmor related-- useradd is not confined by apparmor in Ubuntu16:30
jdstrandyou can check /var/log/kern.log to be sure16:30
marks256jdstrand, i'm using centos *hangs head in shame for being on #ubuntu-server*16:31
domito_marks256: disabled or permissive?16:31
jdstrandah, ok16:31
marks256domito_, disabled16:31
domito_ah ok16:31
jdstrandthen it *definitely* isn't apparmor16:31
jdstrand;)16:32
marks256hmm16:32
domito_then I would check the env16:32
sbeattiemarks256: are you able to to run any commands via sudo -u apache?16:32
marks256meaning?16:32
marks256sbeattie, well. that's the thing. i get permission denied when i type in sudo -u apache /usr/sbin/useradd -d /home/dusty -p '$1$r6Gu3ZU/$QpuDJOUcf13xDfPgh724b.' --shell=/bin/bash dusty16:32
marks256sbeattie, but if i log in as apache, and paste that in (minus the -u apache), it works fine16:33
domito_what does your sudoers line look like?16:33
domito_did you specify the path to useradd?16:33
domito_you may need to use /usr/sbin/useradd* to catch the parms16:33
sbeattieoh wait, you're trying to run useradd as user apache and not as root; that's surely not going to work, no16:33
marks256apacheALL = NOPASSWD: /usr/sbin/useradd16:34
marks256domito_, ^16:34
jdstrand(that sounds kinda scary)16:34
marks256yeah i know. i've got quite a bit of catches around the command though to keep out as much riffraff as possible16:35
marks256if all else fails, i'll create a file with the user information in it, and have a cron job run once a minute or so to create the user16:35
domito_try this16:36
sbeattiemarks256: "sudo -u apache" changes you *to* user apache. useradd still needs to run as root, your sudoer config allows user apache to sudo *to* the root user to run adduser with root's privilege.16:36
domito_apache ALL = NOPASSWD: /usr/sbin/useradd*16:36
domito_or you chould suid useradd, but that would be a bad idea16:37
marks256sbeattie, aah... you might be on to something there16:37
marks256domito_, what does the * mean at the end of the line then?16:37
sbeattiefor example, under your config (I think) sudo -u apache sudo useradd [blah...] should work.16:37
marks256sbeattie, i'll try that quick. when you say under the config, what do you mean? just my command to run?16:38
domito_marks256: it does not work for all sudo implementations, but it's a wildcard so you can add parameters16:38
marks256domito_, ok i'll try that16:38
domito_I have had to add that on a couple boxes, not sure which OS those were offhand tho16:38
sbeattieunder your sudoers config that allows the apache user to sudo to root to run the adduser command.16:39
domito_sbeattie: I see what you are saying ... not sudo -u apache, apache runs sudo16:39
domito_so the apache user should not be running "sudo -u apache"16:40
marks256sbeattie, domito_ right, but i don't understand why i can run my command fine sshed into the apache account, but not from apache its self16:40
marks256as root i typed in sudo -u apache sudo /usr/sbin/useradd -d /home/dusty -p '$1$r6Gu3ZU/$QpuDJOUcf13xDfPgh724b.' --shell=/bin/bash dusty and it worked16:41
domito_what does 'sudo -u apache -l' give you?16:42
marks256that -u and -l cannot be used together :)16:43
domito_d'oh16:43
sbeattiemarks256: right, in that command you've gone from user root --[sudo -u]--> user apache --[sudo]--> user root where adduser gets run.16:43
marks256sbeattie, right. that makes sense16:44
marks256domito_, i logged in as apache and typed in 'sudo -l' here is the output (root) NOPASSWD: /usr/sbin/useradd16:45
domito_and if you run the 'sudo /usr/sbin/useradd ...' in that shell it works?16:46
domito_not sudo -u apache mind you, it already knows it's apache16:46
marks256Correct.16:47
smoserjjohansen, so how do would you  bypass CONFIG_SCSI_SYM53C8XX_2=y, if you didn't like it?16:48
smoser(ie, if it was buggy for your hardware)16:48
Reepicheeppmatulis: using tcpdump with the -X flag and increasing the snaplenth will show you the data.. but you will have to decode the IP address returned by hand..16:48
domito_ok then my previous advise stands, change your script to capture the environment and full output and then see what it shows you16:49
jjohansensmoser: hrmm give me a minute need to look up how to do it again16:49
marks256domito_, i do have it returning all output. There is no return.16:49
Reepicheeppmatulis: but I just tried an app called dnstop.. it decode it.. if you have a lot of dns traffic you will just need to figure out which one it is16:49
resnoquestion, im thinking about running ubuntu server as my router. on this server i am storing backups of my machines, pictures, etc. is there anything i should keep my stuff safe?16:50
domito_marks256: does it return the `env` command output?  if not, can you redirect the output to a file?16:51
domito_resno: if it's connected to the internet then it's not safe period16:52
domito_you can lock them down by permissions etc but a root sploit will still give someone access16:52
marks256domito_, yes. env returns values16:52
domito_if you want them safe find a network nas appliance or something16:52
domito_marks256: are the env the same as when you are in a shell?16:53
resnodomito_: so just forget about running the server and use the router instead?16:53
resnoserver within the home netowkr isntead of outside it16:53
paulus68are there any known issues concerning nfs-server in server 9.10?16:53
marks256domito_, no. There is much less returned from the php vs the shell16:54
pmatulisReepicheep: thanks for the info16:56
marks256domito_, essentially the only thing that the php script returns for env is path and TERM. the shell returns hostname, term, shell, user, and a bunch of other stuff16:58
domito_and user = apache?16:58
domito_is there anything in your apache error_log?16:59
marks256domito_, in the shell, yes, from the script, user doesn't exist16:59
domito_then capture `echo $USER` in the script17:00
domito_silly question, but your httpd is running as apache right?  not running as nobody or another user?17:00
marks256domito_, you know... that is a VERY good question!17:01
marks256domito_, it should be...17:01
domito_ps aux|grep httpd17:01
marks256domito_, yes apache17:02
marks256domito_, echo $USER in the script returns nothing17:02
domito_ok, good to clear that possibility anyways :)17:02
domito_that's very strange17:02
marks256domito_, whoami returns apache though17:02
domito_ok17:02
domito_do you get any output from `sudo -l`?17:02
jjohansensmoser: sym53c8xx.blacklist=true at the root prompt might do it /me has to test yet17:03
domito_does sudo need the $USER to work?  perhaps you need to force the variable in your script?17:03
marks256domito_, no output from sudo -l...17:03
marks256domito_, that's what i was just thinking...17:03
marks256domito_, export $USER = "apache" right?17:04
smoserjjohansen, i assumed such things only hinted to userspace to populate modules.blacklist (or respond similarly) and tha tthey didnt' work for builtin17:04
domito_marks256: that's right17:05
domito_or you could `USER=apache /usr/sbin/sudo ....`17:05
jjohansensmoser: maybe I am not sure about .blacklist I need to look at it more17:06
marks256domito_, aah. no $ on the export command17:06
domito_d'oh!  right you are17:07
domito_was up all night banging my head againt a bridge17:07
domito_speaking of which ...17:07
domito_Any experts on bridging/transparent firewalls here?  I have an odd issue which is that arp from the inside segment gets out, but only about 33% of replies get back to the requestor17:07
domito_the traffic coming back hits the eth0 and the br0, but not all get to eth1 on the inside17:08
* domito_ has been fighting this for a week now ... someone please hit me with some ideas :)17:08
marks256domito_, hmm... setting $USER to 'apache' doesn't do squat. export USER='apache'; echo $USER returned nothing17:08
domito_dam17:09
marks256domito_, well. this idea clearly bad, so i think i'll just do that cron job. Bit extra work, but more likely to actually work :)17:09
marks256domito_, thanks for the help though!17:09
domito_for what it was ... you may also have luck calling a different script from php, which is a wrapper for useradd that has a !#/bin/bash17:10
bogeyd6how can you make the system information shown on the first login of a system after install show everytime you login to the console?17:10
domito_which may help populate the env17:10
domito_bogeyd6: /etc/motd17:10
marks256domito_, ok. i'll give that a go. i've already got a wrapper written, so maybe it'll work.17:11
bogeyd6domito, think along these lines http://ubuntuforums.org/showthread.php?t=120233117:11
marks256domito_, although the reason i was running the adduser from the php directly is because i had no luck wiht my wrapper either.17:12
bogeyd6domito, enough googling reveals this http://joshmoles.com/2009/01/21/supercharge-the-ubuntu-motd/17:13
jeremydeihi guys, I am sortof fighting with this mysqld_safe bug, on ubuntu hardy server.  it seems rather well known, was wondering if anyone here had any advise on how to fix it in a scriptable fashion ..17:15
jeremydeibasically, you install mysql-server-5.0, then the next time you restart mysqld_safe is runaway consuming 100%cpu17:16
jeremydeifound a ton of bug reports on this, but no real resolution!17:16
domito_list17:26
domito_d'oh17:26
domito_bogeyd6: cool17:27
zulhttp://gregdekspeaks.wordpress.com/2010/01/20/announcing-the-fedora-cloud-sig/17:40
mealstrom\clear17:55
mealstromoops17:55
tjaaltonmathiaz: hey, I couldn't resist to try the new sssd. there's a problem though; error: /usr/lib/sssd/libsss_krb5.so: undefined symbol: krb5_cc_retrieve_cred17:56
tjaaltonso the krb provider doesn't work17:56
tjaaltonldd libsss_krb5.so looks wrong17:57
tjaaltonhttp://pastebin.ubuntu.com/359648/17:59
domito_anyone know how I can capture just packet fragments in tcpdump/tshark?18:19
LnsHi everyone18:26
LnsI'm coming from the Edubuntu / LTSP community here, decided to add #ubuntu-server to my idle chan list ;)18:26
au:)18:27
unit3heya18:28
LnsSounds like it'd be a good idea since most LTSP and a lot of Edubuntu installs are multi-user and require some heavy lifting (not to mention some good tools for admin)18:28
unit3makes sense.18:31
=== robbiew is now known as robbiew-afk
LnsHas anyone got any opinion on a good LDAP setup/admin GUI?18:32
LnsWe've been struggling to come up with something for the longest time.18:32
unit3389 (was fedora) directory server looks nice, but the Ubuntu packaging seems to have stalled, so you'd probably have to run it on CentOS or Fedora.18:34
unit3alternatively (and better in the long run) would be to poke at the 389 packaging team (https://launchpad.net/~ubuntu-389-directory-server)18:35
unit3and get them to update their packages.18:35
unit3;)18:35
unit3hell, help them out. I'm sure it's just a matter of manpower, really.18:35
Lnsunit3: thank you! That's some good info18:39
unit3no problem. i'd like there to be a decent, graphically managed directory server OOTB in Ubuntu too.18:39
unit3it'd certainly make my life easier. :)18:39
kaffienhow can i edit my network settings from the console?18:39
domito_kaffien: ifconfig18:40
domito_what do you need to edit?18:40
unit3kaffien: look in the /etc/network directory.18:40
unit3interfaces has a man page.18:40
kaffienip address and host name18:40
unit3/etc/hostname too then.18:40
Lnsunit3: indeed. =)18:40
kaffienkk18:40
unit3kaffien: if you change the hostname, you'll likely have to doublecheck /etc/hosts as well, to make sure your ip in there matches the new hostname.18:41
kaffienyep18:43
kaffienthe problem is this is a duped VM.  it almost looks like it booted up without an eth0 device18:43
unit3that'd be weird. oh, but it might have!18:44
kaffienperhaps another reboot with a different host name will help things along18:44
unit3because udev assigns eth names based on mac address.18:44
unit3if you cloned the hd, it's likely got a different mac assigned, and so that interface would become eth1.18:44
unit3check output of "ifconfig -a" and see if it's there.18:44
unit3if it's there as eth1, I can tell you how to correct that.18:44
domito_Any experts on bridging/transparent firewalls here?  I have an odd issue which is that arp from the inside segment gets out, but only about 33% of replies get back to the requestor18:57
domito_the traffic coming back hits the eth0 and the br0, but not all get to eth1 on the inside18:57
domito_ubuntu-server 8.04 btw18:58
kaffienvmware tools was botched due to kernel upgrade ... silly me.19:01
kaffienit's been far to long since i got my 'hands dirty'.19:02
kaffienah well at lest its not gentoo19:02
kaffienI know it's not exactly a good idea but i need an older version of mysql  is it as simple as removing 5.0 and apt-get mysql-4.x ?19:03
kaffienapt-get install mysql-4.x that is.19:03
unit3kaffien: no, it's probably been dropped from the repos for the current releases. however, you should be able to grab and install from packages.ubuntu.com.19:05
kaffienhopefully the dependacy list isn't to large19:06
kaffien5.0 upgraded some of the calls which basically screwed over our old CRM.19:07
kaffienso we had to switch back to our ancient server that likes to die whenever it feelsl ike it19:07
unit3kaffien: yeah, it'll be an old package, depending on old libs, so as long as it doesn't conflict with new ones, you should be alright.19:11
unit3also, you could use prevu on the .dsc and forward-port it.19:11
unit3if deps are a problem, anyway.19:11
mathiaztjaalton: thanks - I've filed bug 51029519:22
uvirtbot`Launchpad bug 510295 in sssd "/usr/lib/sssd/libsss_krb5.so: undefined symbol: krb5_cc_retrieve_cred" [Undecided,New] https://launchpad.net/bugs/51029519:22
tjaaltonmathiaz: heh, and I filed 510290 :)19:23
tjaaltonmathiaz: sgallach has an idea about it.. I'll keep you posted19:23
mathiaztjaalton: great - seems like things are looked at19:24
mathiaztjaalton: I'll mark my bug a duplicate19:24
tjaaltonmathiaz: ok, cool19:24
uvirtbot`New bug: #510299 in samba (main) "package samba-common 2:3.4.0-3ubuntu5.3 failed to install/upgrade: subprocess installed post-installation script returned error exit status 128" [Undecided,New] https://launchpad.net/bugs/51029919:32
tjaaltonmathiaz: seems to be a tarball bug, fedora builds it with -lkrb5 which shouldn't be necessary19:34
=== robbiew-afk is now known as robbiew
technicallyriteHello all, any of you running Jeos in a production environment?20:20
technicallyriteIt's been merged into server now, have been experimenting with it here.20:20
Aisoncan I put ubuntu onto an SD-Card and install from there?20:26
RoyKsure20:26
RoyKI've got an usb plug for that20:27
unit3Aison: you can as long as your system will boot off SD.20:27
Aisoni'm not ;) i've got only a sd card slot^^20:27
RoyKAison: you can install on an sd card just as you can install on a spinning drive20:28
AisonI don't want to install it on an sd card, I would like to install it FROM an sd card ;)20:29
Aisonso I need to copy the install cd to the sd card20:29
unit3Aison: yeah, the default tools to make bootable usb keys should work just as well for an SD card.20:29
unit3but you'll have to make sure your system boots off SD.20:29
Aisonok20:29
AisonI guess that works20:29
unit3should, yeah.20:30
technicallyriteJeos, anyone?20:36
Aisonthe howto says, that I have to use usbcreator on linux, to create the bootable usbstick20:40
Aisonbut where can I get this tool on non-ubuntu linux platform? ^^20:40
AisonI mounted the ISO file and there's a usbcreator.exe for windows ;) that's not really a help20:40
RoyKtechnicallyrite: I've been running jeos in production, yes20:40
RoyKsame thing as the not-so-stripped-down version20:40
unit3Aison: there's other tools that run on other variants, like unetbootin or whatever.20:41
unit3they're slightly more work, but they'll do the job.20:41
technicallyriteroyk: sweet, thanks. I'm assuming you like it, did you add much other than your app dependencies?20:47
RoyKno20:47
RoyKand shortly after, I switched back to standard ubuntu server, since it's not really very big anyway20:47
=== astechgeek is now known as Guest45568
marks256what is the command to return the full path of the current directory?21:01
kaffiencan i remove JUST the mysql-common package?21:04
kaffienwhen i try it tries to remove like 175 packages21:04
kaffienwierdness21:07
technicallyritemarks256: pwd?21:07
kaffieni remove it and it takes kde with it21:07
technicallyritekaffien: perhaps kde came with it or vice-versa, try reinstalling kde after mysql-common is gone.21:08
kaffienso i did it (removed it) then i went to install php5 and it wants mysql-common21:10
kaffienlol21:10
kaffieni might not be able to get away with using mysql 4.121:11
unit3Maybe not.21:12
kaffienhrrrm21:14
kaffieni have remove all the mysql packages that i can figure21:14
kaffienthen i tried dpkg -i mysql 4.1 and its spouting about an upgrade still21:14
kaffieni wonder if i would be able to use hard haron for this21:25
kaffieni should be able to downgrade mysql  as it would still be the hardy repositories in theory21:25
unit3well, use packages.ubuntu.com and check to see if it's in hardy still.21:37
kaffienits in dapper for sure21:38
kaffiencant seem to find it in hardy21:38
=== cyphermo1 is now known as cyphermox
BeardedChimpI have ubuntu-server installed on a mac-mini. Occasionally on boot grub appears and without a timeout. This results in a non-booting server. Massive problem and I really don't know how to sort it with grub221:53
BeardedChimpIts running ubuntu server 9.1021:53
nuckablehey everyone, i'm having problems compiling drivers for my nic (which is messing around)22:03
nuckablewhen doing "sudo make all" i get "no rule to make kernel/bounds.c"22:03
nuckableand i can't seem to get the proper kernel source =/22:03
nuckablei tried following these instructions http://ubuntuforums.org/showthread.php?t=104737422:03
nuckablebut when i did "sudo tar -xvjf linux-source-2.6.31-17-server.tar.bz" it told me that file couldn't be opened because it couldn't be found (sorry am translating from german)22:06
frenzy_usahas anyone run QuickBooks in a virtual machine?22:14
BeardedChimpOk, I found a work around to my problem but I tried something similar earlier today, and upon doing update-grub it resulted in just grub with a flashing _ after rebooting. It required reinstalling grub from a cd. I want to avoid that but I dont know how22:15
Lnsfrenzy_usa: yes22:18
frenzy_usaLns: What vm program are you using? VirtualBox, VMware, other?22:20
Lnsfrenzy_usa: vmware server22:20
LnsIt works fine for a single person using it....22:20
frenzy_usaLns: Planning on installing the QB database server and start testing tomorrow for multi-user22:22
Lnsfrenzy_usa: i'm sorry :(22:22
* Lns has had nothing but major issues w/qb database server22:22
Lns(not on my own install, but one of my clients)22:22
frenzy_usaSingle user didn't give me any trouble so I'm gonna hope multi-user will behave as well.22:23
Lnsuh huh... ;)22:25
Aisonach, now I managed to get ubuntu netinstall cd to run from USB stick, but now, my networkdevice AR8132 is not detected ;)22:27
nuckable*sigh*22:27
nuckabledoes really nobody have a clue?22:27
unit3nuckable: why are you compiling drivers, what kind of NIC do you have?22:28
nuckableit's an asus nx110122:29
nuckableand it's jerking around if load is put on it22:29
nuckableso i'm hoping the official drivers might fix that, otherwise i'd have to send it back =/22:29
nuckablei got the latest version and the README just tells me to make all22:30
unit3not helpful.22:30
nuckablebut it keeps complaining about having "no rule to make kernel/bounds.s22:30
nuckablei mean kernel/bounds.c22:30
unit3you've got the kernel headers package for your kernel installed, right?22:30
nuckableyup22:30
nuckableand the build-essentials22:30
nuckableand the linux-source22:30
nuckableapt-get installed them all22:31
unit3well then, I suspect their build scripts just suck.22:31
mealstromhi, I've got some problems with pptpd server. I've managed to set up with static ip's in chap-secrets and some dynamic pool.  Works fine. client gets IP from chap secrets, but (!!!)  I don't know how can I kill that connection (pppX).22:31
mealstromps ax | grep ppp shows ip from dynamic pool, not static.22:31
mealstrom (ubuntu 9.10_amd_x64)22:31
unit3can you tell me what nic it says you have in lspci?22:31
nuckableunit3, theres 222:33
nuckablenot sure which one is this one22:33
nuckableone is "01:05.0 Ethernet controller: Sundance Technology Inc / IC Plus Corp IP1000 Family Gigabit Ethernet (rev 41)"22:33
nuckablethe other is "04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 03)"22:34
unit3well, the realtek one will be well supported in-kernel, so it's probably the weird sundance one. I see a lot of problems listed with that one online.22:34
nuckable*sigh*22:35
unit3yeah.22:35
=== Chex_ is now known as Chex
nuckablethe other problem i run into is that i'm using the german version of ubuntu, so i'm not always 100% how to translate stuff to get more info =/22:36
unit3ahhhh...22:36
nuckablelooks like asus really sucks at network devices22:36
unit3yep, I think they do.22:36
unit3i've avoided the eee stuff since other netbook options came out, because of that.22:36
unit3Is Ubuntu's lvm built without support for locking type 3 (internal clustered locking)?22:41
unit3it doesn't seem to be working here.22:41
nuckableunit3, sorry was that question for me?22:46
nuckable*sigh* well good night people, off to bed =/22:48
unit3no, that was just a general question for the channel. ;)22:48
unit3later.22:48
mealstromwho works with pptpd server on ubuntu for windows clients ?22:49
killaxxlgoes any one know of samba sharing with xbox36022:51
unit3mealstrom: probably not most people in here. given its history of security problems as a protocol, most people tend towards things like openvpn these days, or ipsec if you're getting fancy. ;)22:51
unit3killaxxl: no, 360 only supports a upnp server, not samba. There's a supported on in Ubuntu though.22:51
unit3as long as your files are in the right format, anyway.22:52
unit3ushare is the one. it has a 360 compatibility option, and I've used it recently.22:52
alex_jonimealstrom: why are you asking?22:52
unit3aleks: he's having trouble with his pptp setup, he posted above.22:52
mealstromin chap-secrets I put static ips for users22:52
killaxxlthx, i'll look into it22:53
mealstromand set one dynamic ip range22:53
mealstromand when user conencts with static ip -- it takes that ip ,  but in ps ax | grep ppp --- it has ip from dynamic range22:53
unit3killaxxl: note that it won't convert media, so it'll only work if your files are in formats the 360 already understands.22:53
alex_jonihmm I only used dynamic ip's22:54
mealstromI don't know how to kill user by his login or static ip :(22:55
alex_joniyou should have a process for each connection22:55
mealstromyes. I've got pppX for each connection22:56
alex_joniI get this:  /usr/sbin/pppd local file /etc/ppp/pptpd-options 115200 192.168.0.1:192.168.0.20022:56
mealstrom/usr/sbin/pppd local file /etc/ppp/pptpd-options 115200 192.168.3.1:192.168.3.21 ipparam 109.86.31.222 plugin /usr/lib/pptpd/pptpd-logwtmp.so pptpd-original-ip 109.86.31.22222:56
mealstromppp1      Link encap:Point-to-Point Protocol22:57
mealstrom          inet addr:192.168.3.1  P-t-P:192.168.3.25  Mask:255.255.255.25522:57
mealstromppp1 from ifconfig22:57
alex_joniyeah, figured asmuch22:57
mealstromthere is different ip's 192.168.3.25 and 192.168.3.21 | 21 is from dynamic range / 25 from static22:58
mealstromand I cannt take login parameter for ip-up script :(23:00
mealstromhmmm23:00
unit3hrm... what are the potential problems with using lvm on a shared device without using clvm (since it's a POS that won't stay working without dying for more than a week)23:00
unit3presumably after doing a change on one machine, I'd need to rescan things on the other.23:01
unit3and it won't coordinate locking between them, so I'd have to be careful about accessing resources.23:01
unit3other than that...?23:01
alex_jonimealstrom: maybe you can cause pptpd or pppd to dump the username to syslog23:06
alex_joniyou have the ip and process number there23:06
mealstromit is possible to connect interface to users ip address in ip-up script.23:06
alex_jonimealstrom: I also notice my pptpd is configure to log users to wtmp23:07
mealstromifconfig pppX down doesn't disconnect user :(23:08
alex_jonino, but tail/whatever syslog | grep pppX -> find the process and kill it surely will23:08
alex_joniyou could just record the pid of ppp into a /foo/%U file23:09
geniiI'd like to replace the default shell for certain users who ssh in to something like: script -aqf /var/log/theirname     ... seems problemmatic however. Any other kind of solution like this?23:29

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