/srv/irclogs.ubuntu.com/2011/08/12/#ubuntu-server.txt

Demosthenesok, 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-lapheh, I dunno, squid has been giving me issues01:38
patdk-lapdoesn't like apt-get at all01:38
patdk-lapand now netflix won't work over it01:38
qman__I've been using squid as an apt proxy for a while01:53
qman__I know my configuration is less than ideal, but the key to making it work is exceptions for the package lists01:54
qman__or was for me01:54
patdk-lapqman, for about 2 years here02:01
patdk-lapit's always corrupting something and I have to purge /var/lib/apt/lists/partial02:01
qman__hmm02:02
patdk-lapbeen using apt-cache-ng for my servers, and it works good02:02
qman__been using it well over a year, never ran into that02:02
qman__I chose this setup before the apt-specific solutions started popping up02:02
qman__at that time it was squid, or a full on mirror02:02
patdk-lapya, I used to run a full mirror02:03
patdk-lapI will again one my new server goes live02:03
patdk-lapdon't have the disk space currently02:03
qman__I've only got about a dozen machines so it's not worth the overhead for me02: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 too02:05
patdk-lapI was full mirror for 9.0402:08
patdk-lapswitched to squid on 10.0402:08
Demosthenespatdk-lap: i just export http_proxy=http://dkjkdsjfhdskjfhds:3128/ and go, aptitude works fine02:29
Demosthenesstupid 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-lapI would use the hostname given by the dhcp server02:43
patdk-lapbut I believe you need to adjust dhclient in order for it to use it02:43
Demosthenespatdk-lap: the issue is that the kernel is doing the initial dhcp... i just set it to localhost :P03:10
patdk-lapdunno about that03:16
patdk-lapbut when I do a netboot, the netcard does dhcp, kernel boots, then initrd get a second dhcp03:17
patdk-lapbut that second dhcp in initrd seemed to use udhclient, instead of the normal one03:17
twbDemosthenes: squid can do the wrong thing if you're riced it up too much, tho03:19
twbDemosthenes: 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 bork03:19
twbpatdk-lap: Ubuntu's dhclient is patched to send host-name by default.03:20
Demosthenestwb: yeah, i set it to keep just about everything.... ;]03:26
twbPersonally, I use debmirror and it Works For Me, and makes building SOEs *much* faster03:27
Demosthenesyep. but i use squid for everythign else anyway ;]03:28
twbShrug03:29
twbI have squid here, too, but it doesn't understand how to treat apt repos optimally03:31
uvirtbotNew bug: #824947 in cloud-init (main) "EC2 apt repository DNS resolution on VPC instances" [Undecided,New] https://launchpad.net/bugs/82494703:41
Stevkhi04:55
StevkIm 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
lifelessyou need to set NOPASSWD in the sudoers file04:57
lifelessor something like that04:57
Stevkyes I tried: %svn      ALL=NOPASSWD: /usr/bin/sh05:00
Stevkdidn't really work out as expected05:00
Stevkwhen I then login as ABC whos is member of group svn and run this: sudo ABC -c sh svnupdate.sh05:03
StevkI still get asked for a password05:03
twbStevk: sh is /bin/sh05:06
twbif you're doing to run svnpdate.sh from sudo, that's what should be in sudoers.05:07
twbNot sure what you think -c will do; sudo isn't su.05:07
Stevkok I might be totally wrong and start mixing uo commands...any hint?05:08
twbAlso test with sudo -L05:10
Stevkchanged in sudoers sh to : %svn      ALL=NOPASSWD: /bin/sh05:10
twbSorry, sudo -l05:10
twbHere are two examples I have:05:10
twb    (ALL : ALL) NOPASSWD: ALL05:10
twb    ( : cdrom) NOEXEC: /usr/bin/wodim, /usr/bin/cdrecord05:10
twbThe 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
twbBoth would have a user (e.g. "twb") or a group (e.g. %users) in front05:11
twbNote 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
twbHere's what a raw sudo-ldap object looks like: http://paste.debian.net/125983/05:13
Stevkok, 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
twbStevk: the ldap object I pasted does basically that05:19
twbStevk: the ldapchsh and such scripts, are all symlinks to the /usr/sbin/ldapadduser script that I wrote05:19
twbStevk: the object allows managers to run it with root privileges, since my ldap server is locked down to prevent remote edits05:20
Stevkthanks twb I'll have a look into LDAP...I've never used it...05:28
twbStevk: unless you have >>1 host, you don't need or want sudo-ldap05:28
twbStevk: I'm just explaining it because that's what I happen to have in front of me05:28
Stevkit's a shared server with muliple vhosts ...05:30
twbIn that case it's more like what I've got :-)05:32
=== b0nghittr is now known as b0nghitter
tuvokmorgens..09:20
tuvokich 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
tuvokkann ich das irgendwie beheben'09:21
jpds!de | tuvok09:24
ubottutuvok: 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
tuvokoh mist gar net gesehn .. sorry!!09:25
RoyKanyone 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
uvirtbotNew 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/82512411:06
Ursinhagood morning, people of the sun11:32
RoyKerm........11:34
RoyKhow does grub2 choose default kernel?11:34
RoyKI have 2.6.32-33 and 2.6.35-25 installed, but even so, it runs 2.6.32-2811:35
RoyKforget it...11:36
uvirtbotNew 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/82513911:46
Ursinhaomg more samba bugs11:54
=== mendel__ is now known as mendel_
lynxmanUrsinha: morning ;)13:34
=== smb` is now known as smb
ameroany idea how to fix this small error?14:33
amero# dpkg-source -x libevent_2.0.12-stable-1.dsc14:33
amerogpgv: Signature made Fri Jun 17 07:12:50 2011 PDT using DSA key ID 7ADF946614:33
amerogpgv: Can't check signature: public key not found14:33
ameroi need to recompile source package from oneiric repo on natty14:33
=== micahg_ is now known as micahg
uvirtbotNew bug: #825290 in libvirt (main) "VirtMnager 0.9.0 doesn't provide access to "virbr0" during installation phase" [Undecided,New] https://launchpad.net/bugs/82529015:47
=== otubo is now known as otubo[AFK]
NetworkRendererhi, suche fuer SSH einen Systemmonitor16:05
dkni 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 network16:08
NetworkRendererI realy search a Terminal Systemmonitor16:09
NetworkRendereri dont want to install the desktop because it will slows down the system16:09
PiciNetworkRenderer: htop?16:11
PiciNetworkRenderer: top is already installed, but htop has extra features.16:11
NetworkRendererthanks i will try it16:13
NetworkRendereri think htop is better for me16:43
NetworkRendererThanks16:43
NetworkRendererhave a nice da16:43
NetworkRenderery16:43
=== otubo[AFK] is now known as otubo
UrsinhaI'll run some errands for the sprint travel, bbl17:19
=== Ursinha is now known as Ursinha-bbl
RoyKanyone here using oprofile on ubuntu?17:33
RoyKseems the vmlinux image is missing, and without that, oprofile isn't too fun17:34
fosterdvRoyK: what does it do?17:34
fosterdvIf you don't mind me asking?17:35
RoyKoprofile is used for benchmarking, finding in which system calls most cpu is used17:36
fosterdvAh, that's pretty cool. Thanks17:36
RoyKand without vmlinux, oprofile can't find which part of the kernel is spending the time17:36
RoyKvmlinux is the badass non-stripped, non-compressed version of vmlinuz from which linux boots17:37
fosterdvThat's pretty cool, I'm going to try to install it.17:38
fosterdvis vmlinux something you have to install separately?17:38
RoyKseems the only way is to build a kernel17:39
RoyKbut it'd be nice if it was available without thhat17:39
fosterdvYeah17:40
RoyKdoes anyone know which of i5 and i7 processors would be the fastest for single-thread computing?17:45
patdk-wkisn't that easy to figure out?17:49
patdk-wkhighest ghz cpu with turbo :)17:50
RoyKpatdk-wk: same core type?17:53
patdk-wkhmm?17:53
patdk-wkcore type only affects cpu features, like onboard cache and stuff17:53
=== mquin_ is now known as mquin
RoyKdoes AMD have anything comparible to i[57] at all these days?17:57
RoyKas for core speed17:57
patdk-wkwell, I know amd does 3.6ghz and maybe 3.8ghz17:57
patdk-wkbut I believe those are still pumped up values, not real core speeds17:58
RoyKearlier AMD used to be quite a bit faster per GHz than Intel18:00
RoyKbut dunno if that's true anymore18:00
patdk-wkwell, amd used to market their speeds as intel equiv18:00
patdk-wksaying their 2.4ghz cpu was equiv to an intel 3.0ghz18:00
patdk-wkso they sold it as a 3.0ghz :)18:00
RoyKthat was some time ago...18:01
patdk-wkyep18:01
patdk-wkI haven't tracked amd cpu's since then, cause of that18:01
RoyKbut it seems AMD Opteron at 2.2GHz is quite good http://www.cpubenchmark.net/high_end_cpus.html18:01
patdk-wkand their lack of onboard cache18:01
RoyKerm... AMDs lack of cache?18:01
patdk-wknormally have 1/2 the size cache intel has18:02
RoyKdoesn't seem to be the case anymore18:03
RoyKanyway - we have some dual 12-core machines at work, and their 2.1GHz cores are a bit faster than our previous 3YO 3.6GHz Xeons18:04
RoyKbut still way slower than a new i718:05
patdk-wkguess we need to locate a bogomips chart :)18:07
RoyK:)18:08
hallynkirkland: any objection to http://people.canonical.com/~serge/ipxe.debdiff ?18:51
kirklandhallyn: +118:52
kirklandhallyn: only thing I might do differently is to symlink these into /usr/share/qemu18:52
bernhard111.4 not cleanly unmounted.. giving errors what to do ?18:55
hallynkirkland: wasn't there a reason why we didn't use symlinks with kvm-pxe?18:56
hallyni can't recall what exactly...18:57
hallyn~>19:05
hallynkirkland: all right but that works.  lemme post a new debdiff to that same place19:19
hallyndone.  i'll give that some testing next week, then ask you to push :)  THen hopefully qemu-kvm can depend on ipxe.19:22
otubonealmcb_, Hi, are you Neal McBurnett, libvirt mantainer on launchpad by any chance?20:29
bernhard1this 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
bernhard1http://pastebin.com/4wRJdULM20:58
RoyKfirst of all, why did you install 11.04? most servers will work well on the LTS releases (8.04/10.04)21:00
el_seanodoes anybody know where linux writes its data when it goes into hibernate?21:00
el_seanois it to swap?  Or does it just drop it somewhere on /?21:01
RoyKel_seano: in the swap partition/file21:01
guntbertbernhard1: how do you reboot?21:02
bernhard1<guntbert> with reboot command21:03
bernhard1<RoyK> since it install most apps normally.. for instance php5-fpm.. on 10.4 i have fiddle with debs etc..21:04
guntbertbernhard1: ok,  I *had* to ask :-)21:04
=== otubo is now known as otubo[AFK]
uvirtbotNew bug: #825494 in libvirt (main) "/etc/init/libvirt-bin vs /etc/default/libvirt-bin" [Undecided,New] https://launchpad.net/bugs/82549421:07
guntbertbernhard1: I don't see any errors in that file, ...21:09
kirklandRoAkSoAx: ubuntu@ec2-50-17-40-5.compute-1.amazonaws.com21: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!