[Pkg-samba-maint] Bug#774328: Bug#774328: ctdb: Failed to start ctdb.service: Unit ctdb.service failed to load: No such file or directory.

Mathieu Parent math.parent at gmail.com
Tue Jan 27 13:51:46 UTC 2015


2015-01-16 9:20 GMT+01:00 Martin Schwenke <martin at meltin.net>:
> On Tue, 13 Jan 2015 11:26:48 +0100, Mathieu Parent
> <math.parent at gmail.com> wrote:
>
>> 2014-12-31 23:16 GMT+01:00 Martin Schwenke <martin at meltin.net>:
>
>> > # systemctl start ctdb
>> > Failed to start ctdb.service: Unit ctdb.service failed to load: No such file or directory.
>> [...]
>>
>> Couldn't reproduce here. But I need to test again in a clean VM.
>
> Yikes!  :-(

Still not reproducable with:
- a clean VM
- apt-get install ctdb
- sed -i 's/^CTDB_RECOVERY_LOCK/#CTDB_RECOVERY_LOCK/' /etc/default/ctdb
- edit /etc/ctdb/nodes (a one node cluster)
- touch /etc/ctdb/public_addresses
- sudo systemctl start ctdb
- wait ...
- ctdb status -> "OK (this node)"

>> Anything relevant in /var/log/{syslog,ctdb/log.ctdb}? journalctl -u
>> ctdb.service?
>
> No, nothing at all.  It looks like it is failing somewhere in systemd.

It's /var/log/ctdb/log.ctdb. Have you checked it too?

> Well, I do get this from selinux:
>
>   Jan 16 18:52:20 rover kernel: audit: type=1107 audit(1421394740.536:41175): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='Unknown permission start for class system exe="/lib/systemd/systemd" sauid=0 hostname=? addr=? terminal=?'
>
> However, I am running in *permissive* mode, so selinux shouldn't be
> getting in the way:
>
>   # sestatus | grep -i mode
>   Current mode:                   permissive
>   Mode from config file:          permissive
>
> My gut is telling me that this has something to do with the selinux
> message... but how can this happen in permissive mode?
>
>> Was this machine migrated from wheezy? Do you have rsyslog installed?
>
> Yes, this machine was probably upgraded from wheezy.  I have rsyslog
> installed.
>
> Do you know if there's a way of getting some debug out of systemd?

What "journalctl --unit ctdb.service" says ?

Is there any red line in "systemctl list-units"?

Can your try to reboot with sysvinit?

...

Regards

-- 
Mathieu



More information about the Pkg-samba-maint mailing list