[00:40] <tain> I'm interested in installing an IDS on my Hardy box. PHPIDS, Samhain, and OSSEC all look interesting. What works well with ubuntu?
[01:12] <antdedyet> finished up the first ubuntu server conversion last week for a developer client that was persuaded to move from years of RH frustration
[01:14] <antdedyet> he commented on the elegantness of the debian/ubuntu (basically, for FHS conformation, so I take it) file layout
[01:14] <antdedyet> overall, he has been pleased to find much of his devel cruft was already packaged. ;)
[01:41] <saltedlight> hi. what is the proper way to use an external smtp server on a default ubuntu 8.04 server? i have not instaled a mail server... do i have to install one or i can just use an external one?
[02:25] <merritt1> Hi all
[02:26] <merritt1> I have a question if thats ok
[02:27] <DBAmethyst> ask it
[02:27] <merritt1> I have a 6.06 machine , how do I applypatches from the commandline
[02:35] <merritt1>  I have a 6.06 machine , how do I applypatches from the commandline
[03:36] <sommer> merritt1: sudo apt-get update, then sudo apt-get upgrade
[03:56]  * antdedyet sure is glad he didn't say 'patch' :(
[05:27] <Jberg88> hello
[05:27] <Jberg88> I was wondering if anyone can help me get to the error logs on my server
[05:30] <Jberg88> hello?
[05:34] <specialKevin> Jberg88: what error logs are you trying to access
[05:34] <specialKevin> most should be under /var/log
[06:00] <Jberg88> specialKevin: i thought there was no one here... I have this 404 error when i try to get to my main site but if i do 192.168.1.25:8080/phpmyadmin
[06:00] <Jberg88> I can log in but drupal is not showing up and it is there
[06:01] <Jberg88> neither is the test page index.html is showing up
[06:01] <Jberg88> I have been googling all night i don't know what to do
[06:06] <Jberg88> hello
[06:06]  * Jberg88 hears hello echoes around the irc hall
[06:06] <specialKevin> Jberg88: did you look in the apache2 access and error logs
[06:06] <specialKevin> do you see a connection from your ip or any errors
[06:06] <Jberg88> yeah
[06:07] <Jberg88> yeah it says a certain /htdocs doesn't exist
[06:07] <specialKevin> do you have you document root for apache setup correctly
[06:08] <specialKevin> and drupal setup in the correct location
[06:08] <Jberg88> drupal is in the correct location it was working earlier
[06:08] <specialKevin> did you make any changes to apache, php or drupal
[06:08] <Jberg88> everything was fine until i tried to port forward
[06:09] <specialKevin> did you try to port forward via apache
[06:09] <Jberg88> i don't think so
[06:09] <specialKevin> how did you setup port forwarding
[06:09] <Jberg88> using dydnds
[06:09] <Jberg88> hold on let me get the link
[06:12] <Jberg88> i used this: http://mexpolk.wordpress.com/2008/01/29/ubuntu-gutsy-dyndns-client-setup/
[06:12] <specialKevin> are you trying to port forward port 80 to a different machine
[06:13] <Jberg88> well before this yeah
[06:13] <Jberg88> but then i changed it to the setting seen on that blog
[06:13] <Jberg88> i tried to fix the router back but nothing
[06:13] <specialKevin> no is the machine you are port forwarding to have apache running with drupal installed
[06:14] <specialKevin> s/no/now
[06:14] <Jberg88> yeah
[06:15] <specialKevin> now does it work if you try to access the machine locally
[06:15] <Jberg88> from another computer on the network well yes and no
[06:15] <Jberg88> yes because i can go into phpmyadmin
[06:15] <Jberg88> no because i can
[06:16] <specialKevin> I mean does drupal work
[06:16] <Jberg88> i can't access drupal
[06:16] <Jberg88> no
[06:16] <Jberg88> sorry
[06:16] <specialKevin> do you have drupal installed in your webroot
[06:17] <Jberg88> webroot ummm yes
[06:18] <specialKevin> and that is the same webroot as in your apache conf
[06:18] <Jberg88> oh no
[06:18] <Jberg88> a copy
[06:19] <specialKevin> what do you mean a copy
[06:19] <Jberg88> i didn't have manual access to /var/www/ so i copied it to /me/mysite
[06:19] <Jberg88> sudo cp /etc/apache2/sites-available/default /etc/apache2/sites-available/zaphu
[06:19] <Jberg88> like that
[06:20] <Jberg88> sheesh i am making this harder for you
[06:20] <Jberg88> sorry
[06:20] <specialKevin> it sounds like your documentRoot isn't setup correctly in your /etc/apache2/sites-availabe/zaphu
[06:21] <specialKevin> also did you reload apache after you made your changes
[06:21] <Jberg88> always do
[06:21] <specialKevin> just checking
[06:22] <specialKevin> so your documentRoot in /etc/apache2/sites-available/zaphu is set to /me/mysite
[06:22] <Jberg88> it is empty
[06:22] <Jberg88> all it says NameVirtualHosts *:80
[06:22] <Jberg88> and that doesn't have a virtual host when i restart apach2
[06:23] <Jberg88> i get a warning
[06:23] <specialKevin> well if you want it to server up files from /me/mysite you need to have it in the doc root for the virtual host
[06:23] <specialKevin> what is the warning
[06:24] <specialKevin> it sounds like there are errors in your apache conf files
[06:24] <specialKevin> I would recommend reading over this: https://help.ubuntu.com/6.10/ubuntu/serverguide/C/httpd.html
[06:25] <Jberg88> i do i just can't find where that doc root is now
[06:26] <Jberg88> i don't remember at all been looking
[06:26] <specialKevin> the default doc root is /var/www
[06:26] <specialKevin> but if you look at /etc/apache2/sites-available/default it should say
[06:26] <Jberg88> oh ok
[06:27] <specialKevin> also did you create a symlink of site-availalbe/zaphu to sites-enabled/zaphu
[06:27] <Jberg88> oh no
[06:27] <Jberg88> is that sudo ls -s?
[06:29] <Jberg88> thank you so much
[06:29] <Jberg88> I am going to bed and do this in the morning it is extremely hot here and I am tired
[06:30] <Jberg88> good day/night thanks again
[06:43] <cristian> giorno...
[06:44] <twb> Regarding clamav and friends, is there an Ubuntu equivalent of debian volatile?
[07:46] <cristian> z.z.z.z.z
[08:48] <kraut> moin
[10:05] <aMoRPHeouS> Hi, I'm running OpenVPN on Ubuntu Server 8.04 as a guest machine on VMWare ESX 3i. It runs fine for a while and then randomly all CPU usage on the machine goes through the roof and the machine can't be accessed. There's no logs at all from what I can see that causes this behaviour. Anyone have ideas on what could be causing it?
[10:27] <incorrect> i've setup ldap auth and getent passwd etc works fine, however i thought i had give the current authed user access to change the passwd attribute
[10:28] <incorrect> are there any known bugs with ldap at the moment with this?
[12:00] <saltedlight> hi. i'm trying to send mails using ssmtp but does not seems to work. do i have to install some other pachages?
[12:03] <Kamping_Kaiser> "doesnt work" doesnt help
[12:14] <RainCT> Hi
[12:14] <RainCT> just a little question.. why does "/etc/init.d/apache2 restart" suck? :P
[12:15] <RainCT> (as in, "sudo /etc/init.d/apache2 stop; sudo /etc/init.d/apache2 start" is much faster)
[12:15] <RainCT> (and restart sometimes doesn't work properly)
[12:19] <foolano> RainCT: the script has a sleep 10
[12:21] <foolano> the way apache is restarted sucks. It basically gives apache some time to stop (sleep 10) cuz some children might haven't exited
[12:23] <Kamping_Kaiser> *giggle* think of the children
[12:23] <foolano> :)
[12:25] <foolano> RainCT: and sometimes it fails cuz the a child process which hasn't stopped still has an open socket
[12:26] <RainCT> -.-
[12:28] <RainCT> and.. is there any reason why this hasn't been improved beside "nobody did it"? :P
[12:29] <hads> You haven't fixed it yet :)
[12:31] <RainCT> uhm.. what is that htcacheclean stuff?
[12:38] <RainCT> nice, fixed it on my comp :)  (I don't think that my solution is good enough to get into the package, though :P)
[12:40] <foolano> RainCT: there's been some discussion in debian to fix it, but i think they didnt reach any conclusion
[12:52] <RainCT> yeh.. a "proper" solution seems complicated
[12:52] <RainCT> well, thanks
[12:55] <foolano> RainCT: what i did was checking if the port is available during a loop, sleeping 1 sec every iteration, and 10 iterations at most
[12:56] <foolano> RainCT: I think a proper solution should come from upstream
[12:56] <RainCT> how have you done this port thing?
[12:58] <foolano> actually, i did that for eBox. we use apache and sometimes we have to restart  apache and we were experiencing this issue
[13:23] <elliotjhug> hi all, I've setup a virtual machine on my server that hosts Zimbra, I want to use a subdomain to access this externally, DNS is all setup on the host, how do I go about forwarding the subdomain to the virtual machine?
[13:25] <Deeps> create an A record for the subdomain with the IP of the vm
[13:27] <elliotjhug> Deeps: But I can't use the local (internal) ip address can I? and I only have the one static external IP
[13:31] <Deeps> you can if you want, it's against the RFC to do that though, and it'lly work for you when you're on your lan
[13:31] <Deeps> if you want to use private addresses in your dns, the correct approach is to not publish the zone to the whole interweb, instead using (in BIND, at least) 'views', to provide different zone replies based on where the query's coming from
[13:32] <elliotjhug> but that's still internal only isn't it?
[13:32] <Deeps> if you want it visible to the whole world, you'll need to use port forwarding, either through whatever virtualisation suite you're using, or iptables postrouting
[13:32] <Deeps> urr, prerouting
[13:33] <elliotjhug> thanks a lot - I'll look into it
[13:42] <elliotjhug> are there any good tutorials on how to do iptables?
[13:50] <Deeps> google / ubuntu.com / wiki.ubuntu.com / ubuntuforums.com
[13:51] <Deeps> urr, .org on that last one
[13:51] <elliotjhug> thanks
[14:17] <Kapli> Is there any security issue or anything that can happen if i logon to my server via putty and winscp as root?
[14:18] <lukehasnoname> The usual risks of running as root
[14:18] <lukehasnoname> you might accidentally delete a system file or run a harmful command
[14:18] <lukehasnoname> if you're careful about what you do, and only run commands you know how to work, it's not a huge deal
[14:19] <Kapli> so its better to login as a normal user and use sudo thing for each command
[14:21] <Deeps> yes
[14:21] <lukehasnoname> Soren
[14:22] <Kapli> i have a problem running a php script which is supposed to access a program and use it to get info, it worked on my windows server but i cant get it to work now, in the instructions for the error i get it says its caused by path to file, permission, or safe mode, safe mode is off, ive given www-data permission to the program and the program is in same directory as script so i just put the...
[14:22] <Kapli> ...program name as path, also tried with full path but sitll not working
[14:23] <Kapli> any ideas? i tried to run the program as www-data also so it cant be about permission, safe mode is off also so the only thing it can be is path or something else i dont know about
[14:24] <Kamping_Kaiser> allowing root logins to a box automatically reduces its security
[14:24] <Kapli> also tried putting the file in /bin/ and tried with and without full path still not working
[14:25] <Kapli> i can disable root logins through putty and winscp or other programs?
[14:26] <Kamping_Kaiser> you disable it in sshd on the server
[14:28] <elliotjhug> I'm trying to use this command "iptables -t nat -I PREROUTING -d subdomain.domain.co.uk -j DNAT --to 192.168.0.3" to setup prerouting on my server - it isn't working. Can you show me where I am going wrong?
[14:28] <Kapli> shouldnt root login be disabled by deufalt?
[14:30] <Kamping_Kaiser> yes ti should. and iirc it is
[14:31] <Kapli> i installed hardy heron and didnt do anything to enable it, yet i could login via putty and winscp
[14:31] <Kamping_Kaiser> as root?
[14:31] <Kapli> yes
[14:31] <Kapli> oh wait, i think it asked me to set a password for root or something after installation, so since i did that it got enabled i guess
[14:33] <Kapli> well i ran sudo passwd -l root so it should be disabled now right?
[14:34] <Kamping_Kaiser> root account should be locked yes
[14:35] <Kamping_Kaiser> the password has is probably still in the password file, but you cant log in as root
[14:35] <Kamping_Kaiser> directly at least
[14:36] <Kapli> so i have to use sudo to run stuff now, it will ask me the root password and the root password is same as before right?
[14:37] <Kamping_Kaiser> sudo should ask for your user password
[14:37] <Kamping_Kaiser> unless ubuntu has completely changed the way it does servers
[14:37] <Kapli> ah ok
[14:40] <lukehasnoname> SOREN
[14:41] <zul> if you are looking for soren he aint here :)
[14:50] <_ruben> grmbl .. cant figure out how to properly install ubuntu-server from usb stick .. all docs i find on internet are for ubuntu (desktop)
[14:51] <_ruben> i can boot into the installer, but it bails out on "cant find cdrom" .. which i dont understand either since the box does have a cdrom drive (i can even boot an ubuntu-server cdrom, but the install still cant find it) .. its a dell PE2950
[14:52] <Kapli> how can i use winscp to edit files and such when ive disabled root
[14:55] <_ruben> Kapli: you cant edit files you dont have permissions for that way
[14:55] <Kapli> well all files are owned by root so disabling root has made winscp useless then..
[14:56] <_ruben> the files in your home dir arent
[14:56]  * _ruben never even bothered to edit files with winscp
[14:58] <Kapli> well my website files are in /var/www and owned by root so i cant edit my webpages now, cant i use sudo or something in winscp so i can edit htem?
[15:00] <Deeps> you can change their own
[15:00] <Deeps> owner*
[15:01] <Deeps> sudo chown -R <your username> /var/www will make all files (and directories) in /var/www  owned by <your username>
[15:02] <Kapli> well i suspect changing owner of all files on server will cause problems so how can i enable root again it was easier
[15:03] <Deeps> how did you disable root? o_O
[15:03] <Kapli> sudo passwd -l root
[15:03] <Deeps> sudo passwd root
[15:05] <Kapli> well i set a new unix password with that
[15:05] <Kapli> but if i try to logiin as root via putty it closes the connection when i login
[15:06] <jber1> hello I am having a problem with apache2 which seems to not have a virtual host so i get a 404 when i go into my website
[15:06] <jber1> I read that it has something to do with my document root but i can't seem to find it
[15:06] <Deeps> Kapli: wierd, look at stuff /var/log/(messages|syslog|auth.log)
[15:07] <Deeps> jber1: default docroot on apache in ubuntu is /var/www
[15:07] <Kapli> in putty it closes connection, in winscp it says account expired
[15:09] <Kapli> Deeps: what am i supposed to look for in those files?
[15:09] <jber1> Deeps: there is nothing in there it just has the apache test page
[15:10] <Kapli> pam_unix(cron:account): account root has expired (account expired)
[15:14] <Kapli> i ran sudo passwd -u root and i can login as root again :)
[15:23] <Kapli> i have a problem running a php script which is supposed to access a program and use it to get info, it worked on my windows server but i cant get it to work now, in the instructions for the error i get it says its caused by path to file, permission, or safe mode, safe mode is off, ive given www-data permission to the program and the program is in same directory as script so i just put the...
[15:23] <Kapli> ...program name as path, also tried with full path but sitll not working<Kapli>any ideas? i tried to run the program as www-data also so it cant be about permission, safe mode is off also so the only thing it can be is path or something else i dont know about. Also tried putting the file in /bin/ and tried with and without full path still not working
[15:26] <faulkes-> php.ini has a specific include path, you should try putting whatever you are doing (although includes tend to be different) in there
[15:26] <faulkes-> it also depends on how you are calling the program (and what that program was written in)
[15:30] <Kapli> its a ventrilo status script and i really dont know what its written in, i can run it in command line and use it to get info from my ventrilo server, can also run it as www-data so its not permission, i think the php script uses exec() but im not sure how it all works
[15:33] <_ruben> hmm .. iscsitarget-source fails to build with module-assistant
[16:04] <mathiaz> jdstrand: irssi notifications ? - what did you implement exactcly ?
[16:05] <jdstrand> mathiaz: oh, cjwatson's excellent script using libnotify so I get a little popup (like just a second ago when you asked the question)
[16:06]  * jdstrand goes to get the url
[16:06] <Kapli> anyway, i uploaded a fresh copy of the script and the program and it worked, no idea why :p
[16:06] <jdstrand> mathiaz: http://www.chiark.greenend.org.uk/~cjwatson/code/notifications/
[16:06] <mathiaz> jdstrand: awesome - that was on my TODO list since the begining of the times
[16:07] <jdstrand> mathiaz: one teeny thing-- I found that I needed to have 'fnotify' named 'fnotify.pl'
[16:07] <jdstrand> (for autorun to work)
[16:07] <jdstrand> *shrug*
[16:08] <mathiaz> jdstrand: great - thanks for the link :)
[16:08] <jdstrand> np :)
[16:10] <ScottK> danshearer: I would be interested in your thoughts on https://wiki.ubuntu.com/ServerFlavorSpec
[16:10] <ScottK> Anyone else too.
[16:23] <lukehasnoname> Looks interesting
[16:24] <lukehasnoname> I'm not clear on how someone would specify their scenario to the system. They can't "sudo u-s-scenario -s "I\ need\ a\ mail\ gateway" ""
[16:25] <lukehasnoname> heh
[16:25] <lukehasnoname> I guess a sysadmin would specify what services will need to interact and integrate?
[16:26] <Kapli> I have a dynamic ip, and im using a free dns service and it gives me a url i have to go to to update the ip, i have put wget and the url at the bottom of ip-up in /etc/ppp will it run every time the server gets a new ip ?
[16:28] <ScottK> lukehasnoname: The idea is to create a scenario editor that allows admins to provide needed specifics for a particular flavor.  To define a flavor is, at least in the near term, going to be a signficant effort requiring understanding of FAI.
[16:28] <Kapli> i also have a database backup sh script which ive put into cron.weekly, will it run every week?
[16:29] <ScottK> lukehasnoname: The idea would be either to boot a standard ISO and have it pull the output from the scenario editor from an external source or to spin a custom ISO will all the needed information in it already.  The idea would be to boot the CD in the new server and then walk away.
[16:31] <lukehasnoname> So we're really talking about a server-oriented custom ISO on one end, combined with FAI
[16:32] <danshearer> ScottK: triple-double thumbs-up. I've only had time to edit the Summary so far, there's one conceptual thing I
[16:32] <danshearer> wanted to add (this is about where knowledge is stored and applied, ie what point in the workflow) and a technical
[16:33] <danshearer> point that the scenario editor should have an option to upload any custom scenario created because chances are that will
[16:33] <danshearer> tell us what we should be shipping (since presumably it will be mostly experienced people who create these things, after having found
[16:34] <danshearer> the standard one isn't good enough.)
[16:34] <danshearer> ScottK: Does that help?
[16:34] <ScottK> Yes.
[16:34] <danshearer> Ummm... is this the ettiquette? I mean, jumping in and editing? Forgot to ask.
[16:35] <ScottK> danshearer: Particularly since I asked you for comment, yes.
[16:35] <ScottK> Since the spec is still draft you are welcome to hack on it.
[16:37] <ScottK> From a technical perspective, I'm not sure if it's better to take the output of the editor and spin a custom ISO (either for CD or USB stick and maybe PXE boot someday) or have the 'flavor' CD look somewhere for the per install infromation and use a common ISO all the time.
[16:38] <danshearer> ScottK: The scenario editor (not 100% keen on the name, because we're creating something concrete not abstract, minor point)
[16:38] <danshearer> lends itself to a web interface as well
[16:38] <ScottK> The latter is in many ways easier, but adds significant infrastructure complexity in that the ISO has to be programmed to look somewhere
[16:38] <danshearer> Web interface fits with spinning a custom ISO
[16:38] <ScottK> danshearer: Yes.  Some javascript thing is what I'd planned on starting with.
[16:39] <danshearer> This was the basis of several business models based around OSS back in 1999 :-)
[16:39] <ScottK> I was planning on ripping off kirkland's virt specifier things.
[16:39] <danshearer> And rpath these days too of course.
[16:40] <danshearer> Well it would be very good if a VM was considered to be exactly the same as a real install, whatever that means.
[16:40] <danshearer> ScottK: where is the 'virt specifier' ??
[16:40]  * ScottK looks
[16:41] <danshearer> Got to go for now I'm afraid, I'll look forward to seeing where this has got a bit later on.
[16:41] <ScottK> danshearer: http://people.ubuntu.com/~kirkland/ubuntu-vm-builder.html
[16:42]  * ScottK remembered the name wrong
[16:42] <kirkland> ScottK: hey, fwiw, i did add the code to a branch of the ubuntu-jeos project in Launchpad
[16:42] <kirkland> ScottK: same code you see in that url, at the moment
[16:43] <ScottK> kirkland: Right-click and save works a lot better for me than having to think about bzr.
[16:43] <kirkland> ScottK: yup
[16:45] <kirkland> ScottK: i'm going to check it out and symlink it into that my public_html dir, to keep in sync with what's in the repository
[16:51] <tyn0r> hi ! I'm looking for any news about ubuntuhomeserver !? this project is abandonned ?
[16:52] <lukehasnoname> to my knowledge, the project is in its beginnings, and is only actively worked on by a few people at the moment. There is no "home server" release of Ubuntu at present.
[16:56] <Jberg88> hi
[16:57] <Jberg88> i am having a problem with drupal on my server the homepage shows up but anything else gets a 404 not found error
[16:58] <antdedyet> greetings.
[17:01] <Jberg88> hello
[17:01] <InsomniaCity> Jberg88: have you asked #drupal?
[17:01] <Jberg88> thanks
[17:02] <Jberg88> no i didn
[17:02] <Jberg88> 'y
[17:02] <Jberg88> ok can't type
[17:23] <ergyJB> andb_: sorry lost connection
[17:24] <ergyJB> i did the command
[17:24] <ergyJB> someone got my username I am Jberg88
[17:25] <ergyJB> hello
[17:25] <InsomniaCity> who are you talking to?
[17:25] <ergyJB> shooot
[17:25] <ergyJB> sorry  wrong irc channel
[17:28] <kees> re 222830> since 3.0pl1-104 is in unstable, I think what should happen is a merge should be done, in which the debdiff for 222830 is added.
[17:28] <kees> kirkland: ^^
[17:29] <kirkland> kees: sounds good
[17:29] <kirkland> kees: i'll merge
[17:29] <kees> what's odd is I don't see it listed in MoM
[17:29] <kees> oh, martin did a fake-sync
[17:30] <kees> erg.
[17:33] <kees> kirkland: uhm, so, this is a rather odd versioning situation for cron.
[17:33] <kees> kirkland: it has been merged and then fake-sync'd.
[17:34] <kees> kirkland: I'm going to guess the right version to use is 3.0pl1-104+ubuntu1  (note the uncommon use of "+" there)
[17:34] <kees> if you can rebase your debdiff in 222830 against that version of cron, I can upload it.
[17:34] <kirkland> kees: okay, let me pull that
[17:36] <kirkland> kees: hmm, so i pull cron's source on an intrepid box and it grabs the +build1 source
[17:37] <kirkland> kees: where can I find this +ubuntu1 source?
[17:37] <kees> kirkland: you need to pull +build1 -- your new debdiff will be version +ubuntu1
[17:38] <kirkland> kees: gotcha, and I should manually mangle the versioning in the changelog entry?
[17:38] <kirkland> kees: for my addition?
[17:40] <kees> re 234668> stuff to fix up: lose the .orig file that snuck in, leave the .gitignore that got removed, and adjust the "Maintainer" field in the control file.
[17:40] <kees> see "update-maintainer" from ubuntu-dev-tools for automated control file love
[17:40] <kees> oops, I'm >62 seconds lagged
[17:47] <ergyJB> hello how do i get my 000-default file back?
[17:48] <ergyJB> ...?
[17:48] <ergyJB> hello
[17:53] <ergyJB> anyone
[17:54] <tain> hmm
[17:55] <tain> mine is symlinked to /etc/apache2/sites-available/default
[17:56] <Deeps> apt-get source apache2 and pull it out from there?
[19:22] <kees> kirkland: okay, sorry, I got off on a giant merging/syncing tanget.  where were we?  I saw you updated cron's patch (i'm building that now and will upload shortly).  where does debian-utils stand?
[19:22] <kirkland> kees: um, was I supposed to merge that one too?
[19:23] <kees> nope, I had suggested cleanups to the debdiff.
[19:23] <lukehasnoname> do you guys have jobs?
[19:23] <lukehasnoname> just a yes or no will suffice
[19:24] <kirkland> kees: oh, sorry, i missed those cleanup suggestions...  i'll check my logs.  were these in irc, or mail, or the bug?
[19:24] <kirkland> lukehasnoname: yeah, i've got about 2 dozen cronjobs
[19:24] <kees> irc, but I was really lagged, maybe irssi and/or the server ate it:
[19:24] <kees> 16:39 < kees> re 234668> stuff to fix up: lose the .orig file that snuck in, leave the .gitignore that got removed, and adjust the "Maintainer" field
[19:24] <kees>               in the control file.
[19:24] <kees> lukehasnoname: context was "cron" or "income"?
[19:25] <lukehasnoname> money, income, work
[19:25] <kirkland> kees: yep, it's in my log, but wasn't addressed to "kirkland", so it slipped by me, sorry
[19:25] <lukehasnoname> stuff besides Ubuntu
[19:25] <kirkland> kees: I'll go fix that up
[19:26] <kees> lukehasnoname: I cheat -- I have a job with Canonical.  :P
[19:26] <zul> kees: big cheater :P
[19:27] <lukehasnoname> Well that would do it. I figured one of you did. Anyway, ya, I wouldn't more than two hours a day to give to Ubuntu even if I had internet at home
[19:27] <kirkland> lukehasnoname: i'm in the same boat as kees, employed by Canonical
[19:27] <zul> kirkland: cheat!
[19:28] <kirkland> lukehasnoname: prior to that, I worked for IBM, though I spent some of my spare time on Ubuntu
[19:28]  * kirkland smacks zul@canonical.com
[19:28] <zul> kirkland: hah thats not even my email address
[19:28] <kirkland> zul: agreed, i was saving you from the spam prowlers, but I don't have to........
[19:28] <zul> but the arguement behind is correct
[19:29]  * zul kicks launchpad
[19:29] <kirkland> lukehasnoname: of the 98 users in the channel, maybe a dozen or so are employed by Canonical (from a rough glance)
[19:30] <lukehasnoname> not bad
[19:55] <kirkland> kees: updated patch attached to https://bugs.edge.launchpad.net/ubuntu/+source/debianutils/+bug/234668
[19:55] <vikram> hah a quieter ubuntu channel
[19:55] <vikram> hopefully with less n00b00n2s
[19:55] <vikram> new ubuntu user here, well new to .deb basically and apt-get
[19:56] <vikram> yum groupinstall "Development Tools" <--  whats that on ubuntu?
[19:56] <lukehasnoname> NOP DEE DOP
[19:56]  * lukehasnoname laughs. Dev tools, I assume that's a meta pack for different programs on Fedora?
[19:56] <vikram> yes its just an assortment of stuff
[19:57] <vikram> autoconf to valgrind and everything in between
[19:58] <vikram> Fedora is such a fat *** ***** these days, i need something a little learner, so i'm trying out Ubuntu Server 8
[19:58] <kirkland> vikram: apt-get install build-essential will get you some stuff
[19:58] <kirkland> vikram: do you know what you need to compile?
[19:59] <kirkland> vikram: apt-get install devscripts has some other interesting things
[19:59] <vikram> oh i just need the basics, yacc,lex,byson,gcc, m4
[19:59] <zul> mathiaz: mind if I take sysklogd off your hands (mreges)
[19:59] <kirkland> vikram: apt-get install ubuntu-dev-tools is also good
[19:59] <vikram> says "Couldnt find package"
[19:59] <kirkland> vikram: to which one?
[20:00] <vikram> for build-essentials
[20:00] <ScottK> It's build-essential (no s)
[20:00] <vikram> woops, no "s"
[20:00] <vikram> this apt-get thing is really formatted poorly,
[20:01] <vikram> without proper indentation its hard to follow what it's doing
[20:01] <lukehasnoname> I'm trying to find a console command that would search package descriptions for a certain word or package
[20:01] <kirkland> apt-cache search "foo"
[20:02] <lukehasnoname> I'm not looking for foo though, what would it be if I were looking for valgrind?
[20:02] <lukehasnoname> heh
[20:03] <vikram> yum list, provides a list of every package available to yum, i pipe it to a file and use it to grep for stuff i'm looking for, is there something like that for apt-get?
[20:03] <zul> apt-cache
[20:03] <mathiaz> vikram: apt-cache search 'stuff you're looking for'
[20:04] <mathiaz> zul: sure - I've already merge sysklogd once this cycle
[20:04] <zul> mathiaz: newer version
[20:04] <mathiaz> zul: so you may wanna try to merge another package that hasn't been merged yet
[20:04] <zul> mathiaz: yeah
[20:04] <mathiaz> zul: right - but we try to merge every package at least once per cycle
[20:04] <vikram> I really need a cheat sheet for using apt-get
[20:05] <vikram> with corresponding commands side by side to yum
[20:05] <zul> mathiaz: ill take ipsec-tools off your hands then
[20:05] <lukehasnoname> die,net
[20:05] <lukehasnoname> er, http://linux.die.net/man/
[20:06] <vikram> something weird i noticed, if you type a wrong command in ubuntu it take a few moments to realise it and tell you, while on fedora its instant
[20:06] <vikram> whys that?
[20:06] <mathiaz> zul: good luck - kees security stuff breaks the build
[20:06] <zul> keeeessss!!!
[20:06] <ScottK> Because of a package called command-not-found where it looks up common mistakes to see if it can point you in the right direction.
[20:06] <ScottK> vikram: ^^^
[20:07] <vikram> ah make sense, it takes about 1.5s for a lookup though......
[20:08] <mathiaz> zul: https://wiki.ubuntu.com/CompilerFlags - the first example in -D_FORTIFY_SOURCE=2 section
[20:09] <vikram> ScottK, bash is build against that? how does it work?
[20:09] <vikram> s/build/built
[20:10] <ScottK> vikram: apt-get source command-not-found and have a look for yourself.
[20:15] <vikram> why isnt there syntax highlighting in vim on ubuntu?
[20:16] <vikram> says "E319: Sorry, the command is not available in this version"
[20:16] <kirkland> vikram: apt-get install vim
[20:16] <ScottK> vikram: By default vim-tiny is installed.  Install the full vim as kirkland suggests
[20:17] <vikram> interesting
[20:18] <ScottK> It was done to save space on the CD (full install on a single CD is somewhat contraining).
[20:19] <vikram> now it give me some msg about buffers
[20:19] <vikram> how do you turn syntax highlighting on after installing vim ?
[20:19] <kirkland> ScottK: as discussed at UDS, though, I think we're looking to install a full vim on the server cd's
[20:19] <ScottK> kirkland: Yes.  Please.
[20:19] <kirkland> vikram: :syntax on
[20:19] <kirkland> vikram: add that to your ~/.vimrc
[20:19] <kirkland> (without the colon, of course)
[20:20] <vikram> the colon is fine
[20:20] <vikram> this is pretty anal.....
[20:22] <psufan> where the hell is the stock sources.list on the ubuntu server cd
[20:22]  * psufan bangs his head into the wall
[20:23] <ScottK> psufan: You mean /etc/apt/sources.list ?
[20:23] <psufan> yes
[20:23] <psufan> thx to the retarded way kickstart works it breaks the installed system
[20:24] <psufan> nm I think I found my notes
[20:26] <psufan> mabye not
[20:27] <psufan> is there a stock file on the cd
[20:32] <Jberg88> hi I seem to have lost my 000-default file
[20:33] <Jberg88> earlier someone told me to do apt-get source apache2 and get it there but i don't know how
[20:34] <lukehasnoname> psufan: I think this is what you want. Maybe? http://mibbit.com/pb/JG5tuO
[20:35] <psufan> no I have dapper and I need to use the one that is on the cd somewhere
[20:35] <psufan> so that when this person does the pxe install method they don't end up with a half assed install
[20:35] <Jberg88> help me please!
[20:37] <psufan> Jberg88 you might want to try #ubuntu also this channel is kinda dead a lot
[20:37] <Jberg88> yeah I know
[20:38] <psufan> good luck :)
[20:39] <ScottK> Jberg88: You need a sources.list for Dapper?
[20:39] <Jberg88> I have 7.10
[20:40] <Jberg88> gutsy
[20:40] <psufan> no I need it :P
[20:40] <Jberg88> oh lol
[20:40] <psufan> ScottK I want the one that is on the cd though
[20:40] <psufan> because the pxe boot initially won't have network access
[20:41] <ScottK> Mine still has the CD settings on it, you can just uncomment them.
[20:41] <Jberg88> is there anywhere else i can get help
[20:41] <psufan> ScottK no I want the normal urls in it :P
[20:41] <psufan> the machines don't have cdroms only the installer pxe server does
[20:42] <ScottK> psufan: If you want a Dapper sources.list, I can pastebin you mine and you can adjust it as you need.
[20:43] <psufan> the point was to make this a simple as possible and fix the installer so it doesn't replace all the urls with the local pxe server when it;'s finished
[20:43] <psufan> sorry if I didn't make that clear
[20:44] <psufan> I can get a working sources myself that's not the point
[20:44] <ScottK> OK.
[20:44] <psufan> appears there's a "last minute" command in kickstart that will let you do things like fix files :P
[20:45] <psufan> I just need to find the origional sources.list or how it's normally created
[20:47] <vikram> "ustr" is that in apt?
[20:47] <vikram> i didnt see it in apt-cache search
[20:47] <vikram> its a dep for libsemanage (for SELinux)
[20:48] <psufan> doesn't appear to be if you are talking to me
[20:48] <ScottK> If you apt-get install $PACKAGENAME the dependencies will get pulled in automatically.
[20:49] <vikram> heh, libsemanage isnt there either
[20:49] <vikram> so no SELinux on Ubuntu Server?
[20:49] <vikram> so i guess i need to build ustr myself and ....yeah
[20:49] <ScottK> vikram: Ubuntu Server uses apparmor by default.  You can install SE Linux if you want it.
[20:49] <ScottK> vikram: There are packages.
[20:50] <vikram> heh, its libsemanage1 and not libsemanage
[20:51] <vikram> fuk! i keep typing, apt-get blah
[20:51] <vikram> without the "install"
[20:52] <vikram> the "-get" part is misleading
[20:54] <ScottK> You can also apg-get source, so the there is a meaningful distinction.
[20:54] <ScottK> apg/apt
[20:56]  * lukehasnoname must google "aptitude vs. apt-get
[20:56] <lukehasnoname> "
[20:56] <Jberg88> hello!?
[20:56] <Jberg88> help
[20:57] <Jberg88> hi I seem to have lost my 000-default file  earlier someone told me to do apt-get source apache2 and get it there but i don't know how
[21:05] <psufan> Jberg88 http://ubuntuforums.org/showthread.php?t=662889
[21:08] <FroMaster> Recomendation Question: I'm new to the Ubuntu family but not new to Linux and would like to build a Virtual Machine for VMware ESX to run LAMP. Should I run Ubuntu Server or Ubuntu JeOS?
[21:09] <emgent> heya
[21:25] <mathiaz> coffeedude: hi - what's the purpose of /var/lib/likewise-open/lwidentity_privileged/pipe ? (looking at bug 235646)
[21:27] <porbas> !help
[21:28] <porbas> ﻿/msg ubottu Bot
[21:45] <coffeedude> mathiaz: same purpose as winbindd.  There are two types of Winbind API calls.  Some require root access and some do not.  The perms on the parent directory containing the pipe control access to calls.  You could use the kernel to get the uid of the caller but this is not portable.
[21:46]  * coffeedude heads for another coffee.
[21:47] <mathiaz> coffeedude: thanks - and what /tmp/.lwidentity/pipe is used for then ? for the unprivileged calls ?
[21:55] <coffeedude> mathiaz: yup.
[21:56] <mathiaz> coffeedude: great - thanks (and enjoy your coffee :) )
[22:17] <vikram> this apt-cache search thing isnt as nice as yum list
[22:17] <vikram> it prints out waaaaaaaaaay more than i need
[22:17] <vikram> eg, and i need to install some lex'er, so in fedora i'd yum list > yum.list, grep -i lex yum.list
[22:18] <vikram> then yum install something that looks interesting
[22:18] <vikram> if i do apt-cache search lex
[22:18] <vikram> i get a lot of output, and a lot of it is unrelated
[22:20] <vikram> heh, just typing the command in the console is more useful than apt-get
[22:26] <lukehasnoname> vikram: There is a switch to make it less verbose
[22:27] <lukehasnoname> -n Only search on the package names, not the long descriptions.
[22:28] <lukehasnoname> -q Quiet; produces output suitable for logging, omitting progress indicators. More q's will produce more quietness up to a maximum of 2. You can also use -q=# to set the quietness level, overriding the configuration file. Configuration Item: quiet.
[22:28] <lukehasnoname> read the apt-cache man page for more info, but you should find what you're looking for.
[22:32] <kees> zul, mathiaz: let me know if I can help at all.
[22:33] <kees> kirkland: okay, cron uploaded, building debianutils now
[22:34] <mathiaz> kees: http://irclogs.ubuntu.com/2008/05/09/%23ubuntu-server.txt - search for ipsec-tools
[22:35] <mathiaz> kees: that was my last attempt to merge ipsec-tools
[22:36] <kees> mathiaz: odd, with the (void) cast I'd expect no problem.
[22:37] <mathiaz> kees: exactly ;)
[22:38] <mathiaz> kees: from there on I'm stuck
[22:38] <kees> errrg yytext, yyleng... is that .c file lex-generated?
[22:39] <mathiaz> kees: I don't know
[22:39] <kees> mathiaz: if/when people get stuck, it's fine to set a -U_FORTIFY_SOURCE into the build and note it (with some details) at the bottom of that page.
[22:39] <mathiaz> kees: right - that's what I was thinking to do
[22:39] <mathiaz> kees: but wanted to have your input on this first
[22:40] <mathiaz> kees: as noted in the wiki page
[22:40] <lukehasnoname> My boss' bag got stolen off his desk
[22:40] <lukehasnoname> <_<
[22:40] <kees> the "exceptions" list can be used for people wanting to do security team work (I'll add it to our roadmap)
[22:40] <mathiaz> kees: there may be a simple solution that I don't know of to make it compile.
[22:40] <kees> mathiaz: cool, thanks.  I'm really not sure about that error -- though there have been other "bugs" with fortify.  I'll try to reproduce a simple test-case
[22:44] <kees> mathiaz: oh... crap.  (void) actually doesn't work even outside of a macro.
[22:44] <kees> it really wants an assignment.  bleh.
[22:46] <kees> mathiaz: if you really want to ignore it:  if (fwrite(...)) {}
[22:51] <kees> kirkland: debianutils uploaded
[22:51] <mathiaz> kees: about bug https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/135226 - WDYT about removing the gaim profile completly ?
[22:51] <kees> mathiaz: does it do harm leaving it?
[22:52] <mathiaz> kees: well - it needs to be updated
[22:52] <mathiaz> kees: gaim doesn't exist anymore.
[22:52] <mathiaz> kees: it's a profile in extra/.
[22:52] <kees> mathiaz: yeah, I figure while doing the apparmor bump we can go through and drop stuff
[22:53] <mathiaz> kees: I'm doing some updates now - but no apparmor bump yet.
[22:53] <mathiaz> kees: just going through the bugs and get the low hanging fruits.
[22:53] <kees> okay, sounds good.
[23:48] <kirkland> kees: awesome, you da man