<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/meta-openembedded.git/meta-webserver/recipes-httpd/apache2/files/volatiles.04_apache2, branch master</title>
<subtitle>Mirror of git.openembedded.org/meta-openembedded</subtitle>
<id>https://git.enea.com/cgit/linux/meta-openembedded.git/atom?h=master</id>
<link rel='self' href='https://git.enea.com/cgit/linux/meta-openembedded.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/'/>
<updated>2020-05-22T03:16:40+00:00</updated>
<entry>
<title>apache2: create log/run directory via pkg_postinst</title>
<updated>2020-05-22T03:16:40+00:00</updated>
<author>
<name>Yi Zhao</name>
<email>yi.zhao@windriver.com</email>
</author>
<published>2020-05-22T02:54:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=6f4d0dbfbc7d5ab8c5781379884f41d30cb6db25'/>
<id>urn:sha1:6f4d0dbfbc7d5ab8c5781379884f41d30cb6db25</id>
<content type='text'>
The commit e789c3837ca8d65abb4bac29dc2e5c595c8ce05b tries to create
log/run directory in initscript/systemd unit file. This is not a correct
method. We should create them in pkg_postinst.

Signed-off-by: Yi Zhao &lt;yi.zhao@windriver.com&gt;
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>apache2: fix service start fail</title>
<updated>2020-05-14T17:43:48+00:00</updated>
<author>
<name>Changqing Li</name>
<email>changqing.li@windriver.com</email>
</author>
<published>2020-05-14T08:03:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=e789c3837ca8d65abb4bac29dc2e5c595c8ce05b'/>
<id>urn:sha1:e789c3837ca8d65abb4bac29dc2e5c595c8ce05b</id>
<content type='text'>
reproduce steps:
1. boot up target
2. scp apache2-2.4.41-r0.1.aarch64.rpm on target
3. rpm -i apache2-2.4.41-r0.1.aarch64.rpm
4. systemctl status apache2

Error:
httpd[7767]: (2)No such file or directory: AH02291: Cannot access directory '/var/log/apache2/' for main error log

with the old way, /var/log/apache2/ is created by service
systemd-tmpfiles-setup during boot, so only works when apache2
already installed before boot, in above scenario,
/var/log/apache2/ will not created. fix by creating it in the
service file. similar fix for sysV system

Signed-off-by: Changqing Li &lt;changqing.li@windriver.com&gt;
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>apache2: use volatiles for sysvinit</title>
<updated>2017-09-18T08:18:12+00:00</updated>
<author>
<name>dengke.du@windriver.com</name>
<email>dengke.du@windriver.com</email>
</author>
<published>2017-09-15T03:18:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=2630b26862a64f32f81fd455df31270125ea5487'/>
<id>urn:sha1:2630b26862a64f32f81fd455df31270125ea5487</id>
<content type='text'>
Signed-off-by: Dengke Du &lt;dengke.du@windriver.com&gt;
Signed-off-by: Martin Jansa &lt;Martin.Jansa@gmail.com&gt;
</content>
</entry>
</feed>
