/srv/irclogs.ubuntu.com/2008/06/09/#ubuntu-server.txt

tainI'm interested in installing an IDS on my Hardy box. PHPIDS, Samhain, and OSSEC all look interesting. What works well with ubuntu?00:40
uvirtbotNew bug: #237739 in samba (main) "samba shared fat 32 drive is now read only and permissions will not change after updating" [Undecided,New] https://launchpad.net/bugs/23773900:53
antdedyetfinished up the first ubuntu server conversion last week for a developer client that was persuaded to move from years of RH frustration01:12
antdedyethe commented on the elegantness of the debian/ubuntu (basically, for FHS conformation, so I take it) file layout01:14
antdedyetoverall, he has been pleased to find much of his devel cruft was already packaged. ;)01:14
saltedlighthi. 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?01:41
=== yell0w_ is now known as yell0w
merritt1Hi all02:25
merritt1I have a question if thats ok02:26
DBAmethystask it02:27
merritt1I have a 6.06 machine , how do I applypatches from the commandline02:27
=== jjesse_ is now known as jjesse
merritt1 I have a 6.06 machine , how do I applypatches from the commandline02:35
sommermerritt1: sudo apt-get update, then sudo apt-get upgrade03:36
* antdedyet sure is glad he didn't say 'patch' :(03:56
Jberg88hello05:27
Jberg88I was wondering if anyone can help me get to the error logs on my server05:27
Jberg88hello?05:30
specialKevinJberg88: what error logs are you trying to access05:34
specialKevinmost should be under /var/log05:34
Jberg88specialKevin: 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/phpmyadmin06:00
Jberg88I can log in but drupal is not showing up and it is there06:00
Jberg88neither is the test page index.html is showing up06:01
Jberg88I have been googling all night i don't know what to do06:01
Jberg88hello06:06
* Jberg88 hears hello echoes around the irc hall06:06
specialKevinJberg88: did you look in the apache2 access and error logs06:06
specialKevindo you see a connection from your ip or any errors06:06
Jberg88yeah06:06
Jberg88yeah it says a certain /htdocs doesn't exist06:07
specialKevindo you have you document root for apache setup correctly06:07
specialKevinand drupal setup in the correct location06:08
Jberg88drupal is in the correct location it was working earlier06:08
specialKevindid you make any changes to apache, php or drupal06:08
Jberg88everything was fine until i tried to port forward06:08
specialKevindid you try to port forward via apache06:09
Jberg88i don't think so06:09
specialKevinhow did you setup port forwarding06:09
Jberg88using dydnds06:09
Jberg88hold on let me get the link06:09
Jberg88i used this: http://mexpolk.wordpress.com/2008/01/29/ubuntu-gutsy-dyndns-client-setup/06:12
specialKevinare you trying to port forward port 80 to a different machine06:12
Jberg88well before this yeah06:13
Jberg88but then i changed it to the setting seen on that blog06:13
Jberg88i tried to fix the router back but nothing06:13
specialKevinno is the machine you are port forwarding to have apache running with drupal installed06:13
specialKevins/no/now06:14
Jberg88yeah06:14
specialKevinnow does it work if you try to access the machine locally06:15
Jberg88from another computer on the network well yes and no06:15
Jberg88yes because i can go into phpmyadmin06:15
Jberg88no because i can06:15
specialKevinI mean does drupal work06:16
Jberg88i can't access drupal06:16
Jberg88no06:16
Jberg88sorry06:16
specialKevindo you have drupal installed in your webroot06:16
Jberg88webroot ummm yes06:17
specialKevinand that is the same webroot as in your apache conf06:18
Jberg88oh no06:18
Jberg88a copy06:18
specialKevinwhat do you mean a copy06:19
Jberg88i didn't have manual access to /var/www/ so i copied it to /me/mysite06:19
Jberg88sudo cp /etc/apache2/sites-available/default /etc/apache2/sites-available/zaphu06:19
Jberg88like that06:19
Jberg88sheesh i am making this harder for you06:20
Jberg88sorry06:20
specialKevinit sounds like your documentRoot isn't setup correctly in your /etc/apache2/sites-availabe/zaphu06:20
specialKevinalso did you reload apache after you made your changes06:21
Jberg88always do06:21
specialKevinjust checking06:21
specialKevinso your documentRoot in /etc/apache2/sites-available/zaphu is set to /me/mysite06:22
Jberg88it is empty06:22
Jberg88all it says NameVirtualHosts *:8006:22
Jberg88and that doesn't have a virtual host when i restart apach206:22
Jberg88i get a warning06:23
specialKevinwell if you want it to server up files from /me/mysite you need to have it in the doc root for the virtual host06:23
specialKevinwhat is the warning06:23
specialKevinit sounds like there are errors in your apache conf files06:24
specialKevinI would recommend reading over this: https://help.ubuntu.com/6.10/ubuntu/serverguide/C/httpd.html06:24
Jberg88i do i just can't find where that doc root is now06:25
Jberg88i don't remember at all been looking06:26
specialKevinthe default doc root is /var/www06:26
specialKevinbut if you look at /etc/apache2/sites-available/default it should say06:26
Jberg88oh ok06:26
specialKevinalso did you create a symlink of site-availalbe/zaphu to sites-enabled/zaphu06:27
Jberg88oh no06:27
Jberg88is that sudo ls -s?06:27
Jberg88thank you so much06:29
Jberg88I am going to bed and do this in the morning it is extremely hot here and I am tired06:29
Jberg88good day/night thanks again06:30
cristiangiorno...06:43
twbRegarding clamav and friends, is there an Ubuntu equivalent of debian volatile?06:44
cristianz.z.z.z.z07:46
=== cristian is now known as PoLiMaR
krautmoin08:48
aMoRPHeouSHi, 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:05
incorrecti'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 attribute10:27
incorrectare there any known bugs with ldap at the moment with this?10:28
uvirtbotNew bug: #238516 in nagios3 "XSS issues in Nagios CGI (CVE-2007-5803)" [Undecided,New] https://launchpad.net/bugs/23851611:16
=== ogra_ is now known as ogra
saltedlighthi. i'm trying to send mails using ssmtp but does not seems to work. do i have to install some other pachages?12:00
Kamping_Kaiser"doesnt work" doesnt help12:03
RainCTHi12:14
RainCTjust a little question.. why does "/etc/init.d/apache2 restart" suck? :P12:14
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:15
foolanoRainCT: the script has a sleep 1012:19
foolanothe way apache is restarted sucks. It basically gives apache some time to stop (sleep 10) cuz some children might haven't exited12:21
Kamping_Kaiser*giggle* think of the children12:23
foolano:)12:23
foolanoRainCT: and sometimes it fails cuz the a child process which hasn't stopped still has an open socket12:25
RainCT-.-12:26
RainCTand.. is there any reason why this hasn't been improved beside "nobody did it"? :P12:28
hadsYou haven't fixed it yet :)12:29
RainCTuhm.. what is that htcacheclean stuff?12:31
RainCTnice, fixed it on my comp :)  (I don't think that my solution is good enough to get into the package, though :P)12:38
foolanoRainCT: there's been some discussion in debian to fix it, but i think they didnt reach any conclusion12:40
RainCTyeh.. a "proper" solution seems complicated12:52
RainCTwell, thanks12:52
foolanoRainCT: what i did was checking if the port is available during a loop, sleeping 1 sec every iteration, and 10 iterations at most12:55
foolanoRainCT: I think a proper solution should come from upstream12:56
RainCThow have you done this port thing?12:56
foolanoactually, i did that for eBox. we use apache and sometimes we have to restart  apache and we were experiencing this issue12:58
elliotjhughi 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:23
Deepscreate an A record for the subdomain with the IP of the vm13:25
elliotjhugDeeps: But I can't use the local (internal) ip address can I? and I only have the one static external IP13:27
Deepsyou can if you want, it's against the RFC to do that though, and it'lly work for you when you're on your lan13:31
Deepsif 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 from13:31
elliotjhugbut that's still internal only isn't it?13:32
Deepsif 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 postrouting13:32
Deepsurr, prerouting13:32
elliotjhugthanks a lot - I'll look into it13:33
elliotjhugare there any good tutorials on how to do iptables?13:42
Deepsgoogle / ubuntu.com / wiki.ubuntu.com / ubuntuforums.com13:50
Deepsurr, .org on that last one13:51
elliotjhugthanks13:51
uvirtbotNew bug: #236988 in openssh (main) "HARDY: gnome-ssh-askpass does *not* grab keyboard or focus if contested with other apps" [Undecided,New] https://launchpad.net/bugs/23698813:58
KapliIs there any security issue or anything that can happen if i logon to my server via putty and winscp as root?14:17
lukehasnonameThe usual risks of running as root14:18
lukehasnonameyou might accidentally delete a system file or run a harmful command14:18
lukehasnonameif you're careful about what you do, and only run commands you know how to work, it's not a huge deal14:18
Kapliso its better to login as a normal user and use sudo thing for each command14:19
Deepsyes14:21
lukehasnonameSoren14:21
Kaplii 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 working14:22
Kapliany 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 about14:23
Kamping_Kaiserallowing root logins to a box automatically reduces its security14:24
Kaplialso tried putting the file in /bin/ and tried with and without full path still not working14:24
Kaplii can disable root logins through putty and winscp or other programs?14:25
Kamping_Kaiseryou disable it in sshd on the server14:26
elliotjhugI'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
Kaplishouldnt root login be disabled by deufalt?14:28
Kamping_Kaiseryes ti should. and iirc it is14:30
Kaplii installed hardy heron and didnt do anything to enable it, yet i could login via putty and winscp14:31
Kamping_Kaiseras root?14:31
Kapliyes14:31
Kaplioh 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 guess14:31
Kapliwell i ran sudo passwd -l root so it should be disabled now right?14:33
Kamping_Kaiserroot account should be locked yes14:34
Kamping_Kaiserthe password has is probably still in the password file, but you cant log in as root14:35
Kamping_Kaiserdirectly at least14:35
Kapliso 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:36
Kamping_Kaisersudo should ask for your user password14:37
Kamping_Kaiserunless ubuntu has completely changed the way it does servers14:37
Kapliah ok14:37
lukehasnonameSOREN14:40
zulif you are looking for soren he aint here :)14:41
_rubengrmbl .. cant figure out how to properly install ubuntu-server from usb stick .. all docs i find on internet are for ubuntu (desktop)14:50
_rubeni 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 PE295014:51
Kaplihow can i use winscp to edit files and such when ive disabled root14:52
_rubenKapli: you cant edit files you dont have permissions for that way14:55
=== emgent_ is now known as emgent
Kapliwell all files are owned by root so disabling root has made winscp useless then..14:55
_rubenthe files in your home dir arent14:56
* _ruben never even bothered to edit files with winscp14:56
Kapliwell 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?14:58
Deepsyou can change their own15:00
Deepsowner*15:00
Deepssudo chown -R <your username> /var/www will make all files (and directories) in /var/www  owned by <your username>15:01
Kapliwell i suspect changing owner of all files on server will cause problems so how can i enable root again it was easier15:02
Deepshow did you disable root? o_O15:03
Kaplisudo passwd -l root15:03
Deepssudo passwd root15:03
Kapliwell i set a new unix password with that15:05
Kaplibut if i try to logiin as root via putty it closes the connection when i login15:05
jber1hello 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 website15:06
jber1I read that it has something to do with my document root but i can't seem to find it15:06
DeepsKapli: wierd, look at stuff /var/log/(messages|syslog|auth.log)15:06
Deepsjber1: default docroot on apache in ubuntu is /var/www15:07
Kapliin putty it closes connection, in winscp it says account expired15:07
KapliDeeps: what am i supposed to look for in those files?15:09
jber1Deeps: there is nothing in there it just has the apache test page15:09
Kaplipam_unix(cron:account): account root has expired (account expired)15:10
Kaplii ran sudo passwd -u root and i can login as root again :)15:14
Kaplii 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 working15:23
faulkes-php.ini has a specific include path, you should try putting whatever you are doing (although includes tend to be different) in there15:26
faulkes-it also depends on how you are calling the program (and what that program was written in)15:26
Kapliits 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 works15:30
_rubenhmm .. iscsitarget-source fails to build with module-assistant15:33
=== ewook_ is now known as ewook
mathiazjdstrand: irssi notifications ? - what did you implement exactcly ?16:04
jdstrandmathiaz: oh, cjwatson's excellent script using libnotify so I get a little popup (like just a second ago when you asked the question)16:05
* jdstrand goes to get the url16:06
Kaplianyway, i uploaded a fresh copy of the script and the program and it worked, no idea why :p16:06
jdstrandmathiaz: http://www.chiark.greenend.org.uk/~cjwatson/code/notifications/16:06
mathiazjdstrand: awesome - that was on my TODO list since the begining of the times16:06
jdstrandmathiaz: 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:07
mathiazjdstrand: great - thanks for the link :)16:08
jdstrandnp :)16:08
ScottKdanshearer: I would be interested in your thoughts on https://wiki.ubuntu.com/ServerFlavorSpec16:10
ScottKAnyone else too.16:10
lukehasnonameLooks interesting16:23
lukehasnonameI'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:24
lukehasnonameheh16:25
lukehasnonameI guess a sysadmin would specify what services will need to interact and integrate?16:25
KapliI 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:26
ScottKlukehasnoname: 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
Kaplii also have a database backup sh script which ive put into cron.weekly, will it run every week?16:28
ScottKlukehasnoname: 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:29
lukehasnonameSo we're really talking about a server-oriented custom ISO on one end, combined with FAI16:31
danshearerScottK: triple-double thumbs-up. I've only had time to edit the Summary so far, there's one conceptual thing I16:32
danshearerwanted to add (this is about where knowledge is stored and applied, ie what point in the workflow) and a technical16:32
danshearerpoint that the scenario editor should have an option to upload any custom scenario created because chances are that will16:33
danshearertell us what we should be shipping (since presumably it will be mostly experienced people who create these things, after having found16:33
danshearerthe standard one isn't good enough.)16:34
danshearerScottK: Does that help?16:34
ScottKYes.16:34
danshearerUmmm... is this the ettiquette? I mean, jumping in and editing? Forgot to ask.16:34
ScottKdanshearer: Particularly since I asked you for comment, yes.16:35
ScottKSince the spec is still draft you are welcome to hack on it.16:35
ScottKFrom 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:37
danshearerScottK: The scenario editor (not 100% keen on the name, because we're creating something concrete not abstract, minor point)16:38
danshearerlends itself to a web interface as well16:38
ScottKThe latter is in many ways easier, but adds significant infrastructure complexity in that the ISO has to be programmed to look somewhere16:38
danshearerWeb interface fits with spinning a custom ISO16:38
ScottKdanshearer: Yes.  Some javascript thing is what I'd planned on starting with.16:38
danshearerThis was the basis of several business models based around OSS back in 1999 :-)16:39
ScottKI was planning on ripping off kirkland's virt specifier things.16:39
danshearerAnd rpath these days too of course.16:39
danshearerWell it would be very good if a VM was considered to be exactly the same as a real install, whatever that means.16:40
danshearerScottK: where is the 'virt specifier' ??16:40
* ScottK looks16:40
danshearerGot to go for now I'm afraid, I'll look forward to seeing where this has got a bit later on.16:41
ScottKdanshearer: http://people.ubuntu.com/~kirkland/ubuntu-vm-builder.html16:41
* ScottK remembered the name wrong16:42
kirklandScottK: hey, fwiw, i did add the code to a branch of the ubuntu-jeos project in Launchpad16:42
kirklandScottK: same code you see in that url, at the moment16:42
ScottKkirkland: Right-click and save works a lot better for me than having to think about bzr.16:43
kirklandScottK: yup16:43
kirklandScottK: 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 repository16:45
tyn0rhi ! I'm looking for any news about ubuntuhomeserver !? this project is abandonned ?16:51
lukehasnonameto 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:52
Jberg88hi16:56
Jberg88i am having a problem with drupal on my server the homepage shows up but anything else gets a 404 not found error16:57
antdedyetgreetings.16:58
Jberg88hello17:01
InsomniaCityJberg88: have you asked #drupal?17:01
Jberg88thanks17:01
Jberg88no i didn17:02
Jberg88'y17:02
Jberg88ok can't type17:02
ergyJBandb_: sorry lost connection17:23
ergyJBi did the command17:24
ergyJBsomeone got my username I am Jberg8817:24
ergyJBhello17:25
InsomniaCitywho are you talking to?17:25
ergyJBshooot17:25
ergyJBsorry  wrong irc channel17:25
keesre 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
keeskirkland: ^^17:28
kirklandkees: sounds good17:29
kirklandkees: i'll merge17:29
keeswhat's odd is I don't see it listed in MoM17:29
keesoh, martin did a fake-sync17:29
keeserg.17:30
keeskirkland: uhm, so, this is a rather odd versioning situation for cron.17:33
keeskirkland: it has been merged and then fake-sync'd.17:33
keeskirkland: I'm going to guess the right version to use is 3.0pl1-104+ubuntu1  (note the uncommon use of "+" there)17:34
keesif you can rebase your debdiff in 222830 against that version of cron, I can upload it.17:34
kirklandkees: okay, let me pull that17:34
kirklandkees: hmm, so i pull cron's source on an intrepid box and it grabs the +build1 source17:36
kirklandkees: where can I find this +ubuntu1 source?17:37
keeskirkland: you need to pull +build1 -- your new debdiff will be version +ubuntu117:37
kirklandkees: gotcha, and I should manually mangle the versioning in the changelog entry?17:38
kirklandkees: for my addition?17:38
keesre 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
keessee "update-maintainer" from ubuntu-dev-tools for automated control file love17:40
keesoops, I'm >62 seconds lagged17:40
ergyJBhello how do i get my 000-default file back?17:47
ergyJB...?17:48
ergyJBhello17:48
ergyJBanyone17:53
tainhmm17:54
tainmine is symlinked to /etc/apache2/sites-available/default17:55
Deepsapt-get source apache2 and pull it out from there?17:56
uvirtbotNew bug: #238630 in krb5 (main) "Please sync krb5 1.6.dfsg.3-2 (main) from Debian unstable (main)." [Wishlist,Confirmed] https://launchpad.net/bugs/23863019:06
keeskirkland: 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
kirklandkees: um, was I supposed to merge that one too?19:22
keesnope, I had suggested cleanups to the debdiff.19:23
lukehasnonamedo you guys have jobs?19:23
lukehasnonamejust a yes or no will suffice19:23
kirklandkees: oh, sorry, i missed those cleanup suggestions...  i'll check my logs.  were these in irc, or mail, or the bug?19:24
kirklandlukehasnoname: yeah, i've got about 2 dozen cronjobs19:24
keesirc, but I was really lagged, maybe irssi and/or the server ate it:19:24
kees16: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" field19:24
kees              in the control file.19:24
keeslukehasnoname: context was "cron" or "income"?19:24
lukehasnonamemoney, income, work19:25
kirklandkees: yep, it's in my log, but wasn't addressed to "kirkland", so it slipped by me, sorry19:25
lukehasnonamestuff besides Ubuntu19:25
kirklandkees: I'll go fix that up19:25
keeslukehasnoname: I cheat -- I have a job with Canonical.  :P19:26
zulkees: big cheater :P19:26
uvirtbotNew bug: #225105 in apache2 (main) "[Security] Mimetypes coming from package mime-support cannot be removed " [Undecided,New] https://launchpad.net/bugs/22510519:27
lukehasnonameWell 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 home19:27
kirklandlukehasnoname: i'm in the same boat as kees, employed by Canonical19:27
zulkirkland: cheat!19:27
kirklandlukehasnoname: prior to that, I worked for IBM, though I spent some of my spare time on Ubuntu19:28
* kirkland smacks zul@canonical.com19:28
zulkirkland: hah thats not even my email address19:28
kirklandzul: agreed, i was saving you from the spam prowlers, but I don't have to........19:28
zulbut the arguement behind is correct19:28
* zul kicks launchpad19:29
kirklandlukehasnoname: of the 98 users in the channel, maybe a dozen or so are employed by Canonical (from a rough glance)19:29
lukehasnonamenot bad19:30
kirklandkees: updated patch attached to https://bugs.edge.launchpad.net/ubuntu/+source/debianutils/+bug/23466819:55
uvirtbotLaunchpad bug 234668 in debianutils "sensible-editor/select-editor: per-user one-time interactive editor selection" [Low,In progress]19:55
vikramhah a quieter ubuntu channel19:55
vikramhopefully with less n00b00n2s19:55
vikramnew ubuntu user here, well new to .deb basically and apt-get19:55
vikramyum groupinstall "Development Tools" <--  whats that on ubuntu?19:56
lukehasnonameNOP DEE DOP19:56
* lukehasnoname laughs. Dev tools, I assume that's a meta pack for different programs on Fedora?19:56
vikramyes its just an assortment of stuff19:56
vikramautoconf to valgrind and everything in between19:57
vikramFedora is such a fat *** ***** these days, i need something a little learner, so i'm trying out Ubuntu Server 819:58
kirklandvikram: apt-get install build-essential will get you some stuff19:58
kirklandvikram: do you know what you need to compile?19:58
kirklandvikram: apt-get install devscripts has some other interesting things19:59
vikramoh i just need the basics, yacc,lex,byson,gcc, m419:59
zulmathiaz: mind if I take sysklogd off your hands (mreges)19:59
kirklandvikram: apt-get install ubuntu-dev-tools is also good19:59
vikramsays "Couldnt find package"19:59
kirklandvikram: to which one?19:59
vikramfor build-essentials20:00
ScottKIt's build-essential (no s)20:00
vikramwoops, no "s"20:00
vikramthis apt-get thing is really formatted poorly,20:00
vikramwithout proper indentation its hard to follow what it's doing20:01
lukehasnonameI'm trying to find a console command that would search package descriptions for a certain word or package20:01
kirklandapt-cache search "foo"20:01
lukehasnonameI'm not looking for foo though, what would it be if I were looking for valgrind?20:02
lukehasnonameheh20:02
vikramyum 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
zulapt-cache20:03
mathiazvikram: apt-cache search 'stuff you're looking for'20:03
mathiazzul: sure - I've already merge sysklogd once this cycle20:04
zulmathiaz: newer version20:04
mathiazzul: so you may wanna try to merge another package that hasn't been merged yet20:04
zulmathiaz: yeah20:04
mathiazzul: right - but we try to merge every package at least once per cycle20:04
vikramI really need a cheat sheet for using apt-get20:04
vikramwith corresponding commands side by side to yum20:05
zulmathiaz: ill take ipsec-tools off your hands then20:05
lukehasnonamedie,net20:05
lukehasnonameer, http://linux.die.net/man/20:05
vikramsomething 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 instant20:06
vikramwhys that?20:06
mathiazzul: good luck - kees security stuff breaks the build20:06
zulkeeeessss!!!20:06
ScottKBecause 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
ScottKvikram: ^^^20:06
vikramah make sense, it takes about 1.5s for a lookup though......20:07
mathiazzul: https://wiki.ubuntu.com/CompilerFlags - the first example in -D_FORTIFY_SOURCE=2 section20:08
vikramScottK, bash is build against that? how does it work?20:09
vikrams/build/built20:09
ScottKvikram: apt-get source command-not-found and have a look for yourself.20:10
vikramwhy isnt there syntax highlighting in vim on ubuntu?20:15
vikramsays "E319: Sorry, the command is not available in this version"20:16
kirklandvikram: apt-get install vim20:16
ScottKvikram: By default vim-tiny is installed.  Install the full vim as kirkland suggests20:16
vikraminteresting20:17
ScottKIt was done to save space on the CD (full install on a single CD is somewhat contraining).20:18
vikramnow it give me some msg about buffers20:19
vikramhow do you turn syntax highlighting on after installing vim ?20:19
kirklandScottK: as discussed at UDS, though, I think we're looking to install a full vim on the server cd's20:19
ScottKkirkland: Yes.  Please.20:19
kirklandvikram: :syntax on20:19
kirklandvikram: add that to your ~/.vimrc20:19
kirkland(without the colon, of course)20:19
vikramthe colon is fine20:20
vikramthis is pretty anal.....20:20
psufanwhere the hell is the stock sources.list on the ubuntu server cd20:22
* psufan bangs his head into the wall20:22
ScottKpsufan: You mean /etc/apt/sources.list ?20:23
psufanyes20:23
psufanthx to the retarded way kickstart works it breaks the installed system20:23
psufannm I think I found my notes20:24
psufanmabye not20:26
psufanis there a stock file on the cd20:27
Jberg88hi I seem to have lost my 000-default file20:32
Jberg88earlier someone told me to do apt-get source apache2 and get it there but i don't know how20:33
lukehasnonamepsufan: I think this is what you want. Maybe? http://mibbit.com/pb/JG5tuO20:34
psufanno I have dapper and I need to use the one that is on the cd somewhere20:35
psufanso that when this person does the pxe install method they don't end up with a half assed install20:35
Jberg88help me please!20:35
psufanJberg88 you might want to try #ubuntu also this channel is kinda dead a lot20:37
Jberg88yeah I know20:37
psufangood luck :)20:38
ScottKJberg88: You need a sources.list for Dapper?20:39
Jberg88I have 7.1020:39
Jberg88gutsy20:40
psufanno I need it :P20:40
Jberg88oh lol20:40
psufanScottK I want the one that is on the cd though20:40
psufanbecause the pxe boot initially won't have network access20:40
ScottKMine still has the CD settings on it, you can just uncomment them.20:41
Jberg88is there anywhere else i can get help20:41
psufanScottK no I want the normal urls in it :P20:41
psufanthe machines don't have cdroms only the installer pxe server does20:41
ScottKpsufan: If you want a Dapper sources.list, I can pastebin you mine and you can adjust it as you need.20:42
psufanthe 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 finished20:43
psufansorry if I didn't make that clear20:43
psufanI can get a working sources myself that's not the point20:44
ScottKOK.20:44
psufanappears there's a "last minute" command in kickstart that will let you do things like fix files :P20:44
psufanI just need to find the origional sources.list or how it's normally created20:45
vikram"ustr" is that in apt?20:47
vikrami didnt see it in apt-cache search20:47
vikramits a dep for libsemanage (for SELinux)20:47
psufandoesn't appear to be if you are talking to me20:48
ScottKIf you apt-get install $PACKAGENAME the dependencies will get pulled in automatically.20:48
vikramheh, libsemanage isnt there either20:49
vikramso no SELinux on Ubuntu Server?20:49
vikramso i guess i need to build ustr myself and ....yeah20:49
ScottKvikram: Ubuntu Server uses apparmor by default.  You can install SE Linux if you want it.20:49
ScottKvikram: There are packages.20:49
vikramheh, its libsemanage1 and not libsemanage20:50
vikramfuk! i keep typing, apt-get blah20:51
vikramwithout the "install"20:51
vikramthe "-get" part is misleading20:52
ScottKYou can also apg-get source, so the there is a meaningful distinction.20:54
ScottKapg/apt20:54
* lukehasnoname must google "aptitude vs. apt-get20:56
lukehasnoname"20:56
Jberg88hello!?20:56
Jberg88help20:56
Jberg88hi 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 how20:57
uvirtbotNew bug: #231047 in openssh (main) "ssh-vulnkey needs to be backported to Ubuntu 6.06 LTS" [Undecided,Fix released] https://launchpad.net/bugs/23104721:01
uvirtbotNew bug: #230929 in openssh (main) "Poor use of language in openssh-client key update dialog" [Undecided,New] https://launchpad.net/bugs/23092921:02
psufanJberg88 http://ubuntuforums.org/showthread.php?t=66288921:05
FroMasterRecomendation 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:08
emgentheya21:09
mathiazcoffeedude: hi - what's the purpose of /var/lib/likewise-open/lwidentity_privileged/pipe ? (looking at bug 235646)21:25
uvirtbotLaunchpad bug 235646 in apparmor "Cannot Print to PDF using Likewise-Open" [Medium,Confirmed] https://launchpad.net/bugs/23564621:25
porbas!help21:27
ubottuI am ubottu, the all-knowing infobot, standing in for ubotu while he's getting his haircut done, nose powdered, updated and transitioned to his new gorgeous looks in the near future ;)21:27
porbas/msg ubottu Bot21:28
uvirtbotNew bug: #236867 in php5 (main) "[php5][CVE-2007-2727] - same initialization vector might allow context-depented attacker to decrypt data easily" [Undecided,New] https://launchpad.net/bugs/23686721:42
coffeedudemathiaz: 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:45
* coffeedude heads for another coffee.21:46
mathiazcoffeedude: thanks - and what /tmp/.lwidentity/pipe is used for then ? for the unprivileged calls ?21:47
coffeedudemathiaz: yup.21:55
mathiazcoffeedude: great - thanks (and enjoy your coffee :) )21:56
uvirtbotNew bug: #236869 in php5 (main) "[php5][CVE-2007-2748] substr_count function allows context-dependent attackers to obtain sensitive information vi unspecified vectors" [Undecided,New] https://launchpad.net/bugs/23686922:06
vikramthis apt-cache search thing isnt as nice as yum list22:17
vikramit prints out waaaaaaaaaay more than i need22:17
vikrameg, and i need to install some lex'er, so in fedora i'd yum list > yum.list, grep -i lex yum.list22:17
vikramthen yum install something that looks interesting22:18
vikramif i do apt-cache search lex22:18
vikrami get a lot of output, and a lot of it is unrelated22:18
vikramheh, just typing the command in the console is more useful than apt-get22:20
lukehasnonamevikram: There is a switch to make it less verbose22:26
lukehasnoname-n Only search on the package names, not the long descriptions.22:27
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
lukehasnonameread the apt-cache man page for more info, but you should find what you're looking for.22:28
keeszul, mathiaz: let me know if I can help at all.22:32
keeskirkland: okay, cron uploaded, building debianutils now22:33
mathiazkees: http://irclogs.ubuntu.com/2008/05/09/%23ubuntu-server.txt - search for ipsec-tools22:34
mathiazkees: that was my last attempt to merge ipsec-tools22:35
keesmathiaz: odd, with the (void) cast I'd expect no problem.22:36
mathiazkees: exactly ;)22:37
mathiazkees: from there on I'm stuck22:38
keeserrrg yytext, yyleng... is that .c file lex-generated?22:38
mathiazkees: I don't know22:39
keesmathiaz: 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
mathiazkees: right - that's what I was thinking to do22:39
mathiazkees: but wanted to have your input on this first22:39
mathiazkees: as noted in the wiki page22:40
lukehasnonameMy boss' bag got stolen off his desk22:40
lukehasnoname<_<22:40
keesthe "exceptions" list can be used for people wanting to do security team work (I'll add it to our roadmap)22:40
mathiazkees: there may be a simple solution that I don't know of to make it compile.22:40
keesmathiaz: 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-case22:40
keesmathiaz: oh... crap.  (void) actually doesn't work even outside of a macro.22:44
keesit really wants an assignment.  bleh.22:44
keesmathiaz: if you really want to ignore it:  if (fwrite(...)) {}22:46
keeskirkland: debianutils uploaded22:51
mathiazkees: about bug https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/135226 - WDYT about removing the gaim profile completly ?22:51
uvirtbotLaunchpad bug 135226 in apparmor "Apparmor profile for Gaim needs updating to Pidgin" [Wishlist,Triaged]22:51
keesmathiaz: does it do harm leaving it?22:51
mathiazkees: well - it needs to be updated22:52
mathiazkees: gaim doesn't exist anymore.22:52
mathiazkees: it's a profile in extra/.22:52
keesmathiaz: yeah, I figure while doing the apparmor bump we can go through and drop stuff22:52
mathiazkees: I'm doing some updates now - but no apparmor bump yet.22:53
mathiazkees: just going through the bugs and get the low hanging fruits.22:53
keesokay, sounds good.22:53
kirklandkees: awesome, you da man23:48

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