GhostBSD-11 testing the "test" repository

Open development discussions

Moderator: Developer

ASX
Posts: 988
Joined: Wed May 06, 2015 12:46 pm
Has thanked: 0
Been thanked: 0

Re: GhostBSD-11 testing the "test" repository

Post by ASX » Mon May 29, 2017 2:08 pm

NevilleGoddard wrote:I did just create a new user logged in with lightdm and using bin/sh and there was no change so it appears it isn't a fish problem.
yet it seems to be a PATH problem. What return this ?

Code: Select all

echo $PATH

NevilleGoddard
Developer
Posts: 492
Joined: Thu Dec 22, 2016 10:30 pm
Location: Japan
Has thanked: 8 times
Been thanked: 12 times

Re: GhostBSD-11 testing the "test" repository

Post by NevilleGoddard » Mon May 29, 2017 9:12 pm

On my Dell with lightdm enabled echo $PATH returns:

/usr/local/bin /usr/bin /bin

NevilleGoddard
Developer
Posts: 492
Joined: Thu Dec 22, 2016 10:30 pm
Location: Japan
Has thanked: 8 times
Been thanked: 12 times

Re: GhostBSD-11 testing the "test" repository

Post by NevilleGoddard » Mon May 29, 2017 9:19 pm

With SLiM enabled echo $PATH returns

/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin


Are we getting somewhere? Is this GhostBSD specific?
Maybe I should ask on the FreeBSD forums.

ASX
Posts: 988
Joined: Wed May 06, 2015 12:46 pm
Has thanked: 0
Been thanked: 0

Re: GhostBSD-11 testing the "test" repository

Post by ASX » Tue May 30, 2017 2:31 am

NevilleGoddard wrote:On my Dell with lightdm enabled echo $PATH returns:

/usr/local/bin /usr/bin /bin
And here you are using /bin/sh as the default shell, right ?

NevilleGoddard
Developer
Posts: 492
Joined: Thu Dec 22, 2016 10:30 pm
Location: Japan
Has thanked: 8 times
Been thanked: 12 times

Re: GhostBSD-11 testing the "test" repository

Post by NevilleGoddard » Tue May 30, 2017 4:22 am

Sorry no. On my Dell fish is default

NevilleGoddard
Developer
Posts: 492
Joined: Thu Dec 22, 2016 10:30 pm
Location: Japan
Has thanked: 8 times
Been thanked: 12 times

Re: GhostBSD-11 testing the "test" repository

Post by NevilleGoddard » Tue May 30, 2017 4:54 am

I will check it on my laptop when I get home

NevilleGoddard
Developer
Posts: 492
Joined: Thu Dec 22, 2016 10:30 pm
Location: Japan
Has thanked: 8 times
Been thanked: 12 times

Re: GhostBSD-11 testing the "test" repository

Post by NevilleGoddard » Tue May 30, 2017 6:00 am

On my laptop I made a new user with sh as the default shell.
I will check the output tonight.
Testing is a little slow now because my main computer died

NevilleGoddard
Developer
Posts: 492
Joined: Thu Dec 22, 2016 10:30 pm
Location: Japan
Has thanked: 8 times
Been thanked: 12 times

Re: GhostBSD-11 testing the "test" repository

Post by NevilleGoddard » Tue May 30, 2017 10:09 am

On my laptop when lightdm is enabled and /bin/sh is the default shell (logged in with new user), echo $PATH returns:


/usr/local/bin:/usr/bin:/bin

On my laptop logged in as me with lightdm enabled and fish is the default shell, echo $PATH returns:

/usr/local/bin /usr/bin /bin

Laptop again with me as user logged in with slim not lightdm and fish as default shell, echo $PATH returns:

/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin

Laptop again logged in as new user so /bin/sh is default shell. login with slim, echo $PATH returns:

/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin;/usr/local/bin

Although the terminal output is different, if lightdm is enabled with fish or with /bin/sh, the effect on the network icon and indeed on the network itself is the same.
I can use the internet, but the icon tells me that there is no internet.
As I mentioned before under lightdm, I can't change to another router or configure the network at all under lightdm. I have to switch to slim.
It would seem that fish is not the problem but lightdm.

I'll have a look around and see if others have the same problem.
If iti is FreeBSD specific and not GhostBSD specific I'll try the FreeBSD forums.

I dont know what the significance of the missing colons (:) means in the terminal output when fish is default versus when /bin/sh is default

ASX
Posts: 988
Joined: Wed May 06, 2015 12:46 pm
Has thanked: 0
Been thanked: 0

Re: GhostBSD-11 testing the "test" repository

Post by ASX » Tue May 30, 2017 10:43 am

Thanks NevilleGoddard, the issues you are experiencing are all related to the incorrect PATH when using lightdm.

The semicolon, in a PATH works as "separator" between mutiple paths, and a separator at end of the PATH is not needed, but also harmless.

As far as I can see, the problem is specific to lightdm.

There is already a thread on fbsd forum, mentioning this issue, but no solution so far, (ericbsd posted too):
https://forums.freebsd.org/threads/59101/

I'm suspecting that the problem could be related to "how" the user session is launched from lightdm (see "gksu -l" or "sudo -c" for a reference to what I mean).

I will try to look into the details when possible. ;)

ASX
Posts: 988
Joined: Wed May 06, 2015 12:46 pm
Has thanked: 0
Been thanked: 0

Re: GhostBSD-11 testing the "test" repository

Post by ASX » Tue May 30, 2017 12:20 pm

Repositories status update:

GhostBSD-11/amd64/test was moved to -----> GhostBSD-11/amd64/current

new: GhostBSD-11/amd64/test, now contain the updates in line with a port snapshot from 3 days ago.

Notice that these updates will contain, among others:
- tweak-station, as fixed from ericbsd
- mesa-libs (which grouped in one package several related libraries), and as a consequence a large number of packages are affected from this update.

The corresponding updates for i386 will be available in few hours (repo transfer in progress ... ).

Post Reply