Upstart conflicting with systemd in rawhide (BR on /sbin/shutdown)

Stanislav Ochotnicky sochotnicky at redhat.com
Fri Oct 15 07:16:33 UTC 2010


I encountered this problem recently when upgrading/testing some packages.

apache-commons-configuration depends on tomcat5, that depends on
redhat-lsb and redhat-lsb itself depends on /sbin/shutdown. Now instead
of pulling systemd to provide this command, upstart gets pulled in and
causes conflict.

For some reason this happens only in my mock on F-13 (and at least one
another F-13 machine), but not on koji. There was some discussion on IRC
about this behaviour, but no conclusion was reached. So I thought I'd
try to reach out to bigger audience.

You can test by cloning apache-commons-configuration and trying to build
for rawhide. You should get something like this:


 $ mock -r fedora-rawhide-x86_64
/home/w0rm/work/fedora-git/apache-commons-configuration/apache-commons-configuration-1.6-2.fc15.src.rpm
--no-clean
INFO: mock.py version 1.1.5 starting...
State Changed: init plugins
INFO: selinux enabled
State Changed: start
INFO:
Start(/home/w0rm/work/fedora-git/apache-commons-configuration/apache-commons-configuration-1.6-2.fc15.src.rpm)
 Config(fedora-rawhide-x86_64)
State Changed: init
State Changed: lock buildroot
State Changed: init
State Changed: lock buildroot
Mock Version: 1.1.5
INFO: Mock Version: 1.1.5
INFO: enabled root cache
INFO: enabled yum cache
State Changed: cleaning yum metadata
INFO: enabled ccache
State Changed: running yum
State Changed: setup
WARNING: Command failed. See logs for output.
 # umount -n /var/lib/mock/fedora-rawhide-x86_64/root/dev/shm
--setopt=tsflags=nocontexts
WARNING: Command failed. See logs for output.
 # umount -n /var/lib/mock/fedora-rawhide-x86_64/root/dev/pts
--setopt=tsflags=nocontexts
WARNING: Command failed. See logs for output.
 # umount -n /var/lib/mock/fedora-rawhide-x86_64/root/proc/filesystems
--setopt=tsflags=nocontexts
WARNING: Command failed. See logs for output.
 # umount -n /var/lib/mock/fedora-rawhide-x86_64/root/tmp/ccache
--setopt=tsflags=nocontexts
WARNING: Command failed. See logs for output.
 # umount -n /var/lib/mock/fedora-rawhide-x86_64/root/var/cache/yum
--setopt=tsflags=nocontexts
WARNING: Command failed. See logs for output.
 # umount -n /var/lib/mock/fedora-rawhide-x86_64/root/sys
--setopt=tsflags=nocontexts
WARNING: Command failed. See logs for output.
 # umount -n /var/lib/mock/fedora-rawhide-x86_64/root/proc
--setopt=tsflags=nocontexts
WARNING: Forcibly unmounting
'/var/lib/mock/fedora-rawhide-x86_64/root/dev/shm' from chroot.
WARNING: Forcibly unmounting
'/var/lib/mock/fedora-rawhide-x86_64/root/dev/pts' from chroot.
WARNING: Forcibly unmounting
'/var/lib/mock/fedora-rawhide-x86_64/root/proc/filesystems' from chroot.
WARNING: Forcibly unmounting
'/var/lib/mock/fedora-rawhide-x86_64/root/tmp/ccache' from chroot.
WARNING: Forcibly unmounting
'/var/lib/mock/fedora-rawhide-x86_64/root/var/cache/yum' from chroot.
WARNING: Forcibly unmounting
'/var/lib/mock/fedora-rawhide-x86_64/root/sys' from chroot.
WARNING: Forcibly unmounting
'/var/lib/mock/fedora-rawhide-x86_64/root/proc' from chroot.
ERROR:
Exception(/home/w0rm/work/fedora-git/apache-commons-configuration/apache-commons-configuration-1.6-2.fc15.src.rpm)
Config(fedora-rawhide-x86_64) 1 minutes 39 seconds
INFO: Results and/or logs in: /var/lib/mock/fedora-rawhide-x86_64/result
ERROR: Command failed:
 # /usr/bin/yum --installroot /var/lib/mock/fedora-rawhide-x86_64/root/
 install  ccache  'jakarta-commons-pool' 'jakarta-commons-collections'
'apache-commons-lang' 'tomcat5' 'apache-commons-codec' 'xerces-j2'
'servletapi5' 'maven2-plugin-idea' 'xml-commons-apis'
'jakarta-commons-digester' 'jpackage-utils >= 0:1.7.2'
'jakarta-commons-dbcp' 'maven2-plugin-jar' 'maven2-plugin-antrun'
'apache-commons-beanutils >= 0:1.7.0' 'xalan-j2'
'maven2-plugin-compiler' 'maven-surefire-maven-plugin'
'maven2-plugin-install' 'maven2-plugin-javadoc' 'maven-doxia-sitetools'
'maven2-plugin-assembly' 'maven-plugin-bundle' 'maven2-plugin-resources'
'jakarta-commons-jxpath' 'maven-surefire-provider-junit'
'apache-commons-logging' 'java-devel' --setopt=tsflags=nocontexts
Package jakarta-commons-collections is obsoleted by
apache-commons-collections, trying to install
apache-commons-collections-3.2.1-7.fc15.noarch instead
Package classpathx-jaf is obsoleted by java-1.5.0-gcj, but obsoleting
package does not provide for requirements

Error: upstart-sysvinit conflicts with systemd
Error: Package: tomcat5-5.5.27-7.4.fc12.noarch (fedora)
           Requires: jaf = 1.0.2
           Available: classpathx-jaf-1.0-15.1.fc12.x86_64 (fedora)
               jaf = 1.0.2
 You could try using --skip-broken to work around the problem
Error: Package: classpathx-mail-1.1.1-9.1.fc12.x86_64 (fedora)
           Requires: jaf >= 1.0
           Available: classpathx-jaf-1.0-15.1.fc12.x86_64 (fedora)
               jaf = 1.0.2
Error: systemd conflicts with upstart-sysvinit
 You could try running: rpm -Va --nofiles --nodigest



-- 
Stanislav Ochotnicky <sochotnicky at redhat.com>
Associate Software Engineer - Base Operating Systems Brno

PGP: 71A1677C
Red Hat Inc.                               http://cz.redhat.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
Url : http://lists.fedoraproject.org/pipermail/devel/attachments/20101015/31ffaa1b/attachment.bin 


More information about the devel mailing list