control apache2 service with systemd unit rather then initd script

Bug #1558694 reported by Karl-Philipp Richter on 2016-03-17
This bug report is a duplicate of:  Bug #1566519: Please add native systemd units. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apache2 (Ubuntu)
Undecided
Unassigned

Bug Description

control apache2 service with systemd unit rather then initd script

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: apache2 2.4.18-1ubuntu1
Uname: Linux 4.4.6-040406-generic x86_64
NonfreeKernelModules: openafs
Apache2ConfdDirListing: ['cipux-cat-web', 'xajax.conf', 'phpgacl.conf']
Apache2Modules:
 Error: command ['pkexec', '/usr/sbin/apachectl', '-D DUMP_MODULES'] failed with exit code 127: polkit-agent-helper-1: error response to PolicyKit daemon: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: No session for cookie
 Error executing command as another user: Not authorized

 This incident has been reported.
ApportVersion: 2.20-0ubuntu3
Architecture: amd64
Date: Thu Mar 17 18:21:20 2016
InstallationDate: Installed on 2015-04-20 (332 days ago)
InstallationMedia: Ubuntu-Server 14.10 "Utopic Unicorn" - Release amd64 (20141022.2)
ProcEnviron:
 TERM=screen.xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
SourcePackage: apache2
UpgradeStatus: Upgraded to xenial on 2016-03-03 (13 days ago)
modified.conffile..etc.apache2.apache2.conf: [modified]
modified.conffile..etc.apache2.ports.conf: [modified]
modified.conffile..etc.init.d.apache2: [modified]
mtime.conffile..etc.apache2.apache2.conf: 2016-03-17T16:35:24.566960
mtime.conffile..etc.apache2.ports.conf: 2015-05-16T13:29:11.841920
mtime.conffile..etc.init.d.apache2: 2016-03-04T16:35:24.180506

ChristianEhrhardt (paelzer) wrote :

Hi Karl-Phillip,
I don't want to copy&paste the normal "please make a better bug report" to an really active community member.
But please could you share a bit more on what you did in terms of configuration and commands to get to your issue, so that it can be reproduced.
Because when just controling via "systemd unit rather then initd" is the description I'd say that it works for me, but it is obvious that you have a more complex setup and probably identified a real issue.

I'm setting the bug to incomplete until the data is provided for a better bug tracking overview for now.
Please feel free to set back to new once the data is provided.

Changed in apache2 (Ubuntu):
status: New → Incomplete
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers