[dokuwiki] Re: Packaging Angua for Debian

Myron Turner, 2012-01-10 19:58+0100:
> I've been looking at the Debian and Ubuntu packages with the aim of 
> updating some of the documentation on dokuwiki.org.  I realize that you 
> are in the midst of a package upgrade for Debian, but it should be 
> mentioned that that current packages on both Debian and Ubuntu are Lemming.

Yes, that would be relevant.

> I thought you might want some input on a number of issues that came up 
> when installing from the package manager.

Sure.

> 1. The package manager asks for an admin password but does not say what 
> the admin's userid is.
> 2. The apache config for Dokuwiki is set up for localhost use only.
> 3. As admin, I wasn't able to make any configuration changes because the 
> permissions were not set for www-data on the config files.

All this would have been asked to you, but you configured the Debian
configuration system, debconf (or kept it configured) so that it never
asks you questions when there exist a default value. So that behaviour
is expected: you do not want questions, you do not get questions and the
configuration uses the defaults values.

For the admin user ID, it is “admin”. Access is limited to localhost for
initial security. The configuration file, template and plugin directory
are only writeable by root.

If you want to be given choices, I suggest that you configure debconf so
that is asks you:
# dpkg-reconfigure debconf

> 4. When doing a complete uninstall, the synaptic package manager doesn't 
> uninstall /var/lib/dokuwiki.

That is expected to, in order not to remove wiki pages by mistake. In
other words, user data is kept by default. But that is configurable too,
and is asked at installation time unless, again, you have the
configuration system configured not to ask.

> In Ubuntu, the package manager doesn't ask for an admin password; 
> setting up the login files took some tinkering that would be outside the 
> scope of people not familiar with Dokuwiki.

I do not maintain the Ubuntu package directly, it is directly taken from
Debian without modification. So the difference is not on the package
since it is identical, but on your system. Here, it seems that debconf
is configured not to ask questions at all, even when there is no default
value. Of course, this is broken for cases where there is no default
value!

-- 
 ,--.
: /` )   Tanguy Ortolo <xmpp:tanguy@xxxxxxxxx> <irc://irc.oftc.net/Tanguy>
| `-'    Debian Developer
 \_

-- 
DokuWiki mailing list - more info at
http://www.dokuwiki.org/mailinglist

Other related posts: