libvirt/src/remote
Daniel P. Berrangé da1ade7a52 remote: remove some __sun conditionals
The libvirtd daemon has some arbitrary logic to drop privileges, but
only on Solaris platforms. This was added during Xen days, when Xen was
the only driver running in libvirtd. There's no expectation or testing
that this works with the new libxl stack, nor whether dropping
privileges breaks any of the secondary drivers. Finally, we'll be
splitting drivers out into their own independant daemons, so this won't
be applicable to libvirtd in future anyway.

The remote driver client meanwhile arbitrarily disables daemon
auto-spawn when connecting as non-root, breaking a key feature of
libvirt unprivileged connections.

Since we've not had any contributions for Solaris since circa 2012
and we don't do any CI testing we should consider this platform
unmaintained and thus reasonable to remove this cruft. If someone steps
forward to maintain Solaris again, this code would need re-evaluating to
come up with something more targetted.

There's various __sun conditionals in the Xen driver code, but those are
not touched. This is all for the legacy Xen driver, which will be
entirely removed at some point in future, so not benefit to hacking out
just the Solaris parts.

Reviewed-by: Andrea Bolognani <abologna@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
2018-03-23 15:10:25 +00:00
..
libvirtd.aug rpc: remove remains of obsolete log_buffer_size config parameter 2018-03-23 10:44:35 +00:00
libvirtd.conf rpc: remove remains of obsolete log_buffer_size config parameter 2018-03-23 10:44:35 +00:00
libvirtd.init.in daemon: move init system files into src/remote/ 2018-02-22 12:21:21 +00:00
libvirtd.libxl.logrotate.in daemon: move logrotate files to src/remote/ 2018-02-22 12:26:57 +00:00
libvirtd.logrotate.in daemon: move logrotate files to src/remote/ 2018-02-22 12:26:57 +00:00
libvirtd.lxc.logrotate.in daemon: move logrotate files to src/remote/ 2018-02-22 12:26:57 +00:00
libvirtd.pod daemon: move libvirtd POD manpage into src/remote/ 2018-02-22 12:21:09 +00:00
libvirtd.policy Do not generate polkit rules file 2018-03-14 12:46:26 +01:00
libvirtd.qemu.logrotate.in daemon: move logrotate files to src/remote/ 2018-02-22 12:26:57 +00:00
libvirtd.rules daemon: move misc libvirtd policy files to src/remote/ 2018-02-22 12:26:50 +00:00
libvirtd.sasl daemon: move misc libvirtd policy files to src/remote/ 2018-02-22 12:26:50 +00:00
libvirtd.service.in daemon: move init system files into src/remote/ 2018-02-22 12:21:21 +00:00
libvirtd.sysconf daemon: move init system files into src/remote/ 2018-02-22 12:21:21 +00:00
libvirtd.sysctl daemon: move misc libvirtd policy files to src/remote/ 2018-02-22 12:26:50 +00:00
libvirtd.uml.logrotate.in daemon: move logrotate files to src/remote/ 2018-02-22 12:26:57 +00:00
libvirtd.upstart daemon: move init system files into src/remote/ 2018-02-22 12:21:21 +00:00
lxc_protocol.x Add ACL annotations to all RPC messages 2013-06-24 15:24:36 +01:00
Makefile.inc.am Do not generate polkit rules file 2018-03-14 12:46:26 +01:00
qemu_protocol.x qemu: wire up RPC for qemu monitor events 2014-03-20 11:25:37 -06:00
remote_daemon_config.c daemon: move libvirtd code into src/remote/ directory 2018-02-22 12:21:08 +00:00
remote_daemon_config.h daemon: move libvirtd code into src/remote/ directory 2018-02-22 12:21:08 +00:00
remote_daemon_dispatch.c remote: Set eventID explicitly to an invalid value 2018-03-15 17:12:28 -04:00
remote_daemon_dispatch.h daemon: move libvirtd code into src/remote/ directory 2018-02-22 12:21:08 +00:00
remote_daemon_stream.c stream: Access stream->prog instead of a hard-coded global variable 2018-03-15 17:12:28 -04:00
remote_daemon_stream.h daemon: move libvirtd code into src/remote/ directory 2018-02-22 12:21:08 +00:00
remote_daemon.c remote: remove some __sun conditionals 2018-03-23 15:10:25 +00:00
remote_daemon.h daemon: move libvirtd code into src/remote/ directory 2018-02-22 12:21:08 +00:00
remote_driver.c remote: remove some __sun conditionals 2018-03-23 15:10:25 +00:00
remote_driver.h Change file names in comments to match the files they are in 2014-03-10 14:26:04 +01:00
remote_protocol.x storage: export virStoragePoolLookupByTargetPath as a public API 2018-02-09 11:05:10 +00:00
test_libvirtd.aug.in rpc: remove remains of obsolete log_buffer_size config parameter 2018-03-23 10:44:35 +00:00
virt-guest-shutdown.target.in daemon: move init system files into src/remote/ 2018-02-22 12:21:21 +00:00