Your message dated Thu, 17 Nov 2011 11:02:12 +0000
with message-id <[email protected]>
and subject line Bug#647556: fixed in acpid 1:2.0.13-1
has caused the Debian Bug report #647556,
regarding acpid: please include systemd .service and .socket files
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
647556: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=647556
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: acpid
Version: 1:2.0.11-1
Severity: wishlist
Tags: patch

Please support systemd in acpid. Thankfully upstream has already added
basic support. Quoting man 8 acpid:

| For faster startup, this socket can be passed in as stdin so that
| acpid need not create the socket. In addition, if a socket is passed
| in as stdin, acpid will not daemonize. It will be run in foreground.
| This behavior is provided to support systemd(1).

So everything left to do is add socket and service descriptions.

$ cat acpid.socket
[Unit]
Description=ACPID Listen Socket

[Socket]
ListenStream=/run/acpid.socket

[Install]
WantedBy=sockets.target
$ cat acpid.service
[Unit]
Description=ACPI event daemon
Requires=acpid.socket

[Service]
StandardInput=socket
ExecStart=/usr/sbin/acpid
$

This way systemd grabs the /run/acpid.socket and passes it to acpid as
stdin (due to StandardInput=socket) triggering the faster startup
mentioned in the manual page. I verified that acpid starts correctly
using these files. They should be placed in /lib/systemd/system/.

Helmut



--- End Message ---
--- Begin Message ---
Source: acpid
Source-Version: 1:2.0.13-1

We believe that the bug you reported is fixed in the latest version of
acpid, which is due to be installed in the Debian FTP archive:

acpid_2.0.13-1.diff.gz
  to main/a/acpid/acpid_2.0.13-1.diff.gz
acpid_2.0.13-1.dsc
  to main/a/acpid/acpid_2.0.13-1.dsc
acpid_2.0.13-1_amd64.deb
  to main/a/acpid/acpid_2.0.13-1_amd64.deb
acpid_2.0.13.orig.tar.gz
  to main/a/acpid/acpid_2.0.13.orig.tar.gz
kacpimon_2.0.13-1_amd64.deb
  to main/a/acpid/kacpimon_2.0.13-1_amd64.deb



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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Michael Meskes <[email protected]> (supplier of updated acpid 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 [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Thu, 17 Nov 2011 11:54:46 +0100
Source: acpid
Binary: acpid kacpimon
Architecture: source amd64
Version: 1:2.0.13-1
Distribution: unstable
Urgency: low
Maintainer: Debian Acpi Team <[email protected]>
Changed-By: Michael Meskes <[email protected]>
Description: 
 acpid      - Advanced Configuration and Power Interface event daemon
 kacpimon   - Kernel ACPI Event Monitor
Closes: 647556
Changes: 
 acpid (1:2.0.13-1) unstable; urgency=low
 .
   * Imported Upstream version 2.0.13
   * Added systemd .service and .socket files.
     Thanks to Helmut Grohne <[email protected]> (Closes: #647556)
Checksums-Sha1: 
 6e14e248e24147951fa7e45ab2f141f8596f6cea 1300 acpid_2.0.13-1.dsc
 a4eaa6759295d0dbfdcd8f2b0015df9f1f8b63cf 76066 acpid_2.0.13.orig.tar.gz
 f81547d12cd84f5e2f6372907387fbd5676045c1 18723 acpid_2.0.13-1.diff.gz
 e74d9f86260b009961461c062964da611aa088e6 53468 acpid_2.0.13-1_amd64.deb
 05bbad4d4af06f721530ca2adb5c58c479e662e4 30362 kacpimon_2.0.13-1_amd64.deb
Checksums-Sha256: 
 4d37485065c6c78c8c961d39d4a5757dbee603e118e26b54f25eb68f20437c1f 1300 
acpid_2.0.13-1.dsc
 00c789ec5078ddfc07b827c632d91e92a35db5c7130f4f2ee05e1952136d3d93 76066 
acpid_2.0.13.orig.tar.gz
 f4432a674c2664cd947b1a1f0efe3f9f11c822e0d40d5a5ea1e0c291166d0344 18723 
acpid_2.0.13-1.diff.gz
 7354eb94082b50d4e23ced696a8244d38d0b3465e94c969a61129435f502311c 53468 
acpid_2.0.13-1_amd64.deb
 f68ec0531ebaef121e26c0e444df0b7b06dd365edd9b984d50cc1be175ff3e41 30362 
kacpimon_2.0.13-1_amd64.deb
Files: 
 7988ca3ccd3001fdfb4f6fc27ebe99fd 1300 admin optional acpid_2.0.13-1.dsc
 5bbbb9a320192df1cdd8d0e9a0196379 76066 admin optional acpid_2.0.13.orig.tar.gz
 3499bfba389c5d0fae4b3746f6599087 18723 admin optional acpid_2.0.13-1.diff.gz
 267e1a1e7b88354bc15e4c577f27a585 53468 admin optional acpid_2.0.13-1_amd64.deb
 d8f8995ae11b0b58c978da8634ecc84d 30362 utils extra kacpimon_2.0.13-1_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iD4DBQFOxOgZVkEm8inxm9ERAnl1AJ0eIwIKdHF6EBAfzGIeMNbsuEspWwCYg5xQ
6Ih978uspBh8k4RgOrRr+g==
=6dDO
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to