Re: [gentoo-user] http-replicator problem
On Thursday 14 April 2011 15:38:17 Peter Humphrey wrote: Hello list, I've been running http-replicator with default config on my LAN server with no problems until today, when I got this in its log: 14 Apr 2011 11:12:19 INFO: HttpReplicator started 14 Apr 2011 11:12:41 STAT: HttpClient 1 bound to 192.168.2.6 14 Apr 2011 11:12:41 ERROR: HttpClient 1 caught an exception in __getattr__: HttpClient instance has no attribute 'data' 192.168.2.6 is this workstation, where I was running emerge -uaDv world. The emerge failed with a Connection-refused error when attempting to fetch the distfile. The server also can't fetch distfiles via its http-replicator, so I suspect that's where the problem lies - not at the client end. On the server I've recompiled http-replicator-3.0-r2 and run repcacheman. On the client I've checked that I'm using python-2.7 and I've reinstalled portage: [ebuild R ] sys-apps/portage-2.1.9.42 USE=(ipc) -build -doc -epydoc - python2 -python3 (-selinux) LINGUAS=-pl I can't think what else to try, and I can't think of anything that's changed since yesterday. Anyone any ideas? Just a hunch: have you run python-updater? -- Regards, Mick signature.asc Description: This is a digitally signed message part.
[gentoo-user] consolekit won't start
I'm on an x86 machine and noticed that consolekit won't start: # /etc/init.d/consolekit restart * Starting ConsoleKit daemon ... [ !! ] Looking deeper into it I find: # /etc/init.d/consolekit --verbose --debug restart + [[ '' != \y\e\s ]] + source /etc/init.d/functions.sh ++ RC_GOT_FUNCTIONS=yes ++ [[ -f /etc/conf.d/rc ]] ++ source /etc/conf.d/rc +++ RC_TTY_NUMBER=12 +++ RC_PARALLEL_STARTUP=no +++ RC_INTERACTIVE=yes +++ RC_HOTPLUG=yes +++ RC_COLDPLUG=yes +++ RC_PLUG_SERVICES= +++ RC_NET_STRICT_CHECKING=lo +++ RC_DOWN_INTERFACE=yes +++ RC_VOLUME_ORDER='raid evms lvm dm' +++ RC_VERBOSE=no +++ RC_BOOTLOG=no +++ RC_BOOTCHART=no +++ RC_USE_FSTAB=no +++ RC_USE_CONFIG_PROFILE=yes +++ RC_FORCE_AUTO=no +++ RC_DEVICES=auto +++ RC_DEVICE_TARBALL=no +++ RC_SWAP_ERASE=no +++ RC_DMESG_LEVEL=1 +++ RC_RETRY_KILL=yes +++ RC_RETRY_TIMEOUT=1 +++ RC_RETRY_COUNT=5 +++ RC_FAIL_ON_ZOMBIE=no +++ RC_KILL_CHILDREN=no +++ RC_WAIT_ON_START=0.1 +++ svcdir=/var/lib/init.d +++ svcmount=no +++ svcfstype=tmpfs +++ svcsize=2048 ++ declare -r svclib=/lib/rcscripts ++ declare -r svcdir=/var/lib/init.d ++ svcmount=no ++ svcfstype=tmpfs ++ svcsize=2048 ++ deptypes='need use' ++ ordtypes='before after' ++ RC_QUIET_STDOUT=no ++ RC_VERBOSE=no ++ RC_NOCOLOR=no ++ RC_ENDCOL=yes ++ RC_TTY_NUMBER=12 ++ RC_PARALLEL_STARTUP=no ++ RC_NET_STRICT_CHECKING=lo ++ RC_USE_FSTAB=no ++ RC_USE_CONFIG_PROFILE=yes ++ RC_FORCE_AUTO=no ++ RC_DEVICES=auto ++ RC_DOWN_INTERFACE=yes ++ RC_VOLUME_ORDER='raid evms lvm dm' ++ RC_INDENTATION= ++ RC_DEFAULT_INDENT=2 ++ RC_DOT_PATTERN= ++ import_addon splash-functions.sh ++ local addon=/lib/rcscripts/addons/splash-functions.sh ++ has_addon splash-functions.sh ++ [[ -e /lib/rcscripts/addons/splash-functions.sh ]] ++ return 1 ++ [[ -f /sbin/splash-functions.sh ]] ++ source /sbin/splash-functions.sh +++ export spl_cachesize=4096 +++ spl_cachesize=4096 +++ export spl_cachetype=tmpfs +++ spl_cachetype=tmpfs [snip ...] + [[ 0 != \0 ]] + myscript=/etc/init.d/consolekit + [[ -L /etc/init.d/consolekit ]] + SVCNAME=/etc/init.d/consolekit + declare -r SVCNAME=consolekit + export SVCNAME + myservice=consolekit + svc_trap + trap 'eerror ERROR: ${SVCNAME} caught an interrupt; exit 1' INT QUIT TSTP + [[ -e /dev/.rcsysinit ]] + [[ '' == \1 ]] + svcpause=no + [[ '' != \y\e\s ]] + source /lib/rcscripts/sh/rc-services.sh ++ RC_GOT_SERVICES=yes ++ [[ yes != \y\e\s ]] ++ [[ '' != \y\e\s ]] ++ [[ 0 == \0 ]] ++ /sbin/depscan.sh ++ source /var/lib/init.d/deptree +++ declare -r rc_type_ineed=2 +++ declare -r rc_type_needsme=3 +++ declare -r rc_type_iuse=4 +++ declare -r rc_type_usesme=5 +++ declare -r rc_type_ibefore=6 +++ declare -r rc_type_iafter=7 +++ declare -r rc_type_broken=8 +++ declare -r rc_type_mtime=9 +++ declare -r rc_index_scale=10 +++ declare -a RC_DEPEND_TREE +++ RC_DEPEND_TREE[0]=75 +++ RC_DEPEND_TREE[10]=consolekit +++ RC_DEPEND_TREE[10+2]=dbus +++ RC_DEPEND_TREE[10+3]= +++ RC_DEPEND_TREE[10+4]=syslog-ng +++ RC_DEPEND_TREE[10+5]=xdm +++ RC_DEPEND_TREE[10+6]=local +++ RC_DEPEND_TREE[10+7]=checkroot +++ RC_DEPEND_TREE[10+8]= +++ RC_DEPEND_TREE[10+9]=1302945575 +++ RC_DEPEND_TREE[20]=crypto-loop +++ RC_DEPEND_TREE[20+2]='checkroot modules' [snip ...] ++ /sbin/start-stop-daemon --start -q --pidfile /var/run/ConsoleKit/pid --exec /usr/sbin/console-kit-daemon -- + local retval=1 + [[ 1 != \0 ]] + return 1 + result=1 + [[ 1 == \0 ]] + [[ 0 == \0 ]] + [[ -f /var/lib/init.d/daemons/consolekit ]] + return 1 + eend 1 + local retval=1 + shift + _eend 1 eerror '' + local retval=1 efunc=eerror msg + shift 2 + [[ 1 == \0 ]] + [[ -c /dev/null ]] + [[ -n '' ]] + msg='[ !! ]' + [[ yes == \y\e\s ]] [ !! ]'e ' [ !! ] + return 1 + LAST_E_CMD=eend + return 1 + retval=1 + [[ 1 == \0 ]] + [[ 1 != \0 ]] + [[ 1 == \0 ]] + mark_service_stopped consolekit + [[ -z consolekit ]] + rm -Rf /var/lib/init.d/daemons/consolekit /var/lib/init.d/starting/consolekit /var/lib/init.d/started/consolekit /var/lib/init.d/inactive/consolekit /var/lib/init.d/wasinactive/consolekit /var/lib/init.d/stopping/consolekit /var/lib/init.d/scheduled/consolekit /var/lib/init.d/options/consolekit /var/lib/init.d/coldplugged/consolekit + rc_splash stop + return 0 + [[ -z '' ]] + is_runlevel_start + [[ -d /var/lib/init.d/softscripts.old ]] + service_message eerror 'ERROR: consolekit failed to start' [snip ...] + test_service_state xdm-setup started + [[ -z xdm-setup ]] + [[ -z started ]] + local f=/var/lib/init.d/started/xdm-setup + [[ ! -x /etc/init.d/xdm-setup ]] + [[ -e /var/lib/init.d/started/xdm-setup ]] + return 1 + rm -rf /var/lib/init.d/snapshot/8146 + service_started consolekit + test_service_state consolekit started + [[ -z consolekit ]] + [[ -z started ]] + local f=/var/lib/init.d/started/consolekit + [[ ! -x /etc/init.d/consolekit ]] + [[ -e /var/lib/init.d/started/consolekit ]] + [[ '' != \t\r\u\e ]] + [[ '' != \1 ]] + [[ no == \y\e\s ]] + return 1 + retval=1 + exit 1 # Any idea why it fails? I can post the lot if needed.
[gentoo-user] Re: consolekit won't start
On 16 April 2011 12:24, Mick michaelkintz...@gmail.com wrote: I'm on an x86 machine and noticed that consolekit won't start: # /etc/init.d/consolekit restart * Starting ConsoleKit daemon ... [ !! ] How strange ... I stopped xdm, restarted dbus, then started consolekit and there was no problem! After that I restarted xdm which launched kdm as normal. I guess then that there are perhaps some xdm dependencies in the starting sequence of consolekit. I can add it now to rc-update and see what happens when I boot up. -- Regards, Mick
Re: [gentoo-user] http-replicator problem
On Saturday 16 April 2011 08:44:42 Mick wrote: Just a hunch: have you run python-updater? I have now, even though Python hasn't changed on this machine, but it didn't want to remerge anything. -- Rgds Peter
Re: [gentoo-user] Re: consolekit won't start
On Sat, 16 Apr 2011 14:00:02 +0200, Mick wrote about [gentoo-user] Re: consolekit won't start: [snip] After that I restarted xdm which launched kdm as normal. I guess then that there are perhaps some xdm dependencies in the starting sequence of consolekit. I can add it now to rc-update and see what happens when I boot up. Consolekit does not like starting when there are already several daemon processes running. So, you should add it to the *boot* run level, thus allowing it an early appearance. -- Regards, Dave [RLU #314465] *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* dwn...@ntlworld.com (David W Noon) *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* signature.asc Description: PGP signature
Re: [gentoo-user] Re: consolekit won't start
On Saturday 16 April 2011 17:27:14 David W Noon wrote: On Sat, 16 Apr 2011 14:00:02 +0200, Mick wrote about [gentoo-user] Re: consolekit won't start: [snip] After that I restarted xdm which launched kdm as normal. I guess then that there are perhaps some xdm dependencies in the starting sequence of consolekit. I can add it now to rc-update and see what happens when I boot up. Consolekit does not like starting when there are already several daemon processes running. So, you should add it to the *boot* run level, thus allowing it an early appearance. Thanks David. It now seems to start fine at the default run level - as recommended here: http://en.gentoo-wiki.com/wiki/KDE4#KDM_.26_ConsoleKit -- Regards, Mick signature.asc Description: This is a digitally signed message part.
[gentoo-user] GCC 4.5.2 won't merge
I got a new gentoo VPS. Everything installed fine, and also upgraded, except gcc. The gcc I have on the server is 4.4.5 which I'm trying to upgrade to 4.5.2 I get the error: Unable to determine suffix for object files. Here are the relevant pastes: emerge info: http://dpaste.com/532699/plain/ build log: http://paste.pocoo.org/raw/372839/ build environment: http://pastebin.ca/2047174 -- Regards, Nilesh Govindarajan Facebook: http://www.facebook.com/nilesh.gr Twitter: http://twitter.com/nileshgr Identi.ca: http://identi.ca/nileshgr Website: http://nileshgr.com http://itech7.com
Re: [gentoo-user] Re: consolekit won't start
On Sat, 16 Apr 2011 19:00:02 +0200, Mick wrote about Re: [gentoo-user] Re: consolekit won't start: On Saturday 16 April 2011 17:27:14 David W Noon wrote: [snip] Consolekit does not like starting when there are already several daemon processes running. So, you should add it to the *boot* run level, thus allowing it an early appearance. Thanks David. It now seems to start fine at the default run level - as recommended here: http://en.gentoo-wiki.com/wiki/KDE4#KDM_.26_ConsoleKit About a year ago, I had all kinds of problems with consolekit refusing to start from the default run level. Hence, I moved it to boot and all has been well since then. -- Regards, Dave [RLU #314465] *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* dwn...@ntlworld.com (David W Noon) *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* signature.asc Description: PGP signature
[gentoo-user] smartcard issues
Hi all, For logging in to servers we now use smartcards. For windows this works fine, however for Linux and Mac OS X it doesn't. The smartcards are from Raaktechnologies. THis is the output of openct-tool atr: Detected CCID Compatible Card present, status changed ATR: 3b f8 13 00 00 81 31 fe So it seems that the card is detected. HOwever when doing: pkcs15-tool -D [pkcs15-tool] reader-pcsc.c:896:pcsc_detect_readers: SCardListReaders failed: 0x8010002e [pkcs15-tool] reader-pcsc.c:1015:pcsc_detect_readers: returning with: No readers found Using reader with a card: CCID Compatible [pkcs15-tool] reader-openct.c:324:openct_reader_transmit: unable to transmit [pkcs15-tool] apdu.c:394:do_single_transmit: unable to transmit APDU [pkcs15-tool] reader-openct.c:324:openct_reader_transmit: unable to transmit [pkcs15-tool] apdu.c:394:do_single_transmit: unable to transmit APDU [pkcs15-tool] card-default.c:66:autodetect_class: APDU transmit failed: Generic reader error [pkcs15-tool] card-default.c:113:default_init: unable to determine the right class byte [pkcs15-tool] card.c:202:sc_connect_card: driver 'Default driver for unknown cards' init() failed: Card is invalid or cannot be handled [pkcs15-tool] card.c:213:sc_connect_card: unable to find driver for inserted card [pkcs15-tool] card.c:228:sc_connect_card: returning with: Card is invalid or cannot be Failed to connect to card: Card is invalid or cannot be handled I think that this tool has no driver for reading this card. They supplied me with a library: libcmP11.so. I tried adding it to opensc.conf and got a message that it was not a valid driver. Using pkcs11-tool: pkcs11-tool -I \ --module /home/gvm/smartcard/raaksign-linux-471-x64/libcmP11.so Cryptoki version 2.11 Manufacturer charismathics gmbh Library cm PKCS#11 module(ver 4.8) No slots. So it seems that this is a pkcs11 library. However I always get no slots and it isn't usable on any rdesktop connection. I have following packages and there use flags: net-misc/rdesktop-1.6.0-r4 alsa ipv6 pcsc-lite rdpusb dev-libs/openct-0.6.20-r1 Upcsc-lite usb dev-libs/opensc-0.11.13-r2 openct pcsc-lite readline ssl zlib sys-apps/pcsc-lite-1.7.2-r1 USE=(-usb) ldd of the library shows that all dependencies are met. I have to say I have no experience using smartcards and I am not sure how the different tools interact: opensc-tool openct-tool pcscd pkcs11-tool pkcs15-tool,... In the end what should be possible is login to an rdesktop connection. On my previous portable I came somewhere I actually could type in my pin code (on the remote desktop) however after that it failed. Now I can't even got it to work to that stage. The SmartCard reader I have is one that is internally connected through usb: Bus 002 Device 005: ID 0a5c:5801 Broadcom Corp. BCM5880 Secure Applications Processor with fingerprint swipe sensor All help/troubleshooting tips/... are welcome! Thanks in advance!
[gentoo-user] sane-backends
I just got a new scanner which will be supported in version 1.0.22 of the sane-backend package. However, that version isn't in portage yet. How do I find who the maintainers of the portage package are so that I can contact them to see if I can help get that port made available? -- -M There are 10 kinds of people in this world: Those who can count in binary and those who cannot.
[gentoo-user] win key takes me from X to VT
Hello. I am having this issue since a couple of days ago. When I press the win key (alone) I am taken back to VT, which is quite annoying since I've used win+[123456] to go to the respective virtual desktops for years. I've tried downgrading xorg-server and it didn't work. I've also tried to change mingetty (which I've been using for years as well) by agetty, no change either. If I restart the xdm service (I use kdm) then everything works as expected and I can use the windows key for my bindings. Any idea on where to start looking or how to diagnose this? Thanks everyone. -- Jesús Guerrero Botella
Re: [gentoo-user] sane-backends
Michael George wrote: I just got a new scanner which will be supported in version 1.0.22 of the sane-backend package. However, that version isn't in portage yet. How do I find who the maintainers of the portage package are so that I can contact them to see if I can help get that port made available? This where the change log for one of the sane packages is located. /usr/portage/media-gfx/sane-backends/ChangeLog Usually the ones that edit there are the maintainers. I think you need to file a bug report and request the new version to be put in the tree and eventually made stable. Of course, if it is really new, it may be in a overlay for testing too. Some put them in the overlay to test then move them over to the tree a bit later if there are no problems or weird dependency problems. I think there is a fancy command to get that info but can't recall it at the moment. I bet someone will post it tho. ;-) Dale :-) :-)
Re: [gentoo-user] sane-backends
Dale wrote: Michael George wrote: I just got a new scanner which will be supported in version 1.0.22 of the sane-backend package. However, that version isn't in portage yet. How do I find who the maintainers of the portage package are so that I can contact them to see if I can help get that port made available? This where the change log for one of the sane packages is located. /usr/portage/media-gfx/sane-backends/ChangeLog Usually the ones that edit there are the maintainers. I think you need to file a bug report and request the new version to be put in the tree and eventually made stable. Of course, if it is really new, it may be in a overlay for testing too. Some put them in the overlay to test then move them over to the tree a bit later if there are no problems or weird dependency problems. I think there is a fancy command to get that info but can't recall it at the moment. I bet someone will post it tho. ;-) Dale :-) :-) Someone already filed a bug for it. http://bugs.gentoo.org/show_bug.cgi?id=355827 You may want to add yourself to the CC so that you can tell what is being done with it. Dale :-) :-)
[gentoo-user] screen, screen+byobu, or tmux?
So, anyone got any experience using screen and screen+byobu and tmux? What's your opinion in general of the three alternatives? Rgds, -- -- Pandu E Poluan - IT Optimizer My website: http://pandu.poluan.info/