Fedora server implementation straw man
Kevin Fenzi
kevin at scrye.com
Wed Jan 29 20:08:27 UTC 2014
BTW, I am on the server list, there's no need to also cc me. ;)
On Wed, 29 Jan 2014 11:37:35 -0800 (PST)
"Michael R. Davis" <mrdvt92 at yahoo.com> wrote:
>
> I'm not sure I care how roles gets a running httpd server but, it's a
> common task that 1000s of people need to do everyday.
Sure, but before you run it you need some basic configuration no?
Or at least for it to be useful...
> In the spec "Require: httpd-on" is a whole lot easier than doing
> something in a %post section
>
> %post
> do_what_needs_to_be_done_to_get_httpd_running_and_open_port_80_on_the_firewall
I wouldn't do that in a post no.
I would let the thing that you use to configure it do that.
send a 'httpd is configured' dbus message, then that starts and enables
the service and opens the port(s)
...snip...
> >> A package I just wrote is the "don't install documentation on a
> >> headless server package". I was surprised that I could not find
> >> anything like it on the net. It saves a lot of drive space on
> >> servers where you just don't need HTML or man pages.
> >
> > What does this package contain out of curiosity?
> >
>
> Excerpt...
>
> $ cat rpm-rpmmacros-server.rpmmacros
> %_excludedocs 1
>
> $ cat rpm-rpmmacros-server.spec
> %define myrootdir /root
> cp rpm-rpmmacros-server.rpmmacros
> $RPM_BUILD_ROOT/%{myrootdir}/.rpmmacros
Right. There are some issues with that sadly... like you can't install
just the docs later easily, and rpm -V shows them missing, etc.
I wish rpm had better handling for that.
kevin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.fedoraproject.org/pipermail/server/attachments/20140129/e80aa174/attachment-0001.sig>
More information about the server
mailing list