1303868138 J * ichavero_ ~ichavero@148.229.9.250 1303871039 Q * ViRUS Quit: If there is Artificial Intelligence, then there's bound to be some artificial stupidity. (Thomas Edison) 1303873553 Q * hparker Quit: Quit 1303878891 M * Bertl off to bed now ... have a good one everyone! 1303878896 N * Bertl Bertl_zZ 1303880691 Q * FireEgl Remote host closed the connection 1303881700 J * FireEgl ~FireEgl@173-16-9-3.client.mchsi.com 1303882065 J * Inufash ~Imadi@659AABBK3.tor-irc.dnsbl.oftc.net 1303882950 J * petzsch ~markus@dslb-088-075-121-090.pools.arcor-ip.net 1303884151 J * derjohn_foo ~aj@p54B01BC9.dip.t-dialin.net 1303886365 Q * Inufash Quit: Leaving 1303886844 J * ghislain ~AQUEOS@adsl2.aqueos.com 1303887508 J * harobed ~harobed@arl57-1-82-231-110-14.fbx.proxad.net 1303888301 Q * harobed Ping timeout: 480 seconds 1303890459 J * harobed ~harobed@pda57-1-82-231-115-1.fbx.proxad.net 1303892517 Q * petzsch Quit: Leaving. 1303893370 Q * FireEgl Ping timeout: 480 seconds 1303894833 Q * ichavero_ Quit: This computer has gone to sleep 1303894849 J * FireEgl ~FireEgl@173-16-9-3.client.mchsi.com 1303896801 Q * derjohn_foo Ping timeout: 480 seconds 1303898831 J * kir ~kir@swsoft-msk-nat.sw.ru 1303899294 J * derjohn_foo ~aj@ip-81-210-228-18.unitymediagroup.de 1303900655 J * BenG ~bengreen@cpc12-aztw24-2-0-cust146.aztw.cable.virginmedia.com 1303900839 M * karasz Bertl_zZ: thx i found it. 1303903392 J * petzsch ~markus@dslb-088-075-121-090.pools.arcor-ip.net 1303905627 J * bjoern ~bbecker@62.225.106.254 1303905758 M * bjoern Hi, i could a problem with installing slapd in debian vserver, is there any special options with i have to set up? 1303905773 M * daniel_hozac what's the problem? 1303905840 M * bjoern daniel_hozac: dpkg returns an error. It can't import one ldif file during installation. 1303906027 M * bjoern daniel_hozac: in the vserver host the installation running without any problems. 1303906171 M * bjoern daniel_hozac: Its running on a Debian 6.0 with a Linux 2.6.32-5-vserver-amd64 #1 SMP as Kernel. 1303906322 M * daniel_hozac and the error is....? 1303906350 M * daniel_hozac btw, LANG=C always helps. 1303906558 M * bjoern daniel_hozac: yes, i'm sorry ;-) 1303906559 M * bjoern root@lisa:/# apt-get install slapd ldap-utils 1303906559 M * bjoern Reading package lists... Done 1303906559 M * bjoern Building dependency tree 1303906559 M * bjoern Reading state information... Done 1303906559 M * bjoern The following NEW packages will be installed: 1303906559 M * bjoern ldap-utils slapd 1303906561 M * bjoern 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. 1303906561 M * bjoern Need to get 0 B/1929 kB of archives. 1303906563 M * bjoern After this operation, 4780 kB of additional disk space will be used. 1303906563 M * bjoern Preconfiguring packages ... 1303906565 M * bjoern Selecting previously deselected package slapd. 1303906565 M * bjoern (Reading database ... 15149 files and directories currently installed.) 1303906567 M * bjoern Unpacking slapd (from .../slapd_2.4.23-7_amd64.deb) ... 1303906567 M * bjoern Selecting previously deselected package ldap-utils. 1303906569 M * bjoern Unpacking ldap-utils (from .../ldap-utils_2.4.23-7_amd64.deb) ... 1303906569 M * bjoern Processing triggers for man-db ... 1303906571 Q * hijacker Ping timeout: 480 seconds 1303906571 M * bjoern Setting up slapd (2.4.23-7) ... 1303906571 M * bjoern Creating initial configuration... Loading the initial configuration from the ldif file () failed with 1303906573 M * bjoern the following error while running slapadd: 1303906573 M * bjoern str2entry: invalid value for attributeType olcSuffix #0 (syntax 1.3.6.1.4.1.1466.115.121.1.12) 1303906575 M * bjoern slapadd: could not parse entry (line=1052) 1303906575 M * bjoern dpkg: error processing slapd (--configure): 1303906577 M * bjoern subprocess installed post-installation script returned error exit status 1 1303906577 M * bjoern Setting up ldap-utils (2.4.23-7) ... 1303906579 M * bjoern configured to not write apport reports 1303906579 M * bjoern Errors were encountered while processing: 1303906581 M * bjoern slapd 1303906581 M * bjoern E: Sub-process /usr/bin/dpkg returned an error code (1) 1303906679 M * daniel_hozac please use paste.linux-vserver.org for pastes longer than 3 lines. 1303906731 M * bjoern daniel_hozac: Oh sorry. Okay. 1303906747 M * daniel_hozac it doesn't look at all Linux-VServer related though. have you looked at whatever file it is using, to see what's on line 1052 and if it matches the syntax required? 1303906987 J * hijacker ~hijacker@213.91.163.5 1303907064 N * Bertl_zZ Bertl 1303907068 M * Bertl morning folks! 1303907300 M * bjoern daniel_hozac: no file which contains the oid has 1052 lines. The weird think is that on the vserver host the installation is running well. 1303907301 M * bjoern daniel_hozac: When i grep though the oid the possible file can be cn={1}cosine.ldif. 1303907401 M * daniel_hozac the OID is just the dn syntax. 1303907415 M * daniel_hozac what file has olcSuffix on line 1052? 1303907497 M * daniel_hozac (and what is on that line?) 1303908093 M * bjoern daniel_hozac: "find /etc/ldap/ -type f -exec grep -A 1000 olcSuffix {} \;" returns nothing. 1303908134 M * daniel_hozac so what is the configure script doing? 1303908289 M * bjoern daniel_hozac: good question. I don't know.. :-( 1303908304 M * Bertl I'd suggest to strace -f the whole process on guest and host to have some comparison 1303908353 M * daniel_hozac rpm has rpm -q --scripts to see all the scripts run, i'm sure dpkg must have something similar... 1303908538 M * daniel_hozac (i'd probably check /var/lib/dpkg/info/slapd.config, but i really don't know if that's the right place) 1303908564 Q * harobed Quit: Ex-Chat 1303909652 M * bjoern Bertl: the complete comparsion of strace on server and vserver client: http://paste.linux-vserver.org/19393 1303909732 M * daniel_hozac that doesn't look complete. 1303909762 M * daniel_hozac also, diff -u is a lot more readable IMHO. 1303909765 M * Bertl please use diff -NurpP 1303910399 M * bjoern Ah okay, the form doesn't like to much data. Now i used diff -NurpP in here http://tinyurl.com/4yq362x 1303910451 M * daniel_hozac did you run strace with -fF? 1303910534 M * bjoern no, then the process will running without child process, but dpkg need a child to ask for the password. with -f it quits before the error is starting. 1303910805 Q * FireEgl Remote host closed the connection 1303910829 M * Bertl bjoern: that sounds wrong, try -fF (or just -f) and -o wossname.trace 1303911938 M * bjoern you're right, with -f its going too. 1303912524 P * kir Leaving. 1303912620 M * bjoern okay, on the vserver-server the strace will never end with -f, on the vserver-client the strace with -f is running. 1303912673 M * Bertl what's server and client for you? 1303912724 M * bjoern the vserver host i mean with server and with client i mean the vserver. 1303912848 M * Bertl so server = host and client = guest, yes? 1303912868 M * Bertl and you are doing an install or what? 1303913116 M * bjoern yes, im doing a install on the host -> strace -f -ovserver-server apt-get install slapd 1303913116 M * bjoern with -f the install will never end. 1303913170 M * Bertl sounds broken 1303913332 M * Bertl anyway, let's enable some apt-get debug? apt-get has debugging, no? 1303913566 M * bzed not an apt-get question as apt-get just calls dpkg 1303913579 M * bzed so the proer way to debug such things is to try to install the package manually using dpkg 1303913587 M * bzed the .deb file is in /var/cache/apt/somewhere 1303913626 M * bzed as the postinst script fails only (which means the package should be unpacked properly), it should be enough to 1303913642 M * bzed - add a set -x to the script (which lives in /var/lib/dpkg/info/packagename.postinst 1303913650 M * bzed - run dpkg --configure --pending 1303913659 Q * BenG Remote host closed the connection 1303913660 M * bzed and it should be pretty verbose in what it is doung 1303913673 M * bzed bjoern: ^ 1303913679 A * bzed goes to bed again 1303913743 M * bjoern wow, thanks i will look what i can do :-) 1303913932 M * bjoern and sleep well 1303914287 M * bjoern on the guest i installed slapd and ldap-utils. Then i write set -x in pre and postinst scripts, run the install again and got this: http://paste.linux-vserver.org/19395 1303915332 J * dowdle ~dowdle@scott.coe.montana.edu 1303915622 M * daniel_hozac what's in /etc/ldap/slapd.d? 1303915712 M * Bertl daniel_hozac: I remember that you had a look at building guest systems with urpm (some time ago) and I think to remember that you had some issues with it 1303915732 M * daniel_hozac yeah... 1303915767 M * Bertl now that mageia (a mandriva fork) is in beta2, I'd like to review that, esepcially as I'm building mandriva/mageia guests for some while now (with urpm) 1303915993 M * bjoern daniel_hozac: /etc/ldap/slapd.d/cn=config.ldif 1303915993 M * bjoern /etc/ldap/slapd.d/cn=config: 1303915993 M * bjoern cn=module{0}.ldif cn=schema cn=schema.ldif olcBackend={0}hdb.ldif olcDatabase={0}config.ldif olcDatabase={-1}frontend.ldif 1303916118 M * daniel_hozac Bertl: i don't exactly remember what happened with that. 1303916331 M * daniel_hozac IIRC the main problem was that you couldn't specify an alternative configuration file. 1303916356 M * daniel_hozac so you could only install whatever the host pointed to. 1303916618 M * Bertl hmm, no, that seems to work fine here, let me give an example 1303916639 M * daniel_hozac well, it has been 4 years since i looked at it last, so it is quite possible it has changed since then :) 1303916672 M * Bertl I start with creating the urpmi database like this: 1303916704 M * Bertl urpmi.addmedia --urpmi-root /vservers/cauldron.x86_64/ cauldron ftp://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/cauldron/x86_64/media/core/release/ 1303916721 M * Bertl (could also use --distrib with shorter path and/or mirrorlist) 1303916739 M * Bertl then I do: 1303916743 M * Bertl urpmi --urpmi-root /vservers/cauldron.x86_64/ --root /vservers/cauldron.x86_64/ basesystem-minimal 1303916782 M * Bertl which installs all the required parts into the directory, then I need a clenaup of /dev and the init scripts of course, but the rest is fine 1303916790 M * daniel_hozac hmm, okay. 1303916794 M * daniel_hozac should be easy enough then. 1303916812 M * Bertl note that this is done on a mandriva host, which doesn't know about mageia :) 1303916837 M * daniel_hozac ah, so cauldron is specified at the URL, not locally somewhere? 1303916845 M * daniel_hozac s/specified/defined/ 1303916863 M * Bertl cauldron is the name I want the repository to be called 1303916882 M * Bertl as I said, it could be simplified to: 1303916903 M * Bertl urpmi.addmedia --urpmi-root /vservers/cauldron.x86_64/ --distrib ftp://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/cauldron/x86_64 1303916927 M * daniel_hozac hmm, okay. 1303916930 M * Bertl which will add all the cauldron (that's how the mageia release is called) 1303916937 M * Bertl repositories at once 1303916941 M * daniel_hozac so the "mirror" argument would be required. 1303916956 M * Bertl mirror? 1303916962 M * Bertl ah, the url, yes 1303916984 M * Bertl although if everything works, it could be further reduced/generalized to: 1303917001 M * Bertl urpmi.addmedia .... --distrib --mirrorlist http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list 1303917020 M * Bertl which doesn't need to know about the actual mirror 1303917075 M * daniel_hozac okay 1303917103 M * daniel_hozac well, sounds like it has improved significantly. 1303917170 M * Bertl good :) 1303917172 M * daniel_hozac i'll take another stab at it today. 1303917196 M * Bertl thanks in advance, if you need anything, just let me know 1303917205 M * daniel_hozac will do... 1303918243 P * bjoern 1303918256 J * ichavero_ ~ichavero@148.229.9.250 1303920309 J * bonbons ~bonbons@2001:960:7ab:0:f0e0:c5e4:767d:bbef 1303920585 J * Piet ~Piet__@28IAAA9ZG.tor-irc.dnsbl.oftc.net 1303920782 Q * ichavero_ Quit: This computer has gone to sleep 1303920790 Q * derjohn_foo Read error: Operation timed out 1303921031 Q * bonbons Quit: Leaving 1303921766 J * bonbons ~bonbons@2001:960:7ab:0:4a4:35e6:ecb4:53b5 1303923152 J * derjohn_foo ~aj@p54B038D7.dip.t-dialin.net 1303924585 Q * dowdle Remote host closed the connection 1303924725 J * dowdle ~dowdle@scott.coe.montana.edu 1303926356 Q * derjohn_foo Ping timeout: 480 seconds 1303927326 J * manana ~mayday090@84.17.25.149 1303929192 J * FireEgl ~FireEgl@173-16-9-3.client.mchsi.com 1303930153 J * hparker ~hparker@2001:470:1f0f:32c:beae:c5ff:fe01:b647 1303930578 N * ensc Guest3414 1303930587 J * ensc ~irc-ensc@p5DF2BAD9.dip.t-dialin.net 1303930997 Q * Guest3414 Ping timeout: 480 seconds 1303931712 J * hijacker_ ~hijacker@87-126-142-51.btc-net.bg 1303933000 Q * hijacker_ Quit: Leaving 1303934327 Q * manana Ping timeout: 480 seconds 1303936727 Q * ghislain Quit: Leaving. 1303937279 Q * bonbons Quit: Leaving 1303937856 Q * petzsch Quit: Leaving. 1303938552 J * bzed_ ~bzed@devel.recluse.de 1303938563 J * padde_ ~padde@patrick-nagel.net 1303938620 Q * jrklein Remote host closed the connection 1303938678 J * jrklein ~osx@2001:470:1f0f:572::250:160 1303938841 Q * bzed Ping timeout: 480 seconds 1303938845 N * bzed_ bzed 1303938871 Q * padde Ping timeout: 480 seconds 1303938873 N * padde_ padde 1303939540 Q * hparker Quit: Quit 1303941473 Q * Piet Quit: Piet 1303941492 J * derjohn_foo ~aj@p54B038D7.dip.t-dialin.net 1303942134 Q * imcsk8 Quit: Leaving 1303942416 Q * FireEgl Ping timeout: 480 seconds 1303945776 M * Bertl off to bed now ... have a good one everyone! 1303945780 N * Bertl Bertl_zZ 1303946565 Q * LuckyLuke Ping timeout: 480 seconds