all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#59579: installing zbar prevents gdm to start on Ubuntu 22.04 foreign distro
@ 2022-11-25 17:45 Clément Lassieur
  2023-01-26 17:10 ` Simon Tournier
  0 siblings, 1 reply; 8+ messages in thread
From: Clément Lassieur @ 2022-11-25 17:45 UTC (permalink / raw)
  To: 59579; +Cc: glv

[-- Attachment #1: Type: text/plain, Size: 345 bytes --]

Severity: serious

Steps to reproduce:

> - install Ubuntu 22.04
> - install Guix package manager
> - guix package -i zbar
> - reboot

Expected result

> boot

result

> login loop

It's very difficult to pin the issue down to a guix package being installed.

I imagine the bug would not happen if ~/.guix-profile/share was not in XDG_DATA_DIRS.

[-- Attachment #2: Type: text/html, Size: 935 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#59579: installing zbar prevents gdm to start on Ubuntu 22.04 foreign distro
  2022-11-25 17:45 bug#59579: installing zbar prevents gdm to start on Ubuntu 22.04 foreign distro Clément Lassieur
@ 2023-01-26 17:10 ` Simon Tournier
  2023-01-31  6:23   ` 宋文武 via Bug reports for GNU Guix
  0 siblings, 1 reply; 8+ messages in thread
From: Simon Tournier @ 2023-01-26 17:10 UTC (permalink / raw)
  To: Clément Lassieur; +Cc: 59579, glv

Hi,

On Fri, 25 Nov 2022 at 18:45, Clément Lassieur <clement@lassieur.org> wrote:

> It's very difficult to pin the issue down to a guix package being
> installed.
>
> I imagine the bug would not happen if ~/.guix-profile/share was not in
> XDG_DATA_DIRS.

Yes, it is related to XDG_DATA_DIRS and it can be tedious to find which
package brings the issue.

I had a similar issue with the package ’python-ipython’ and recently
with ’fontconfig’ – both cases running on the top of Debian.

The issue can happen whatever the profile; it just depends which ones
are sourced by your login shell.


Cheers,
simon




^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#59579: installing zbar prevents gdm to start on Ubuntu 22.04 foreign distro
  2023-01-26 17:10 ` Simon Tournier
@ 2023-01-31  6:23   ` 宋文武 via Bug reports for GNU Guix
  2023-01-31  9:52     ` zimoun
  0 siblings, 1 reply; 8+ messages in thread
From: 宋文武 via Bug reports for GNU Guix @ 2023-01-31  6:23 UTC (permalink / raw)
  To: Simon Tournier; +Cc: 59579, glv, Clément Lassieur

Simon Tournier <zimon.toutoune@gmail.com> writes:

> Hi,
>
> On Fri, 25 Nov 2022 at 18:45, Clément Lassieur <clement@lassieur.org> wrote:
>
>> It's very difficult to pin the issue down to a guix package being
>> installed.
>>
>> I imagine the bug would not happen if ~/.guix-profile/share was not in
>> XDG_DATA_DIRS.
>
> Yes, it is related to XDG_DATA_DIRS and it can be tedious to find which
> package brings the issue.
>
> I had a similar issue with the package ’python-ipython’ and recently
> with ’fontconfig’ – both cases running on the top of Debian.
>
> The issue can happen whatever the profile; it just depends which ones
> are sourced by your login shell.
>

Hello, I don't think XDG_DATA_DIRS should be the problems, but other
environment variables with "lib", since the xdg data should be
portable...

So:
--8<---------------cut here---------------start------------->8---
$ guix shell -C coreutils zbar --no-grafts  -- env
PS1=\u@\h \w [env]\$ 
TMPDIR=/tmp
TEMPDIR=/tmp
TMP=/tmp
TEMP=/tmp
LOGNAME=iyzsong
USER=iyzsong
HOME=/home/iyzsong
PATH=/gnu/store/yfnm6nh3a6c7hiqk1nq228wpph1x1z1w-profile/bin:/gnu/store/yfnm6nh3a6c7hiqk1nq228wpph1x1z1w-profile/sbin
XDG_DATA_DIRS=/gnu/store/yfnm6nh3a6c7hiqk1nq228wpph1x1z1w-profile/share
GUIX_GTK3_PATH=/gnu/store/yfnm6nh3a6c7hiqk1nq228wpph1x1z1w-profile/lib/gtk-3.0
QMAKEPATH=/gnu/store/yfnm6nh3a6c7hiqk1nq228wpph1x1z1w-profile/lib/qt5
QT_PLUGIN_PATH=/gnu/store/yfnm6nh3a6c7hiqk1nq228wpph1x1z1w-profile/lib/qt5/plugins
XDG_CONFIG_DIRS=/gnu/store/yfnm6nh3a6c7hiqk1nq228wpph1x1z1w-profile/etc/xdg
XCURSOR_PATH=/gnu/store/yfnm6nh3a6c7hiqk1nq228wpph1x1z1w-profile/share/icons
GDK_PIXBUF_MODULE_FILE=/gnu/store/yfnm6nh3a6c7hiqk1nq228wpph1x1z1w-profile/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
GUIX_ENVIRONMENT=/gnu/store/yfnm6nh3a6c7hiqk1nq228wpph1x1z1w-profile
--8<---------------cut here---------------end--------------->8---

I think GUIX_GTK3_PATH, QT_PLUGIN_PATH, GDK_PIXBUF_MODULE_FILE should be
the problems.




^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#59579: installing zbar prevents gdm to start on Ubuntu 22.04 foreign distro
  2023-01-31  6:23   ` 宋文武 via Bug reports for GNU Guix
@ 2023-01-31  9:52     ` zimoun
  2024-05-18  3:10       ` Maxim Cournoyer
  0 siblings, 1 reply; 8+ messages in thread
From: zimoun @ 2023-01-31  9:52 UTC (permalink / raw)
  To: 宋文武; +Cc: 59579, glv, Clément Lassieur

Hi,

On Tue, 31 Jan 2023 at 14:23, 宋文武 via Bug reports for GNU Guix <bug-guix@gnu.org> wrote:

> Hello, I don't think XDG_DATA_DIRS should be the problems, but other
> environment variables with "lib", since the xdg data should be
> portable...

I had the issue yesterday on Ubuntu. :-)

> I think GUIX_GTK3_PATH, QT_PLUGIN_PATH, GDK_PIXBUF_MODULE_FILE should be
> the problems.

None of these environment variables were in my profile, IIRC.  From my
small experiment, the only common one is XDG_DATA_DIRS.  For instance, I
had the issue and I just removed the package ’fontconfig’ which fixed
the issue;  the environment variables reads,

--8<---------------cut here---------------start------------->8---
$ guix shell fontconfig --search-paths
export PATH="/gnu/store/i5rdrrdq4zi98yzcw7rza169ir1zkj6n-profile/bin${PATH:+:}$PATH"
export XDG_DATA_DIRS="/gnu/store/i5rdrrdq4zi98yzcw7rza169ir1zkj6n-profile/share${XDG_DATA_DIRS:+:}$XDG_DATA_DIRS"
--8<---------------cut here---------------end--------------->8---

The package ’zbar’ also provides XDG_DATA_DIRS.  Maybe, I am missing
something.


Cheers,
simon







^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#59579: installing zbar prevents gdm to start on Ubuntu 22.04 foreign distro
  2023-01-31  9:52     ` zimoun
@ 2024-05-18  3:10       ` Maxim Cournoyer
  2024-05-22 11:09         ` Simon Tournier
  0 siblings, 1 reply; 8+ messages in thread
From: Maxim Cournoyer @ 2024-05-18  3:10 UTC (permalink / raw)
  To: zimoun; +Cc: 59579, glv, Clément Lassieur, 宋文武

Hi,

zimoun <zimon.toutoune@gmail.com> writes:

> Hi,
>
> On Tue, 31 Jan 2023 at 14:23, 宋文武 via Bug reports for GNU Guix <bug-guix@gnu.org> wrote:
>
>> Hello, I don't think XDG_DATA_DIRS should be the problems, but other
>> environment variables with "lib", since the xdg data should be
>> portable...
>
> I had the issue yesterday on Ubuntu. :-)
>
>> I think GUIX_GTK3_PATH, QT_PLUGIN_PATH, GDK_PIXBUF_MODULE_FILE should be
>> the problems.
>
> None of these environment variables were in my profile, IIRC.  From my
> small experiment, the only common one is XDG_DATA_DIRS.  For instance, I
> had the issue and I just removed the package ’fontconfig’ which fixed
> the issue;  the environment variables reads,
>
> $ guix shell fontconfig --search-paths
> export PATH="/gnu/store/i5rdrrdq4zi98yzcw7rza169ir1zkj6n-profile/bin${PATH:+:}$PATH"
> export XDG_DATA_DIRS="/gnu/store/i5rdrrdq4zi98yzcw7rza169ir1zkj6n-profile/share${XDG_DATA_DIRS:+:}$XDG_DATA_DIRS"
>
> The package ’zbar’ also provides XDG_DATA_DIRS.  Maybe, I am missing
> something.

Just to be sure, do you have default XDG_* environment variables as
configured by guix-install.sh:

--8<---------------cut here---------------start------------->8---
export XCURSOR_PATH="${XCURSOR_PATH:-/usr/local/share/icons:/usr/share/icons}"
export XDG_DATA_HOME="${XDG_DATA_HOME:-$HOME/.local/share}"
export XDG_CONFIG_HOME="${XDG_CONFIG_HOME:-$HOME/.config}"
export XDG_STATE_HOME="${XDG_STATE_HOME:-$HOME/.local/state}"
export XDG_DATA_DIRS="${XDG_DATA_DIRS:-/usr/local/share/:/usr/share/}"
export XDG_CONFIG_DIRS="${XDG_CONFIG_DIRS:-/etc/xdg}"
export XDG_CACHE_HOME="${XDG_CACHE_HOME:-$HOME/.cache}",
--8<---------------cut here---------------end--------------->8---

I think their absence used to cause this sort of behavior, since Guix
setting it to something would wholly override the distribution-provided
files.

-- 
Thanks
Maxim




^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#59579: installing zbar prevents gdm to start on Ubuntu 22.04 foreign distro
  2024-05-18  3:10       ` Maxim Cournoyer
@ 2024-05-22 11:09         ` Simon Tournier
  2024-05-22 16:14           ` Maxim Cournoyer
  0 siblings, 1 reply; 8+ messages in thread
From: Simon Tournier @ 2024-05-22 11:09 UTC (permalink / raw)
  To: Maxim Cournoyer
  Cc: 59579, glv, 宋文武, Clément Lassieur

Hi Maxim,

On ven., 17 mai 2024 at 23:10, Maxim Cournoyer <maxim.cournoyer@gmail.com> wrote:

> Just to be sure, do you have default XDG_* environment variables as
> configured by guix-install.sh:

Hum, no I did not have all these default.  It had been introduced after
my install of Guix, I guess. :-)

> --8<---------------cut here---------------start------------->8---
> export XCURSOR_PATH="${XCURSOR_PATH:-/usr/local/share/icons:/usr/share/icons}"
> export XDG_DATA_HOME="${XDG_DATA_HOME:-$HOME/.local/share}"
> export XDG_CONFIG_HOME="${XDG_CONFIG_HOME:-$HOME/.config}"
> export XDG_STATE_HOME="${XDG_STATE_HOME:-$HOME/.local/state}"
> export XDG_DATA_DIRS="${XDG_DATA_DIRS:-/usr/local/share/:/usr/share/}"
> export XDG_CONFIG_DIRS="${XDG_CONFIG_DIRS:-/etc/xdg}"
> export XDG_CACHE_HOME="${XDG_CACHE_HOME:-$HOME/.cache}",
> --8<---------------cut here---------------end--------------->8---
>
> I think their absence used to cause this sort of behavior, since Guix
> setting it to something would wholly override the distribution-provided
> files.

Maybe we could add a short paragraph/section about that XDG_* variables
under (guix) Application Setup [1].  Although etc/guix-install.sh
already does the correct thing, it could be helpful if people tweak
stuff, I mean, always good to shortly document typical annoyances. :-)

1: https://guix.gnu.org/manual/devel/en/guix.html#Application-Setup

Cheers,
simon




^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#59579: installing zbar prevents gdm to start on Ubuntu 22.04 foreign distro
  2024-05-22 11:09         ` Simon Tournier
@ 2024-05-22 16:14           ` Maxim Cournoyer
  2024-05-31 15:43             ` Simon Tournier
  0 siblings, 1 reply; 8+ messages in thread
From: Maxim Cournoyer @ 2024-05-22 16:14 UTC (permalink / raw)
  To: Simon Tournier
  Cc: 59579, glv, 宋文武, Clément Lassieur

Hi Simon,

Simon Tournier <zimon.toutoune@gmail.com> writes:

> Hi Maxim,
>
> On ven., 17 mai 2024 at 23:10, Maxim Cournoyer <maxim.cournoyer@gmail.com> wrote:
>
>> Just to be sure, do you have default XDG_* environment variables as
>> configured by guix-install.sh:
>
> Hum, no I did not have all these default.  It had been introduced after
> my install of Guix, I guess. :-)
>
>> --8<---------------cut here---------------start------------->8---
>> export XCURSOR_PATH="${XCURSOR_PATH:-/usr/local/share/icons:/usr/share/icons}"
>> export XDG_DATA_HOME="${XDG_DATA_HOME:-$HOME/.local/share}"
>> export XDG_CONFIG_HOME="${XDG_CONFIG_HOME:-$HOME/.config}"
>> export XDG_STATE_HOME="${XDG_STATE_HOME:-$HOME/.local/state}"
>> export XDG_DATA_DIRS="${XDG_DATA_DIRS:-/usr/local/share/:/usr/share/}"
>> export XDG_CONFIG_DIRS="${XDG_CONFIG_DIRS:-/etc/xdg}"
>> export XDG_CACHE_HOME="${XDG_CACHE_HOME:-$HOME/.cache}",
>> --8<---------------cut here---------------end--------------->8---
>>
>> I think their absence used to cause this sort of behavior, since Guix
>> setting it to something would wholly override the distribution-provided
>> files.
>
> Maybe we could add a short paragraph/section about that XDG_* variables
> under (guix) Application Setup [1].  Although etc/guix-install.sh
> already does the correct thing, it could be helpful if people tweak
> stuff, I mean, always good to shortly document typical annoyances. :-)
>
> 1: https://guix.gnu.org/manual/devel/en/guix.html#Application-Setup

That'd be a welcome improvement!  It'd be nice before if you could
confirm/infirm whether this was truly the issue, if you still have
access to the VM.

-- 
Thanks,
Maxim




^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#59579: installing zbar prevents gdm to start on Ubuntu 22.04 foreign distro
  2024-05-22 16:14           ` Maxim Cournoyer
@ 2024-05-31 15:43             ` Simon Tournier
  0 siblings, 0 replies; 8+ messages in thread
From: Simon Tournier @ 2024-05-31 15:43 UTC (permalink / raw)
  To: Maxim Cournoyer
  Cc: 59579, glv, Clément Lassieur, 宋文武

Hi Maxim,

On Wed, 22 May 2024 at 12:14, Maxim Cournoyer <maxim.cournoyer@gmail.com> wrote:

> That'd be a welcome improvement!  It'd be nice before if you could
> confirm/infirm whether this was truly the issue, if you still have
> access to the VM.

Sadly, I do not have access anymore to this configuration.  I just
remember that I tweaked more than once some XDG_* variables.  They
introduced conflicts… I remember one specifically where I was unable to
login under X.

If I am able to replay some scenario, I will propose a paragraph. :-)

Let keep it open for some next weeks and close then since there is not
known issue with the current default provide by guix-install.sh.

Cheers,
simon




^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2024-05-31 16:38 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-25 17:45 bug#59579: installing zbar prevents gdm to start on Ubuntu 22.04 foreign distro Clément Lassieur
2023-01-26 17:10 ` Simon Tournier
2023-01-31  6:23   ` 宋文武 via Bug reports for GNU Guix
2023-01-31  9:52     ` zimoun
2024-05-18  3:10       ` Maxim Cournoyer
2024-05-22 11:09         ` Simon Tournier
2024-05-22 16:14           ` Maxim Cournoyer
2024-05-31 15:43             ` Simon Tournier

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.