1232237285 Q * bonbons Quit: Leaving
1232239312 Q * infowolfe Ping timeout: 480 seconds
1232240692 J * infowolfe ~firstname.lastname@example.org
1232240796 P * glen__
1232240802 J * friendly ~email@example.com
1232244405 M * TimLyth :S I'm still no closer to sorting out what's stopping freshclam from working within my guest. :(
1232244436 M * TimLyth Worse case, I may have to put it in the host. :S
1232244686 M * Guy- TimLyth: have you tried stracing it?
1232244707 M * Guy- fwiw, I do have freshclam in a vserver guest and have no problems
1232244724 M * TimLyth Which version of freshclam, which OS in the guest?
1232244796 M * Guy- Debian sid
1232244801 M * TimLyth Snap.
1232244808 M * TimLyth And freshclam?
1232244822 M * Guy- 0.92~dfsg-2
1232244829 M * Guy- I'll upgrade to 0.94 right away
1232244838 M * TimLyth ClamAV 0.94.2/8683/Wed Nov 26 17:58:25 2008
1232245010 M * Guy- I now have this: ClamAV 0.94.2/8873/Sat Jan 17 04:33:31 2009
1232245023 M * TimLyth Ok.
1232245028 M * Guy- and it works:
1232245030 M * Guy- 2009-01-18 03:15:05.589138500 daily.cvd updated (version: 8873, sigs: 51309, f-level: 38, builder: guitar)
1232245031 M * TimLyth Time for an apt-get update;apt-get upgrade...
1232245033 M * Guy- 2009-01-18 03:15:05.589169500 Database updated (489281 signatures) from db.local.clamav.net (IP: 18.104.22.168)
1232245036 M * Guy- 2009-01-18 03:15:05.589176500 Clamd successfully notified about the update.
1232245046 M * Guy- I seriously don't think your problem is related to the version of freshclam
1232245053 M * Guy- have you tried stracing it?
1232245076 M * TimLyth Yep, can't decipher the output though.
1232245103 M * TimLyth I used the -o option as it was producing PAGES!!! of output.
1232245122 M * Bertl try with -fF and upload the output somewhere :)
1232245131 M * Guy- if you can pastebin the relevant part (say, where it prints the error message and the last 200 lines before that), we can look at it
1232245194 M * Guy- but you can also upload all the output somewhere, sure
1232245215 M * Guy- but be sure to run strace with -fF (or -ffF)
1232245302 M * TimLyth From /var/log/clamav/freshclam.log with default logging options:
1232245303 M * TimLyth Downloading daily-8684.cdiff [100%]
1232245303 M * TimLyth ERROR: cdiff_apply: lseek(desc, -350, SEEK_END) failed
1232245303 M * TimLyth ERROR: getpatch: Can't apply patch
1232245342 M * Guy- I'd really like to see that strace
1232245361 M * TimLyth If I look for "ERROR" in the strace file I have, immediately before the first error output there, I have:
1232245369 M * TimLyth open("./clamav-b738a6a6261e5da65c45f9920cc0bc3c", O_RDONLY) = 4
1232245369 M * TimLyth dup(4) = 5
1232245369 M * TimLyth lseek(5, -350, SEEK_END) = -1 EINVAL (Invalid argument)
1232245388 M * Guy- that doesn't tell us much, only what was already in the error message
1232245395 M * Guy- maybe look for ENOSPC
1232245417 M * TimLyth Not found in the file.
1232245433 M * Guy- OK, can you upload that strace log somewhere?
1232245479 M * TimLyth Yep, http://mrtux.homedns.org/freshclam.strace
1232245497 M * TimLyth ~1.1MB in size.
1232245546 M * Guy- fetching
1232245706 M * Guy- to me it looks like your clamav mirror isn't serving a valid file
1232245719 M * Bertl TimLyth: \n\nRestricted ... sounds like a proxy/filter to me :)
1232245720 M * TimLyth :S
1232245738 M * Guy- exactly
1232245743 M * TimLyth Bertl: That would indeed be the case...
1232246165 M * TimLyth That appears to have been the problem...
1232246198 M * TimLyth I have squidGuard as a helper to squid, and hadn't authorised the guest IP's through squidGuard.
1232246239 M * Guy- well, if you've been playing with this for the last 12 hours, I think it's safe to say that's a lesson well learned :)
1232246263 M * Bertl good that you asked here :) otherwise it would have been another 12 hours :)
1232246291 M * Guy- took me about the same time to figure out that it's a bad idea to attempt to start slapd using sudo to a user that is only resolvable via nss_ldap :)
1232246304 M * TimLyth ROFL.
1232246378 M * TimLyth On with another guest... There aren't any caveats to look out for with running squid in a guest?
1232246414 M * Bertl nothing beyond the obvious ...
1232246525 M * TimLyth Cool.
1232246956 M * Guy- my squid is fine, fwiw :)
1232247067 J * lchvdlch ~firstname.lastname@example.org
1232247106 M * Guy- but now, good rotational period all around - I'm off to sleep
1232247113 M * TimLyth ok.l
1232247232 M * lchvdlch Hi, do you know if there is any patch that would let me change date and time in a context, without affecting other context date?
1232247289 M * Bertl no, but that is a kernel feature since a few years
1232247317 M * Bertl i.e. enable guest time in the kernel config, and set the proper flag
1232247406 M * lchvdlch Bertl: thanks, I'll look into it
1232247454 M * Bertl np
1232248489 M * lchvdlch Bertl: is it related to lguest or guest time accounting?
1232248647 M * lchvdlch I guess I found it...
1232248688 M * Bertl http://linux-vserver.org/Capabilities_and_Flags
1232248703 M * Bertl VIRT_TIME, and in the kernel config:
1232248744 M * Bertl CONFIG_VSERVER_VTIME
1232248860 M * lchvdlch :) thanks!
1232248873 M * Bertl you're welcome!
1232249190 Q * international Ping timeout: 480 seconds
1232249231 J * international ~1xs@p5B01A02A.dip0.t-ipconnect.de
1232250556 M * Bertl off to bed now .. have a good one everyone! cya!
1232250562 N * Bertl Bertl_zZ
1232250621 J * takeru ~email@example.com
1232251615 Q * lchvdlch Ping timeout: 480 seconds
1232252717 Q * balbir_ Read error: Connection reset by peer
1232253339 N * sardyno_ sardyno
1232253520 Q * sladen Quit: Reconnecting
1232253678 J * balbir_ ~firstname.lastname@example.org
1232254879 Q * takeru Quit: takeru
1232255579 Q * friendly Quit: Leaving.
1232256151 J * ktwilight_ ~email@example.com
1232256428 Q * ktwilight Ping timeout: 480 seconds
1232265926 J * FireEgl ~FireEgl@173-16-9-10.client.mchsi.com
1232267209 J * mfv ~firstname.lastname@example.org
1232269342 J * hijacker_ ~email@example.com
1232272241 J * ousado_ ~firstname.lastname@example.org
1232272966 Q * kiorky Remote host closed the connection
1232273877 Q * hijacker_ Quit: Leaving
1232274125 J * bonbons ~bonbons@2001:960:7ab:0:2c0:9fff:fe2d:39d
1232274472 J * kiorky ~email@example.com
1232274891 Q * fosco Ping timeout: 480 seconds
1232274929 J * cga ~firstname.lastname@example.org
1232276033 N * Bertl_zZ Bertl_oO
1232278213 Q * Aiken Remote host closed the connection
1232279455 J * geb ~email@example.com
1232283170 Q * mfv Remote host closed the connection
1232283186 J * mfv ~firstname.lastname@example.org
1232284313 Q * cga Quit: WeeChat 0.2.6
1232286143 J * fosco email@example.com
1232288216 M * Guy- how do I configure the timeout of 'vserver stop'? the time it waits before sending kill signals?
1232288393 M * daniel_hozac /etc/vservers/.defaults/apps/vshelper/sync-timeout
1232288700 J * bibabu ~firstname.lastname@example.org
1232288711 M * Guy- isn't VSHELPER_SYNC_TIMEOUT=30 hardcoded?
1232288723 M * Guy- but if you say so, it isn't :)
1232288751 M * daniel_hozac no, it's not.
1232288776 M * Guy- OK, thanks
1232288792 M * daniel_hozac you can do it per-guest too, if you want.
1232288925 M * Guy- in /etc/vservers/guestname/apps/vshelper then, I guess
1232288929 M * daniel_hozac yes.
1232288939 M * Guy- splendid, thank you.
1232290243 J * doener ~doener@i577B995F.versanet.de
1232290714 J * dna ~email@example.com
1232291870 J * takeru ~firstname.lastname@example.org
1232292356 Q * takeru Quit: takeru
1232293684 M * Guy- in vserver 2.3, if I have a host service bound to 127.0.0.53, will that be reachable from guests?
1232295171 J * docelic__ ~email@example.com
1232295562 Q * docelic_ Ping timeout: 480 seconds
1232297168 M * daniel_hozac no.
1232297181 M * daniel_hozac not unelss you disable all of the lback stuff, and set the lback_allow flag.
1232297899 J * cga ~firstname.lastname@example.org
1232298799 Q * ensc Ping timeout: 480 seconds
1232299599 J * ensc ~irc-ensc@p57AA6AE0.dip.t-dialin.net
1232299711 M * Guy- what's the recommended way of running local services that should only be reachable from our own guests?
1232299742 M * Guy- bind them to a private IP on a dummy interface?
1232299774 M * Wonka bind them to 127.0.0.1?
1232299857 M * Guy- isn't 127.0.0.1 automatically remapped to the first IP of the guest?
1232299891 M * Guy- that's why I used 127.x.y.z so far, but that doesn't immediately work with vs2.3
1232300048 M * daniel_hozac with 2.3 and CONFIG_VSERVER_AUTO_LBACK, each guest has their own private 127.0.0.1.
1232300126 M * Guy- which is good, but doesn't help me
1232300143 M * Guy- I'm running a dns cache on the host and want the guests to be able to talk to it
1232300168 M * Guy- I did that by binding it to 127.0.0.53 so far and am looking for the best way to do it with vs2.3
1232300189 M * daniel_hozac any RFC 1918 IP address on any interface would work fine.
1232300247 M * Guy- OK, thanks
1232300755 M * snooze hmmm.. one of my filesystems inside a vs seems to have failed
1232300762 M * snooze and now several commands are frozen inside the vs
1232300767 M * snooze and i cant kill the vs itself
1232300771 M * snooze what todo what todo
1232300888 J * pflanze ~email@example.com
1232301009 M * Guy- snooze: if they're in state D, you can't do much better than reboot, I'm afraid
1232301041 M * snooze what's state D?
1232301058 M * Guy- daniel_hozac: with my new vs2.3 kernel, ps axfu inside a vserver guest only shows me the processes of my login session, not all processes; is this intentional?
1232301085 M * Guy- snooze: in the output of top or ps, a letter D in the state column - it means "uninterruptible sleep"
1232301099 M * Guy- snooze: the process is waiting for some syscall (probably i/o related) to finish
1232301114 M * snooze hm they all have that letter yeah
1232301136 M * Guy- was this a network fs?
1232301155 M * snooze nope, a usual xfs
1232301170 M * daniel_hozac Guy-: what kernel?
1232301179 M * Guy- daniel_hozac: 2.6.28-vs22.214.171.124.4
1232301189 M * Guy- daniel_hozac: top sees all processes
1232301197 M * Guy- vps axfu lists them too
1232301205 M * Guy- but ps inside a guest doesn't
1232301213 M * daniel_hozac ps aux does though, right?
1232301222 M * Guy- yes
1232301274 M * daniel_hozac so we know what's wrong then.
1232301302 M * Guy- I'm listening
1232301332 M * Guy- snooze: I fear you'll have to reboot, probably even reboot -f
1232301390 M * snooze :|
1232301392 M * snooze ye i guess so
1232301422 M * Guy- daniel_hozac: pstree works, and I'd have guessed it used the same mechanism to enumerate processes that ps uses, but apparently that's not the case...
1232301431 M * daniel_hozac Guy-: grep PPid /proc/1/status in the guest doesn't show 0, right?
1232301470 M * Guy- it shows 1
1232301478 M * daniel_hozac which is wrong.
1232301611 M * Guy- I guess there's no way for me to fix it from userspace?
1232301640 M * daniel_hozac sure there is. use your editor to fix the kernel, compile it, and install it :-)
1232301668 M * Guy- I was afraid you'd say that :)
1232301964 J * miller7 ~firstname.lastname@example.org
1232301981 M * miller7 hello everyone :)
1232302060 M * Guy- hi
1232302218 Q * ensc Remote host closed the connection
1232302710 M * miller7 someone here using debian host with >2 TB disks (on lenny)?
1232302784 M * miller7 I'm installing a new box with large HDs and when lenny installs vserver kernel it messes with the bootsector or something and it kills it
1232303301 N * Bertl_oO Bertl
1232303305 M * Bertl nice ...
1232303309 J * ensc ~irc-ensc@p57AA6AE0.dip.t-dialin.net
1232304813 M * miller7 hey bert :)
1232308085 M * arekm pmjdebruijn: and 126.96.36.199 has landed
1232309722 J * Aiken ~Aiken@ppp118-208-102-132.lns3.bne4.internode.on.net
1232313069 Q * cga Quit: WeeChat 0.2.6
1232313646 Q * bonbons Quit: Leaving
1232315007 Q * dna Quit: Verlassend
1232315473 M * ktwilight_ miller7, am guessin' your filesystem type isn't compatible with >2TB
1232315832 M * mnemoc miller7, tried ext4? :)
1232315977 Q * mfv Quit: debian/rules!
1232315994 M * mnemoc int ext3 you have to set larger block sizes to get more than 2TB support
1232315998 M * mnemoc in
1232316049 M * Bertl well, but that happens automagically since ... hmm. 5 or 6 years now?
1232316079 M * mnemoc uh, it seems I use reiserfs since then :p
1232316749 M * ktwilight_ hm, i meant partition type. :/
1232316861 M * mnemoc uh
1232316887 M * ktwilight_ http://xfs.org/index.php/XFS_FAQ#Q:_Why_does_my_.3E_2TB_XFS_partition_disappear_when_I_reboot_.3F <- that's what i mean.
1232316899 M * ktwilight_ though maybe it's not related at all
1232317006 M * mnemoc Bertl: in the case you are bored :p
1232317007 M * mnemoc 1 out of 1 hunk FAILED -- saving rejects to file arch/s390/kernel/syscalls.S.rej
1232317010 M * mnemoc 1 out of 4 hunks FAILED -- saving rejects to file kernel/timer.c.rej
1232317018 M * mnemoc ^--- .27.12
1232317024 M * Bertl hehe
1232317042 M * mnemoc :)
1232319970 N * ensc Guest1081
1232319980 J * ensc ~irc-ensc@p57AA6AE0.dip.t-dialin.net
1232320016 Q * nou reticulum.oftc.net venus.oftc.net
1232320016 Q * ard reticulum.oftc.net venus.oftc.net
1232320016 Q * daniel_hozac reticulum.oftc.net venus.oftc.net
1232320020 J * daniel_hozac ~daniel@2001:16d8:ff15:100::102
1232320088 Q * Guest1081 Ping timeout: 480 seconds
1232320130 Q * tokkee Ping timeout: 480 seconds
1232320304 J * nou Chaton@causse.larzac.fr.eu.org
1232321519 J * tokkee email@example.com
1232322570 M * Bertl mnemoc: check the usual places :)
1232323173 Q * TimLyth Read error: Operation timed out