Skip to content

Commit

Permalink
release a couple of fixes as 0.2.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
sternenseemann committed Dec 10, 2019
1 parent 63a7e84 commit 60c8570
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# Revision history for spacecookie

## 0.2.1.1 Fixed Privilege Dropping

* Server
* Make `user` parameter in config optional. If it is not given or set to `null`, `spacecookie` won't attempt
to change its UID and GID. This is especially useful, if socket activation is used. In that case it is not
necessary to start spacecookie as `root` since systemd sets up the socket, so `spacecookie` can be already
started by the right user and doesn't need to change UID.
* Example Systemd config files
* `SocketMode` is now `660` instead of default `666`.
* Set `User` and `Group` for `spacecookie.service` as well.
* Set `"user": null` in `spacecookie.json`
* Library
* Fixed issue that led to `runGopher*` trying to change UID even if it wasn't possible (not running as root).
This especially affected the `spacecookie` server, since `cRunUserName` would always be `Just`.
* Made logging related to `dropPrivileges` clearer.

## 0.2.1.0 Systemd Support

* Improved systemd support.
Expand Down
2 changes: 1 addition & 1 deletion spacecookie.cabal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cabal-version: >= 2.0
name: spacecookie
version: 0.2.1.0
version: 0.2.1.1
synopsis: Gopher Library and Server Daemon
description: Simple gopher library that allows writing custom gopher
applications. Also includes a fully-featured gopher server
Expand Down

0 comments on commit 60c8570

Please sign in to comment.