| Summary: | iurt asks for password and fails to report its version | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Barry Jackson <zen25000> |
| Component: | RPM Packages | Assignee: | Thierry Vignaud <thierry.vignaud> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | thierry.vignaud |
| Version: | Cauldron | ||
| Target Milestone: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | iurt-0.6.9-1.mga3.src.rpm | CVE: | |
| Status comment: | |||
| Attachments: | fix | ||
|
Manuel Hiebel
2012-09-04 16:29:41 CEST
Assignee:
bugsquad =>
pterjan
Thierry Vignaud
2012-09-12 15:47:51 CEST
Status:
NEW =>
ASSIGNED Created attachment 2790 [details]
fix
Does it work better with that patch?
(to apply in /usr/lib/perl5/vendor_perl/5.16.1/)
Yes, thanks :) There is an error, but it no longer stops for password and the build completes without intervention :- -----------------snip-------------------- + LC_ALL=C + iurt -r cauldron x86_64 harbour-3.0.0-4.mga3.src.rpm *: [iurt] This is iurt revision $Rev$-$Author$ ($Date$) <======= ??? D: [iurt] [iurt] load config: /home/baz/.iurt.cauldron.conf ------------------snip------------------- D: [iurt_root_command] Running iurt_root_command --bindmount /dev/pts /home/baz/chroot_tmp/baz/chroot_cauldron.x86_64.0.20120912142918/dev/pts D: [iurt_root_command] Bind mounting D: [iurt_root_command] Success! D: [iurt_root_command] Running iurt_root_command --bindmount /dev/shm /home/baz/chroot_tmp/baz/chroot_cauldron.x86_64.0.20120912142918/dev/shm D: [iurt_root_command] Bind mounting mount: /home/baz/chroot_tmp/baz/chroot_cauldron.x86_64.0.20120912142918/dev/shm is busy I: [iurt_root_command] ERROR: Bind mounting [iurt] [iurt] Failed to mount /dev/shm <=========######## D: [iurt] [iurt] creating user baz in chroot D: [iurt_root_command] Running iurt_root_command --useradd /home/baz/chroot_tmp/baz/chroot_cauldron.x86_64.0.20120912142918 baz 500 D: [iurt_root_command] Useradd D: [iurt_root_command] Success! D: [iurt_root_command] Running iurt_root_command --cp /tmp/rpmmacros /home/baz/chroot_tmp/baz/chroot_cauldron.x86_64.0.20120912142918/home/b... D: [iurt_root_command] Copying files D: [iurt_root_command] copying /tmp/rpmmacros -> /home/baz/chroot_tmp/baz/chroot_cauldron.x86_64.0.20120912142918/home/baz/.rpmmacros D: [iurt_root_command] Success! N: [iurt] [iurt] recreate srpm: harbour-3.0.0-4.mga3.src.rpm ----------------snip-------------- Also /OT Is there any way to enable tainted repos for local iurt builds - I have asked many times on IRC but nobody knows :( Closing then Status:
ASSIGNED =>
RESOLVED |
Description of problem: Since last update iurt asks for user password after installing BRs. Hitting CTRL/c at the prompt allows the build to continue without a password. ------------------snip------------------------ D: [iurt_root_command] Bind mounting D: [iurt_root_command] Success! [sudo] password for baz: sudo: pam_authenticate: Application needs to call libpam again [iurt] [iurt] Failed to mount /dev/shm D: [iurt] [iurt] creating user baz in chroot D: [iurt_root_command] Running iurt_root_command --useradd /home/baz/chroot_tmp/baz/chroot_cauldron.x86_64.0.20120903193921 baz 500 D: [iurt_root_command] Useradd D: [iurt_root_command] Success! D: [iurt_root_command] Running iurt_root_command --cp /tmp/rpmmacros /home/baz/chroot_tmp/baz/chroot_cauldron.x86_64.0.20120903193921/home/b... ----------------------snip------------------ It also reports:- *: [iurt] This is iurt revision $Rev$-$Author$ ($Date$) Version-Release number of selected component (if applicable): [baz@jackodesktop harbour]$ rpm -q iurt iurt-0.6.9-1.mga3 How reproducible: Always Steps to Reproduce: 1. Build srpm locally using iurt with local repo using e.g. command:- LC_ALL=C iurt -r cauldron x86_64 cutecw-1.0-1.mga2.src.rpm My .iurt.cauldron.conf :- { supported_arch => [ 'i586', 'x86_64' ], all_media => { 'core' => [ 'release' ], 'nonfree' => [ 'release' ], 'tainted' => [ 'release' ] }, base_media => [ 'core/release' ], local_home => "/home/baz/build", home => "/home/baz/iurt", upload => "/home/baz", local_upload => "/home/baz/iurt_uploads", repository => '/repo/pub/linux/Mageia/distrib', admin => 'baz@mageia.org', sendmail => 0, packager => 'Iurt the rebuild bot <baz@mageia.org>', }