Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a RPM spec file for libvirt #9

Open
marcoy opened this issue Nov 10, 2011 · 4 comments
Open

Create a RPM spec file for libvirt #9

marcoy opened this issue Nov 10, 2011 · 4 comments

Comments

@marcoy
Copy link

marcoy commented Nov 10, 2011

No description provided.

@xavileon
Copy link
Member

The custom libvirt package does not create the virbr0 interface by default like the original package.

@marcoy
Copy link
Author

marcoy commented Nov 30, 2011

Is this on unicorn? Is bridgeutils installed?

Sent from my iPhone

On Nov 29, 2011, at 18:52, xavileon
[email protected]
wrote:

The libvirt package does not create the virbr0 interface by default like the original package.


Reply to this email directly or view it on GitHub:
#9 (comment)

@xavileon
Copy link
Member

yes and yes. I've been digging into this and the problem is not with libvirt. The network is defined but it's not started because dnsmasq fails:

[root@unicorn dnsmasq]# /usr/sbin/dnsmasq --strict-order --bind-interfaces --pid-file=/var/run/libvirt/network/default.pid --conf-file= --except-interface lo --listen-address 192.168.122.1 --dhcp-range 192.168.122.2,192.168.122.254 --dhcp-leasefile=/var/lib/libvirt/dnsmasq/default.leases --dhcp-lease-max=253 --dhcp-no-override

dnsmasq: cannot open or create lease file /var/lib/libvirt/dnsmasq/default.leases: Permission denied

Which is weird because the permissions are just fine:

[root@unicorn dnsmasq]# ls -la /var/lib/libvirt/dnsmasq/default.leases
-rw-r--r-- 1 root root 48 Nov 29 21:08 /var/lib/libvirt/dnsmasq/default.leases
[root@unicorn dnsmasq]# rm -rf /var/lib/libvirt/dnsmasq/default.leases
rm: cannot remove `/var/lib/libvirt/dnsmasq/default.leases': Operation not permitted

@marcoy
Copy link
Author

marcoy commented Nov 30, 2011

That file is somehow being marked as immutable. I don't know which process does that.

[root@unicorn dnsmasq]# lsattr default.leases
----i---------- default.leases

On Nov 29, 2011, at 9:16 PM, xavileon wrote:

yes and yes. I've been digging into this and the problem is not with libvirt. The network is defined but it's not started because dnsmasq fails:

[root@unicorn dnsmasq]# /usr/sbin/dnsmasq --strict-order --bind-interfaces --pid-file=/var/run/libvirt/network/default.pid --conf-file= --except-interface lo --listen-address 192.168.122.1 --dhcp-range 192.168.122.2,192.168.122.254 --dhcp-leasefile=/var/lib/libvirt/dnsmasq/default.leases --dhcp-lease-max=253 --dhcp-no-override

dnsmasq: cannot open or create lease file /var/lib/libvirt/dnsmasq/default.leases: Permission denied

Which is weird because the permissions are just fine:

[root@unicorn dnsmasq]# ls -la /var/lib/libvirt/dnsmasq/default.leases
-rw-r--r-- 1 root root 48 Nov 29 21:08 /var/lib/libvirt/dnsmasq/default.leases
[root@unicorn dnsmasq]# rm -rf /var/lib/libvirt/dnsmasq/default.leases
rm: cannot remove `/var/lib/libvirt/dnsmasq/default.leases': Operation not permitted


Reply to this email directly or view it on GitHub:
#9 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants