Re: [CentOS] Password manager for the command line ?

2020-11-23 Thread Marek Blaha
There is also a command line interface for keepass - if you wouldn't
mind perl dependency.

https://sourceforge.net/projects/kpcli/

--
Marek Blaha 

Red Hat Czech s.r.o.
Software Engineer

On Mon, Nov 23, 2020 at 9:24 AM Nicolas Kovacs  wrote:
>
> Hi,
>
> On my workstation and my laptop I'm using KeePassXC to store login credentials
> for my websites. The database is stored in my OwnCloud share, so it's
> synchronized between my two computers.
>
> Ideally I'd like to have something similar for my servers, but command-line
> driven. I know these tools exist but I haven't tested them yet. What I have in
> mind is a command-line password manager that stores the database in an
> encrypted database - like KeePassXC - and then I could eventually store this
> file in a private Gitlab repo to centralize it and access it from all my 
> servers.
>
> Can you recommend any particular command line password manager ?
>
> Any recommendations / caveats for this kind of setup ?
>
> Cheers from the locked down South of France,
>
> Niki
>
> --
> Microlinux - Solutions informatiques durables
> 7, place de l'église - 30730 Montpezat
> Site : https://www.microlinux.fr
> Blog : https://blog.microlinux.fr
> Mail : i...@microlinux.fr
> Tél. : 04 66 63 10 32
> Mob. : 06 51 80 12 12
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] 8-stream dnf overly verbose

2020-12-11 Thread Marek Blaha
On Thu, Dec 10, 2020 at 6:54 PM Pete Biggs  wrote:
>
>
> In moving a test machine from 8.3 to 8-stream the main thing I've
> noticed is that dnf has become very verbose. It's as if someone has
> turned on the -v permanently.
>
> I've tried using '-q' (it says nothing then) and I've tried adjusting
> the debuglevel, but nothing seems to affect it.  I get things like
> this:
>
> Downloading: 
> http://mirrorlist.centos.org/?release=8-stream&arch=x86_64&repo=BaseOS&infra=stock
> Downloading: 
> http://mirror.cov.ukservers.com/centos/8-stream/BaseOS/x86_64/os/repodata/repomd.xml|
>0  B --:-- ETA
> Downloading: 
> http://mirror.cov.ukservers.com/centos/8-stream/BaseOS/x86_64/os/repodata/c2f9210df3e5c24d45228e360eb1f405367c1286d36ec91bf930abb944e3ac44-primary.xml.gz
> Downloading: 
> http://mirror.cov.ukservers.com/centos/8-stream/BaseOS/x86_64/os/repodata/b412debc52ee7c094b8de2c57a0d6d8827828154a6cd0e1995d588273028a4fe-filelists.xml.gz
> Downloading: 
> http://mirror.cov.ukservers.com/centos/8-stream/BaseOS/x86_64/os/repodata/6cd252c469b0dd0c67bc8d8b4ab2df44fb24de52c93decdfe7acc77b97361490-comps-BaseOS.x86_64.xml.xz
> CentOS Stream 8 - BaseOS  
>13 MB/s | 2.3 M
>
> For every repo when there's nothing cached. It never used to do this.
> How can I turn off the "Downloading:" messages?
>
> P.

The problem is that the version of dnf in CentOS stream does not match
the version of libdnf used.
I've filed a bug: https://bugzilla.redhat.com/show_bug.cgi?id=1906839
on CentOS Stream distribution.

M.

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] YUM4/DNF for CentOS updates announcement

2018-04-13 Thread Marek Blaha
I am pleased to announce some significant updates to our ConfigManagement
Special Interest Group for YUM4. This provides YUM4, based on DNF
technology, for testing on CentOS Linux 7/x86_64. These updates are based
on feedback from our prior test release last October. It includes signed
packages, core DNF plugins, and uses a version of RPM very similar to and
compatible with the upcoming version of CentOS 7.5.

This initiative is based on a partnership with the upstream YUM and DNF
maintainers for the future of package management. Our testing thus far
indicates no major problems, but we would love to find out how it fits into
your existing YUM 3 workflows. So please consider filling out the short
survey - your feedback helps us all get better.

YUM 4 provides significant improvements such as fast dependency resolution
and a stable, documented API. See the references below for detailed
improvements. We have made every effort to preserve the existing end-user
experience that is available with YUM 3. This is the primary reason for
making YUM 4 available for testing now.

For detailed information and instructions to install YUM4 on your CentOS
machine, please visit our wiki:
https://wiki.centos.org/SpecialInterestGroup/ConfigManagementSIG/YUM4

And remember to submit feedback in the short survey to help us understand
how it can be improved further:
https://goo.gl/forms/H1SL1HaEjdV9EUGH3

Many thanks to the CentOS Project team for their assistance in making this
happen!

Regards,

Marek Blaha
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Problem with cr repo.

2018-04-30 Thread Marek Blaha
I can achieve the same error by
removing /usr/lib/python2.7/site-packages/urllib3/packages/ssl_match_hostname
and creating the directory in the same location instead.
So solution can be just removing this directory (or just renaming it):

# mv /usr/lib/python2.7/site-packages/urllib3/packages/ssl_match_
hostname
/usr/lib/python2.7/site-packages/urllib3/packages/ssl_match_hostname.backup

# yum update python-urllib3

M.

--
Marek Blaha 

Red Hat Czech s.r.o.
Software Engineer

On Mon, Apr 30, 2018 at 3:04 PM,  wrote:

> Hi,
>
> I am having a problem with yum update from the cr repo.
> Below is the output of yum:
>
> (vgeppetto2 pts4) # yum update
> Loaded plugins: changelog, fastestmirror, priorities
> Loading mirror speeds from cached hostfile
>  * epel: mirror.cogentco.com
> 171 packages excluded due to repository priority protections
> Resolving Dependencies
> --> Running transaction check
> ---> Package python-urllib3.noarch 0:1.10.2-3.el7 will be updated
> ---> Package python-urllib3.noarch 0:1.10.2-5.el7 will be an update
> --> Finished Dependency Resolution
>
> Dependencies Resolved
>
> 
> 
> 
> ===
>  Package Arch
>   Version
>Repository   Size
> 
> 
> 
> ===
> Updating:
>  python-urllib3  noarch
>   1.10.2-5.el7
>   cr  102 k
>
> Transaction Summary
> 
> 
> 
> ===
> Upgrade  1 Package
>
> Total download size: 102 k
> Is this ok [y/d/N]: y
> Downloading packages:
> python-urllib3-1.10.2-5.el7.noarch.rpm
>
>   | 102 kB  00:00:00 Running
> transaction check
> Running transaction test
> Transaction test succeeded
> Running transaction
>   Updating   : python-urllib3-1.10.2-5.el7.noarch
>
>   1/2 Error
> unpacking rpm package python-urllib3-1.10.2-5.el7.noarch
> error: unpacking of archive failed on file /usr/lib/python2.7/site-packag
> es/urllib3/packages/ssl_match_hostname: cpio: rename
>   Verifying  : python-urllib3-1.10.2-5.el7.noarch
>
>   1/2
> python-urllib3-1.10.2-3.el7.noarch was supposed to be removed but is not!
>   Verifying  : python-urllib3-1.10.2-3.el7.noarch
>
>   2/2
>
> Failed:
>   python-urllib3.noarch 0:1.10.2-3.el7
>  python-urllib3.noarch 0:1.10.2-5.el7
>
> Complete!
> (vgeppetto2 pts4) #
>
> Can someone look at this and tell me if this is a packaging problem or
> a problem with my machine and how to fix it?
>
> I ran yum clean metadata before the yum update run but no change.
>
> Regards,
>
>
> --
> Tom m...@tdiehl.org
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] how to reinit an own repo after adding files?

2019-10-20 Thread Marek Blaha
Please, could you share more information about this issue (the steps
how to reproduce would be perfect)? There was a similar bug filed on
Fedora/dnf but without reliable reporoducer yet -
https://bugzilla.redhat.com/show_bug.cgi?id=1750152. Feel free to add
a comment with the reproducer to this bug and re-open it or file a new
one if your issue looks different.

Marek

--
Marek Blaha 

On Sun, Oct 20, 2019 at 5:29 PM Ralf Prengel  wrote:
>
> Yes,
> I will check it again tomorrow in the office.
>
> Von meinem iPad gesendet
>
> > Am 20.10.2019 um 14:46 schrieb Pete Biggs :
> >
> > 
> >> Im using createrepo.
> >> The problem is that changes in the repo are not availiable via yum on my 
> >> system.
> >>
> > Are you using createrepo every time you make any changes? You need to
> > do that in order to re-create the XML metadata containing the updated
> > packages.
> >
> > P.
> >
> >
> > ___
> > CentOS mailing list
> > CentOS@centos.org
> > https://lists.centos.org/mailman/listinfo/centos
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Problems with reposync and createrepo on CentOS 7 for RHEL8/CentOS8 repo?

2020-02-25 Thread Marek Blaha
Hi,
I tried to reproduce the issue but without success, everything seems
to be working fine (I've copied
repodata directory created by the reposync on Centos7 machine to RHEL8
server to /tmp/pg12repo directory):

RHEL8 # dnf search postgresql12 --repofrompath=a,/tmp/pg12repo --repoid=a
Added a repo from /tmp/pg12repo
a
 204 MB/s | 784 kB 00:00
 Name Exactly Matched:
postgresql12 
postgresql12.x86_64 : PostgreSQL client programs and libraries
=== Name & Summary Matched:
postgresql12 ===
postgresql12-debugsource.x86_64 : Debug sources for package postgresql12
postgresql12-debuginfo.x86_64 : Debug information for package postgresql12
postgresql12-libs-debuginfo.x86_64 : Debug information for package
postgresql12-libs
postgresql12-test-debuginfo.x86_64 : Debug information for package
postgresql12-test
postgresql12-devel-debuginfo.x86_64 : Debug information for package
postgresql12-devel
postgresql12-pltcl-debuginfo.x86_64 : Debug information for package
postgresql12-pltcl
postgresql12-plperl-debuginfo.x86_64 : Debug information for package
postgresql12-plperl
postgresql12-server-debuginfo.x86_64 : Debug information for package
postgresql12-server
postgresql12-contrib-debuginfo.x86_64 : Debug information for package
postgresql12-contrib
postgresql12-llvmjit-debuginfo.x86_64 : Debug information for package
postgresql12-llvmjit
postgresql12-plpython-debuginfo.x86_64 : Debug information for package
postgresql12-plpython
postgresql12-plpython3-debuginfo.x86_64 : Debug information for
package postgresql12-plpython3
 Name Matched: postgresql12

postgresql12-docs.x86_64 : Extra documentation for PostgreSQL
postgresql12-libs.x86_64 : The shared libraries required for any
PostgreSQL clients
postgresql12-odbc.x86_64 : PostgreSQL ODBC driver
postgresql12-test.x86_64 : The test suite distributed with PostgreSQL
postgresql12-devel.x86_64 : PostgreSQL development header files and libraries
postgresql12-pltcl.x86_64 : The Tcl procedural language for PostgreSQL
postgresql12-plperl.x86_64 : The Perl procedural language for PostgreSQL
postgresql12-server.x86_64 : The programs needed to create and run a
PostgreSQL server
postgresql12-contrib.x86_64 : Contributed source and binaries
distributed with PostgreSQL
postgresql12-llvmjit.x86_64 : Just-in-time compilation support for PostgreSQL
postgresql12-plpython.x86_64 : The Python procedural language for PostgreSQL
postgresql12-plpython3.x86_64 : The Python3 procedural language for PostgreSQL

Are you sure that the packages from the 'reposync
--repoid=pgdg12-rhel8 --download_path=/repo/8'
were correctly downloaded? For deeper investigation the generated
repository metadata
(/repo/8/pgdg12-rhel8/repodata directory) would be needed.
As far as your question is concerned - no, I do not see anything you forgot.

M.

--
Marek Blaha 

Red Hat Czech s.r.o.
Software Engineer

--
Marek Blaha 

Red Hat Czech s.r.o.
Software Engineer


On Mon, Feb 24, 2020 at 11:45 AM  wrote:
>
> Hi,
>
> I'm trying to mirror the PostgreSQL12 RHEL8 repo:
>
> https://download.postgresql.org/pub/repos/yum/12/redhat/rhel-8-x86_64/
>
>
> [root@cobbler yum.repos.d]# cat pgdg-12-centos8.repo
>
> # PGDG Red Hat Enterprise Linux / CentOS stable repositories:
>
> [pgdg12-rhel8]
> name=PostgreSQL 12 for RHEL/CentOS $releasever - $basearch
> baseurl=https://download.postgresql.org/pub/repos/yum/12/redhat/rhel-8-x86_64
> enabled=1
> gpgcheck=1
> gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-PGDG
>
> # Source RPMs (SRPM), and their testing repositories:
>
>
> Then I run:
>
> reposync --repoid=pgdg12-rhel8 --download_path=/repo/8
>
>
> createrepo /repo/8/pgdg12-rhel8
>
>
> However, when I try to install it on the target-server, it just doesn't
> find the postgresql12 binaries.
>
> [root@my-db11-test yum.repos.d]# dnf search postgresql12
> Last metadata expiration check: 0:24:06 ago on Mon 24 Feb 2020 11:18:20
> AM CET.
> 
> Name & Summary Matched: postgresql12
> =
> postgresql12-debugsource.x86_64 : Debug sources for package postgresql12
> postgresql12-debuginfo.x86_64 : Debug information for package
> postgresql12
> postgresql12-libs-debuginfo.x86_64 : Debug information for package
> postgresql12-libs
> postgresql12-test-debuginfo.x86_64 : Debug information for package
> postgresql12-test
> postgresql12-devel-debuginfo.x86_64 : Debug information for package
> postgresql12-devel
> postgresql12-pltcl-debu