[systemd-devel] systemctl still truncates
Reindl Harald
h.reindl at thelounge.net
Sun Apr 21 07:23:49 PDT 2013
Am 21.04.2013 16:13, schrieb Lennart Poettering:
> On Sun, 21.04.13 16:04, Reindl Harald (h.reindl at thelounge.net) wrote:
>
>> why is the Main PID process below truncated?
>
>> Main PID: 65508 (/usr/sbin/postg)
>
> because that is the "comm" process name of the process, i.e. the name
> "top" shows, rather than the name "ps" shows. The "comm" name is
> maintained by the kernel and the kernel limits it to 16chars max.
>
> Usually, the "comm" name does not contain slashes, though. Your daemon
> probably changes it via PR_SET_NAME, and does this incorrectly and
> doesn't chop off the path before doing this. Also see prctl(2) for more
> information.
>
> Long story short: it's not systemd that truncates this, it's the kernel
OK, understood
well "my" daemon is a perl script and not "mine" :-)
not that big problem, however 16 chars is odd
[root at testserver:~]$ systemctl status dbmail-postfix-policyd.service
dbmail-postfix-policyd.service - DBMail Policy Service
Loaded: loaded (/usr/lib/systemd/system/dbmail-postfix-policyd.service; enabled)
Active: active (running) since Sa 2013-04-20 18:27:13 CEST; 21h ago
Main PID: 769 (dbmail-postfix-)
CGroup: name=systemd:/system/dbmail-postfix-policyd.service
└─769 /usr/bin/perl -w /usr/sbin/dbmail-postfix-policyd --user=postfix --group=postfix
--dbmail-conf=/etc/dbmail-postfix-policyd.conf --dbmail-version=2
--unix=/var/spool/postfix/dbmail-postfix-policyd/socket --daemonize
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 263 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20130421/abeb1457/attachment.pgp>
More information about the systemd-devel
mailing list