Merge lp:~vicamo/lxc-android-config/disable-systemd-alsa-restore into lp:lxc-android-config

Proposed by You-Sheng Yang
Status: Merged
Approved by: Łukasz Zemczak
Approved revision: 25
Merged at revision: 28
Proposed branch: lp:~vicamo/lxc-android-config/disable-systemd-alsa-restore
Merge into: lp:lxc-android-config
Diff against target: 17 lines (+6/-0)
2 files modified
lib/systemd/system/alsa-restore.service.d/disabled.conf (+3/-0)
lib/systemd/system/alsa-state.service.d/disabled.conf (+3/-0)
To merge this branch: bzr merge lp:~vicamo/lxc-android-config/disable-systemd-alsa-restore
Reviewer Review Type Date Requested Status
Łukasz Zemczak Approve
Review via email: mp+306587@code.launchpad.net

Commit message

Disable alsa-restore, alsa-state when lxc-android-config installed

Description of the change

Disable alsa-restore, alsa-state when lxc-android-config installed

To post a comment you must log in.
Revision history for this message
You-Sheng Yang (vicamo) wrote :

The two services have been disabled in upstart conf files previously, so we do the same for systemd to prevent system crash.

Revision history for this message
Łukasz Zemczak (sil2100) wrote :

Ok, I guess this should do the job. +1

review: Approve
Revision history for this message
You-Sheng Yang (vicamo) wrote :

Confirmed landed in 0.230+16.04.20161004-0ubuntu1, rootfs rev 51.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added directory 'lib/systemd/system/alsa-restore.service.d'
2=== added file 'lib/systemd/system/alsa-restore.service.d/disabled.conf'
3--- lib/systemd/system/alsa-restore.service.d/disabled.conf 1970-01-01 00:00:00 +0000
4+++ lib/systemd/system/alsa-restore.service.d/disabled.conf 2016-09-23 07:56:24 +0000
5@@ -0,0 +1,3 @@
6+[Unit]
7+ConditionPathExists=!/lib/systemd/system/lxc-android-config.service
8+RefuseManualStart=true
9
10=== added directory 'lib/systemd/system/alsa-state.service.d'
11=== added file 'lib/systemd/system/alsa-state.service.d/disabled.conf'
12--- lib/systemd/system/alsa-state.service.d/disabled.conf 1970-01-01 00:00:00 +0000
13+++ lib/systemd/system/alsa-state.service.d/disabled.conf 2016-09-23 07:56:24 +0000
14@@ -0,0 +1,3 @@
15+[Unit]
16+ConditionPathExists=!/lib/systemd/system/lxc-android-config.service
17+RefuseManualStart=true

Subscribers

People subscribed via source and target branches