lp:ubuntu/trusty/portreserve
- Get this branch:
- bzr branch lp:ubuntu/trusty/portreserve
Branch information
- Owner:
- Ubuntu branches
- Status:
- Mature
Recent revisions
- 6. By Javier Fernández-Sanguino
-
* New upstream release:
* Use debhelper compatibility version 5
* Fix dh_installinit call in debian/rules to start portreserve before portmap
(Closes: #522947)
* Stop portreserve in runlevel 1
* Minor changes in debian/README. Debian
* debian/portreserve. init:
- Do not create the /var/run/portreserve (where the socket is created)
in the package but, instead, do it in the init script when starting.
- Remove $network from init as it is not really required - 5. By Javier Fernández-Sanguino
-
* New upstream release:
- integrates the patches to portreserve.c to handle pidfiles.
- fixes behaviour so that it reserves both TCP and UDP ports.
- allows specification of protocols in the configuration file.
* Fix lintian warning due to overlong line at debian/copyright - 4. By Javier Fernández-Sanguino
-
* Add --no-start call to dh_installinit so that the portreserve script is
not installed after postinst. This prevents the postinst from breaking if
portreserve is configured and upgraded when other daemons are already
holding on to the ports it is configured to reserve (Closes: #464608)
* Use LSB functions in init.d script - 3. By Javier Fernández-Sanguino
-
* Applied patch from Matt Brown <email address hidden> :
* Adjusted debian/copyright to include libslack copyright and license (GPL)
* Create /etc/portreserve on installation, although it's not handled by
the package scripts (other packages can drop files there).
[ Matt Brown ]
* Fixed minor init script bugs (Closes: #352103)
- Use -z instead of -n to test list of service files
- Use $NAME instead of the undefined $prog in the pidfile name
* Make portreserve handle pidfiles using daemon_lock_pidfile and
fcntl_lock taken from libslack:
- Check for existance of pidfile on startup, fail if already running
- Create pidfile on startup
- Remove pidfile when program exits cleanly
[ Javier Fernandez-Sanguino ]
* Enhance init script:
- stale pidfiles are removed (in case we switch runlevels and
all services were portreleased or /var/run/ was not cleaned or
portreserve did not clean up properly on release).
- Use the exit status of start-stop-daemon to determine if we
succeeded, also, wait a bit before checking the running status
on fast systems the init.d script might trigger a
race condition and think that the daemon has not started yet
* Make portreserve cleanup the pidfile on SIGINT, SIGTERM, and SIGKILL
* Make portreserve generate the pidfile even if working on debug mode
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:ubuntu/utopic/portreserve