Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] samba: Swap libnss_win*.so* files and symlinks
Date: Sun, 21 Dec 2014 23:03:35 +0100	[thread overview]
Message-ID: <20141221230335.48e42b89@free-electrons.com> (raw)
In-Reply-To: <1418570896-3302-1-git-send-email-benoit.thebaudeau.dev@gmail.com>

Dear Beno?t Th?baudeau,

On Sun, 14 Dec 2014 16:28:16 +0100, Beno?t Th?baudeau wrote:
> The libnss_wins and libnss_winbind libraries were installed in this way:
> /lib/libnss_<service>.so
> /lib/libnss_<service>.so.<major> -> /lib/libnss_<service>.so
> 
> This had been done like this in order to get something similar to the
> other NSS libraries, which are usually installed in this way:
> /lib/libnss_<service>-<version>.so
> /lib/libnss_<service>.so.<major> -> /lib/libnss_<service>-<version>.so
> 
> However, besides these files, these other NSS libraries usually come
> installed with:
> /usr/lib/libnss_<service>.so -> /lib/libnss_<service>.so.<major>
> 
> This means that the NSS libraries follow the usual library installation
> practice, i.e. that the non-versioned .so is a symlink to the versioned
> .so, so that switching versions is easy. In the case of the NSS
> libraries, the versioned .so is just also a symlink to a .so with a more
> accurate version.
> 
> Hence, follow the same rules for libnss_win*.so*, and install these
> libraries the other way around:
> /lib/libnss_<service>.so -> /lib/libnss_<service>.so.<major>
> /lib/libnss_<service>.so.<major>
> 
> This is also how these libraries are installed by a major OS like Ubuntu
> 14.10:
> /lib/x86_64-linux-gnu/libnss_winbind.so -> libnss_winbind.so.2
> /lib/x86_64-linux-gnu/libnss_winbind.so.2
> /lib/x86_64-linux-gnu/libnss_wins.so -> libnss_wins.so.2
> /lib/x86_64-linux-gnu/libnss_wins.so.2
> 
> Signed-off-by: Beno?t Th?baudeau <benoit.thebaudeau.dev@gmail.com>

Applied, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

      reply	other threads:[~2014-12-21 22:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-14 15:28 [Buildroot] [PATCH] samba: Swap libnss_win*.so* files and symlinks Benoît Thébaudeau
2014-12-21 22:03 ` Thomas Petazzoni [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20141221230335.48e42b89@free-electrons.com \
    --to=thomas.petazzoni@free-electrons.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox