I thought I had DHCP fail yesterday on a failing hook, but I cannot
reproduce this today. So the || true was apparently a red herring.
I also linked to the Debian bug which describes the same problem, and
has a proposed patch. We could apply that as a short-term solution, or
try to fix this in sys
Keeping notes: This is a well-known property/problem of systemd job
transactions. In its simplest form it looks like this:
# cat /etc/systemd/system/foo.service
[Unit]
Description=some foo service
Requires=dep.service
After=dep.service
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/bin/ec
The samba DHCP enter hook needs to be fixed too, so adding a task.
** Also affects: samba (Ubuntu)
Importance: Undecided
Status: New
** Changed in: samba (Ubuntu)
Importance: Undecided => Medium
** Changed in: samba (Ubuntu)
Status: New => In Progress
** Changed in: samba (U
> since the invoke-rc.d call never actually returns
Incidentally this is being discussed upstream at
http://lists.freedesktop.org/archives/systemd-
devel/2015-February/027877.html at the moment.
Can you please try to patch /usr/sbin/invoke-rc.d with this:
http://paste.ubuntu.com/10048858/
This i
Martin, that doesn't work either since the invoke-rc.d call never
actually returns
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1417010
Title:
systemd init gets stuck reloading smbd.service
To man
I was able to fudge a similar situation in a VM. Could you please try
and edit /etc/dhcp/dhclient-enter-hooks.d/samba to append a "||true" in
the third last line where it calls invoke-rc.d smbd reload?
For reference: While smbd is not yet started (as it waits for $network)
this will fail with code
Further explaining: ... and if the DHCP enter hook fails, then the whole
DHCP request fails, this ifup@eth0 never succeeds.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1417010
Title:
systemd init
Keeping notes:
> 50 network.target start waiting
This is another bug, because ifup@.service has Before=network.target.
That's too strict, and should be Before=network-online.target.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
htt
journalctl debug logs from hang
** Attachment added: "logs"
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1417010/+attachment/4310992/+files/logs
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/
It seems this is a dependency loop:
(1) network-online.target waits for ifup@eth0.service as it's in
/etc/network/interfaces
(2) ifup@eth0.service starts during boot, triggered by udev; through samba's
smbd dhclient-enter hook it calls invoke-rc.d smbd reload
(3) /etc/init.d/smbd has "Require
10 matches
Mail list logo