• Bug#1108927: ps behaves weirdly when run under root with --sort=start_t

    From Fourhundred Thecat@21:1/5 to All on Tue Jul 8 06:40:01 2025
    Package: procps
    Version: 2:4.0.2-3

    on Debian 12, ps command behaves weirdly when run under root and when
    combining options -H and --sort=start_time:

    this works as expected and shows all my processes:

    /usr/bin/ps -e -H

    but when I add --sort=start_time

    /usr/bin/ps -e --sort=start_time -H

    it only shows init and 4 other daemons (in additin to the [kernel
    threads] which are same in both cases):

    1 ? 00:00:02 init
    819 ? 00:00:00 rsyslogd
    869 ? 00:00:00 cron
    895 ? 00:00:00 dbus-daemon
    917 ? 00:00:00 slim
    921 tty7 00:00:37 Xorg


    when I run same ps command as user, everything works fine

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)