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

Subscribers

People subscribed via source and target branches