[SOLVED] Bug in the latest deb-live-testing-amd64-gnome.iso

Help with issues regarding installation of Debian

[SOLVED] Bug in the latest deb-live-testing-amd64-gnome.iso

Postby _nobody_ » 2019-02-22 16:35

From the Buster Live images @ the following website: https://cdimage.debian.org/cdimage/week ... so-hybrid/

There is a bug in the latest .iso. Maybe in all of them. Certainly in debian-live-testing-amd64-gnome.iso [2019-02-18 06:18 2.4G]

Here is the bug!
user@unassigned-hostname:~$ uname -a
Linux unassigned-hostname 4.19.0-2-amd64 #1 SMP Debian 4.19.16-1 (2019-01-17) x86_64 GNU/Linux
user@unassigned-hostname:~$ echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
user@unassigned-hostname:~$ su -m
Password:
root@unassigned-hostname:~# echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games

root@unassigned-hostname:~#

Should read/be:
root@unassigned-hostname:~# echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games

Could you, please, fix this bug in config installation files(could be done in preseed debian/late command phase, but this will be not politically correct)?

Thank you,
_nobody_
Last edited by _nobody_ on 2019-02-24 10:49, edited 1 time in total.
_nobody_
 
Posts: 62
Joined: 2018-04-10 02:07

Re: Bug in the latest debian-live-testing-amd64-gnome.iso Fe

Postby 4D696B65 » 2019-02-22 16:45

Code: Select all
-m
preserves the environment. The $PATH is correct if you came from normal user. This option is superfluous now since su by itself retains path.
User avatar
4D696B65
 
Posts: 2428
Joined: 2009-06-28 06:09

Re: Bug in the latest debian-live-testing-amd64-gnome.iso Fe

Postby _nobody_ » 2019-02-22 18:49

4D696B65 wrote:
Code: Select all
-m
preserves the environment. The $PATH is correct if you came from normal user. This option is superfluous now since su by itself retains path.

Nope. Nay.
user@unassigned-hostname:~$ uname -a
Linux unassigned-hostname 4.19.0-2-amd64 #1 SMP Debian 4.19.16-1 (2019-01-17) x86_64 GNU/Linux
user@unassigned-hostname:~$ echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
user@unassigned-hostname:~$ su
Password:
root@unassigned-hostname:/home/user# cd
root@unassigned-hostname:~# pwd
/root
root@unassigned-hostname:~# echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games

root@unassigned-hostname:~#

But thank you for trying... Very good idea! :idea:

Next (idea)!

Thank you,
_nobody_
Last edited by _nobody_ on 2019-02-22 18:49, edited 1 time in total.
_nobody_
 
Posts: 62
Joined: 2018-04-10 02:07

Re: Bug in the latest debian-live-testing-amd64-gnome.iso Fe

Postby Head_on_a_Stick » 2019-02-22 18:49

_nobody_ wrote:Should read/be:
root@unassigned-hostname:~# echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games

Try
Code: Select all
su -
echo $PATH

This is not a bug.

EDIT: @admin is correct, please read the man page.
User avatar
Head_on_a_Stick
 
Posts: 10380
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Bug in the latest debian-live-testing-amd64-gnome.iso Fe

Postby _nobody_ » 2019-02-22 19:04

Head_on_a_Stick wrote:
_nobody_ wrote:Should read/be:
root@unassigned-hostname:~# echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games

Try
Code: Select all
su -
echo $PATH

This is not a bug.

EDIT: @admin is correct, please read the man page.

Admin is not correct... I already proved it. Please, read above (or try it yourself). Thank you for understanding!

In contrary, U R correct.
user@unassigned-hostname:~$ uname -a
Linux unassigned-hostname 4.19.0-2-amd64 #1 SMP Debian 4.19.16-1 (2019-01-17) x86_64 GNU/Linux
user@unassigned-hostname:~$ echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
user@unassigned-hostname:~$ su -
Password:
root@unassigned-hostname:~# echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

root@unassigned-hostname:~#

And... This is because I used to Fedora:
[vuser@fedora29-ssd ~]$ pwd
/home/vuser
[vuser@fedora29-ssd ~]$ uname -a
Linux fedora29-ssd 4.20.10-200.fc29.x86_64 #1 SMP Fri Feb 15 18:33:14 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
[vuser@fedora29-ssd ~]$ echo $PATH
/usr/share/Modules/bin:/usr/lib64/ccache:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/home/vuser/.local/bin:/home/vuser/bin
[vuser@fedora29-ssd ~]$

But anyway, all credits go to you. :mrgreen:

Problem (for Debian) is solved!

_nobody_
_nobody_
 
Posts: 62
Joined: 2018-04-10 02:07

Re: Bug in the latest debian-live-testing-amd64-gnome.iso Fe

Postby Head_on_a_Stick » 2019-02-22 19:12

_nobody_ wrote:Admin is not correct... I already proved it.

You proved nothing, what you posted as "proof" shows exactly what was suggested.
User avatar
Head_on_a_Stick
 
Posts: 10380
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Bug in the latest debian-live-testing-amd64-gnome.iso Fe

Postby _nobody_ » 2019-02-22 19:33

Head_on_a_Stick wrote:
_nobody_ wrote:Admin is not correct... I already proved it.

You proved nothing, what you posted as "proof" shows exactly what was suggested.

Could you, please, try it? As I tried it? I try everything, and empiricaly I know!

(since you behave very bad, and psychotic). :mrgreen:

Thank you,
_nobody_
_nobody_
 
Posts: 62
Joined: 2018-04-10 02:07

Re: Bug in the latest debian-live-testing-amd64-gnome.iso Fe

Postby Head_on_a_Stick » 2019-02-22 19:40

_nobody_ wrote:Could you, please, try it?

I would do anything for you my darling:
Code: Select all
empty@shinken:~ $ echo $PATH
/home/empty/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/usr/lib/plan9/bin
empty@shinken:~ $ su
Password:
empty@shinken:/home/empty # echo $PATH
/home/empty/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/usr/lib/plan9/bin
empty@shinken:/home/empty #

_nobody_ wrote:since you behave very bad, and psychotic

Aw shucks thanks, but I bet you say that to all the girls... :mrgreen:
User avatar
Head_on_a_Stick
 
Posts: 10380
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Bug in the latest debian-live-testing-amd64-gnome.iso Fe

Postby _nobody_ » 2019-02-22 19:56

Man... U DUI. Heavy DUI! Pls, go and take some rest! :mrgreen:

_nobody_
_nobody_
 
Posts: 62
Joined: 2018-04-10 02:07


Return to Installation

Who is online

Users browsing this forum: No registered users and 8 guests

fashionable