On 12/01/2014 02:46 PM, Orion Poplawski wrote: > On 12/01/2014 09:54 AM, Pat Riehecky wrote: >> On 12/01/2014 10:43 AM, Orion Poplawski wrote: >>> DEBUG util.py:283: /var/tmp/rpm-tmp.UX4TgJ: line 8: /usr/bin/mkdir: No such >>> file or directory >>> DEBUG util.py:283: /var/tmp/rpm-tmp.UX4TgJ: line 9: /usr/bin/chmod: No such >>> file or directory >>> DEBUG util.py:283: /var/tmp/rpm-tmp.UX4TgJ: line 11: >>> /etc/yum/vars/slreleasever: No such file or directory >>> DEBUG util.py:283: /var/tmp/rpm-tmp.UX4TgJ: line 12: /usr/bin/chmod: No such >>> file or directory >>> DEBUG util.py:283: warning: %post(sl-release-7.0-1.2.sl7.x86_64) scriptlet >>> failed, exit status 127 >>> DEBUG util.py:283: Non-fatal POSTIN scriptlet failure in rpm package >>> sl-release-7.0-1.2.sl7.x86 >>> >>> Needs: >>> >>> Requires(post): coreutils >>> >>> and whatever provides /etc/yum/vars/slreleasever >>> >>> >> hmmmm..... >> >> I show the correct requires around line 65 of >> http://ftp.scientificlinux.org/linux/scientific/7/SRPMS/SL/sl-release-7.0-1.sl7.src.rpm >> which is the version you've got...... >> >> Pat >> > > this is because of a dependency loop: > > glibc -> basesystem -> setup -> system-release/sl-release -> coreutils -> glibc > > I think you are going to need to not have scripts in sl-release. > > this is new in EL7 - https://bugzilla.redhat.com/show_bug.cgi?id=1075578 > > I suspect this deploop is breaking other package scriptlets on initial install: 20:13:15,591 INFO packaging: /var/tmp/rpm-tmp.RLBzye: line 2: /usr/sbin/groupadd: No such file or directory 20:13:15,591 INFO packaging: /var/tmp/rpm-tmp.RLBzye: line 3: /usr/sbin/groupadd: No such file or directory 20:13:15,591 INFO packaging: warning: group utempter does not exist - using root 20:13:15,592 INFO packaging: warning: group utmp does not exist - using root 20:13:15,592 INFO packaging: warning: %post(shared-mime-info-1.1-7.el7.x86_64) scriptlet failed, exit status 127 20:13:15,594 INFO packaging: /var/tmp/rpm-tmp.FTkn6y: line 3: install: command not found 20:13:15,594 INFO packaging: warning: %post(pam-1.1.8-9.el7.x86_64) scriptlet failed, exit status 127 -- Orion Poplawski Technical Manager 303-415-9701 x222 NWRA, Boulder/CoRA Office FAX: 303-415-9702 3380 Mitchell Lane [log in to unmask] Boulder, CO 80301 http://www.nwra.com