Skip to contentSkip to conversation

./configure default for systemd

DISCUSSION Andrew Cooper 1 participant 2 messages Oct 8, 2025

lore
Share & tools
lore
#0 lore raw

Hello,

(Related to my "Linux xenfs vs privcmd" email, if anyone was wondering why I ended up playing with systemd manually)

It turns out that when you build on a systemd-enabled system, you still need to explicitly --enable-systemd to get a working debball.

This is contrary to most other behaviours which are active by default if the preconditions are met.  In this case there are no preconditions - it's just a bunch of text files being processed and written out into the proper directory structure.

I think we want to do something better by default here.

~Andrew

#1 lore raw

More configure [was: ./configure default for systemd]

Quoted 8 lines · Andrew Cooper

Hello,

(Related to my "Linux xenfs vs privcmd" email, if anyone was wondering why I ended up playing with systemd manually)

It turns out that when you build on a systemd-enabled system, you still need to explicitly --enable-systemd to get a working debball.

Quoted 6 lines

This is contrary to most other behaviours which are active by default if the preconditions are met.  In this case there are no preconditions - it's just a bunch of text files being processed and written out into the proper directory structure.

I think we want to do something better by default here.

Actually there's more wonky stuff here.

Despite using --prefix=/usr, I've ended up with the Ocaml and Python content being put in /usr/local/lib rather than /usr/lib/.  I think this means we've got a logical error deriving the other values.

We're still producing:

/usr/include/xenstore-compat
/usr/include/xenstore-compat/xs.h
/usr/include/xenstore-compat/xs_lib.h
/usr/include/xs.h
/usr/include/xs_lib.h

which are long overdue being deleted.  I'll trim them when 4.22 opens.

The contents of /etc/xen are dubious to say the least:

/etc/xen
/etc/xen/auto
/etc/xen/cpupool
/etc/xen/oxenstored.conf
/etc/xen/README
/etc/xen/scripts
/etc/xen/scripts/block
/etc/xen/scripts/block-common.sh
/etc/xen/scripts/block-drbd-probe
/etc/xen/scripts/block-dummy
/etc/xen/scripts/block-enbd
/etc/xen/scripts/block-iscsi
/etc/xen/scripts/block-nbd
/etc/xen/scripts/block-tap
/etc/xen/scripts/colo-proxy-setup
/etc/xen/scripts/external-device-migrate
/etc/xen/scripts/hotplugpath.sh
/etc/xen/scripts/launch-xenstore
/etc/xen/scripts/locking.sh
/etc/xen/scripts/logging.sh
/etc/xen/scripts/vif-bridge
/etc/xen/scripts/vif-common.sh
/etc/xen/scripts/vif-nat
/etc/xen/scripts/vif-openvswitch
/etc/xen/scripts/vif-route
/etc/xen/scripts/vif-setup
/etc/xen/scripts/vscsi
/etc/xen/scripts/xen-hotplug-common.sh
/etc/xen/scripts/xen-network-common.sh
/etc/xen/scripts/xen-script-common.sh
/etc/xen/xl.conf
/etc/xen/xlexample.hvm
/etc/xen/xlexample.pvhlinux
/etc/xen/xlexample.pvlinux

The mix of file extensions notwithstanding, they ought to be in /usr/lib/xen/ not in /etc, I think?

~Andrew