[ https://issues.apache.org/jira/browse/CLOUDSTACK-8625?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14742566#comment-14742566 ]
ASF GitHub Bot commented on CLOUDSTACK-8625: -------------------------------------------- Github user remibergsma commented on the pull request: https://github.com/apache/cloudstack/pull/813#issuecomment-139897498 Hey @wido.. question: I tried building the packages: `./package.sh -d centos7` Got this error: ``` Processing files: cloudstack-agent-4.6.0-SNAPSHOT.el7.centos.x86_64 error: File not found: /data/git/cs3/cloudstack/dist/rpmbuild/BUILDROOT/cloudstack-4.6.0-SNAPSHOT.el7.centos.x86_64/etc/init.d/cloudstack-agent RPM build errors: Binaries arch (1) not matching the package arch (2). File not found: /data/git/cs3/cloudstack/dist/rpmbuild/BUILDROOT/cloudstack-4.6.0-SNAPSHOT.el7.centos.x86_64/etc/init.d/cloudstack-agent RPM Build Failed ``` In `./centos7/cloud.spec` line `491` I see: ``` %attr(0755,root,root) %{_sysconfdir}/init.d/%{name}-agent ``` I assume this line needs to be removed? Or am I missing something? > Systemd profile for KVM Agent > ----------------------------- > > Key: CLOUDSTACK-8625 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8625 > Project: CloudStack > Issue Type: Improvement > Security Level: Public(Anyone can view this level - this is the > default.) > Components: KVM > Environment: Ubuntu 16.04, CentOS 7.X > Reporter: Wido den Hollander > Labels: agent, kvm, systemd > Fix For: Future > > > We currently only support sysvinit, but with CentOS and Ubuntu both moving to > Systemd we should support systemd. > To do this we can: > - Loose JSVC > - Log to stdout and let systemd / journalctl handling the logging -- This message was sent by Atlassian JIRA (v6.3.4#6332)