Package: release.debian.org
Severity: normal
User: [email protected]
Usertags: unblock

Please unblock package rinse 3.0.6. Debdiff included.

It fixes two important bugs:
#768501 [i| [rinse] CentOS 7 support completely broken
#768549 [i| [rinse] Missing packages for CentOS6 chroot

I'm sorry, but these bug numbers are not included in the changelog,
because I've fixed them really fast before the bug reports were
available. 

No change was made to the rinse code itself. I only had to add some
packages to the configuration files for CentOS 6 and 7 and some code
was added to the centos-7/post-install.sh script. This code is only
executed when creating a CentOS7 chroot, but not for any other chroot
distribution that is supported by rinse.

Please consider unblocking it.

=== debdiff ===
--- rinse-3.0.4/debian/changelog        2014-07-25 14:35:35.000000000 +0200
+++ rinse-3.0.6/debian/changelog        2014-10-29 15:29:08.000000000 +0100
@@ -1,3 +1,16 @@
+rinse (3.0.6) unstable; urgency=low
+
+  * add missing symlink for ld
+
+ -- Thomas Lange <[email protected]>  Wed, 29 Oct 2014 15:29:08 +0100
+
+rinse (3.0.5) unstable; urgency=low
+
+  * add missing packages for CentOS 6 and 7
+  * add commands to postinst for CentOS 7
+
+ -- Thomas Lange <[email protected]>  Wed, 29 Oct 2014 15:17:33 +0100
+
 rinse (3.0.4) unstable; urgency=low
 
   * add missing package for CentOS 7

--- rinse-3.0.4/etc/centos-6.packages   2014-07-01 00:24:30.000000000 +0200
+++ rinse-3.0.6/etc/centos-6.packages   2014-10-29 14:09:42.000000000 +0100
@@ -110,3 +110,8 @@
 yum-metadata-parser
 yum-utils
 zlib
+libblkid
+libdevmapper
+libss
+libuuid
+gmp

--- rinse-3.0.4/etc/centos-7.packages   2014-07-25 13:36:30.000000000 +0200
+++ rinse-3.0.6/etc/centos-7.packages   2014-10-29 15:07:35.000000000 +0100
@@ -106,3 +106,11 @@
 zlib
 libffi
 libsemanage
+libblkid
+libmount
+device-mapper-libs
+libestr
+gmp
+json-c
+libss
+libuuid

--- rinse-3.0.4/scripts/centos-7/post-install.sh        2014-06-19 
22:01:03.000000000 +0200
+++ rinse-3.0.6/scripts/centos-7/post-install.sh        2014-10-29 
15:28:40.000000000 +0100
@@ -1,7 +1,7 @@
 #!/bin/sh
 #
 #  post-install.sh
-#  CentOS 6
+#  CentOS 7
 
 prefix=$1
 
@@ -15,6 +15,41 @@
 
 touch ${prefix}/etc/mtab
 
+
+# add command, that are normally executed in postinst or similar
+mv $prefix/var/run/* $prefix/run
+rmdir $prefix/var/run
+ln -s /run $prefix/var/run
+ln -s /run/lock $prefix/var/lock
+
+chroot $prefix alternatives --install /usr/bin/ld ld   /usr/bin/ld.bfd 50
+chroot $prefix alternatives --install /usr/bin/ld ld   /usr/bin/ld.gold 30
+chroot $prefix alternatives --auto ld
+
+chroot $prefix groupadd -g 22 -r -f utmp
+chroot $prefix touch /var/log/wtmp /var/run/utmp /var/log/btmp
+chroot $prefix chown root:utmp /var/log/wtmp /var/run/utmp /var/log/btmp
+chroot $prefix chmod 664 /var/log/wtmp /var/run/utmp
+chroot $prefix chmod 600 /var/log/btmp
+
+chroot $prefix groupadd -g 35 -r -f utempter
+chroot $prefix groupadd -g 21 -r -f slocate
+
+install -m 600 /dev/null $prefix/var/log/tallylog
+
+cd $prefix/var/log
+for n in messages secure maillog spooler;do
+       [ -f $n ] && continue
+       umask 066 && touch $n
+done
+cd /
+touch $prefix/var/log/lastlog
+chown root:root $prefix/var/log/lastlog
+chmod 0644 $prefix/var/log/lastlog
+
+ln -fs /proc/mounts $prefix/etc/mtab
+
+
 echo "  Bootstrapping yum"
 chroot ${prefix} /usr/bin/yum -y install yum vim-minimal dhclient 2>/dev/null
 



-- 
regards Thomas


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: 
https://lists.debian.org/[email protected]

Reply via email to