Re: [users@httpd] Unit file of apache2.service changed on disk

2016-09-29 Thread Petr Gajdos
On Wed, Sep 28, 2016 at 02:19:14AM -0500, Ronald E. Raikes wrote:
> root@raspberrypi:~# service apache2 restart
> Warning: Unit file of apache2.service changed on disk, 'systemctl
> daemon-reload' recommended.
> root@raspberrypi:~#
> 
> Following the recommendation eliminates the warning:
> 
> root@raspberrypi:~# systemctl daemon-reload
> root@raspberrypi:~# service apache2 restart
> root@raspberrypi:~#
> 
> After a reboot, however, the problem is back. No changes are being made
> anywhere.

The report is already here (actually you made it?):
https://www.raspberrypi.org/forums/viewtopic.php?f=29=160476

Answer 'malicious ยป Fri Sep 23, 2016 10:36 pm' seems to be good point
to me. Assuming this is true, and something on each reboot writes
apache service file automatically, it should also call daemon-reload 
afterwards. The most correct fix would be to provide service file
for apache in my opinion.

In any case, that is not bug in apache itself, as was already said.
A bug to your distro is appropriate I think.

Petr


-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



Re: [users@httpd] Unit file of apache2.service changed on disk

2016-09-28 Thread Marat Khalili
This is a message of systemd, not Apache. Either apache2.service file 
really changes (gets rewritten by something?), or (more likely) it's a 
bug of systemd. As long as Apache starts successfully and it is not 
mission critical I would ignore this message.



--

With Best Regards,
Marat Khalili

On 28/09/16 10:19, Ronald E. Raikes wrote:

Apache/2.4.10 (Raspbian)

Anyone know what's changed recently with regard to apache2? This only 
started happening recently:


After a fresh install of Raspbian Jessie Lite (2016-05-27), I install 
apache2:


root@raspberrypi:~# apt-get install apache2

At this point, 'service apache2 restart' executes with no warning.

root@raspberrypi:~# service apache2 restart
root@raspberrypi:~#

Following a reboot, however, I get a warning:

Last login: Wed Sep 21 14:31:14 2016 from gigabyte
root@raspberrypi:~# service apache2 restart
Warning: Unit file of apache2.service changed on disk, 'systemctl 
daemon-reload' recommended.

root@raspberrypi:~#

Following the recommendation eliminates the warning:

root@raspberrypi:~# systemctl daemon-reload
root@raspberrypi:~# service apache2 restart
root@raspberrypi:~#

After a reboot, however, the problem is back. No changes are being 
made anywhere.



-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



[users@httpd] Unit file of apache2.service changed on disk

2016-09-28 Thread Ronald E. Raikes

Apache/2.4.10 (Raspbian)

Anyone know what's changed recently with regard to apache2? This only 
started happening recently:


After a fresh install of Raspbian Jessie Lite (2016-05-27), I install apache2:

root@raspberrypi:~# apt-get install apache2

At this point, 'service apache2 restart' executes with no warning.

root@raspberrypi:~# service apache2 restart
root@raspberrypi:~#

Following a reboot, however, I get a warning:

Last login: Wed Sep 21 14:31:14 2016 from gigabyte
root@raspberrypi:~# service apache2 restart
Warning: Unit file of apache2.service changed on disk, 'systemctl 
daemon-reload' recommended.

root@raspberrypi:~#

Following the recommendation eliminates the warning:

root@raspberrypi:~# systemctl daemon-reload
root@raspberrypi:~# service apache2 restart
root@raspberrypi:~#

After a reboot, however, the problem is back. No changes are being 
made anywhere.



-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org