Commits
- Commit:
0eceadf34c7a7f8afb1854948b37407b4324ab25
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: set next version
- Commit:
da68acd899cbe63431770cf91aa3dd0e8d9eef12
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: release 0.115
- Commit:
f9ab3659dc6116c56d71563a324134915967e0b5
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
bump version number
- Commit:
d600c57ac48652d472b2e82e4fad4c067df08840
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
CHANGES for 0.115
- Commit:
1a85cdc0cdad4108e1a13fda41a8b441af86c05d
- From:
- Renato Aguiar <renato@renatoaguiar.net>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix segfault due to double-free in got-read-gotconfig
Could be triggered by running 'got fetch' with a "send" block in got.conf.
The functions free_fetch_config() and free_send_config() were freeing data
via the global "remote" variable instead of their own argument as intended.
Patch by Renato Aguiar
- Commit:
e49415b630418c006b4b37191530f44f4a7b5d84
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
add global repository access rules to gotsysd.conf
This feature can be used by server administrators to override or
augment access permissions set in gotsys.conf if needed.
- Commit:
c87f19c974f195762461da6acda5b2acd8ebeedb
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
add a test case for deny rules in gotsys.conf
Deny rules in gotsys.conf didn't actually work until recently and were
lacking test coverage.
- Commit:
b7e5019680e3d2e1827b8c759abbaf3e4e04ea0c
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix looping in got-read-pack's version of repaint_parent_commits() as well
This can be observed during 'got send' or 'gotadmin pack/cleanup' in some
cases. We would keep processing the same parent commits over and over.
- Commit:
a474b672ce9285ba515ade45d6e91fe4a1648d2a
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix creation of gotd.conf deny rules in gotsys-write-conf
Deny rules do not contain the rw/ro authorization mode string.
Do not fail if that string is missing.
Corresponding tests will be added soon.
- Commit:
3039b005314e94c1558771544b2064a1a10507fd
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix infinite loop in got_pack_repaint_parent_commits()
This can be observed during 'got send' or 'gotadmin pack/cleanup' in some
cases. We would keep processing the same parent commits over and over.
- Commit:
80cc5d989e029dd9ed36f4faa993eb53e0a227af
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
mention the well-known name "gotsys.git" in the gotsys.conf.5 introduction
- Commit:
0fdd0d376c6142d0557adfb85acd791e6f32a1cc
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
add an example showing how to add an ecdsa key to gotsys.conf
- Commit:
39c0b258559e8359cc2cf39409adeffbf917238e
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
stop trying to start gotd from gotsys-apply-conf if gotd is not running
We should assume that gotd is always running, and we should not be
automatically restarting gotd if it has crashed.
This misfeature was added early to make setup of the gotsysd regression
test suite easier. It was only half working since the attempt to connect
to gotd's unix socket after starting it failed due to pledge violations.
- Commit:
40e9e6eafb6a79fa350e2586db189e60f6eadcef
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
make errors reported by gotsys-apply-conf actually visible
Do not close the pipe to gotsysd before trying to send an error message
to gotsysd. Print errors to stderr as a last resort.
- Commit:
77d846a921200a21660ec0e41f7547d9688366fc
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: set next version
- Commit:
4429bcbe67c0f234de6abf709931d349bc46da36
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: release 0.114
- Commit:
1873f8e9ab8f236494e7b497e3ff8bc5b8675adc
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
bump versio number
- Commit:
2ff12d2abc4cd7dfed5f0068579953e5907b4eb4
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
CHANGES for 0.114
- Commit:
f762ea1631dfa737f21c7d9a8036c95fddeae692
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
plug a file descriptor leak in the gotsysd libexec process
- Commit:
01b6b6f8d2c07fa268809963409885e9d224b346
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
avoid event_loopexit() in gotsysd libexec event handlers when flushing
It seems flushing our final message can fail if we forcefully exit
the event loop here. This would leave gotsysd's sysconf process stuck
in a state where it was waiting for a message which never arrived.
- Commit:
05a4f4a0af5e31da8e41dd543270f06d69049fec
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
use imsgbuf_flush() instead of gotsysd_imsg_flush() in libexec event handlers
The gotsysd_imsg_flush() wrapper enforces a sync write by polling the
file descriptor and writing data in a loop. Since libevent already does
polling for us we can simply use imsgbuf_flush() here instead.
- Commit:
50a30d2587f76dbcf46418eac2d2cd13142a824e
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
avoid flushing messages in got_imsg_ helper functions, just buffer them
- Commit:
326548fb2e3468c814229a7354f2cdc48b5a4676
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
make sure gotsysd libexec helpers flush all pending messages before exiting
- Commit:
4f6bf13c6b1b46b405a7f093a1bc52bf247afb9d
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
always consume authorized keys messages in gotsys-userkeys
THe main process will always send these messages so don't skip
parsing them even if we are going to ignore the current user.
- Commit:
8a03603b8f1458ba1e8c2f2ed9bd0363e8601603
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
add gotsys apply -w option which waits until sysconf has been run