Merge ~ahasenack/ubuntu/+source/sssd:sssd-ftbfs-1780783 into ubuntu/+source/sssd:ubuntu/devel

Proposed by Andreas Hasenack
Status: Merged
Merge reported by: Andreas Hasenack
Merged at revision: 3fda6409e176c14b043fbd3fc2e20071bd7e7faa
Proposed branch: ~ahasenack/ubuntu/+source/sssd:sssd-ftbfs-1780783
Merge into: ubuntu/+source/sssd:ubuntu/devel
Diff against target: 134 lines (+14/-90)
5 files modified
debian/changelog (+10/-0)
debian/python3-libipa-hbac.install (+1/-1)
debian/python3-libsss-nss-idmap.install (+1/-1)
debian/python3-sss.install (+2/-2)
dev/null (+0/-86)
Reviewer Review Type Date Requested Status
Robie Basak Approve
Canonical Server Pending
Review via email: mp+349322@code.launchpad.net

Description of the change

Revert changes introduced in 1.16.1-1ubuntu3. They can be seen with "git show import/1.16.1-1ubuntu3" or here: https://git.launchpad.net/ubuntu/+source/sssd/commit/?id=39e4993bf605d89aaa8aaafc562838ed3422d7ef

Just now it occurred to me that I could have used "git revert", and then adjusted d/changelog. Please let me know if you think that is best.

PPA with test packages, showing that the build works: https://launchpad.net/~ahasenack/+archive/ubuntu/sssd-ftbfs-1780783

To post a comment you must log in.
Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Ah, no, forget the revert idea, there were correct fixes in that commit, it's just the /usr/local bit that was wrong.

Revision history for this message
Robie Basak (racb) wrote :

lgtm

You could use "git revert -n pkg/ubuntu/devel", "git reset" and then "git add -p" to selectively revert. I did this for review, using "e" to change the hunks to only drop the local/ bit (and the deletion of the init script), and verified that my result was identical to yours.

review: Approve
Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Good to know, thanks.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
diff --git a/debian/changelog b/debian/changelog
index 73038e0..8e8f47f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,13 @@
1sssd (1.16.1-1ubuntu4) cosmic; urgency=medium
2
3 * d/p/python3-libipa-hbac.install, d/p/python3-libsss-nss-idmap.install,
4 d/p/python3-sss.install: modules go in /usr/lib/python3*, not
5 /usr/local/lib/python3* (LP: #1780783)
6 * d/sssd-common.sssd.init: drop initscript that was accidentally added
7 in 1.16.1-1ubuntu3.
8
9 -- Andreas Hasenack <andreas@canonical.com> Tue, 10 Jul 2018 17:21:22 -0300
10
1sssd (1.16.1-1ubuntu3) cosmic; urgency=medium11sssd (1.16.1-1ubuntu3) cosmic; urgency=medium
212
3 * Fix installation of the python3 modules.13 * Fix installation of the python3 modules.
diff --git a/debian/python3-libipa-hbac.install b/debian/python3-libipa-hbac.install
index 5534bf5..f9cc4b8 100644
--- a/debian/python3-libipa-hbac.install
+++ b/debian/python3-libipa-hbac.install
@@ -1 +1 @@
1usr/local/lib/python3*/*-packages/pyhbac.so1usr/lib/python3*/*-packages/pyhbac.so
diff --git a/debian/python3-libsss-nss-idmap.install b/debian/python3-libsss-nss-idmap.install
index 69fa8da..84b79ee 100644
--- a/debian/python3-libsss-nss-idmap.install
+++ b/debian/python3-libsss-nss-idmap.install
@@ -1 +1 @@
1usr/local/lib/python3*/*-packages/pysss_nss_idmap.so1usr/lib/python3*/*-packages/pysss_nss_idmap.so
diff --git a/debian/python3-sss.install b/debian/python3-sss.install
index f8bdedf..858c845 100644
--- a/debian/python3-sss.install
+++ b/debian/python3-sss.install
@@ -1,3 +1,3 @@
1usr/lib/python3*/*-packages/SSSDConfig/*.py1usr/lib/python3*/*-packages/SSSDConfig/*.py
2usr/local/lib/python3*/*-packages/pysss.so2usr/lib/python3*/*-packages/pysss.so
3usr/local/lib/python3*/*-packages/pysss_murmur.so3usr/lib/python3*/*-packages/pysss_murmur.so
diff --git a/debian/sssd-common.sssd.init b/debian/sssd-common.sssd.init
4deleted file mode 1006444deleted file mode 100644
index 390a6e2..0000000
--- a/debian/sssd-common.sssd.init
+++ /dev/null
@@ -1,86 +0,0 @@
1#!/bin/sh
2### BEGIN INIT INFO
3# Provides: sssd
4# Required-Start: $remote_fs $syslog
5# Required-Stop: $remote_fs $syslog
6# Should-Start: $named
7# Default-Start: 2 3 4 5
8# Default-Stop: 0 1 6
9# Short-Description: System Security Services Daemon
10# Description: Provides a set of daemons to manage access to
11# remote directories and authentication
12# mechanisms. It provides an NSS and PAM interface
13# toward the system and a pluggable backend system
14# to connect to multiple different account sources.
15### END INIT INFO
16# start on filesystem
17# stop on runlevel [06]
18
19DESCRIPTION="System Security Services Daemon"
20PATH=/bin:/usr/bin:/sbin:/usr/sbin
21NAME=sssd
22DAEMON_OPTS=""
23DAEMON=/usr/sbin/$NAME
24PIDFILE=/var/run/$NAME.pid
25
26# Load the VERBOSE setting and other rcS variables
27. /lib/init/vars.sh
28
29# Define LSB log_* functions.
30# Depend on lsb-base (>= 3.2-14) to ensure that this file is present
31# and status_of_proc is working.
32. /lib/lsb/init-functions
33
34if [ -f /etc/default/sssd ] ; then
35 . /etc/default/sssd
36fi
37
38initdmain() {
39 case "$1" in
40 start)
41 [ "$VERBOSE" != no ] && log_daemon_msg "Starting $DESCRIPTION" "$NAME"
42 start_daemon -p $PIDFILE $DAEMON $DAEMON_OPTS
43 RC=$?
44 case "$RC" in
45 0)
46 [ "$VERBOSE" != no ] && log_end_msg $RC
47 ;;
48 *)
49 # Report error also when VERBOSE=no
50 log_daemon_msg "Starting $DESCRIPTION" "$NAME"
51 log_end_msg $RC
52 ;;
53 esac
54 ;;
55 stop)
56 [ "$VERBOSE" != no ] && log_daemon_msg "Stopping $DESCRIPTION" "$NAME"
57 killproc -p $PIDFILE $DAEMON
58 RC=$?
59 case "$RC" in
60 0)
61 [ "$VERBOSE" != no ] && log_end_msg $RC
62 ;;
63 *)
64 # Report error also when VERBOSE=no
65 log_daemon_msg "Stopping $DESCRIPTION" "$NAME"
66 log_end_msg $RC
67 ;;
68 esac
69 ;;
70 force-reload|restart)
71 $0 stop
72 $0 start
73 ;;
74 status)
75 status_of_proc -p $PIDFILE $DAEMON $NAME && exit 0 || exit $?
76 ;;
77 *)
78 echo "Usage: /etc/init.d/$NAME {start|stop|restart|force-reload|status}"
79 exit 1
80 ;;
81 esac
82}
83
84initdmain $@
85
86exit 0

Subscribers

People subscribed via source and target branches