Hello,
I'm a Fedora packager and OWFS user. I thought about getting OWFS into
Fedora proper. I'll base my work on .spec file shipped with OWFS, but
I'd like to make it Fedora specific.
As you may know, Fedora is one of few distributions using systemd as
init and service manager system. Because of that, I'd like to ship
systemd unit definition files (and optimistically, getting them upstream).
To do this, I need to settle on few defaults, which I'd like to discuss with
you.
1) I'd like to propose running owserver as a central multiplexer;
frontend software (owfs, owhttpd, owftpd) would ship with unit files
pointing to and requiring owserver. Of course local admin can always
override the default.
Is there a problem with such arrangement?
2) For owfs, I'd like to encode default mountpoint in the unit file.
What mount point is widest used? /mnt/owfs has ~80k mentions in google,
/mnt/1wire about 600k. What's your preference?
3) owfs: is --allow-other good option to have by default (with appropriate
warning in unit file)?
Any other things I should have in mind packaging owfs?
Future work:
I am clear that I'd like to see owfs package "just work" for majority of
Fedora users. That means more use of facilities and automation provided
by systemd. I know that primary development platform for OWFS is Debian, which
is not systemd-only platform. So any patches would be rather hard to test by
primary developers on Debian.
Nevertheless, I image three step process in using systemd facilities. At each
steps compatibility with other init systems is preserved, and only third step
is (a little) intrusive for owfs.
1) ship unit files upstream; I think after some time of shipping and testing
unit files in Fedora, they should be move to main owfs package. It's a
matter
of including couple text files + few autoconf snippets.
2) Right now I'm starting owfs (the FUSE thing) as normal service. I did not
master using systemd's mount units with FUSE filesystems. When this is
worked out, I envision shipping mount+autmount unit. This would make
on-demand startup of owfs possible (and owserver as a dependency).
3) systemd provides facility for socket-activation; it's a mechanism
comparable
to beefed up xinetd. I'd like to patch owserver to have its socket managed
by systemd. This would make few things possible:
- removing explicit requirements for owserver from owhttpd and similar
units
- would allow owserver to be restarted without need to restart all frontend
daemons.
What do you think?
--
Tomasz Torcz "Never underestimate the bandwidth of a station
xmpp: [email protected] wagon filled with backup tapes." -- Jim Gray
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers