[01:35] <Demosthenes> ok, so not to brag, but a squid proxy with 20GB of cache works GREAT while debootstrapping the same system over and over ;]
[01:38] <patdk-lap> heh, I dunno, squid has been giving me issues
[01:38] <patdk-lap> doesn't like apt-get at all
[01:38] <patdk-lap> and now netflix won't work over it
[01:53] <qman__> I've been using squid as an apt proxy for a while
[01:54] <qman__> I know my configuration is less than ideal, but the key to making it work is exceptions for the package lists
[01:54] <qman__> or was for me
[02:01] <patdk-lap> qman, for about 2 years here
[02:01] <patdk-lap> it's always corrupting something and I have to purge /var/lib/apt/lists/partial
[02:02] <qman__> hmm
[02:02] <patdk-lap> been using apt-cache-ng for my servers, and it works good
[02:02] <qman__> been using it well over a year, never ran into that
[02:02] <qman__> I chose this setup before the apt-specific solutions started popping up
[02:02] <qman__> at that time it was squid, or a full on mirror
[02:03] <patdk-lap> ya, I used to run a full mirror
[02:03] <patdk-lap> I will again one my new server goes live
[02:03] <patdk-lap> don't have the disk space currently
[02:03] <qman__> I've only got about a dozen machines so it's not worth the overhead for me
[02:05] <qman__> trying to remember if I implemented it when I built my new router on 9.04, or if I had it on the old one too
[02:08] <patdk-lap> I was full mirror for 9.04
[02:08] <patdk-lap> switched to squid on 10.04
[02:29] <Demosthenes> patdk-lap: i just export http_proxy=http://dkjkdsjfhdskjfhds:3128/ and go, aptitude works fine
[02:29] <Demosthenes> stupid question, how does one generate a dynamic hostname (ie: from system mac addy) at boot, OR accept a hostname give you by the DHCP server?
[02:43] <patdk-lap> I would use the hostname given by the dhcp server
[02:43] <patdk-lap> but I believe you need to adjust dhclient in order for it to use it
[03:10] <Demosthenes> patdk-lap: the issue is that the kernel is doing the initial dhcp... i just set it to localhost :P
[03:16] <patdk-lap> dunno about that
[03:17] <patdk-lap> but when I do a netboot, the netcard does dhcp, kernel boots, then initrd get a second dhcp
[03:17] <patdk-lap> but that second dhcp in initrd seemed to use udhclient, instead of the normal one
[03:19] <twb> Demosthenes: squid can do the wrong thing if you're riced it up too much, tho
[03:19] <twb> Demosthenes: one guy here had e.g. told squid not to cache files below 128kB or something, so the Release file was not cached but the Release.gpg was -- bork bork
[03:20] <twb> patdk-lap: Ubuntu's dhclient is patched to send host-name by default.
[03:26] <Demosthenes> twb: yeah, i set it to keep just about everything.... ;]
[03:27] <twb> Personally, I use debmirror and it Works For Me, and makes building SOEs *much* faster
[03:28] <Demosthenes> yep. but i use squid for everythign else anyway ;]
[03:29] <twb> Shrug
[03:31] <twb> I have squid here, too, but it doesn't understand how to treat apt repos optimally
[04:55] <Stevk> hi
[04:55] <Stevk> Im relativley new to linux (ubuntu 10). I'm trying to run a svn update via php command line. However when the webserver runs the script, all files are owned by www-data. So I want www-data to run a sh script as user ABC that contains the svn update command so all permissions remain with ABC. I tried for a while with sudo but don't really get along without asking me for a password.
[04:57] <lifeless> you need to set NOPASSWD in the sudoers file
[04:57] <lifeless> or something like that
[05:00] <Stevk> yes I tried: %svn      ALL=NOPASSWD: /usr/bin/sh
[05:00] <Stevk> didn't really work out as expected
[05:03] <Stevk> when I then login as ABC whos is member of group svn and run this: sudo ABC -c sh svnupdate.sh
[05:03] <Stevk> I still get asked for a password
[05:06] <twb> Stevk: sh is /bin/sh
[05:07] <twb> if you're doing to run svnpdate.sh from sudo, that's what should be in sudoers.
[05:07] <twb> Not sure what you think -c will do; sudo isn't su.
[05:08] <Stevk> ok I might be totally wrong and start mixing uo commands...any hint?
[05:10] <twb> Also test with sudo -L
[05:10] <Stevk> changed in sudoers sh to : %svn      ALL=NOPASSWD: /bin/sh
[05:10] <twb> Sorry, sudo -l
[05:10] <twb> Here are two examples I have:
[05:10] <twb>     (ALL : ALL) NOPASSWD: ALL
[05:10] <twb>     ( : cdrom) NOEXEC: /usr/bin/wodim, /usr/bin/cdrecord
[05:11] <twb> The former gives me privileges to run ANYTHING; the latter gives mr permission to do CD burning as the cdrom group (which has write access to the CD drive)
[05:11] <twb> Both would have a user (e.g. "twb") or a group (e.g. %users) in front
[05:12] <twb> Note that those are actually emitted by sudo -l from my LDAP sudoers objects, so they *might* be wrong, although they look OK from memory.
[05:13] <twb> Here's what a raw sudo-ldap object looks like: http://paste.debian.net/125983/
[05:15] <Stevk> ok, I try to come up with another sudoer entry. I also don't want to make it too open. Ideally I want users of group svn allow to run scripts within a certain directory only...
[05:19] <twb> Stevk: the ldap object I pasted does basically that
[05:19] <twb> Stevk: the ldapchsh and such scripts, are all symlinks to the /usr/sbin/ldapadduser script that I wrote
[05:20] <twb> Stevk: the object allows managers to run it with root privileges, since my ldap server is locked down to prevent remote edits
[05:28] <Stevk> thanks twb I'll have a look into LDAP...I've never used it...
[05:28] <twb> Stevk: unless you have >>1 host, you don't need or want sudo-ldap
[05:28] <twb> Stevk: I'm just explaining it because that's what I happen to have in front of me
[05:30] <Stevk> it's a shared server with muliple vhosts ...
[05:32] <twb> In that case it's more like what I've got :-)
[09:20] <tuvok> morgens..
[09:21] <tuvok> ich habe von nem user das passwort geändert jetzt möchte der beim booten im Gnome immer das schlüsselbund passwort .. aber das alte..
[09:21] <tuvok> kann ich das irgendwie beheben'
[09:24] <jpds> !de | tuvok
[09:25] <tuvok> oh mist gar net gesehn .. sorry!!
[09:45] <RoyK> anyone here that knows what's the fastest CPU cores around these days? I have a single-threaded app that needs more hourse power...
[11:32] <Ursinha> good morning, people of the sun
[11:34] <RoyK> erm........
[11:34] <RoyK> how does grub2 choose default kernel?
[11:35] <RoyK> I have 2.6.32-33 and 2.6.35-25 installed, but even so, it runs 2.6.32-28
[11:36] <RoyK> forget it...
[11:54] <Ursinha> omg more samba bugs
[13:34] <lynxman> Ursinha: morning ;)
[14:33] <amero> any idea how to fix this small error?
[14:33] <amero> # dpkg-source -x libevent_2.0.12-stable-1.dsc
[14:33] <amero> gpgv: Signature made Fri Jun 17 07:12:50 2011 PDT using DSA key ID 7ADF9466
[14:33] <amero> gpgv: Can't check signature: public key not found
[14:33] <amero> i need to recompile source package from oneiric repo on natty
[16:05] <NetworkRenderer> hi, suche fuer SSH einen Systemmonitor
[16:08] <dkn> i installed a desktop on 10.04LTS, vino was working great for weeks, then after a restart vino VNC server stopped working... can't connect from any local machine on the network
[16:09] <NetworkRenderer> I realy search a Terminal Systemmonitor
[16:09] <NetworkRenderer> i dont want to install the desktop because it will slows down the system
[16:11] <Pici> NetworkRenderer: htop?
[16:11] <Pici> NetworkRenderer: top is already installed, but htop has extra features.
[16:13] <NetworkRenderer> thanks i will try it
[16:43] <NetworkRenderer> i think htop is better for me
[16:43] <NetworkRenderer> Thanks
[16:43] <NetworkRenderer> have a nice da
[16:43] <NetworkRenderer> y
[17:19] <Ursinha> I'll run some errands for the sprint travel, bbl
[17:33] <RoyK> anyone here using oprofile on ubuntu?
[17:34] <RoyK> seems the vmlinux image is missing, and without that, oprofile isn't too fun
[17:34] <fosterdv> RoyK: what does it do?
[17:35] <fosterdv> If you don't mind me asking?
[17:36] <RoyK> oprofile is used for benchmarking, finding in which system calls most cpu is used
[17:36] <fosterdv> Ah, that's pretty cool. Thanks
[17:36] <RoyK> and without vmlinux, oprofile can't find which part of the kernel is spending the time
[17:37] <RoyK> vmlinux is the badass non-stripped, non-compressed version of vmlinuz from which linux boots
[17:38] <fosterdv> That's pretty cool, I'm going to try to install it.
[17:38] <fosterdv> is vmlinux something you have to install separately?
[17:39] <RoyK> seems the only way is to build a kernel
[17:39] <RoyK> but it'd be nice if it was available without thhat
[17:40] <fosterdv> Yeah
[17:45] <RoyK> does anyone know which of i5 and i7 processors would be the fastest for single-thread computing?
[17:49] <patdk-wk> isn't that easy to figure out?
[17:50] <patdk-wk> highest ghz cpu with turbo :)
[17:53] <RoyK> patdk-wk: same core type?
[17:53] <patdk-wk> hmm?
[17:53] <patdk-wk> core type only affects cpu features, like onboard cache and stuff
[17:57] <RoyK> does AMD have anything comparible to i[57] at all these days?
[17:57] <RoyK> as for core speed
[17:57] <patdk-wk> well, I know amd does 3.6ghz and maybe 3.8ghz
[17:58] <patdk-wk> but I believe those are still pumped up values, not real core speeds
[18:00] <RoyK> earlier AMD used to be quite a bit faster per GHz than Intel
[18:00] <RoyK> but dunno if that's true anymore
[18:00] <patdk-wk> well, amd used to market their speeds as intel equiv
[18:00] <patdk-wk> saying their 2.4ghz cpu was equiv to an intel 3.0ghz
[18:00] <patdk-wk> so they sold it as a 3.0ghz :)
[18:01] <RoyK> that was some time ago...
[18:01] <patdk-wk> yep
[18:01] <patdk-wk> I haven't tracked amd cpu's since then, cause of that
[18:01] <RoyK> but it seems AMD Opteron at 2.2GHz is quite good http://www.cpubenchmark.net/high_end_cpus.html
[18:01] <patdk-wk> and their lack of onboard cache
[18:01] <RoyK> erm... AMDs lack of cache?
[18:02] <patdk-wk> normally have 1/2 the size cache intel has
[18:03] <RoyK> doesn't seem to be the case anymore
[18:04] <RoyK> anyway - we have some dual 12-core machines at work, and their 2.1GHz cores are a bit faster than our previous 3YO 3.6GHz Xeons
[18:05] <RoyK> but still way slower than a new i7
[18:07] <patdk-wk> guess we need to locate a bogomips chart :)
[18:08] <RoyK> :)
[18:51] <hallyn> kirkland: any objection to http://people.canonical.com/~serge/ipxe.debdiff ?
[18:52] <kirkland> hallyn: +1
[18:52] <kirkland> hallyn: only thing I might do differently is to symlink these into /usr/share/qemu
[18:55] <bernhard1> 11.4 not cleanly unmounted.. giving errors what to do ?
[18:56] <hallyn> kirkland: wasn't there a reason why we didn't use symlinks with kvm-pxe?
[18:57] <hallyn> i can't recall what exactly...
[19:05] <hallyn> ~>
[19:19] <hallyn> kirkland: all right but that works.  lemme post a new debdiff to that same place
[19:22] <hallyn> done.  i'll give that some testing next week, then ask you to push :)  THen hopefully qemu-kvm can depend on ipxe.
[20:29] <otubo> nealmcb_, Hi, are you Neal McBurnett, libvirt mantainer on launchpad by any chance?
[20:58] <bernhard1> this is the problem.. installed ubuntu server 11.4.. but when it is shut down it says it is not cleanly unmounted..  then.. when i boot i get this error. mountall: fsck /boot{344} terminated with status 1  then.. about 50 lines.. cannot write bytes: broken pipe  when i fix the errors with knoppix cd after one or two reboots i have the same error. This is my syslog anybody can help ?
[20:58] <bernhard1> http://pastebin.com/4wRJdULM
[21:00] <RoyK> first of all, why did you install 11.04? most servers will work well on the LTS releases (8.04/10.04)
[21:00] <el_seano> does anybody know where linux writes its data when it goes into hibernate?
[21:01] <el_seano> is it to swap?  Or does it just drop it somewhere on /?
[21:01] <RoyK> el_seano: in the swap partition/file
[21:02] <guntbert> bernhard1: how do you reboot?
 with reboot command
 since it install most apps normally.. for instance php5-fpm.. on 10.4 i have fiddle with debs etc..
[21:04] <guntbert> bernhard1: ok,  I *had* to ask :-)
[21:09] <guntbert> bernhard1: I don't see any errors in that file, ...
[21:50] <kirkland> RoAkSoAx: ubuntu@ec2-50-17-40-5.compute-1.amazonaws.com