[389-devel] bashism etc

Michal Voců michal at cuni.cz
Mon Sep 30 09:12:14 UTC 2013


Hi,
 I have reported the script's bash dependency in Trac (see
https://fedorahosted.org/389/ticket/47511)

I experienced also problem with path in admin scripts, see
https://fedorahosted.org/389/ticket/47514

Regards,

Michal V.


On 09/28/2013 08:17 AM, Timo Aaltonen wrote:
> 
> 	Hi
> 
>   1.3.1.x doesn't seem to work properly on Debian/Ubuntu, fact which I
> didn't notice until now. At least stop-dirsrv is buggy (maybe others)
> because it uses bashisms, changing it to use #!/bin/bash fixed that
> script. Note that /bin/sh on Debian et al is dash, not bash.
> 
> 7a736adc6876832f also hardcodes more paths like /usr/lib64, Debian uses
> multiarch paths now so things are in /usr/<gnu-triplet>. This is also
> the cause for bug #538. I don't know autotools well enough to properly
> fix these myself..
> 
> anyway, the setup script fails too:
> 
> Could not import LDIF file '/tmp/ldifbR5qXU.ldif'.  Error: 65280.
> Output: ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)
> Failed to add task entry "cn=import_2013_9_28_8_38_1, cn=import,
> cn=tasks, cn=config" error (255)
> 
> 1.3.0.x is the last version where the setup script(s) worked flawlessly
> 
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: michal.vcf
Type: text/x-vcard
Size: 380 bytes
Desc: not available
URL: <http://lists.fedoraproject.org/pipermail/389-devel/attachments/20130930/efd88d6b/attachment.vcf>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3099 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.fedoraproject.org/pipermail/389-devel/attachments/20130930/efd88d6b/attachment.p7s>


More information about the 389-devel mailing list