LINUX.ORG.RU

История изменений

Исправление int13h, (текущая версия) :

[pocuser@homepc int13h]$ systemd-run -t /bin/bash

(pkttyagent:1538): GLib-GObject-WARNING **: 22:28:26.636: value "-294967296" of type 'gint' is invalid or out of range for property 'uid' of type 'gint'
**
ERROR:pkttyagent.c:156:main: assertion failed: (polkit_unix_process_get_uid (POLKIT_UNIX_PROCESS (subject)) >= 0)
Running as unit: run-u163.service
Press ^] three times within 1s to disconnect TTY.
[root@homepc /]# cat /etc/passwd | grep pocuser
pocuser:x:4000000000:1003::/home/pocuser:/bin/bash
[root@homepc /]# systemd-run --version
systemd 239
+PAM +AUDIT -SELINUX -IMA -APPARMOR +SMACK -SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN2 -IDN +PCRE2 default-hierarchy=hybrid
[root@homepc /]# 
[root@homepc /]# uname -a
Linux homepc 4.19.8-arch1-1-ARCH #1 SMP PREEMPT Sat Dec 8 13:49:11 UTC 2018 x86_64 GNU/Linux

Исходная версия int13h, :

Работаит!

[pocuser@homepc int13h]$ systemd-run -t /bin/bash

(pkttyagent:1538): GLib-GObject-WARNING **: 22:28:26.636: value "-294967296" of type 'gint' is invalid or out of range for property 'uid' of type 'gint'
**
ERROR:pkttyagent.c:156:main: assertion failed: (polkit_unix_process_get_uid (POLKIT_UNIX_PROCESS (subject)) >= 0)
Running as unit: run-u163.service
Press ^] three times within 1s to disconnect TTY.
[root@homepc /]# cat /etc/passwd | grep pocuser
pocuser:x:4000000000:1003::/home/pocuser:/bin/bash
[root@homepc /]# systemd-run --version
systemd 239
+PAM +AUDIT -SELINUX -IMA -APPARMOR +SMACK -SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN2 -IDN +PCRE2 default-hierarchy=hybrid
[root@homepc /]#