packaging: Set proper smack label for locale.conf
authorUlf Hofemeier <ulf.hofemeier@linux.intel.com>
Mon, 31 Mar 2014 23:09:04 +0000 (16:09 -0700)
committerŁukasz Stelmach <l.stelmach@samsung.com>
Fri, 23 Feb 2024 13:52:13 +0000 (14:52 +0100)
Bug-fix: TIVI-2890

The post install script that creates the /etc/locale.conf
didn't set smack label, which defaults to _, and systemd is
running as System, and couldn't write to it.

Change-Id: I3639940d742aa7f20741953ae0268775788d656a
Signed-off-by: Ulf Hofemeier <ulf.hofemeier@linux.intel.com>
packaging/systemd.manifest

index 017d22d..bc89808 100644 (file)
@@ -2,4 +2,7 @@
  <request>
     <domain name="_"/>
  </request>
+ <assign>
+   <filesystem path="/etc/locale.conf" label="System::Shared" />
+ </assign>
 </manifest>