On Fri, 2012-05-25 at 01:51 +0000, Debian Bug Tracking System wrote: > This is an automatic notification regarding your Bug report > which was filed against the uptimed package: > > #657922: /var/run => /run, systemd unit file > > It has been closed by Thibaut VARENE <vare...@debian.org>. > > Their explanation is attached below along with your original report. > If this explanation is unsatisfactory and you have not received a > better one in a separate message then please contact Thibaut VARENE > <vare...@debian.org> by > replying to this email. This patch I sent you was broken, sorry about that. > > > MHTML Document attachment (Bug#657922: fixed in uptimed 1:0.3.17-1) > > -------- Forwarded Message -------- > > From: Thibaut VARENE <vare...@debian.org> > > To: 657922-cl...@bugs.debian.org > > Subject: Bug#657922: fixed in uptimed 1:0.3.17-1 > > Date: Fri, 25 May 2012 01:47:50 +0000 > > > > MHTML Document attachment > > Source: uptimed > > Source-Version: 1:0.3.17-1 > > > > We believe that the bug you reported is fixed in the latest version > > of > > uptimed, which is due to be installed in the Debian FTP archive: > > > > libuptimed-dev_0.3.17-1_ia64.deb > > to main/u/uptimed/libuptimed-dev_0.3.17-1_ia64.deb > > libuptimed0_0.3.17-1_ia64.deb > > to main/u/uptimed/libuptimed0_0.3.17-1_ia64.deb > > uprecords-cgi_0.3.17-1_all.deb > > to main/u/uptimed/uprecords-cgi_0.3.17-1_all.deb > > uptimed_0.3.17-1.debian.tar.gz > > to main/u/uptimed/uptimed_0.3.17-1.debian.tar.gz > > uptimed_0.3.17-1.dsc > > to main/u/uptimed/uptimed_0.3.17-1.dsc > > uptimed_0.3.17-1_ia64.deb > > to main/u/uptimed/uptimed_0.3.17-1_ia64.deb > > uptimed_0.3.17.orig.tar.bz2 > > to main/u/uptimed/uptimed_0.3.17.orig.tar.bz2 > > > > > > > > A summary of the changes between this version and the previous one > > is > > attached. > > > > Thank you for reporting the bug, which will now be closed. If you > > have further comments please address them to 657...@bugs.debian.org, > > and the maintainer will reopen the bug report if appropriate. > > > > Debian distribution maintenance software > > pp. > > Thibaut VARENE <vare...@debian.org> (supplier of updated uptimed > > package) > > > > (This message was generated automatically at their request; if you > > believe that there is a problem with it please contact the archive > > administrators by mailing ftpmas...@debian.org) > > > > > > Format: 1.8 > > Date: Fri, 25 May 2012 02:47:05 +0200 > > Source: uptimed > > Binary: uptimed libuptimed0 libuptimed-dev uprecords-cgi > > Architecture: source all ia64 > > Version: 1:0.3.17-1 > > Distribution: unstable > > Urgency: low > > Maintainer: Thibaut VARENE <vare...@debian.org> > > Changed-By: Thibaut VARENE <vare...@debian.org> > > Description: > > libuptimed-dev - Development files for uptimed > > libuptimed0 - Library for uptimed > > uprecords-cgi - CGI script to show the world your highest uptimes > > uptimed - Utility to track your highest uptimes > > Closes: 645504 648948 650109 657922 659797 > > Changes: > > uptimed (1:0.3.17-1) unstable; urgency=low > > . > > * New upstream release (Closes: #648948, #650109) > > * Switch to dpkg-source 3.0 (quilt) format > > * Move PID to /run and provide systemd .service file (Closes: #657922) > > * Use maintscript support, patch from Colin Watson (Closes: #659797) > > * Add status in init script, patch from Peter Eisentraut (Closes: > > #645504) > > * Enabled hardened build > > * Fixed some lintian warnings > > Checksums-Sha1: > > e87a545ad7f6003684d0de7a1c8a436965ca332b 1263 uptimed_0.3.17-1.dsc > > a40728353b153d1967371c2fd498e6bc3274c4c9 269102 uptimed_0.3.17.orig.tar.bz2 > > 9a230cdcc1edab769970bd832952a6b703bb986b 44731 > > uptimed_0.3.17-1.debian.tar.gz > > 28cd7ec51390d50297d25347ec593929335d9c6a 19168 > > uprecords-cgi_0.3.17-1_all.deb > > c78c09fd02da452998ae4b7351e135ace100ad0e 41714 uptimed_0.3.17-1_ia64.deb > > 8debd43d576344c1bc3d9e52c3b57e7a07d63954 18732 > > libuptimed0_0.3.17-1_ia64.deb > > 87ca3cf7629e1d775333ff835661e7ca3e8305d7 18832 > > libuptimed-dev_0.3.17-1_ia64.deb > > Checksums-Sha256: > > 8619439719b5122b920caa53e5eaafcffdca853e386767f8447848256fe5aea5 1263 > > uptimed_0.3.17-1.dsc > > 524ce8984c0d0a780a32025ba3ffb980e5eec3d78e65cf68c91edec7fe833a06 269102 > > uptimed_0.3.17.orig.tar.bz2 > > 9b289b8ebe636bc46bd459dcf24ccbc34e5bd1ba1348120df561693c68c283d3 44731 > > uptimed_0.3.17-1.debian.tar.gz > > f394264ad2a8a6547996b44d151da9f6dcf3ff06c5a70d454275b8bd186ca3e1 19168 > > uprecords-cgi_0.3.17-1_all.deb > > a80116ea1e55900d1b4c76b6a1371712eafa75a11ea9c1025f4bd1b79e9bc5c6 41714 > > uptimed_0.3.17-1_ia64.deb > > 644537dafada6a7f3b9862b77544064b04af9031f78633da9eaa18b18b85e0ed 18732 > > libuptimed0_0.3.17-1_ia64.deb > > 56f111226cd444e3880ab69c9462b8119b0d4d07bde616e8da0f8cfb63740983 18832 > > libuptimed-dev_0.3.17-1_ia64.deb > > Files: > > 119261c715b921b241613072d456b5be 1263 utils extra uptimed_0.3.17-1.dsc > > 528b62c33454b33537c3bf2366977bdb 269102 utils extra > > uptimed_0.3.17.orig.tar.bz2 > > 9c3aa3c4ee52cf21d099af580caa94d8 44731 utils extra > > uptimed_0.3.17-1.debian.tar.gz > > f52597c79181b8e7a271e4e65054200f 19168 utils extra > > uprecords-cgi_0.3.17-1_all.deb > > 19aebaca17644565ec4e7f1cdebbeca2 41714 utils extra > > uptimed_0.3.17-1_ia64.deb > > 818525a2bb994817c2f07ca0835c6c3f 18732 libs extra > > libuptimed0_0.3.17-1_ia64.deb > > 13606d4a5777940c236554aab494266d 18832 libdevel extra > > libuptimed-dev_0.3.17-1_ia64.deb > > > > MHTML Document attachment > > > > > MHTML Document attachment (run, systemd unit file) > > -------- Forwarded Message -------- > > From: shawn <shawnland...@gmail.com> > > To: sub...@bugs.debian.org > > Subject: /var/run => /run, systemd unit file > > Date: Sun, 29 Jan 2012 15:45:34 -0800 > > > > Package: uptimed > > Version: 1:0.3.16-3.2 > > Severity: normal > > Tags: patch > > > > I moved the PID file to /run > > > > I also included a systemd .service file > > > > -- System Information: > > Debian Release: wheezy/sid > > APT prefers testing-grip > > APT policy: (992, 'testing-grip'), (991, 'unstable-grip'), (500, > > 'testing'), > > (101, 'unstable') > > Architecture: armel (armv5tel) > > > > Kernel: Linux 3.3.0-rc1-tomoyo (PREEMPT) > > Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) > > Shell: /bin/sh linked to /bin/dash > > > > Versions of packages uptimed depends on: > > ii debconf [debconf-2.0] 1.5.41em1 > > ii libc6 2.13-21em1 > > ii libuptimed0 1:0.3.16-3.2 > > > > uptimed recommends no packages. > > > > uptimed suggests no packages. > > > > -- Configuration Files: > > /etc/uptimed.conf changed: > > UPDATE_INTERVAL=180 > > LOG_MAXIMUM_ENTRIES=250 > > LOG_MINIMUM_UPTIMED=1h > > MAIL_MINIMUM_UPTIME=1d > > MAIL_MINIMUM_POSITION=10 > > EMAIL=root@localhost > > SEND_EMAIL=0 > > SENDMAIL=/usr/lib/sendmail -t > > PIDFILE=/run/uptimed > > MILESTONE=5d:five days > > MILESTONE=10d:ten days > > MILESTONE=25d:twenty-five days > > MILESTONE=50d:fifty days > > MILESTONE=10w:ten weeks > > MILESTONE=75d:seventy-five days > > MILESTONE=100d:hundred days > > MILESTONE=150d:hundred and fifty days > > MILESTONE=25w:twenty-five weeks > > MILESTONE=200d:two hundred days > > MILESTONE=250d:250 days > > MILESTONE=300d:three hundred days > > MILESTONE=50w:fifty weeks > > MILESTONE=1y:one year > > MILESTONE=400d:four hundred days > > MILESTONE=500d:five hundred days > > MILESTONE=100w:hundred weeks > > MILESTONE=750d:750 days > > MILESTONE=1000d:thousand days
-- -Shawn Landden
>From fa6440c041a4be63347291661a16132063b40358 Mon Sep 17 00:00:00 2001 From: Shawn Landen <shawnland...@gmail.com> Date: Fri, 25 May 2012 10:27:44 -0700 Subject: [PATCH] fix systemd unit unit did not work because daemon did not have permissions to write to pid file. with Type=simple, there is --- debian/uptimed.service | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/debian/uptimed.service b/debian/uptimed.service index 3d4de8c..f084b5e 100644 --- a/debian/uptimed.service +++ b/debian/uptimed.service @@ -1,10 +1,9 @@ [Unit] -Description=uptime daemon +Description=uptime record daemon [Service] -Type=forking -ExecStart=/usr/sbin/uptimed -PIDFile=/run/uptimed +Type=simple +ExecStart=/usr/sbin/uptimed -f User=daemon [Install] -- 1.7.10