[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#828965: marked as done (konsole: Application not responding when launching root profile.)



Your message dated Wed, 29 Mar 2017 18:10:15 +0200
with message-id <20170329161015.cpfduvcdhq7mergk@gnuservers.com.ar>
and subject line Re: Bug#828965: FIX: Initial directory = <empty>
has caused the Debian Bug report #828965,
regarding konsole: Application not responding when launching root profile.
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
828965: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=828965
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: konsole
Version: 4:16.04.2-1
Severity: normal

Dear Maintainer,

Launching a root profile involving /bin/su --login (see below),
opens a new shell window but no password is asked and konsole gets stuck
(Closing the window on has "Application not responding").

This happens starting the konsole profile from cli
as well as from the Konsole Profiles plasma widget.

Other profiles that do not use /bin/su works correctly.
Invoking su from a user profile shell works fine.

My profile:
$ cat .kde/share/apps/konsole/Root-Large-BRL.profile 
[Appearance]
ColorScheme=BlackOnRandomLight
Font=DejaVu Sans Mono,18,-1,2,50,0,0,0,0,0

[General]
Command=/bin/su --login
Directory=/root
Name=Root-Large-BRL
Parent=FALLBACK/
StartInCurrentSessionDir=false
TerminalColumns=135
TerminalRows=17

Thanks for your time
ric

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (900, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.6.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages konsole depends on:
ii  konsole-kpart           4:16.04.2-1
ii  libc6                   2.22-11
ii  libkf5completion5       5.23.0-1
ii  libkf5configcore5       5.23.0-1
ii  libkf5configgui5        5.23.0-1
ii  libkf5configwidgets5    5.22.0-1
ii  libkf5coreaddons5       5.23.0-1
ii  libkf5i18n5             5.22.1-1
ii  libkf5iconthemes5       5.22.0-1
ii  libkf5kdelibs4support5  5.22.0-2
ii  libkf5kiowidgets5       5.22.0-1
ii  libkf5notifyconfig5     5.22.0-1
ii  libkf5widgetsaddons5    5.23.0-1
ii  libkf5windowsystem5     5.23.0-1
ii  libkf5xmlgui5           5.22.0-1
ii  libqt5core5a            5.6.1+dfsg-2
ii  libqt5gui5              5.6.1+dfsg-2
ii  libqt5widgets5          5.6.1+dfsg-2
ii  libstdc++6              6.1.1-7

konsole recommends no packages.

konsole suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Version: 4:16.12.0-1

¡Hola r.ductor!

El 2016-08-29 a las 17:45 +0200, r.ductor@gmail.com escribió:
The regression I've described seems to be fixed by setting 'Initial directory=' instead of 'Initial directory=/root' in the Settings > Manage profiles > edit form.

This setting results in Directory= <empty> in the profile file reported below; invoking the profile does NOT hang konsole, which nicely starts a session in /root directory as expected (Apparently leaving empty the 'initial directory' field defaults to ~ of the new user, which is sensible.)

I have no idea why Directory=<empty> and Directory=/root are NOT equivalent in this case, and why the problem is not reproduced.

In later versions of konsole setting the Initial directory to /root shows the message:

Warning: Could not start program '/bin/su' with arguments '/bin/su --login'.


Warning: chdir: Permission denied

I think that this closes the issue, although I'm not sure which version introduced the change, I'm closing it with the version currently in stretch.

Thanks for your time

Thanks for reporting.

Happy hacking,
--
"Brilliant opportunities are cleverly disguised as insolvable problems."
-- Gardener's Philosophy

"The reverse is also true." -- Corollary
Saludos /\/\ /\ >< `/

Attachment: signature.asc
Description: PGP signature


--- End Message ---

Reply to: