[02:47] <Nolar> x/quit
[03:00] <Titomen> i need some adivse on instaling ubuntu 12.04 on raid 1 boot and rest on raid5 +lvm
[04:34] <BaldFat|2> just setup a server what is the best way to install a hp laserjet 1006p?
[04:35] <BaldFat|2> is it lpadmin?
[04:39] <syntroPi> i am trying to install ubuntu server from an usb stick onto an internal uSDHC card which should be accessible via sdhci_pci module. Undortunately this module is missing from the installer iso :-/  Any ideas how i could get it into the installer kernel to access my installation target?
[04:46] <BaldFat|2> I am without X how can I use hplip without x on the server. Is there anyway to just forward ssh -X ip?
[04:55] <syntroPi> is mmc core and sdhci even supported on the server kernels? where can i check which modules are available?
[05:10] <BaldFat|2> answer is sudo apt-get install hplip    then    sudo hp-setup -i
[05:36] <syntroPi> ok i have got the kernel modules loaded and a shiny new /dev/mmcblk0 for my usdhc card. Now how can I get the dumb installer to use that? All it would display me is iSCSI and nothing else???
[05:41] <syntroPi> Any ideas how i should invoke the partitioner part of the installer to use  /dev/mmcblk0?
[09:40] <kodapa> Hello
[09:40] <kodapa> Just got this error on ubuntu 12.04.1 KVM host with OpenStack Essex: INFO: task kvm:2771 blocked for more than 120 seconds.
[09:41] <kodapa> The VM got shutoff
[09:41] <kodapa> http://paste.ubuntu.com/1325976/
[10:46] <haojie_1990> ubuntu 怎么配置才能使温度降下来，性能也不降低
[12:09] <Titomen> i need some help installing ubuntu 12.04 on raid..some help --guidence
[12:58] <AdvoWork> is there a way I can test what happens with updates before actually doing them at all?
[13:10] <qman__> AdvoWork, clone your system and install them there
[13:10] <qman__> unfortunately there's no easy way to roll back an update, either
[13:10] <qman__> have to manually remove the packages and install the old versions
[15:00] <Sander^work> Is doing an apt-get upgrade always painless when it comes to if any package can break?
[15:06] <lenios> packages are not supposed to break
[15:06] <lenios> if they do, they can break also with a simple upgrade
[15:08] <lenios> dist-upgrade should be used for packages that need to add or remove packages, upgrade otherwise
[15:48] <acidflash> hello all
[15:48] <acidflash> how can I make a program execute with root privelages, where it doesnt need to type sudo to do everything (in ubuntu 12.04)
[15:53] <patdk-wk> acidflash, sticky user flag
[15:53] <patdk-wk> but that is normally not something you want to do
[15:53] <acidflash> patdk-wk: sticky user flag? how and where do I put that? I really dont ahve a choice, its a flaw in the system design, but its closed source software so no way to fix, its a radius software
[15:54] <patdk-wk> well, sticky user flag means ANY flaw in the program, can be used to root your server
[15:54] <patdk-wk> man chmod
[15:55] <acidflash> can i describe a little more whats happening, maybe i am misunderstanding my problem?
[15:56] <acidflash> i am using a softwre called freeradius, this software, what its doing is calling another software called rmauth and rmpoller, etc
[15:56] <acidflash> when it tries to call that software, the following message is returned
[15:56] <acidflash> Exec-Program output: Exec-Program: FAILED to execute /usr/local/bin/rmauth: No such file or directory
[15:56] <acidflash> Exec-Program-Wait: plaintext: Exec-Program: FAILED to execute /usr/local/bin/rmauth: No such file or directory
[15:56] <acidflash> Exec-Program: returned: 1
[15:57] <acidflash> but the thing is, it does exist, permission are 755,
[15:57] <acidflash> if you can that program from the shell, it gives hte same thing
[15:57] <acidflash> BUT, if you call it using "sudo /usr/local/bin/rmauth"
[15:57] <acidflash> works fine
[15:57] <patdk-wk> that is defently not a permission issue
[15:57] <patdk-wk> I'll bet rmauth is a script, not a program
[15:58] <acidflash> its compiled
[15:58] <patdk-wk> oh?
[15:58] <acidflash> executable
[15:58] <acidflash> yes
[15:58] <patdk-wk> no shell/perl/...
[15:58] <acidflash> no, its binary
[15:58] <patdk-wk> freeradius isn't chroot is it?
[15:59] <patdk-wk> or, the other option, apparmor issue
[15:59] <acidflash> freeradius is in /usr/local/sbin
[15:59] <patdk-wk> that has nothing to do with anything
[15:59] <acidflash> what i figure, is that its not working right, because its being called /usr/local/bin/rmauth, INSTEAD of "sudo /usr/local/bin/rmauth"
[16:02] <patdk-wk> "No such file or directory" != "Permission Denied"
[16:02] <patdk-wk> you can *figure* all you want
[16:04] <acidflash> patdk-wk: when i call it from bash, it gives me the same thing if i call it without root
[16:04] <acidflash> without sudo*
[16:06] <qman__> actually, that does happen under a certain condition
[16:06] <qman__> if your file which you assume to be executable is not, and you call it from the shell, it will say no such file or directory
[16:07] <acidflash> qman__: and if you call it "sudo /my/file/name"
[16:08] <acidflash> and it executes it?
[16:08] <qman__> no
[16:08] <acidflash> its executing it!!
[16:08] <acidflash> this is ubuntu 12.04, logged in as root
[16:11] <patdk-wk> still something going on, probably apparmor
[16:12] <acidflash> patdk-wk: could be, what should i do to test apparmor?
[16:12] <qman__> I wouldn't think so, apparmor usually logs very distinct messages
[16:12] <patdk-wk> qman, thought that logging wasn't enabled by default though
[16:12] <qman__> I mean, I wouldn't doubt it causing a problem like that, but you'd normally be able to tell
[16:13] <patdk-wk> use dmesg to start
[16:16] <acidflash> dmesg doesnt show anythign out of the ordinary
[16:16] <acidflash> ubuntu 12.04 no longer allows you to run things as root, you can login as root, yes, but you need to pass sudo to every single command that requires root, this software is not doing that, am I going in the wrong direction with my thinking here?
[16:17] <acidflash> is the problem not in the fact that its not being called like "sudo /usr/local/bin/rmauth" ?
[16:19] <qman__> that's not correct at all
[16:19] <qman__> there is a problem with the way your shell is calling the program, as opposed to the way sudo is calling it
[16:19] <qman__> apparmor could cause that kind of issue, but it's not easy to troubleshoot
[16:19] <FunnyLookinHat> The 12.10 ruby1.9.3 package installs a bunch of ruby1.9.1 stuff - but those are all really 1.9.3 right?  I recall that the name never changed for some reason with packaging
[16:20] <acidflash> qman__: can i temporarily disable apparmor in order to test it?
[16:28] <thebwt> so maas keeps wanting me to run "maas-import-isos script", but the command runs just fine.
[16:32] <patdk-wk> service apparmor stop
[16:40] <blizzow> I have a couple 12.04 servers running.  I installed gcp and am unable to use it.  I get some DBUSexception errors.  I wanted to see if anyone else was having the problem or might know a solution before I file a bug report.
[16:41] <blizzow> http://pastebin.com/Vd564Ctk
[17:15] <BaldFat> Sorry to say but I am trying to make my IP static and the offical guide says to edit the /etc/network/interfaces and well there isn't do I create the file?
[17:15] <BaldFat> Ubuntu 12.10
[17:17] <BaldFat> ^ idiot I exited out my ssh :P ^
[17:17] <BaldFat> ^ "idiot" I exited out my ssh :P ^
[17:17] <BaldFat> "^" I exited out my ssh :P ^
[17:29] <RoyK> BaldFat: there should be a file there
[17:29] <RoyK> BaldFat: but if this is setup as a desktop installation, networkmanager should manage networking
[17:34] <BaldFat> No I was an idiot and I am remoting into the server. I exited out of my ssh and was looking at my local laptop in arch :(
[17:34] <RoyK> :)
[17:34] <BaldFat> really banging my head with lpadmin and installing the ppd for my hp p1006
[17:35] <RoyK> can't you do that with the cups web gui?
[17:35]  * RoyK doesn't quite remember...
[17:37] <BaldFat> Not if I am headless and don't have x installed. I wonder if I could use lynks or wm3
[17:50] <RoyK> BaldFat: you might have a PC from which you can access that web ui
[17:50] <RoyK> BaldFat: you'll need to configure it to accept connections from other than localhost, but that's about it
[17:51] <RoyK> BaldFat: or - install firefox and run it with remote X
[17:51]  * RoyK has firefox installed on a few servers without X just to do stuff like that
[17:51] <BaldFat> That's what I should do. Never tried that one of x forwarding firefox from a headless
[17:51] <RoyK> BaldFat: are you on a linux client?
[17:52] <RoyK> if so, ssh -y servername will forward everything automatically through ssh
[17:52] <RoyK> or just set "ForwardX11 yes" and "ForwardX11Trusted yes" in $HOME/.ssh/config
[17:53] <BaldFat> well I just do the ssh -X ip
[17:53] <RoyK> I meant -Y
[17:53] <BaldFat> yes I am remoting in from my arch netbook
[17:53] <RoyK> trusted
[17:53] <BaldFat> firefox has 33 packages to install :(
[17:53] <RoyK> but -X will work too, only it'll time out the X connectivity quicker
[17:54] <RoyK> BaldFat: you need a truckload of libs for ff to work
[17:54] <RoyK> but they won't eat cpu, just a piece of disk space
[17:54] <BaldFat> would lynks or w3m work?
[17:54] <RoyK> !w3m
[17:54] <RoyK> what's w3m?
[17:55] <BaldFat> texted based browser
[17:55] <RoyK> links2 works well with framebuffer, if that's what you mean
[17:55] <RoyK> well, the cups stuff is pretty simple
[17:55] <RoyK> I guess even lynx should do
[17:56] <RoyK> anyway - a few megs to ff and its libs won't hurt ;)
[17:56] <RoyK> unless you have a very small root partition, that is
[17:56] <BaldFat> I just want to try and keep this server as small as possible. I have a friend going to try and hack into my system. I swear he will get in in 1 minute right now
[17:57] <BaldFat> since he does pen testing as a living
[17:57] <qman__> w3m is a lot better than lynx/links2
[17:57] <qman__> it doesn't choke as hard on most sites
[17:59] <BaldFat> w3m working like a charm
[17:59] <RoyK> qman__: ok
[18:00] <RoyK> BaldFat: if he does, please tell how ;)
[18:00] <BaldFat> I find text browsers a supper handy tool for quicka nd dirty hacking
[18:00] <RoyK> BaldFat: using 12.10 on a server?
[18:00] <BaldFat> yes
[18:00] <RoyK> BaldFat: I'd recommend using LTS for servers, that's what I do - less hassle
[18:00] <BaldFat> Oh I have to be sneaky with him. I have changed every port to non-standard different size passwords and smoothwall
[18:01] <RoyK> no reason really to change ports
[18:01] <RoyK> just make sure you use key authentication with ssh, or perhaps denyhosts if you want to use password auth
[18:01] <RoyK> and make sure nothing that runs as root listens to a public ip
[18:02] <BaldFat> last time he got into my debian server and fedora server on differnt explots. This time I have a seperate firewall and a different router
[18:02] <RoyK> that alone should take you far
[18:02] <RoyK> BaldFat: I guess last time I had a server exploited was in 2001 or so...
[18:02] <BaldFat> yeah just trying to learn some security stuff. I stopped being a bad hacker in the 80s :) Geez I am old
[18:03] <RoyK> :)
[18:03]  * RoyK is almost 40, not a youngster anymore myself either...
[18:03] <BaldFat> back then you could get into half the servers by typing ? or just ?help
[18:04] <RoyK> things have gotten a wee bit more secure these days ;)
[18:04] <RoyK> but there are still holes, always...
[18:06] <patdk-wk> heh, I had my ubuntu server hacked last year, from a known exploit that was a few months old :(
[18:06] <patdk-wk> the patch didn't make it into the xen/ec2 kernel, only the others
[18:07] <BaldFat> if someone wants to get into your server you can never guarentee that they won't but you can make it not worth their effort
[18:08] <patdk-wk> sure, but this made it extreemly easy
[18:08] <patdk-wk> the effort required, and the person doing it, was a off the lot, scriptkiddie
[18:08] <patdk-wk> the script used, was the one posted in the CVE report, exactly
[18:08] <qman__> that is unfortunate
[18:09] <qman__> reminds me of the fun SMB2 exploit a few years back
[18:09] <qman__> blue screen any windows system with file sharing turned on, only way to prevent it for weeks was to disable file sharing
[18:10] <patdk-wk> after I was exploited, it was easy to locate the missing cve, and get that corrected
[18:11] <patdk-wk> I have completely moved off ec2, so I'm not actively watching to see if new stuff is missing
[18:12] <RoyK> patdk-wk: which bug was this?
[18:12] <thebwt> mass question: trying to start a node for the first time, it isn't able to connect to the ubuntu mirror for some reason. network is configured right, we can ping sites in other terms, it seems like the maas installer itself is borking up.
[18:13] <RoyK> MAAS?
[18:14] <thebwt> RoyK: Metal as a service, found my problem on https://wiki.ubuntu.com/ServerTeam/MAAS/Troubleshooting
[18:16] <BaldFat> wait am I "wanting" to use samba to share my printer?
[18:18] <RoyK> thebwt: I know - he was saying mass...
[18:18] <arlo_> hello are there a nice people some can help me to open port 80 on my router, we can use teamwiewer to remote.
[18:18] <RoyK> BaldFat: pretty easy - there are commented-out config parts in smb.conf to show you how
[18:19] <thebwt> RoyK: oops
[18:19] <BaldFat> RoyK: Yes I know how. It is the question of am I buildign a less secure server using samba as oppose to ipp?
[18:20] <BaldFat> arlo_: can you surf the internet? That's port 80
[18:20] <BaldFat> or 8080
[18:26] <patdk-wk> royk, found it
[18:31] <patdk-wk> http://www.ubuntu.com/usn/usn-1186-1/
[18:31] <patdk-wk> If I remember right
[18:31] <patdk-wk> CVE-2010-4073
[18:31] <patdk-wk> that didn't apply to the xen/ec2 source tree cleanly, and never ended up getting fixed, till december
[18:32] <patdk-wk> I got rooted over thanksgiving
[18:32] <patdk-wk> I do remember it was 64bit specific issue though
[18:33] <patdk-wk> oh, close, but not that one
[18:33] <patdk-wk> bug 640390
[18:59]  * RoyK mutters something about using 10YO proprietary operating systems
[19:49] <protoCall7> Hi All, I've been fighting with a preseed configuration for 12.04 server for weeks now, and can't seem to make any progress.  Does anyone know how to pressed out the question "Write the changes to the storage devices and configure RAID?"
[19:50] <protoCall7> I want to auto answer "Yes" on that one
[21:32] <dj_corncob> I want to play around with writing client-server sockets.  What should I use in ubuntu to simulate a server on my machine?
[21:34] <erichammond> dj_corncob: Elaborate on "simulate a server"
[21:35] <dj_corncob> yeah sorry i don't have the vocabulary for this sort of thing
[21:35] <guntbert> !crosspost | dj_corncob
[21:36] <FunnyLookinHat> dj_corncob, FWIW - If you want to write really simple stupid client / server "socket" communication, you can use Socket.IO with Node.JS - however, a more thorough understanding of sockets ( or even programming for that matter ) might be a better place to start.
[21:37] <FunnyLookinHat> If you're looking to write true client/server socket communication from the ground up ( more or less ) - check out Boost::ASIO
[21:37] <FunnyLookinHat> But that will require you to have a fairly strong understanding of C++.
[23:43] <subman> I've never setup a raid system before.  Is it possible to set one up on an already running system?  For example, Ubuntu is already installed on sda and I just installed a blank drive in sdb.
[23:44] <Troy^> subman: no it is not.
[23:44] <Troy^> subman: in a raid setup all drives are formatted.
[23:45] <subman> Thanks Troy^
[23:46] <Troy^> subman: i have a small home linux server that i have 2 x 80gb ide drives as raid 1. I didn't do it for the purpose to have Raid 1 but just to expierment really.
[23:46] <erichammond1> Couldn't you do it with LVM by setting up one disk with LVM, copying data there, then converting the other disk to LVM and adding it?
[23:46] <subman> Troy^, that is what I'm doing here.  Experimentation only.  This server has two ide slots and a built in raid but it is not Linux friendly.
[23:47] <Troy^> subman: my raid is mdadm (software raid)
[23:47] <erichammond1> Oh, not real hardware RAID, no.
[23:47] <subman> Yes, that is what I thought I'd try on the two ide slots.
[23:49] <subman> Does the Ubuntu installation do a software raid installation?
[23:49] <Troy^> subman: yes it has the option
[23:50] <Troy^> https://help.ubuntu.com/12.04/serverguide/advanced-installation.html#software-raid
[23:50] <subman> Troy^, I guess that is my only option then, reinstall.  Nothing on this server yet anyways!
[23:51] <Troy^> pretty much yea, just follow the step by step guide in that link.
[23:51] <subman> Excellent, thanks!