#1136479 cinnamon-session uses pidof but does not depend on procps

#1136479#5
Date:
2026-05-13 23:25:41 UTC
From:
To:
Dear maintainer(s) of cinnamon-session,

it appears that cinnamon-session uses `pidof` in its testsuite, or that
at least one of its binary packages uses `pidof` at runtime.
Historically, `pidof` was provided by the Essential package
`sysvinit-tools`, making an explicit dependency unnecessary. However
`pidof` will soon be moved to `procps` and will no longer be part of
the Essential set.

Please add an explicit dependency on `procps`:

* via the `Depends:` field of all binary packages of cinnamon-session
  that use `pidof` at runtime;
* via the `Build-Depends:` field of cinnamon-session, if `pidof` is
  used in tests run at build-time;
* via the `Depends:` field of `debian/control/tests`, if `pidof` is
  used in autopkgtests.

To prevent any disruption for users of cinnamon-session, please add
this dependency now, before `pidof` is moved from `sysvinit-utils` to
`procps`. Alternatively, you could remove all uses of `pidof`.

It is believed that cinnamon-session uses `pidof` due to the following
code snippets:

```
path: cinnamon-session_6.4.2-1/cinnamon-session/csm-manager.c
{
        int num_processes;
        gchar *command = g_strdup_printf ("pidof %s | wc -l", name);
        FILE *fp = popen(command, "r");
        fscanf(fp, "%d", &num_processes);
```

Feel free to close this issue if this is a false positive (for example
if this code is in an unreachable code path).

Regards,

#1136479#8
Date:
2026-07-18 19:38:08 UTC
From:
To:
Hello,

Bug #1136479 in cinnamon-session reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/cinnamon-team/cinnamon-session/-/commit/ea9d302a0a60a666a9d92236ce366a2d58ddee15
------------------------------------------------------------------------
d/control: add procps to Depends

cinnamon-session invokes pidof at runtime (process_is_running() in
csm-manager.c, used in the switch-user path to detect the running
display manager). pidof is currently shipped by the Essential
sysvinit-utils but is being relocated to procps, so the dependency must
be explicit.

Closes: #1136479

Assisted-by: Claude Code:claude-fable-5
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1136479

#1136479#15
Date:
2026-07-19 21:39:07 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
cinnamon-session, which is due to be installed in the Debian FTP archive.

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 1136479@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Fabio Fantoni <fantonifabio@tiscali.it> (supplier of updated cinnamon-session 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 ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Sun, 19 Jul 2026 23:13:27 +0200
Source: cinnamon-session
Built-For-Profiles: noudeb
Architecture: source
Version: 6.6.4-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Cinnamon Team <debian-cinnamon@lists.debian.org>
Changed-By: Fabio Fantoni <fantonifabio@tiscali.it>
Closes: 1136479
Changes:
 cinnamon-session (6.6.4-1) unstable; urgency=medium
 .
   * New upstream version 6.6.4
   * d/control: add systemd-dev to build-deps
   * Update standards version to 4.7.4, no changes needed
   * d/cinnamon-session.install: add systemd user unit
   * d/patches: add upstream fix for cinnamon restart rate-limit exemption
   * d/control: add procps to Depends (Closes: #1136479)
Checksums-Sha1:
 1b0de81f3ea647fd7722a43c34170a405cbaf2b8 2652 cinnamon-session_6.6.4-1.dsc
 c98b818b3cba5d4cc72dd24e1ae954a4cad5906b 158177 cinnamon-session_6.6.4.orig.tar.gz
 c3eb4048eb0b9e6601f661a01f4dba43d4eda374 9180 cinnamon-session_6.6.4-1.debian.tar.xz
 857d6885b97d9438b040fc979b1b8cfae45e5640 8351 cinnamon-session_6.6.4-1_source.buildinfo
Checksums-Sha256:
 4ea2db1fbd14c7f798c7d0c78ebdb5743ab2ef0c051c652b823b404fb0d856c9 2652 cinnamon-session_6.6.4-1.dsc
 8fc66c06622ccf834a503df79ae70a2fb6732b6f07b37435cedaa7d1c4154912 158177 cinnamon-session_6.6.4.orig.tar.gz
 ebbb7ffac2f6f4704e0be418a6b38bbd2f7220539bfb3c6dd9044bb1790ed3c3 9180 cinnamon-session_6.6.4-1.debian.tar.xz
 cef398bde417d81c47b716874350836cce419046dc95d92ae065a903c268c2fe 8351 cinnamon-session_6.6.4-1_source.buildinfo
Files:
 595f44b83ec9951fd043bd1cea926351 2652 x11 optional cinnamon-session_6.6.4-1.dsc
 6b0f341593ff026533c281a7980b0797 158177 x11 optional cinnamon-session_6.6.4.orig.tar.gz
 f2480f5b62da493f6f2eca7f739965c6 9180 x11 optional cinnamon-session_6.6.4-1.debian.tar.xz
 bc39f63bebfca50b06443f9ebcbea321 8351 x11 optional cinnamon-session_6.6.4-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEELEHRfLe4S9D5+1GzaAZorpB/EB0FAmpdPlYACgkQaAZorpB/
EB2h9w/+MMkoIvya7y7Ij3SvoFFMIZKEdbra+Cd+37q65aIq/6rlM3fLJPB4wGa5
5SS7wAgPiioRo6gE2sB3YuJqm4D8FKpEH5BaFYMe/HPL3FEHDjMxyVAUYgJ1u9xY
uDdMU6+x5KW8Qzbn9yuxwB4V586LCfjNNcD1+2vpey8iSV+YRVuK6mKdgodR+8q4
U4F9Suj84niQhoSemyvWiL/ye0Eint0PzfPNMx8asaW/+AtXkKATGxBs6uTOeA/x
UBLue3+hFpzfpoSsVyKgK7dDCE1kV5pVlHGG2a7wUWvwyPDQRvDhloj7oH3zTTu4
0ve8JRAIgyRWUrLtgNSqPCIEz46R4s2rBgljUb9BIgPkR8r3vZZoOZuMo/rnMaIr
OOp+Luc9JCWL5evFtnOkLieiokk1cc8IgFqUCsphPWN1yana1v0Sh7hvKiEvvL5f
NqcuKGJMeNFFzbr2/SIX5tVUh2rM0TdodKkY5o9uqP1ritBrNA65n/AyF1VzRcqW
U6qPcYZ+Ngrf6gVk++ewDaFmvx7vbCQDsz3YEpTQ4dq9KkR39pcXov8USpHAA/zb
+bEy3VGSNsWbYUbYPAqiKkVxP26NphxhfSipsC7gvy5+Y0YgHu1kO417IgkxLexQ
AENiWHPQZQE4PWb5H8Qrsd8amJcFxpcSfe20FNa+DHsJzpxh/Q8=
=HSHf
-----END PGP SIGNATURE-----