Just FYI, the latest version of libnss-ldap (265-3ubuntu2) available for
Ubuntu 15.04 does fix the problem.

Stoyan

On Thu, May 14, 2015 at 11:37 AM, Stoyan Stoyanov <stoyan...@gmail.com>
wrote:

> Thanks, Tim! I never though of running strace on an interpreted program as
> I was trusting the underlying infrastructure - interpreter, shared
> libraries, kernel - will work flawlessly. Anyway, if I remove "ldap" from
> the shadow database setting in /etc/nsswitch.conf, it works. No need to
> remove any packages. There are some dated reports regarding a similar issue
> both on this list (
> https://www.mail-archive.com/backuppc-users@lists.sourceforge.net/msg05864.html)
> and here:
> http://grokbase.com/t/centos/centos/08739v6e2j/backuppc-wont-fork-after-centos-5-2-upgrade.
> The second one seems to be related to a bug in the nss-ldap library, but
> this has long been fixed. Besides, the bug related to that last report also
> caused other issues that are not present in my case. Maybe it's a new
> incarnation of the old bug? I'll look through the diffs of the fix back
> then and the current code to try and make sense of it. It is weird that I
> can't reproduce the problem with sample code taken out of the context.
>
> Stoyan
>
>
>
> On Thu, May 14, 2015 at 4:34 AM, Tim Fletcher <t...@night-shade.org.uk>
> wrote:
>
>> On 2015-05-14 10:41, Tim Fletcher wrote:
>>
>> On 2015-05-13 03:41, Stoyan Stoyanov wrote:
>>
>>  Hi Holger,
>>
>> While it seems like a packaging issue, there are no bug reports on
>> launchpad, so I thought maybe someone on this list stumbled upon this
>> problem. Unfortunately, nothing gets recorded in the LOG file. I ran perl
>> in debug mode, but the program exits right after forking the child process
>> so there is nothing really that hints on what the problem might be. Same
>> code taken out of the context of the BackupPC script works fine i.e. child
>> is forked and doesn't die immediately.
>>
>> Stoyan
>>
>>
>> Hi Stoyan,
>>
>> Does the system that BackupPC fails to start on have ldap configured?
>>
>> I have this problem too and was looking at it again following your email,
>> I noticed from strace that a called was being made to .ldaprc during
>> backuppc startup.
>>
>> I have removed all ldap config and packages from the server and backuppc
>> now starts correctly.
>>
>> I know this isn't a fix but at least it's a step forward.
>>
>> I removed libnss-ldap auth-client-config ldap-auth-config
>> ldap-auth-client libpam-ldap
>>
>> I reran pam-auth-config and disabled the auto creation of home-dirs and
>> systemd registration that I had enabled for ldap support.
>>
>>
>>
>> Installing ldap-auth-client and it's dependencies stops backuppc starting
>> correctly.
>>
>> I've attached the output of strace on the service starting up and then
>> exiting immediately.
>>
>> Tim Fletcher
>> <t...@night-shade.org.uk>
>>
>>
>> ------------------------------------------------------------------------------
>> One dashboard for servers and applications across Physical-Virtual-Cloud
>> Widest out-of-the-box monitoring support with 50+ applications
>> Performance metrics, stats and reports that give you Actionable Insights
>> Deep dive visibility with transaction tracing using APM Insight.
>> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
>> _______________________________________________
>> BackupPC-users mailing list
>> BackupPC-users@lists.sourceforge.net
>> List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
>> Wiki:    http://backuppc.wiki.sourceforge.net
>> Project: http://backuppc.sourceforge.net/
>>
>>
>
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to