Bug#932088: gdebi doenst ask for a root password. just silently closes

2020-12-15 Thread 铜豌豆 Linux


在 2020/12/15 下午12:09, xiao sheng wen 写道:
> Package: gdebi
> Version: 0.9.5.7+nmu3
> Followup-For: Bug #932088
>
> Dear Maintainer,
>
> I meet the same bug.
>
> I use Buster 10.7, I installed XFCE,MATE,GNOME desktop in my computer.
>
> But this bug only occur in XFCE, MATE and GNOME is no problem.-- 


/usr/bin/python3 /usr/bin/gdebi-gtk process don't has correct PPID in
XFCE, the parent ID is 1 in the XFCE.

atzlinux    3424   1 24 16:09 ?    00:00:10 /usr/bin/python3
/usr/bin/gdebi-gtk /home/atzlinux/download/qqmusic_1.0.5_amd64.deb

  ~~~

When I click Install button,I get the error info in .xsession-errors:

Refusing to render service to dead parents.


But in MATE, the gdebi-gtk process has the PPID of caja:

atzlinux    1631    1455  1 15:52 ?    00:00:02 caja
atzlinux    2023    1631 11 15:54 ?    00:00:10 /usr/bin/python3
/usr/bin/gdebi-gtk /home/atzlinux/download/qqmusic_1.0.5_amd64.deb

The caja is the file manager of MATE.

When I click Install button, there is a root password input display, the
process user became the root, pkexec can been invoked:

atzlinux    1631    1455  1 15:52 ?    00:00:02 caja
root    2023    1631  6 15:54 ?    00:00:10 pkexec gdebi-gtk
--non-interactive /home/atzlinux/download/qqmusic_1.0.5_amd64.deb

The deb package can install success.



> 肖盛文 xiao sheng wen Faris Xiao 
> 微信(wechat):atzlinux
> 《铜豌豆 Linux》 
> 基于 Debian 的 Linux 中文桌面操作系统:https://www.atzlinux.com
> Debian QA page: https://qa.debian.org/developer.php?login=atzlinux%40sina.com



Bug#932088: gdebi doenst ask for a root password. just silently closes

2020-12-15 Thread xiao sheng wen
Package: gdebi
Version: 0.9.5.7+nmu3
Followup-For: Bug #932088

Dear Maintainer,

/usr/bin/python3 /usr/bin/gdebi-gtk process don't has correct PPID in XFCE, the 
parent ID is 1 in the XFCE.

atzlinux3424   1 24 16:09 ?00:00:10 /usr/bin/python3 
/usr/bin/gdebi-gtk /home/atzlinux/download/qqmusic_1.0.5_amd64.deb

  ~~~

When I click Install button,I get the error info in .xsession-errors:

Refusing to render service to dead parents.


But in MATE, the gdebi-gtk process has the PPID of caja:

atzlinux16311455  1 15:52 ?00:00:02 caja
atzlinux20231631 11 15:54 ?00:00:10 /usr/bin/python3 
/usr/bin/gdebi-gtk /home/atzlinux/download/qqmusic_1.0.5_amd64.deb

The caja is the file manager of MATE.

When I click Install button, there is a root password input display, the 
process user became the root, pkexec can been invoked:

atzlinux16311455  1 15:52 ?00:00:02 caja
root20231631  6 15:54 ?00:00:10 pkexec gdebi-gtk 
--non-interactive /home/atzlinux/download/qqmusic_1.0.5_amd64.deb

The deb package can install success.


-- System Information:
Debian Release: 10.7
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-13-rt-amd64 (SMP w/4 CPU cores; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=zh_CN.UTF-8, LC_CTYPE=zh_CN.UTF-8 (charmap=UTF-8), 
LANGUAGE=zh_CN:zh (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages gdebi depends on:
ii  gdebi-core0.9.5.7+nmu3
ii  gir1.2-gtk-3.03.24.5-1
ii  gir1.2-vte-2.91   0.54.2-2
ii  gnome-icon-theme  3.12.0-3
ii  policykit-1   0.105-25
ii  python3   3.7.3-1
ii  python3-gi3.30.4-1

Versions of packages gdebi recommends:
ii  libgtk2-perl  2:1.24992-1+b2
ii  lintian   2.103.0~bpo10+1
ii  shared-mime-info  1.10-1

gdebi suggests no packages.

-- no debconf information



Bug#932088: gdebi doenst ask for a root password. just silently closes

2020-12-14 Thread xiao sheng wen
Package: gdebi
Version: 0.9.5.7+nmu3
Followup-For: Bug #932088

Dear Maintainer,

I meet the same bug.

I use Buster 10.7, I installed XFCE,MATE,GNOME desktop in my computer.

But this bug only occur in XFCE, MATE and GNOME is no problem.

BTW:
dbus-x11 is already installed in my compurter.

I also strace the pid of gdebi-gtk, the last error lines is following:

mprotect(0x7f6abcb42000, 4096, PROT_READ) = 0
mprotect(0x7f6abc71, 4096, PROT_READ) = 0
mprotect(0x7f6abc6ff000, 32768, PROT_READ) = 0
mprotect(0x7f6abc7b4000, 4096, PROT_READ) = 0
mprotect(0x7f6abc9ce000, 4096, PROT_READ) = 0
mprotect(0x7f6abc9af000, 4096, PROT_READ) = 0
mprotect(0x7f6abcb53000, 4096, PROT_READ) = 0
mprotect(0x55c84fb26000, 4096, PROT_READ) = 0
mprotect(0x7f6abcba2000, 4096, PROT_READ) = 0
munmap(0x7f6abcb57000, 147011)  = 0
set_tid_address(0x7f6abbcfa810) = 25973
set_robust_list(0x7f6abbcfa820, 24) = 0
rt_sigaction(SIGRTMIN, {sa_handler=0x7f6abc9896b0, sa_mask=[], 
sa_flags=SA_RESTORER|SA_SIGINFO, sa_restorer=0x7f6abc995730}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {sa_handler=0x7f6abc989740, sa_mask=[], 
sa_flags=SA_RESTORER|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f6abc995730}, NULL, 
8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, 
rlim_max=RLIM64_INFINITY}) = 0
brk(NULL)   = 0x55c851978000
brk(0x55c851999000) = 0x55c851999000
statfs("/sys/fs/selinux", 0x7ffd9c0c23b0) = -1 ENOENT (No such file or 
directory)
statfs("/selinux", 0x7ffd9c0c23b0)  = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/proc/filesystems", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
read(3, "nodev\tsysfs\nnodev\trootfs\nnodev\tr"..., 1024) = 377
read(3, "", 1024)   = 0
close(3)= 0
access("/etc/selinux/config", F_OK) = -1 ENOENT (No such file or directory)
futex(0x7f6abcaedf58, FUTEX_WAKE_PRIVATE, 2147483647) = 0
futex(0x7f6abcaedf58, FUTEX_WAKE_PRIVATE, 2147483647) = 0
geteuid()   = 1001
openat(AT_FDCWD, "lib/x86_64-linux-gnu/charset.alias", O_RDONLY) = -1 ENOENT 
(No such file or directory)
openat(AT_FDCWD, "/usr/lib/x86_64-linux-gnu/gconv/gconv-modules.cache", 
O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=26402, ...}) = 0
mmap(NULL, 26402, PROT_READ, MAP_SHARED, 3, 0) = 0x7f6abcb74000
close(3)= 0
futex(0x7f6abc97ca08, FUTEX_WAKE_PRIVATE, 2147483647) = 0
write(2, "pkexec must be setuid root\n", 27) = 27
exit_group(127) = ?
+++ exited with 127 +++

Is this bug possible have relation to the selinux ?

I'd installed the package about selinux:

 dpkg -l|grep selinux
ii  libselinux1:amd642.8-1+b1   
  amd64SELinux runtime shared libraries
ii  libselinux1:i386 2.8-1+b1   
  i386 SELinux runtime shared libraries


-- System Information:
Debian Release: 10.7
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-13-rt-amd64 (SMP w/4 CPU cores; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=zh_CN.UTF-8, LC_CTYPE=zh_CN.UTF-8 (charmap=UTF-8), 
LANGUAGE=zh_CN:zh (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages gdebi depends on:
ii  gdebi-core0.9.5.7+nmu3
ii  gir1.2-gtk-3.03.24.5-1
ii  gir1.2-vte-2.91   0.54.2-2
ii  gnome-icon-theme  3.12.0-3
ii  policykit-1   0.105-25
ii  python3   3.7.3-1
ii  python3-gi3.30.4-1

Versions of packages gdebi recommends:
ii  libgtk2-perl  2:1.24992-1+b2
ii  lintian   2.103.0~bpo10+1
ii  shared-mime-info  1.10-1

gdebi suggests no packages.

-- no debconf information



Bug#932088: gdebi doenst ask for a root password. just silently closes

2020-05-06 Thread Johann
Hey,
on bullseye, with dbus-x11 installed, same bug with gdebi-gtk about
crashing whenever I click "install". Crash and in the loggs I can read
"refusing to render service to dead parents."

The workaround I found for now is just "wrapping" debus-gtk in a
shell (as I discovered that launching gdebi-gtk from a terminal emulator
worked). 

That launcher work :
Exec=sh -c "gdebi-gtk %f"

Why ? I have no clue.



Bug#932088: gdebi doenst ask for a root password. just silently closes

2020-01-30 Thread Jakob Viketoft
Package: gdebi
Version: 0.9.5.7+nmu3
Followup-For: Bug #932088

This might be the same problem I encountered on a clean install of buster. In
my case it turns out gdebi-gtk is dependant on package dbus-x11, but it's not
listed as a dependency.

Could you try to install package dbus-x11 and see if it solves your problem?



-- System Information:
Debian Release: 10.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-6-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages gdebi depends on:
ii  gdebi-core0.9.5.7+nmu3
ii  gir1.2-gtk-3.03.24.5-1
ii  gir1.2-vte-2.91   0.54.2-2
ii  gnome-icon-theme  3.12.0-3
ii  policykit-1   0.105-25
ii  python3   3.7.3-1
ii  python3-gi3.30.4-1

Versions of packages gdebi recommends:
ii  libgtk2-perl  2:1.24992-1+b2
ii  lintian   2.15.0
ii  shared-mime-info  1.10-1

gdebi suggests no packages.

-- no debconf information



Bug#932088: gdebi doenst ask for a root password. just silently closes

2019-07-14 Thread m . alfaeko
Package: gdebi
Version: 0.9.5.7+nmu3
Severity: important

Dear Maintainer,

I would want to report a bug in package gdebi. When i attempt to install some 
package
with gdebi it just closes without displaing any error. I found a error message 
in
.xsession-errors saying "Refusing to render service to dead parents.". Tried on 
my host
system with debian 10 and not modified debian 10 in vbox.

Gdebi is not usable.

-- System Information:
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-5-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8), 
LANGUAGE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages gdebi depends on:
ii  gdebi-core0.9.5.7+nmu3
ii  gir1.2-gtk-3.03.24.5-1
ii  gir1.2-vte-2.91   0.54.2-2
ii  gnome-icon-theme  3.12.0-3
ii  policykit-1   0.105-25
ii  python3   3.7.3-1
ii  python3-gi3.30.4-1

Versions of packages gdebi recommends:
ii  libgtk2-perl  2:1.24992-1+b2
ii  lintian   2.15.0
ii  shared-mime-info  1.10-1

gdebi suggests no packages.

-- no debconf information