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:35 |
---|---|---|
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:38 |
qman__ | I've been using squid as an apt proxy for a while | 01:53 |
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 | 01:54 |
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:01 |
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:02 |
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:03 |
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:05 |
patdk-lap | I was full mirror for 9.04 | 02:08 |
patdk-lap | switched to squid on 10.04 | 02:08 |
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:29 |
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 | 02:43 |
Demosthenes | patdk-lap: the issue is that the kernel is doing the initial dhcp... i just set it to localhost :P | 03:10 |
patdk-lap | dunno about that | 03:16 |
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:17 |
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:19 |
twb | patdk-lap: Ubuntu's dhclient is patched to send host-name by default. | 03:20 |
Demosthenes | twb: yeah, i set it to keep just about everything.... ;] | 03:26 |
twb | Personally, I use debmirror and it Works For Me, and makes building SOEs *much* faster | 03:27 |
Demosthenes | yep. but i use squid for everythign else anyway ;] | 03:28 |
twb | Shrug | 03:29 |
twb | I have squid here, too, but it doesn't understand how to treat apt repos optimally | 03:31 |
uvirtbot | New bug: #824947 in cloud-init (main) "EC2 apt repository DNS resolution on VPC instances" [Undecided,New] https://launchpad.net/bugs/824947 | 03:41 |
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:55 |
lifeless | you need to set NOPASSWD in the sudoers file | 04:57 |
lifeless | or something like that | 04:57 |
Stevk | yes I tried: %svn ALL=NOPASSWD: /usr/bin/sh | 05:00 |
Stevk | didn't really work out as expected | 05:00 |
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:03 |
twb | Stevk: sh is /bin/sh | 05:06 |
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:07 |
Stevk | ok I might be totally wrong and start mixing uo commands...any hint? | 05:08 |
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:10 |
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:11 |
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:12 |
twb | Here's what a raw sudo-ldap object looks like: http://paste.debian.net/125983/ | 05:13 |
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:15 |
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:19 |
twb | Stevk: the object allows managers to run it with root privileges, since my ldap server is locked down to prevent remote edits | 05:20 |
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:28 |
Stevk | it's a shared server with muliple vhosts ... | 05:30 |
twb | In that case it's more like what I've got :-) | 05:32 |
=== b0nghittr is now known as b0nghitter | ||
tuvok | morgens.. | 09:20 |
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:21 |
jpds | !de | tuvok | 09:24 |
ubottu | 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:24 |
tuvok | oh mist gar net gesehn .. sorry!! | 09:25 |
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... | 09:45 |
=== medberry is now known as med_out | ||
uvirtbot | 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:06 |
Ursinha | good morning, people of the sun | 11:32 |
RoyK | erm........ | 11:34 |
RoyK | how does grub2 choose default kernel? | 11:34 |
RoyK | I have 2.6.32-33 and 2.6.35-25 installed, but even so, it runs 2.6.32-28 | 11:35 |
RoyK | forget it... | 11:36 |
uvirtbot | 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:46 |
Ursinha | omg more samba bugs | 11:54 |
=== mendel__ is now known as mendel_ | ||
lynxman | Ursinha: morning ;) | 13:34 |
=== smb` is now known as smb | ||
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 | 14:33 |
=== micahg_ is now known as micahg | ||
uvirtbot | 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 | 15:47 |
=== otubo is now known as otubo[AFK] | ||
NetworkRenderer | hi, suche fuer SSH einen Systemmonitor | 16:05 |
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:08 |
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:09 |
Pici | NetworkRenderer: htop? | 16:11 |
Pici | NetworkRenderer: top is already installed, but htop has extra features. | 16:11 |
NetworkRenderer | thanks i will try it | 16:13 |
NetworkRenderer | i think htop is better for me | 16:43 |
NetworkRenderer | Thanks | 16:43 |
NetworkRenderer | have a nice da | 16:43 |
NetworkRenderer | y | 16:43 |
=== otubo[AFK] is now known as otubo | ||
Ursinha | I'll run some errands for the sprint travel, bbl | 17:19 |
=== Ursinha is now known as Ursinha-bbl | ||
RoyK | anyone here using oprofile on ubuntu? | 17:33 |
RoyK | seems the vmlinux image is missing, and without that, oprofile isn't too fun | 17:34 |
fosterdv | RoyK: what does it do? | 17:34 |
fosterdv | If you don't mind me asking? | 17:35 |
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:36 |
RoyK | vmlinux is the badass non-stripped, non-compressed version of vmlinuz from which linux boots | 17:37 |
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:38 |
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:39 |
fosterdv | Yeah | 17:40 |
RoyK | does anyone know which of i5 and i7 processors would be the fastest for single-thread computing? | 17:45 |
patdk-wk | isn't that easy to figure out? | 17:49 |
patdk-wk | highest ghz cpu with turbo :) | 17:50 |
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:53 |
=== mquin_ is now known as mquin | ||
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:57 |
patdk-wk | but I believe those are still pumped up values, not real core speeds | 17:58 |
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:00 |
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:01 |
patdk-wk | normally have 1/2 the size cache intel has | 18:02 |
RoyK | doesn't seem to be the case anymore | 18:03 |
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:04 |
RoyK | but still way slower than a new i7 | 18:05 |
patdk-wk | guess we need to locate a bogomips chart :) | 18:07 |
RoyK | :) | 18:08 |
hallyn | kirkland: any objection to http://people.canonical.com/~serge/ipxe.debdiff ? | 18:51 |
kirkland | hallyn: +1 | 18:52 |
kirkland | hallyn: only thing I might do differently is to symlink these into /usr/share/qemu | 18:52 |
bernhard1 | 11.4 not cleanly unmounted.. giving errors what to do ? | 18:55 |
hallyn | kirkland: wasn't there a reason why we didn't use symlinks with kvm-pxe? | 18:56 |
hallyn | i can't recall what exactly... | 18:57 |
hallyn | ~> | 19:05 |
hallyn | kirkland: all right but that works. lemme post a new debdiff to that same place | 19:19 |
hallyn | done. i'll give that some testing next week, then ask you to push :) THen hopefully qemu-kvm can depend on ipxe. | 19:22 |
otubo | nealmcb_, Hi, are you Neal McBurnett, libvirt mantainer on launchpad by any chance? | 20:29 |
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 | 20:58 |
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:00 |
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:01 |
guntbert | bernhard1: how do you reboot? | 21:02 |
bernhard1 | <guntbert> with reboot command | 21:03 |
bernhard1 | <RoyK> 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:04 |
=== otubo is now known as otubo[AFK] | ||
uvirtbot | New bug: #825494 in libvirt (main) "/etc/init/libvirt-bin vs /etc/default/libvirt-bin" [Undecided,New] https://launchpad.net/bugs/825494 | 21:07 |
guntbert | bernhard1: I don't see any errors in that file, ... | 21:09 |
kirkland | RoAkSoAx: ubuntu@ec2-50-17-40-5.compute-1.amazonaws.com | 21:50 |
=== 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 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!