--- /dev/null
+* In the future "/usr/bin/pkgcmd --global" as system_fw user will stop working, so it needs to be changed to get installed applications for the global user and for the actual user.
send_interface="org.tizen.system.crash.livedump"
send_member="livedump_pid"/>
</policy>
+ <policy user="crash_worker">
+ <allow own="org.tizen.system.crash.livedump"/>
+ <allow send_destination="org.tizen.system.crash.livedump"
+ send_interface="org.tizen.system.crash.livedump"
+ send_member="livedump_pid"/>
+ </policy>
<policy context="default">
<deny own="org.tizen.system.crash.livedump"/>
<deny send_destination="org.tizen.system.crash.livedump"/>
[Service]
Type=dbus
+User=crash_worker
+Group=crash_worker
+Capabilities=cap_dac_override,cap_dac_read_search,cap_sys_ptrace,cap_kill,cap_syslog=i
+SecureBits=keep-caps
BusName=org.tizen.system.crash.livedump
ExecStart=/usr/bin/crash-service
+SupplementaryGroups=log systemd-journal system_share
SmackProcessLabel=System
Nice=-5
KillMode=mixed
if (arg_pkgs) {
fprintf_fd(out_fd, "\n==== Installed packages (/usr/bin/pkgcmd -l)\n");
- char *pkgcmd_args[] = {"/usr/bin/pkgcmd", "-l", NULL};
+ char *pkgcmd_args[] = {"/usr/bin/pkgcmd", "-l", "--global", NULL}; // see TODO file
spawn_wait_checked(pkgcmd_args, NULL);
}