Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
libvirt
提交
d4f6e9b5
L
libvirt
项目概览
openeuler
/
libvirt
通知
3
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
L
libvirt
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
d4f6e9b5
编写于
7月 11, 2008
作者:
D
Daniel P. Berrange
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Default to admin auth for polkit. Rename policy file
上级
5e239b00
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
26 addition
and
8 deletion
+26
-8
ChangeLog
ChangeLog
+7
-0
libvirt.spec.in
libvirt.spec.in
+1
-1
qemud/Makefile.am
qemud/Makefile.am
+16
-5
qemud/libvirtd.policy
qemud/libvirtd.policy
+2
-2
未找到文件。
ChangeLog
浏览文件 @
d4f6e9b5
Fri Jul 11 10:50:59 BST 2008 Daniel P. Berrange <berrange@redhat.com>
* libvirt.spec.in, qemud/Makefile.am: Rename installed polkit
policy file to org.libvirt.unix.policy
* qemud/libvirtd.policy: Default to admin auth instead of
user auth.
Fri Jul 11 10:48:59 BST 2008 Daniel P. Berrange <berrange@redhat.com>
* qemud/qemud.c: Don't default to polkit auth when running
...
...
libvirt.spec.in
浏览文件 @
d4f6e9b5
...
...
@@ -240,7 +240,7 @@ fi
%dir %attr(0700, root, root) %{_localstatedir}/lib/libvirt/images/
%dir %attr(0700, root, root) %{_localstatedir}/lib/libvirt/boot/
%if %{with_polkit}
%{_datadir}/PolicyKit/policy/
libvirtd
.policy
%{_datadir}/PolicyKit/policy/
org.libvirt.unix
.policy
%endif
%dir %attr(0700, root, root) %{_localstatedir}/log/libvirt/qemu/
%if %{with_xen_proxy}
...
...
qemud/Makefile.am
浏览文件 @
d4f6e9b5
...
...
@@ -13,7 +13,8 @@ EXTRA_DIST = libvirtd.init.in libvirtd.sysconf default-network.xml \
remote_dispatch_proc_switch.h
\
mdns.c mdns.h
\
libvirtd.sasl
\
libvirtd.conf
libvirtd.conf
\
libvirtd.policy
if
RPCGEN
SUFFIXES
=
.x
...
...
@@ -75,9 +76,7 @@ libvirtd_LDADD = ../src/libvirt.la ../gnulib/lib/libgnu.la
if
HAVE_POLKIT
policydir
=
$(datadir)
/PolicyKit/policy
policy_DATA
=
libvirtd.policy
endif
EXTRA_DIST
+=
libvirtd.policy
if
HAVE_AVAHI
libvirtd_SOURCES
+=
mdns.c mdns.h
...
...
@@ -86,7 +85,7 @@ libvirtd_LDADD += $(AVAHI_LIBS)
endif
default_xml_dest
=
libvirt/qemu/networks/default.xml
install-data-local
:
install-init install-data-sasl
install-data-local
:
install-init install-data-sasl
install-data-polkit
mkdir
-p
$(DESTDIR)$(sysconfdir)
/libvirt/qemu/networks/autostart
$(INSTALL_DATA)
$(srcdir)
/default-network.xml
\
$(DESTDIR)$(sysconfdir)
/
$(default_xml_dest)
...
...
@@ -99,7 +98,7 @@ install-data-local: install-init install-data-sasl
mkdir
-p
$(DESTDIR)$(localstatedir)
/run/libvirt
mkdir
-p
$(DESTDIR)$(localstatedir)
/lib/libvirt
uninstall-local
::
uninstall-init uninstall-data-sasl
uninstall-local
::
uninstall-init uninstall-data-sasl
install-data-polkit
rm
-f
$(DESTDIR)$(sysconfdir)
/libvirt/qemu/networks/autostart/default.xml
rm
-f
$(DESTDIR)$(sysconfdir)
/
$(default_xml_dest)
rmdir
$(DESTDIR)$(sysconfdir)
/libvirt/qemu/networks/autostart
||
:
...
...
@@ -120,6 +119,18 @@ install-data-sasl:
uninstall-data-sasl
:
endif
if
HAVE_POLKIT
install-data-polkit
::
install-init
mkdir
-p
$(DESTDIR)$(policydir)
$(INSTALL_DATA)
libvirtd.policy
$(DESTDIR)$(policydir)
/org.libvirt.unix.policy
uninstall-data-polkit
::
install-init
rm
-f
$(DESTDIR)$(policydir)
/org.libvirt.unix.policy
else
install-data-polkit
::
uninstall-data-polkit
::
endif
remote.c
:
remote_dispatch_prototypes.h
\
remote_dispatch_localvars.h
\
remote_dispatch_proc_switch.h
...
...
qemud/libvirtd.policy
浏览文件 @
d4f6e9b5
...
...
@@ -36,7 +36,7 @@ file are instantly applied.
read-write mode for management, and we require user password -->
<allow_any>
no
</allow_any>
<allow_inactive>
no
</allow_inactive>
<allow_active>
auth_
self
_keep_session
</allow_active>
<allow_active>
auth_
admin
_keep_session
</allow_active>
</defaults>
</action>
</policyconfig>
\ No newline at end of file
</policyconfig>
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录