1. 30 Jan, 2020 1 commit
    • spiiroin's avatar
      [systemd] Add capabilities required by compositor killer. Fixes JB#48754 · d9f65fc6
      spiiroin authored
      The intent is that (devel flavor) mce will make an attempt to
      coredump / kill compositor process that stops responding to
      display blank/unblank control ipc - when it is unlikely that
      compositor is unresponsive because it has been stopped in
      debugger. This feature stopped working after systemd sandboxing
      features were taken in use.
      
      Add CAP_SYS_PTRACE - required by debugger detection.
      
      Add CAP_KILL - required for sending signals to unrelated processes.
      
      Add diagnostic logging in error paths of related code.
      Signed-off-by: spiiroin's avatarSimo Piiroinen <simo.piiroinen@jollamobile.com>
      d9f65fc6
  2. 11 Jun, 2019 1 commit
  3. 17 Jun, 2014 1 commit
    • spiiroin's avatar
      Do not required dsme to be running when mce starts up · ecd3ebaf
      spiiroin authored
      Previously mce could not be started unless dsme was running and was
      forced to exit if dsme stopped/crashed.
      
      Now mce tracks availability of dsme by watching D-Bus name ownership
      changes of com.nokia.dsme on system bus and makes connection when
      dsme is up and running.
      
      While dsme is not available process watchdog ping-pong based heartbeat
      activities do not get triggered and shutdown requests can't be made.
      
      I/O errors during socket IPC with dsme trigger re-connect attempt.
      
      Also the mce --debug-mode command line option is removed since it is not
      needed anymore.
      
      [mce] Do not required dsme to be running when mce starts up. Fixes JB#11581
      ecd3ebaf
  4. 08 Apr, 2014 1 commit
  5. 29 Aug, 2013 2 commits
  6. 28 Aug, 2013 1 commit
  7. 27 Aug, 2013 1 commit
  8. 07 Dec, 2012 1 commit
    • spiiroin's avatar
      Install mce binaries to /usr/sbin and other packaging changes · 874e9a7a
      spiiroin authored
      Executables that used to be in /sbin are now in /usr/sbin.
      
      Since mce plugins are not libraries, the "lib" prefix was
      removed form /usr/lib/mce/modules/XXX.so shared objects.
      
      Makefile was modified to allow spec files etc to override the
      default installation directories. Caveat: There are still
      hardcoded paths in scripts and config files.
      
      No longer installed by default:
      - Control files for restore-factory-settings/clear-user-data
      - Control files for backup/restore framework
      - Swedish translations of the mce manpages
      
      Also added "local rpm build" targets to Makefile to ease
      testing of packaging changes.
      874e9a7a
  9. 05 Dec, 2012 2 commits