[01:35] 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] heh, I dunno, squid has been giving me issues [01:38] doesn't like apt-get at all [01:38] and now netflix won't work over it [01:53] I've been using squid as an apt proxy for a while [01:54] I know my configuration is less than ideal, but the key to making it work is exceptions for the package lists [01:54] or was for me [02:01] qman, for about 2 years here [02:01] it's always corrupting something and I have to purge /var/lib/apt/lists/partial [02:02] hmm [02:02] been using apt-cache-ng for my servers, and it works good [02:02] been using it well over a year, never ran into that [02:02] I chose this setup before the apt-specific solutions started popping up [02:02] at that time it was squid, or a full on mirror [02:03] ya, I used to run a full mirror [02:03] I will again one my new server goes live [02:03] don't have the disk space currently [02:03] I've only got about a dozen machines so it's not worth the overhead for me [02:05] 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] I was full mirror for 9.04 [02:08] switched to squid on 10.04 [02:29] patdk-lap: i just export http_proxy=http://dkjkdsjfhdskjfhds:3128/ and go, aptitude works fine [02:29] 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] I would use the hostname given by the dhcp server [02:43] but I believe you need to adjust dhclient in order for it to use it [03:10] patdk-lap: the issue is that the kernel is doing the initial dhcp... i just set it to localhost :P [03:16] dunno about that [03:17] but when I do a netboot, the netcard does dhcp, kernel boots, then initrd get a second dhcp [03:17] but that second dhcp in initrd seemed to use udhclient, instead of the normal one [03:19] Demosthenes: squid can do the wrong thing if you're riced it up too much, tho [03:19] 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] patdk-lap: Ubuntu's dhclient is patched to send host-name by default. [03:26] twb: yeah, i set it to keep just about everything.... ;] [03:27] Personally, I use debmirror and it Works For Me, and makes building SOEs *much* faster [03:28] yep. but i use squid for everythign else anyway ;] [03:29] Shrug [03:31] I have squid here, too, but it doesn't understand how to treat apt repos optimally [03:41] New bug: #824947 in cloud-init (main) "EC2 apt repository DNS resolution on VPC instances" [Undecided,New] https://launchpad.net/bugs/824947 [04:55] hi [04:55] 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] you need to set NOPASSWD in the sudoers file [04:57] or something like that [05:00] yes I tried: %svn ALL=NOPASSWD: /usr/bin/sh [05:00] didn't really work out as expected [05:03] when I then login as ABC whos is member of group svn and run this: sudo ABC -c sh svnupdate.sh [05:03] I still get asked for a password [05:06] Stevk: sh is /bin/sh [05:07] if you're doing to run svnpdate.sh from sudo, that's what should be in sudoers. [05:07] Not sure what you think -c will do; sudo isn't su. [05:08] ok I might be totally wrong and start mixing uo commands...any hint? [05:10] Also test with sudo -L [05:10] changed in sudoers sh to : %svn ALL=NOPASSWD: /bin/sh [05:10] Sorry, sudo -l [05:10] Here are two examples I have: [05:10] (ALL : ALL) NOPASSWD: ALL [05:10] ( : cdrom) NOEXEC: /usr/bin/wodim, /usr/bin/cdrecord [05:11] 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] Both would have a user (e.g. "twb") or a group (e.g. %users) in front [05:12] 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] Here's what a raw sudo-ldap object looks like: http://paste.debian.net/125983/ [05:15] 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] Stevk: the ldap object I pasted does basically that [05:19] Stevk: the ldapchsh and such scripts, are all symlinks to the /usr/sbin/ldapadduser script that I wrote [05:20] Stevk: the object allows managers to run it with root privileges, since my ldap server is locked down to prevent remote edits [05:28] thanks twb I'll have a look into LDAP...I've never used it... [05:28] Stevk: unless you have >>1 host, you don't need or want sudo-ldap [05:28] Stevk: I'm just explaining it because that's what I happen to have in front of me [05:30] it's a shared server with muliple vhosts ... [05:32] In that case it's more like what I've got :-) === b0nghittr is now known as b0nghitter [09:20] morgens.. [09:21] 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] kann ich das irgendwie beheben' [09:24] !de | tuvok [09:24] tuvok: In den meisten Ubuntu-Kanälen wird nur Englisch gesprochen. Für deutschsprachige Hilfe besuche bitte #ubuntu-de, #kubuntu-de, #edubuntu-de oder #ubuntu-at. Einfach "/join #ubuntu-de" eingeben. Danke für Dein Verständnis! [09:25] oh mist gar net gesehn .. sorry!! [09:45] anyone here that knows what's the fastest CPU cores around these days? I have a single-threaded app that needs more hourse power... === medberry is now known as med_out [11:06] New bug: #825124 in squid (main) "package squid 2.7.STABLE7-1ubuntu12.3 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/825124 [11:32] good morning, people of the sun [11:34] erm........ [11:34] how does grub2 choose default kernel? [11:35] I have 2.6.32-33 and 2.6.35-25 installed, but even so, it runs 2.6.32-28 [11:36] forget it... [11:46] New bug: #825139 in samba (main) "package samba 2:3.5.8~dfsg-1ubuntu2.3 failed to install/upgrade: η υποδιεργασία installed post-installation script επέστρεψε κατάσταση λάθους 1" [Undecided,New] https://launchpad.net/bugs/825139 [11:54] omg more samba bugs === mendel__ is now known as mendel_ [13:34] Ursinha: morning ;) === smb` is now known as smb [14:33] any idea how to fix this small error? [14:33] # dpkg-source -x libevent_2.0.12-stable-1.dsc [14:33] gpgv: Signature made Fri Jun 17 07:12:50 2011 PDT using DSA key ID 7ADF9466 [14:33] gpgv: Can't check signature: public key not found [14:33] i need to recompile source package from oneiric repo on natty === micahg_ is now known as micahg [15:47] New bug: #825290 in libvirt (main) "VirtMnager 0.9.0 doesn't provide access to "virbr0" during installation phase" [Undecided,New] https://launchpad.net/bugs/825290 === otubo is now known as otubo[AFK] [16:05] hi, suche fuer SSH einen Systemmonitor [16:08] 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] I realy search a Terminal Systemmonitor [16:09] i dont want to install the desktop because it will slows down the system [16:11] NetworkRenderer: htop? [16:11] NetworkRenderer: top is already installed, but htop has extra features. [16:13] thanks i will try it [16:43] i think htop is better for me [16:43] Thanks [16:43] have a nice da [16:43] y === otubo[AFK] is now known as otubo [17:19] I'll run some errands for the sprint travel, bbl === Ursinha is now known as Ursinha-bbl [17:33] anyone here using oprofile on ubuntu? [17:34] seems the vmlinux image is missing, and without that, oprofile isn't too fun [17:34] RoyK: what does it do? [17:35] If you don't mind me asking? [17:36] oprofile is used for benchmarking, finding in which system calls most cpu is used [17:36] Ah, that's pretty cool. Thanks [17:36] and without vmlinux, oprofile can't find which part of the kernel is spending the time [17:37] vmlinux is the badass non-stripped, non-compressed version of vmlinuz from which linux boots [17:38] That's pretty cool, I'm going to try to install it. [17:38] is vmlinux something you have to install separately? [17:39] seems the only way is to build a kernel [17:39] but it'd be nice if it was available without thhat [17:40] Yeah [17:45] does anyone know which of i5 and i7 processors would be the fastest for single-thread computing? [17:49] isn't that easy to figure out? [17:50] highest ghz cpu with turbo :) [17:53] patdk-wk: same core type? [17:53] hmm? [17:53] core type only affects cpu features, like onboard cache and stuff === mquin_ is now known as mquin [17:57] does AMD have anything comparible to i[57] at all these days? [17:57] as for core speed [17:57] well, I know amd does 3.6ghz and maybe 3.8ghz [17:58] but I believe those are still pumped up values, not real core speeds [18:00] earlier AMD used to be quite a bit faster per GHz than Intel [18:00] but dunno if that's true anymore [18:00] well, amd used to market their speeds as intel equiv [18:00] saying their 2.4ghz cpu was equiv to an intel 3.0ghz [18:00] so they sold it as a 3.0ghz :) [18:01] that was some time ago... [18:01] yep [18:01] I haven't tracked amd cpu's since then, cause of that [18:01] but it seems AMD Opteron at 2.2GHz is quite good http://www.cpubenchmark.net/high_end_cpus.html [18:01] and their lack of onboard cache [18:01] erm... AMDs lack of cache? [18:02] normally have 1/2 the size cache intel has [18:03] doesn't seem to be the case anymore [18:04] 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] but still way slower than a new i7 [18:07] guess we need to locate a bogomips chart :) [18:08] :) [18:51] kirkland: any objection to http://people.canonical.com/~serge/ipxe.debdiff ? [18:52] hallyn: +1 [18:52] hallyn: only thing I might do differently is to symlink these into /usr/share/qemu [18:55] 11.4 not cleanly unmounted.. giving errors what to do ? [18:56] kirkland: wasn't there a reason why we didn't use symlinks with kvm-pxe? [18:57] i can't recall what exactly... [19:05] ~> [19:19] kirkland: all right but that works. lemme post a new debdiff to that same place [19:22] done. i'll give that some testing next week, then ask you to push :) THen hopefully qemu-kvm can depend on ipxe. [20:29] nealmcb_, Hi, are you Neal McBurnett, libvirt mantainer on launchpad by any chance? [20:58] 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] http://pastebin.com/4wRJdULM [21:00] first of all, why did you install 11.04? most servers will work well on the LTS releases (8.04/10.04) [21:00] does anybody know where linux writes its data when it goes into hibernate? [21:01] is it to swap? Or does it just drop it somewhere on /? [21:01] el_seano: in the swap partition/file [21:02] bernhard1: how do you reboot? [21:03] with reboot command [21:04] since it install most apps normally.. for instance php5-fpm.. on 10.4 i have fiddle with debs etc.. [21:04] bernhard1: ok, I *had* to ask :-) === otubo is now known as otubo[AFK] [21:07] New bug: #825494 in libvirt (main) "/etc/init/libvirt-bin vs /etc/default/libvirt-bin" [Undecided,New] https://launchpad.net/bugs/825494 [21:09] bernhard1: I don't see any errors in that file, ... [21:50] RoAkSoAx: ubuntu@ec2-50-17-40-5.compute-1.amazonaws.com === otubo[AFK] is now known as otubo === erichammond1 is now known as erichammond === erichammond1 is now known as erichammond === erichammond1 is now known as erichammond === hikeonpast__ is now known as hikeonpast