[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#910368: apache2: Apache does not start reliably after reboot




Le 22/08/2019 à 17:57, Xavier a écrit :
> Le 22/08/2019 à 17:38, Marc Dequènes (duck) a écrit :
>> Quack,
>>
>> I also hit this problem recently on Buster. I also do have specific
>> Listen directives on this machine but all my IPs (4 and 6) are
>> statically defined in /etc/network/interfaces.
>>
>> I looked at the systemd service file and I believe that
>> After=network.target is not enough.
>> According to upstream documentation:
>>   https://www.freedesktop.org/wiki/Software/systemd/NetworkTarget/
>> I should be replaced by:
>>   After=network-online.target
>>   Wants=network-online.target
>>
>> Regards.
>> \_o<
> 
> Thanks a lot, this looks like a good explanation to this bug! I updated
> salsa repo

I'm not sure the "Wants" is a good thing here. What will happen if a
user has an Apache on his desktop and wants to use it even if he has no
network (only lo) ?
The "After=network-online.target" may be enough to fix this issue, isn't it?


Reply to: