xiaoguang wang changed bug 1232669
What Removed Added
CC   xiaoguang.wang@suse.com

Comment # 2 on bug 1232669 from xiaoguang wang
(In reply to Matthias Gerstner from comment #0) 
>       gdm-config smartcard -e
>       (gdm-config:32857): Gdm-CRITICAL **: 17:38:31.688: Failed to handle
> “smartcard” command: Failed to run a required distro hook: No distro
> detected, no hook to run
> 
> It seems during build time of GDM the DISTRO meson option needs to be set and
> a "distro hook" script needs to be specified that performs the necessary
> configuration steps, if any.

In meson.build file There is:
distro_autodetect_map = {
  '/etc/redhat-release': 'redhat',
  '/etc/fedora-release': 'redhat',
  '/etc/exherbo-release': 'exherbo',
  '/etc/arch-release': 'arch',
  '/etc/lfs-release': 'lfs',
}

distro = get_option('distro')
if distro == 'none'
  foreach _file, _pam_conf : distro_autodetect_map
    distro_check = run_command('test', '-f', _file)
    if distro_check.returncode() == 0
      distro = _pam_conf
    endif
  endforeach
endif

# If requested, try autodetecting from release files (see NetworkManager
source)
default_pam_config = get_option('default-pam-config')
if default_pam_config == 'autodetect'
  default_pam_config = distro
endif

Maybe we need add openSUSE release in distro_autodetect_map.


You are receiving this mail because: