chiark / gitweb /
Ian Jackson [Tue, 28 Dec 2021 17:04:38 +0000 (17:04 +0000)]
autoconf: Add some missing quoting
This was always sailing rather close to the wind. Empirically, it
causes things to break with modern autoconf.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Tue, 28 Dec 2021 17:04:13 +0000 (17:04 +0000)]
autoconf: Add autogen.sh
Nothing uses this yet
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Wed, 29 Dec 2021 13:20:35 +0000 (13:20 +0000)]
overview.ps: Regenerate (fig2dev from transfig 1:3.2.6a-2+deb9u3)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Wed, 29 Dec 2021 13:01:46 +0000 (13:01 +0000)]
regenerate lexer.c using flex 2.6.4-6.2
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Wed, 29 Dec 2021 15:26:48 +0000 (15:26 +0000)]
overlord: Explicitly ignore unwanted value from write
Ignoring an error here is consistent with the error handling from the
pevious write(sf,...).
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Wed, 29 Dec 2021 12:29:56 +0000 (12:29 +0000)]
Suppress some warnings about ignoring stderr write errors
Eg,
servexec.c:239:5: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
These are calls made while we are bombing out anyway.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Tue, 28 Dec 2021 18:39:52 +0000 (18:39 +0000)]
spec.sgml: Update builtin version number
This should normally be done as part of the release. We do it now
because we're doing build system work and want this to not cause
spurious diffs.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Tue, 28 Dec 2021 16:24:48 +0000 (16:24 +0000)]
changelog: start 1.2.1~beta2
Ian Jackson [Sun, 26 Dec 2021 01:29:51 +0000 (01:29 +0000)]
changelog: document changes and call it 1.2.1~beta1
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sun, 26 Dec 2021 01:32:10 +0000 (01:32 +0000)]
systemd service file: Put in upstream part of the source tree
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Matthew Vernon [Sun, 26 Dec 2021 01:30:50 +0000 (01:30 +0000)]
systemd service file: Set KillMode
If userv is to spawn long-running processes, and it is desired that
they survive the restarting of userv, then we'll also need KillMode
set to process (rather than the default "control-group").
(From https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=939573#10)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sun, 26 Dec 2021 01:17:10 +0000 (01:17 +0000)]
spec: Do not claim you can specify numeric id for service user
Closes: #989048
Reported-by: Ben Harris <bjh21@cam.ac.uk>
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sun, 26 Dec 2021 01:16:03 +0000 (01:16 +0000)]
Provide a systemd service file in the source tree, but do not install it
This endeavours to do what the sysvinit file does - create
/var/run/userv iff necessary and start uservd -daemon.
Matthew's original patch in Debian #939573 also shipped this file in
the .deb. I'm not sure what the benefit of that would be and it seems
to add more test complications, so for now I am leaving that part out.
Signed-off-by: Matthew Vernon <mv3@sanger.ac.uk>
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sun, 26 Dec 2021 01:11:01 +0000 (01:11 +0000)]
Do not leak a harmless fd into the service program environment
I have double-checked and this fd is the other end of a socketpair
that the server closes immediately after it reads our byte, so this is
indeed purely a harmless leak.
Closes: #864876
Reported-by: Ben Harris <bjh21@cam.ac.uk>
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Helmut Grohne [Sun, 26 Dec 2021 00:59:02 +0000 (00:59 +0000)]
debian/rules: Fix FTCBFS: Use host tools provided from dpkg
Use host tools provided from dpkg's buildtools.mk.
Closes: #985998
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sun, 26 Dec 2021 00:56:41 +0000 (00:56 +0000)]
autopkgtests: Test persistence after restart
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sun, 26 Dec 2021 00:47:44 +0000 (00:47 +0000)]
autopkgtests: Test user rc file
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sun, 26 Dec 2021 00:42:38 +0000 (00:42 +0000)]
autopkgtests: Move much stuff into lib
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sun, 26 Dec 2021 00:41:46 +0000 (00:41 +0000)]
autopkgtests: Banners in the test script
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sun, 26 Dec 2021 00:44:44 +0000 (00:44 +0000)]
autopkgtests: Rename the test service
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sun, 26 Dec 2021 00:24:21 +0000 (00:24 +0000)]
autopkgtests: wip, a test for non-root to non-root
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sun, 26 Dec 2021 00:00:34 +0000 (00:00 +0000)]
autopkgtests: wip, an actual very simple test
Passes with
autopkgtest -- qemu /path/to/buster.image
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sat, 25 Dec 2021 22:07:27 +0000 (22:07 +0000)]
autopkgtests: wip
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sat, 25 Dec 2021 22:11:16 +0000 (22:11 +0000)]
debian/compat: Bump to 12 (stretch-backports)
Checked the debdiff. There are no changes.
Closes: #965858
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sat, 25 Dec 2021 23:34:10 +0000 (23:34 +0000)]
changelog: start 1.2.1
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Mon, 23 Jan 2017 17:17:54 +0000 (17:17 +0000)]
Declare fast forward from 1.1.1
[dgit --overwrite]
Ian Jackson [Mon, 23 Jan 2017 17:18:50 +0000 (17:18 +0000)]
changelog: finalise 1.2.0
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Mon, 23 Jan 2017 17:15:53 +0000 (17:15 +0000)]
Upgrade licence to GPLv3+.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Mon, 23 Jan 2017 14:31:35 +0000 (14:31 +0000)]
spec.sgml: Update for update copyright notices
Ian Jackson [Mon, 23 Jan 2017 14:31:23 +0000 (14:31 +0000)]
Patch from Peter Benie.
* Specify #define YY_NO_INPUT, which avoids an unused function warning. Patch from Peter Benie.
Ian Jackson [Mon, 23 Jan 2017 14:30:43 +0000 (14:30 +0000)]
Correct quoting of include-lookup directory. Closes:#837391. (With new directives to somewhat ease backward-compatibility.)
Ian Jackson [Mon, 23 Jan 2017 13:59:34 +0000 (13:59 +0000)]
Update some copyright notices.
Ian Jackson [Mon, 23 Jan 2017 13:52:19 +0000 (13:52 +0000)]
Support `range' operator, as promised by the spec. Closes:#686449. Bug and analysis from Mark Wooding.
Ian Jackson [Mon, 23 Jan 2017 13:48:41 +0000 (13:48 +0000)]
spec.sgml: Correct docs for errors-push, which takes no filename.
Closes:#775852.
Ian Jackson [Mon, 23 Jan 2017 13:46:46 +0000 (13:46 +0000)]
Use `%option nounput' rather than #define YY_NO_UNPUT.
Patch from Peter Benie, but modified.
Ian Jackson [Mon, 23 Jan 2017 13:43:49 +0000 (13:43 +0000)]
Do not ignore errors from readdir.
Closes:#827408
Contribution from Peter Benie.
Ian Jackson [Mon, 23 Jan 2017 13:34:16 +0000 (13:34 +0000)]
Parser fixes:
* Support `stdin', `stdout' and `stderr' in fd ranges, as promised by the spec. Closes:#813005.
Ian Jackson [Mon, 23 Jan 2017 13:05:56 +0000 (13:05 +0000)]
debian/rules: Honour dpkg-buildflags.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Mon, 23 Jan 2017 13:05:25 +0000 (13:05 +0000)]
Upstream Makefiles: Honour XCFLAGS.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Mon, 23 Jan 2017 13:04:04 +0000 (13:04 +0000)]
Debian packaging: Add some newer debian/ droppings to .gitignore.
Ian Jackson [Sun, 1 Dec 2013 17:39:20 +0000 (17:39 +0000)]
changelog WIP
Ian Jackson [Fri, 8 Jun 2012 19:17:02 +0000 (20:17 +0100)]
finalise changelog
Ian Jackson [Fri, 8 Jun 2012 19:16:52 +0000 (20:16 +0100)]
userv (1.1.1) unstable; urgency=low
* Include INIT INFO stanza in init script.
* Draft support for `status' in init script, currently commented
out pending inclusion into policy of firm specification.
* Remove spec.ps on make clean.
* Remove spec.ps and dh log on debian/rules clean. (Use dh_clean.)
(To repro bug: dpkg-buildpackage, debian/rules clean, git-ls-files -o)
* Fix up some copyright messages.
[dgit import package userv 1.1.1]
Ian Jackson [Fri, 8 Jun 2012 19:15:39 +0000 (20:15 +0100)]
include required-stop
Ian Jackson [Fri, 8 Jun 2012 19:13:55 +0000 (20:13 +0100)]
copyright
Ian Jackson [Fri, 8 Jun 2012 19:05:35 +0000 (20:05 +0100)]
draft initd status support
Ian Jackson [Fri, 8 Jun 2012 19:04:59 +0000 (20:04 +0100)]
init info stanza
Ian Jackson [Thu, 7 Jun 2012 18:51:29 +0000 (19:51 +0100)]
use dh_clean
Ian Jackson [Thu, 7 Jun 2012 18:49:53 +0000 (19:49 +0100)]
wip vsn
Ian Jackson [Thu, 7 Jun 2012 18:21:55 +0000 (19:21 +0100)]
wip fix clean
Ian Jackson [Thu, 7 Jun 2012 18:21:47 +0000 (19:21 +0100)]
wip fix clean
Ian Jackson [Sat, 2 Jun 2012 15:45:09 +0000 (16:45 +0100)]
finalise
Ian Jackson [Sat, 2 Jun 2012 15:39:20 +0000 (16:39 +0100)]
packaging fixes
Ian Jackson [Sat, 2 Jun 2012 15:36:51 +0000 (16:36 +0100)]
lintian fixes
Ian Jackson [Sat, 2 Jun 2012 15:30:55 +0000 (16:30 +0100)]
provide build-arch, build-indep
Ian Jackson [Sat, 2 Jun 2012 15:30:42 +0000 (16:30 +0100)]
version
Ian Jackson [Sat, 2 Jun 2012 15:27:13 +0000 (16:27 +0100)]
standards version
Ian Jackson [Sat, 2 Jun 2012 15:24:19 +0000 (16:24 +0100)]
better clean
Ian Jackson [Sat, 2 Jun 2012 15:22:13 +0000 (16:22 +0100)]
command -v
Ian Jackson [Sat, 2 Jun 2012 15:19:14 +0000 (16:19 +0100)]
meta fixes
Ian Jackson [Sat, 2 Jun 2012 15:17:48 +0000 (16:17 +0100)]
fix parsing bug
Ian Jackson [Sat, 2 Jun 2012 14:58:26 +0000 (15:58 +0100)]
more fixes
Ian Jackson [Sat, 2 Jun 2012 14:51:40 +0000 (15:51 +0100)]
actually don't install /var/run
Ian Jackson [Sat, 2 Jun 2012 14:50:36 +0000 (15:50 +0100)]
Merge branch 'ubuntu'
This imports the single change from 1.0.6ubuntu1
Conflicts:
.gitignore
debian/changelog
Ian Jackson [Sat, 2 Jun 2012 14:47:51 +0000 (15:47 +0100)]
more ignore
Ian Jackson [Sat, 2 Jun 2012 14:47:04 +0000 (15:47 +0100)]
git
Ian Jackson [Sat, 2 Jun 2012 14:46:18 +0000 (15:46 +0100)]
wip
Ian Jackson [Sat, 2 Jun 2012 14:43:36 +0000 (15:43 +0100)]
mention bug
Ian Jackson [Sat, 2 Jun 2012 14:41:28 +0000 (15:41 +0100)]
spec is generated
Ian Jackson [Sat, 2 Jun 2012 14:39:15 +0000 (15:39 +0100)]
Imported Debian version 1.0.6ubuntu1
ian [Wed, 11 Jul 2007 16:59:05 +0000 (16:59 +0000)]
updated version
ian [Wed, 11 Jul 2007 16:55:07 +0000 (16:55 +0000)]
@@ -1,3 +1,11 @@
+userv (1.0.6) unstable; urgency=low
+
+ Packaging fix:
+ * Create /var/run/userv in the init script as well as shipping
+ it in the .deb package.
+
+ -- Ian Jackson <ian@davenant.greenend.org.uk> Wed, 11 Jul 2007 17:54:36 +0100
+
userv (1.0.5) unstable; urgency=low
Bugfixes (thanks to report from Nelson Beebe):
ian [Sat, 8 Apr 2006 12:17:21 +0000 (12:17 +0000)]
remove buildship
ian [Sat, 8 Apr 2006 12:15:10 +0000 (12:15 +0000)]
final tidyings for 1.0.5
ian [Sat, 8 Apr 2006 12:06:42 +0000 (12:06 +0000)]
alarm(2) returns unsigned and can never fail
ian [Sat, 8 Apr 2006 12:00:49 +0000 (12:00 +0000)]
Detect missing vsnprintf and mention URL from Nelson Beebe in err msg.
ian [Sat, 8 Apr 2006 12:00:01 +0000 (12:00 +0000)]
Use install -g 0 instead of -g root. This is more portable, I hope.
ian [Sat, 8 Apr 2006 11:52:10 +0000 (11:52 +0000)]
correct changelog for 1.0.5
ian [Fri, 7 Apr 2006 19:32:08 +0000 (19:32 +0000)]
Fixes for asserts from Nelson Beebe
ian [Fri, 7 Apr 2006 19:16:38 +0000 (19:16 +0000)]
really detect WCOREDUMP properly
ian [Fri, 7 Apr 2006 19:11:06 +0000 (19:11 +0000)]
get headers for WCOREDUMP right
ian [Fri, 7 Apr 2006 19:04:48 +0000 (19:04 +0000)]
udated copyright notices; rebuilt documentation
ian [Fri, 7 Apr 2006 18:55:05 +0000 (18:55 +0000)]
Reran autoconf/autoheader (autoconf Debian 2.13-54).
ian [Fri, 7 Apr 2006 18:52:19 +0000 (18:52 +0000)]
userv 1.0.4
ian [Fri, 7 Apr 2006 18:49:35 +0000 (18:49 +0000)]
SHELL=/bin/bash in debian/rules; use of install(8). Closes: #263979.
ian [Wed, 16 Mar 2005 21:14:08 +0000 (21:14 +0000)]
some packaging and makefile fixes (found in a working tree)
ian [Fri, 12 Nov 2004 00:53:21 +0000 (00:53 +0000)]
fix (we hope) fd-handling hanging bug reported by Simon Tatham
ian [Fri, 12 Nov 2004 00:52:51 +0000 (00:52 +0000)]
make changelog better for test builds
ian [Sun, 16 May 2004 20:00:32 +0000 (20:00 +0000)]
@@ -7,6 +7,9 @@
* Bogus strsignal emulation for broken platforms. } Thanks to
* Bogus WCOREDUMP emulation for broken platforms. } report from
Nelson Beebe
+ Debian package improvements:
+ * Compress uservd(8) manpage. Closes: #244735.
+
--
userv (1.0.3-2) unstable; urgency=low
ian [Sat, 15 Nov 2003 18:50:58 +0000 (18:50 +0000)]
@@ -3,7 +3,10 @@
Minor portability fixes:
* Missing #include <string.h> and <stdlib.h> } Thanks to report
* getgroups returns int, not gid_t (!). } from Peter Benie.
-
+ * Dummy `check' target in Makefile.in. }
+ * Bogus strsignal emulation for broken platforms. } Thanks to
+ * Bogus WCOREDUMP emulation for broken platforms. } report from
+ Nelson Beebe
--
userv (1.0.3-2) unstable; urgency=low
ian [Wed, 12 Nov 2003 00:44:56 +0000 (00:44 +0000)]
@@ -1,3 +1,11 @@
+userv (1.0.4-1) unstable; urgency=low
+
+ Minor portability fixes:
+ * Missing #include <string.h> and <stdlib.h> } Thanks to report
+ * getgroups returns int, not gid_t (!). } from Peter Benie.
+
+ --
+
userv (1.0.3-2) unstable; urgency=low
Debian packaging improvements (only):
ian [Sat, 1 Nov 2003 17:00:03 +0000 (17:00 +0000)]
finalise changelog prep. for cvs-buildpackage
ian [Sat, 1 Nov 2003 14:59:30 +0000 (14:59 +0000)]
@@ -1,3 +1,9 @@
+userv (1.0.3-0.0.99.1) unstable; urgency=low
+
+ * type -p invoke-rc.d changed to type, in postinst and prerm.
+
+ --
+
userv (1.0.3) unstable; urgency=medium
Bugfixes:
ian [Sat, 1 Nov 2003 01:12:21 +0000 (01:12 +0000)]
version 1.0.3; updated and reformatted docs using Debian woody
ian [Sat, 1 Nov 2003 01:08:08 +0000 (01:08 +0000)]
build-depends tetex-extra
ian [Sat, 1 Nov 2003 01:02:14 +0000 (01:02 +0000)]
@@ -1,3 +1,9 @@
+userv (1.0.1.99.4) unstable; urgency=low
+
+ * Update copyright dates everywhere.
+
+ --
+
userv (1.0.1.99.3) unstable; urgency=low
* Actually apply _all_ of PJB's fd patch!
ian [Sat, 1 Nov 2003 00:44:54 +0000 (00:44 +0000)]
@@ -1,3 +1,9 @@
+userv (1.0.1.99.3) unstable; urgency=low
+
+ * Actually apply _all_ of PJB's fd patch!
+
+ -- Ian Jackson <ian@davenant.greenend.org.uk> Sat, 1 Nov 2003 00:44:44 +0000
+
userv (1.0.1.99.2) unstable; urgency=low
* Actually ship uservd(8) !
ian [Sat, 1 Nov 2003 00:20:37 +0000 (00:20 +0000)]
finalise
ian [Sat, 1 Nov 2003 00:18:38 +0000 (00:18 +0000)]
@@ -3,6 +3,8 @@
their use of strtoul. (Thanks to report from Peter Benie.)
+ * Close unwanted pipes in client-side cat subprocesses, to avoid
+ wedging at termination. (Thanks to patchlet from Peter Benie.)
ian [Sat, 1 Nov 2003 00:06:09 +0000 (00:06 +0000)]
@@ -1,6 +1,8 @@
+ * Fix fd modifier, signal, and exit status parsing to be rigourous in
+ their use of strtoul. (Thanks to report from Peter Benie.)