Results 1 to 6 of 6

Thread: glibc missing /etc/gai.conf

  1. #1

    Default glibc missing /etc/gai.conf

    Hello,

    It appears that /etc/gai.conf is not included in glibc anymore with any 15.3 glibc package, but it is found in /usr/share/doc/packages/glibc/gai.conf. Oddly enough, the 2.31 package 404s at the "official release" link on https://software.opensuse.org/package/glibc.

    When I run
    Code:
    rpm -ql glibc-2.31-150300.9.12.1.x86_64
    it claims that /etc/gai.conf is part of the package, but if I open the package in Ark it is not.

    Code:
    Testhost:/usr/share/doc/packages/glibc # rpm -ql glibc-2.31-150300.9.12.1.x86_64
    /etc/bindresvport.blacklist
    /etc/default/nss
    /etc/gai.conf
    /etc/ld.so.cache
    /etc/ld.so.conf
    /etc/nsswitch.conf
    /etc/rpc
    /lib64/ld-2.31.so
    /lib64/ld-linux-x86-64.so.2
    /lib64/ld-lsb-x86-64.so.3
    /lib64/libBrokenLocale-2.31.so
    /lib64/libBrokenLocale.so.1
    /lib64/libSegFault.so
    /lib64/libanl-2.31.so
    /lib64/libanl.so.1
    /lib64/libc-2.31.so
    /lib64/libc.so.6
    /lib64/libdl-2.31.so
    /lib64/libdl.so.2
    /lib64/libm-2.31.so
    /lib64/libm.so.6
    /lib64/libmvec-2.31.so
    /lib64/libmvec.so.1
    /lib64/libnsl-2.31.so
    /lib64/libnsl.so.1
    /lib64/libnss_compat-2.31.so
    /lib64/libnss_compat.so.2
    /lib64/libnss_db-2.31.so
    /lib64/libnss_db.so.2
    /lib64/libnss_dns-2.31.so
    /lib64/libnss_dns.so.2
    /lib64/libnss_files-2.31.so
    /lib64/libnss_files.so.2
    /lib64/libnss_hesiod-2.31.so
    /lib64/libnss_hesiod.so.2
    /lib64/libpthread-2.31.so
    /lib64/libpthread.so.0
    /lib64/libresolv-2.31.so
    /lib64/libresolv.so.2
    /lib64/librt-2.31.so
    /lib64/librt.so.1
    /lib64/libthread_db-1.0.so
    /lib64/libthread_db.so.1
    /lib64/libutil-2.31.so
    /lib64/libutil.so.1
    /sbin/ldconfig
    /usr/bin/gencat
    /usr/bin/getconf
    /usr/bin/getent
    /usr/bin/iconv
    /usr/bin/ldd
    /usr/bin/locale
    /usr/bin/localedef
    /usr/lib/getconf
    /usr/lib/getconf/POSIX_V6_LP64_OFF64
    /usr/lib/getconf/POSIX_V7_LP64_OFF64
    /usr/lib/getconf/XBS5_LP64_OFF64
    /usr/lib/getconf/getconf
    /usr/sbin/iconvconfig
    /usr/share/doc/packages/glibc
    /usr/share/doc/packages/glibc/gai.conf
    /usr/share/licenses/glibc
    /usr/share/licenses/glibc/LICENSES
    /usr/share/man/man1/gencat.1.gz
    /usr/share/man/man1/getconf.1.gz
    /usr/share/man/man5/locale.alias.5.gz
    /var/cache/ldconfig

    I have another custom package that patches /etc/gai.conf to disable IPv6. Am ok to copy and paste the /usr/share/doc/packages/glibc/gai.conf in /etc/gai.conf and then patch? Will that have the same behavior as it once did?

    Thank you for any help.

  2. #2
    Join Date
    Sep 2012
    Posts
    7,852

    Default Re: glibc missing /etc/gai.conf

    Quote Originally Posted by Pickle View Post
    Oddly enough, the 2.31 package 404s at the "official release" link on https://software.opensuse.org/package/glibc.
    Congratulations, you found yet another bug in software.o.o. Care to report at https://github.com/openSUSE/software-o-o?

    When I run
    Code:
    rpm -ql glibc-2.31-150300.9.12.1.x86_64
    it claims that /etc/gai.conf is part of the package, but if I open the package in Ark it is not.
    This is ghost file, which means it is not included in RPM package. In any case, default /etc/gai.conf contained only comments, which means removing it has no impact.

  3. #3

    Default Re: glibc missing /etc/gai.conf

    That's for you reply, I've submitted a bug.

  4. #4
    Join Date
    Sep 2012
    Posts
    7,852

    Default Re: glibc missing /etc/gai.conf

    Quote Originally Posted by Pickle View Post
    I've submitted a bug.
    Where is a bug here? Search Google for "rpm ghost file".

  5. #5

    Default Re: glibc missing /etc/gai.conf

    I have it:
    Code:
    :~> rpm -qf /etc/gai.conf
    glibc-2.31-150300.26.5.x86_64
    Code:
    :~> LANG=C zypper se -si glibc
    Loading repository data...
    Reading installed packages...
    
    S  | Name                    | Type    | Version          | Arch   | Repository
    ---+-------------------------+---------+------------------+--------+-------------------------------------------------------------
    i+ | glibc                   | package | 2.31-150300.26.5 | x86_64 | Update repository with updates from SUSE Linux Enterprise 15
    i+ | glibc-32bit             | package | 2.31-150300.26.5 | x86_64 | Update repository with updates from SUSE Linux Enterprise 15
    i+ | glibc-devel             | package | 2.31-150300.26.5 | x86_64 | Update repository with updates from SUSE Linux Enterprise 15
    i+ | glibc-extra             | package | 2.31-150300.26.5 | x86_64 | Update repository with updates from SUSE Linux Enterprise 15
    i+ | glibc-info              | package | 2.31-150300.26.5 | noarch | Update repository with updates from SUSE Linux Enterprise 15
    i+ | glibc-lang              | package | 2.31-150300.26.5 | noarch | Update repository with updates from SUSE Linux Enterprise 15
    i+ | glibc-locale            | package | 2.31-150300.26.5 | x86_64 | Update repository with updates from SUSE Linux Enterprise 15
    i+ | glibc-locale-base       | package | 2.31-150300.26.5 | x86_64 | Update repository with updates from SUSE Linux Enterprise 15
    i+ | glibc-locale-base-32bit | package | 2.31-150300.26.5 | x86_64 | Update repository with updates from SUSE Linux Enterprise 15
    i+ | linux-glibc-devel       | package | 5.3-3.2.10       | x86_64 | Update repository with updates from SUSE Linux Enterprise 15
    ILL error in repo "Update repository with updates from SUSE Linux Enterprise 15".

    Post
    Code:
    zypper lr -d

  6. #6

    Default Re: glibc missing /etc/gai.conf

    Sorry, wrong pocket. It is here: https://download.opensuse.org/update...6.5.x86_64.rpm

    Problems could be with "Update repository with debuginfo for updates from SUSE Linux Enterprise 15".

    File can be copied to appropriate location during installation or changing system settings.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •