It seems to me that a more proper fix would be to make the daemon create
the log file itself if it's missing? You currently create it as owner
root, so permission-wise it makes no difference. But it will help in the
cases where people (or cron jobs) clean /var/log/*. Also, if at all this
should be in the postinst, otherwise you'd create a file if the package
fails to unpack for other reasons.
logcheck is stretching SRU criteria a bit, but it seems fine to me.
The init script changes are too much for SRU for my taste. Fixing the
wrong Required-Start:/Stop "$all" is okay, but rewriting the entire
thing could cause too much trouble. Note that the package is not
entirely uninstallable, it just fails to install for new lucid
installations. But upgraders from hardy, karmic, etc. are very likely to
already have a log file, aren't they?
** Also affects: ninja (Ubuntu Lucid)
Importance: Undecided
Status: New
--
package ninja 0.1.3-1 failed to install/upgrade: die: error:
`/var/log/ninja.log' is not a regular file
https://bugs.launchpad.net/bugs/560336
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs