Re: dropin usage?

2016-03-31 Thread Elan Ruusamäe

On 31.03.2016 18:48, Jakub Bogusz wrote:

So I am one of 93 victims...

so lets add grep -a there!

--
glen

___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


Re: dropin usage?

2016-03-31 Thread Jakub Bogusz
I noticed that dropin=git=cvs, to which I have ssh access...
so I could investigate something.

And it seems to be grep vs non-ascii issue.
As I found, dropin authorized_keys is constructed from git's
authorized_keys using (among others):
  grep '^command' $HOME/.ssh/authorized_keys

$ grep ^command /home/services/git/.ssh/authorized_keys | wc -l
101
(and the last line is "Binary file /home/services/git/.ssh/authorized_keys 
matches")

$ LC_ALL=pl_PL.ISO-8859-2 grep ^command
/home/services/git/.ssh/authorized_keys | wc -l
193

So I am one of 93 victims...

This behaviour is triggered by entry containing non-ascii/non-UTF
characters: 

$ grep -v '^[-a-zA-Z0-9,.@ "=/+_:<>#]*$' /tmp/git-authkeys
command="/usr/bin/gl-auth-command 
klakier",no-port-forwarding,no-X11-forwarding,no-pty 1024 35 [...] klakier@żółw


-- 
Jakub Boguszhttp://qboosh.pl/
___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


Re: ncurses upgrade

2016-03-31 Thread Michael Shigorin
On Thu, Mar 31, 2016 at 02:58:40PM +0300, Elan Ruusamäe wrote:
> >> ldconfig is present in ncurses package post and postun!
> > posstrans filetriggers help against that kind of duplication, btw...
> does rpm5 have filetriggers? afaik it does not.

5.4.17 FR? :)

-- 
  WBR, Michael Shigorin / http://altlinux.org
  -- http://opennet.ru / http://anna-news.info
___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


Re: ncurses upgrade

2016-03-31 Thread Elan Ruusamäe

On 31.03.2016 14:53, Michael Shigorin wrote:

On Thu, Mar 31, 2016 at 02:21:13PM +0300, Elan Ruusamäe wrote:

ldconfig is present in ncurses package post and postun!

posstrans filetriggers help against that kind of duplication, btw...



does rpm5 have filetriggers? afaik it does not.

--
glen

___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


Re: ncurses upgrade

2016-03-31 Thread Michael Shigorin
On Thu, Mar 31, 2016 at 02:21:13PM +0300, Elan Ruusamäe wrote:
> ldconfig is present in ncurses package post and postun!

posstrans filetriggers help against that kind of duplication, btw...

-- 
  WBR, Michael Shigorin / http://altlinux.org
  -- http://opennet.ru / http://anna-news.info
___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


ncurses upgrade

2016-03-31 Thread Elan Ruusamäe
seems rpm (or our packaging?) sucks again, it "forgot" to run ldconfig 
*again* when updating ncurses:


these are recently upgrade packages:

Thu Mar 31 12:45:19 2016 lz4-libs-r131-4.x86_64
Thu Mar 31 12:45:19 2016 nagios-plugin-check_poldek-0.8-4.noarch
Thu Mar 31 12:45:19 2016 ncurses-6.0.20151128-1.x86_64
Thu Mar 31 12:45:19 2016 ncurses-ext-6.0.20151128-1.x86_64
Thu Mar 31 12:45:19 2016 procps-3.3.11-1.x86_64
Thu Mar 31 12:45:19 2016 psmisc-22.21-1.x86_64
Thu Mar 31 12:45:19 2016 python-2.7.11-1.x86_64
Thu Mar 31 12:45:19 2016 python-libs-2.7.11-1.x86_64
Thu Mar 31 12:45:19 2016 python-modules-2.7.11-1.x86_64
Thu Mar 31 12:45:19 2016 systemd-libs-221-13.x86_64

i do not have output of the upgrade because it was automated upgrade, 
but ldconfig is present in ncurses package post and postun!


but it's serious, because hosts became inaccessilble due that:

-bash: error while loading shared libraries: libncursesw.so.6: cannot 
open shared object file: No such file or directory

Connection to georg closed.

unless you have user whose login shell is not /bin/bash.

and it has happened on a lot of hosts here.

--
glen

___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en