Revert "Run ac_daemon from user-session as it requires X to function properly"
authorYin Kangkai <kangkai.yin@intel.com>
Mon, 19 Nov 2012 08:59:37 +0000 (16:59 +0800)
committerYin Kangkai <kangkai.yin@intel.com>
Mon, 19 Nov 2012 08:59:37 +0000 (16:59 +0800)
commit3279cc2fe9e18af7a08dc459b1ada6b5cf5874e5
tree0a9401aa8531f9d63e7124b3f23f311175f015b3
parent7d2c3faf0bd0009408e53c90c0792c75311cc166
Revert "Run ac_daemon from user-session as it requires X to function properly"

This reverts commit 7dd6b68dd1006e2fa77f94bb4af8d5879ad2f062.

Conflicts:

packaging/aul.spec

We will move back ac.service/amd from user session to system.

From the aul maintainer, /usr/bin/amd has to be run as root, reasons:

1. /usr/bin/amd sets app privilege.
2. /usr/bin/amd mounts cgroup subsystem.
3. When handling some command packets, caller's privilege should be checked.
   (Only amd can request terminate  and reset to applications)

Change-Id: Ie7b58f8b5ad6295c0321bb5d8ca9cfb3facdc50a
Signed-off-by: Yin Kangkai <kangkai.yin@intel.com>
packaging/aul.spec