Bug 10166 - schroot depends on a set of devel packages
Summary: schroot depends on a set of devel packages
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 3
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: has_procedure mga3-64-ok mga3-32-ok
Keywords: validated_update
Depends on:
Blocks:
 
Reported: 2013-05-20 07:35 CEST by Oleg Bosis
Modified: 2014-05-08 18:05 CEST (History)
3 users (show)

See Also:
Source RPM: schroot-1.6.3-5.mga3.src.rpm
CVE:
Status comment:


Attachments

Description Oleg Bosis 2013-05-20 07:35:13 CEST
Description of problem:
schroot depends on a set of devel packages, including boost-devel and some others:
$ urpmq --requires schroot
--requires behaviour changed, use --requires-recursive to get the old behaviour
libboost_filesystem.so.1.53.0()(64bit)
libboost_iostreams.so.1.53.0()(64bit)
libboost_program_options.so.1.53.0()(64bit)
libboost_regex.so.1.53.0()(64bit)
libboost_system.so.1.53.0()(64bit)
libc.so.6()(64bit)
libc.so.6(GLIBC_2.14)(64bit)
libc.so.6(GLIBC_2.2.5)(64bit)
libc.so.6(GLIBC_2.3)(64bit)
libc.so.6(GLIBC_2.4)(64bit)
libgcc_s.so.1()(64bit)
libgcc_s.so.1(GCC_3.0)(64bit)
liblockdev.so.1()(64bit)
libpam.so.0()(64bit)
libpthread.so.0()(64bit)
libpthread.so.0(GLIBC_2.2.5)(64bit)
libsbuild.so.1()(64bit)
libstdc++.so.6()(64bit)
libstdc++.so.6(GLIBCXX_3.4)(64bit)
libstdc++.so.6(GLIBCXX_3.4.11)(64bit)
libstdc++.so.6(GLIBCXX_3.4.15)(64bit)
libstdc++.so.6(GLIBCXX_3.4.9)(64bit)
libuuid.so.1()(64bit)
devel(libboost_filesystem(64bit))
devel(libboost_iostreams(64bit))
devel(libboost_regex(64bit))
devel(libboost_system(64bit))
devel(libgcc_s(64bit))
devel(liblockdev(64bit))
devel(libpam(64bit))
devel(libstdc++(64bit))
devel(libuuid(64bit))

Version-Release number of selected component (if applicable):
schroot-1.6.3-5

How reproducible:
always

Steps to Reproduce:
1.
2.
3.


Reproducible: 

Steps to Reproduce:
Oleg Bosis 2013-05-20 07:35:24 CEST

CC: (none) => olegbosis

Sander Lepik 2013-05-20 11:07:03 CEST

CC: (none) => sander.lepik
Assignee: bugsquad => makowski.mageia

Comment 1 Philippe Makowski 2013-05-21 14:57:21 CEST
I don't understand, there is no explicit require in the spec
Comment 2 Oleg Bosis 2013-05-28 07:26:15 CEST
May be there was a bug in rpm and the package just needs rebuilding?
Comment 3 Philippe Makowski 2013-05-30 22:21:51 CEST
I think it is because it include libsbuild.so
I will try to solve this
Philippe Makowski 2013-05-30 22:35:37 CEST

Status: NEW => ASSIGNED

Comment 4 Philippe Makowski 2013-05-31 23:15:15 CEST
Suggested advisory:
========================

Updated schroot package fix bug #10166:

 schroot depends on a set of devel packages

References:
https://bugs.mageia.org/show_bug.cgi?id=10166
========================

Updated packages in core/updates_testing:
========================
schroot-1.6.3-6.mga3.x86_64.rpm
schroot-1.6.3-6.mga3.i586.rpm

dchroot-1.6.3-6.mga3.x86_64.rpm
dchroot-1.6.3-6.mga3.i586.rpm

Source RPM: 
schroot-1.6.3-6.mga3.src.rpm

Added packages:
schroot-debuginfo-1.6.3-6.mga3.x86_64.rpm
schroot-debuginfo-1.6.3-6.mga3.i586.rpm

Assignee: makowski.mageia => qa-bugs

Comment 5 claire robinson 2013-06-04 11:56:17 CEST
Testing mga3 64

Confirmed the devel requires have been removed. This also fixes an odd issue with the man pages.

Before
======
$ urpmq --requires schroot --searchmedia "Core Release" | grep devel
--requires behaviour changed, use --requires-recursive to get the old behaviour
devel(libboost_filesystem(64bit))
devel(libboost_iostreams(64bit))
devel(libboost_regex(64bit))
devel(libboost_system(64bit))
devel(libgcc_s(64bit))
devel(liblockdev(64bit))
devel(libpam(64bit))
devel(libstdc++(64bit))
devel(libuuid(64bit))


dchroot is not affected..

$ urpmq --requires dchroot --searchmedia "Core Release" | grep devel
--requires behaviour changed, use --requires-recursive to get the old behaviour

# man schroot
fgets: No such file or directory
Error reading man page /usr/share/man/man1/schroot.1.xz
No manual entry for schroot

# man dchroot
fgets: No such file or directory
Error reading man page /usr/share/man/man1/dchroot.1.xz
No manual entry for dchroot


After
=====


$ urpmq --requires schroot --searchmedia "Core Updates Testing" | grep devel
--requires behaviour changed, use --requires-recursive to get the old behaviour

$ urpmq --requires dchroot --searchmedia "Core Updates Testing" | grep devel
--requires behaviour changed, use --requires-recursive to get the old behaviour


man schroot or dchroot now works.



I'll need to work out how to test schroot properly though, seem to remember it being updated before.
Comment 6 claire robinson 2013-06-06 10:51:24 CEST
Testing complete mga3 64

Created a chroot cauldron installation

# mkdir /mnt/chroot
# urpmi.addmedia --distrib --urpmi-root /mnt/chroot http://ftp5.gwdg.de/pub/linux/mageia/distrib/cauldron/i586

# urpmi  --urpmi-root /mnt/chroot basesystem urpmi locales-en

# ls /mnt/chroot
bin@  boot/  dev/  etc/  home/  initrd/  lib@  media/  mnt/  opt/  proc/  root/  run/  sbin@  srv/  sys/  tmp/  usr/  var/

# cp /etc/resolv.conf /mnt/chroot/etc/resolv.conf
cp: overwrite â/mnt/chroot/etc/resolv.confâ? y

# mount -o bind /proc /mnt/chroot/proc

Added the following to the end of /etc/schroot/schroot.conf

[cauldron]
description=Mageia Cauldron i586
type=directory
directory=/mnt/chroot
users=root
groups=root
root-groups=root

then..

# schroot -l
chroot:cauldron

# schroot -c cauldron urpmi iotop
E: 15binfmt: which: no update-binfmts in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/sbin:/usr/sbin)
To satisfy dependencies, the following packages are going to be installed:
  Package                        Version      Release       Arch    
(medium "Core Release")
  iotop                          0.4.4        2.mga3        noarch  
  python                         2.7.5        1.mga4        i586    
28MB of additional disk space will be used.
4.4MB of packages will be retrieved.
Proceed with the installation of the 2 packages? (Y/n) y

...

installing iotop-0.4.4-2.mga3.noarch.rpm python-2.7.5-1.mga4.i586.rpm from /var/cache/urpmi/rpms
Preparing...                     #############################################
      1/2: python                #############################################
      2/2: iotop                 #############################################


# schroot -c cauldron -p iotop

Displays iotop from the chroot.

Whiteboard: (none) => has_procedure mga3-64-ok

Comment 7 claire robinson 2013-06-06 10:52:50 CEST
To delete the chroot..

# umount /mnt/chroot/proc
# rm -rf /mnt/chroot
Comment 8 claire robinson 2013-06-06 10:59:16 CEST
Testing mga3 32
Comment 9 claire robinson 2013-06-06 11:11:54 CEST
Testing complete mga3 32

Validating

Advisory & srpm in comment 4

Could sysadmin please push from 3 core/updates_testing to core/updates

Thanks!

Keywords: (none) => validated_update
Whiteboard: has_procedure mga3-64-ok => has_procedure mga3-64-ok mga3-32-ok
CC: (none) => sysadmin-bugs

Comment 10 Nicolas Vigier 2013-06-18 16:50:04 CEST
http://advisories.mageia.org/MGAA-2013-0032.html

Status: ASSIGNED => RESOLVED
CC: (none) => boklm
Resolution: (none) => FIXED

Nicolas Vigier 2014-05-08 18:05:02 CEST

CC: boklm => (none)


Note You need to log in before you can comment on or make changes to this bug.