Re: [CentOS] How do I actaully get the current sources from centos-git?

2018-08-06 Thread Fabian Arrotin
On 06/08/18 15:15, m...@tdiehl.org wrote:
> Hi,
> 
> I am trying to retrieve the srpm for the latest centos-release pacakge
> from centos-git by following the instructions @
> https://wiki.centos.org/Sources.
> 
> If I run the following commands:
> git clone  https://git.centos.org/git/rpms/centos-release.git
> cd centos-release/
> git checkout c7
> ~/centos-git-common/get_sources.sh
> 
> Everything completes without error. The problem is that the sources that
> get
> downloaded are not for 1804.
> 
> (vgeppetto2 pts21) $ ll SOURCES/ SPECS/
> SOURCES/:
> total 28
> -rw-rw-r--. 1 mock mock  1584 Aug  6 08:19 1000-centos-release-cr.patch
> -rw-rw-r--. 1 mock mock   264 Aug  6 08:19 85-display-manager.preset
> -rw-rw-r--. 1 mock mock  2439 Aug  6 08:19 90-default.preset
> -rw-rw-r--. 1 mock mock 12799 Aug  6 08:20 centos-release-7-1.1503.tar.gz
> 
> SPECS/:
> total 8
> -rw-rw-r--. 1 mock mock 6471 Aug  6 08:19 centos-release.spec
> (vgeppetto2 pts21) $grep "define upstream_rel" SPECS/centos-release.spec
> %define upstream_rel 7.3
> (vgeppetto2 pts21) $
> 
> So if I am reading things correctly, it looks like the SOURCES are for
> 1503 and the spec file is for 1611.
> 
> Can someone please explain to me how to actually get the current SOURCES
> and SPEC for centos-release-7-5.1804.1 from centos git?
> 
> To be clear I know I can get the srpm from vault but I would like to
> understand
> how to work centos git.
> 
> Regards,
> 

I'll let Johnny comment on that but normally (if he has rights to push
to Sources) he's supposed to git commit & push to git and also push
binary sources to git.centos.org/sources/

But iirc, he reported that he had issues pushing to that area, so only
way to retrieve it was to use the src.rpm pkg pushed to vault.centos.org

-- 
Fabian Arrotin
The CentOS Project | https://www.centos.org
gpg key: 56BEC54E | twitter: @arrfab



signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] SSSD and cache persistence

2018-08-06 Thread Gordon Messmer

On 08/06/2018 03:16 AM, Pete Biggs wrote:

If the cache is invalid SSS will, obviously, go back to the source and
return the information there, however, bizarrely, if the original
source doesn't have the information (like when a user is deleted) the
cached information is still returned. That cached information is
retained for ever it seems so my supposedly deleted user accounts still
appear to be active on the machines.



Best practice is to lock accounts, and not to delete them.

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


Re: [CentOS] making my own group repo - Re: Back to Xfce

2018-08-06 Thread Robert Moskowitz

I tried doing it simpler.

installed yum-utils.  Ran:

yum-groups-manager -n "xfce-desktop" --id=Xfce --save=Xfce.xml 
--mandatory yum Thunar xfce-utils xfce4-panel xfce4-session 
xfce4-settings xfconf xfdesktop xfwm4 gdm leafpad openssh-askpass orage 
polkit-gnome thunar-archive-plugin thunar-volman tumbler xfce4-appfinder 
xfce4-icon-theme xfce4-power-manager xfce4-session-engines 
xfce4-terminal xfwm4-theme-nodoka xfwm4-themes pinentry


This created





  
   xfce
   false
   true
   1024
   xfce-desktop
   
    
  Thunar
  gdm
  openssh-askpass
  orage
  polkit-gnome
  thunar-volman
  tumbler
  xfce4-appfinder
  xfce4-panel
  xfce4-power-manager
  xfce4-session
  xfce4-settings
  xfconf
  xfdesktop
  xfwm4
  yum
    
  


/root/myrepo is an empty directory, and ran

createrepo -g /root/Xfce.xml /root/myrepo


Then:

yum group install Xfce
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Failed to add groups file for repository: myrepo - comps file is 
empty/damaged

Warning: group Xfce does not exist.
Maybe run: yum groups mark install (see man yum)
Error: No packages in any requested group available to install or update

Looks like I need better instructions...



On 08/06/2018 05:34 PM, Robert Moskowitz wrote:
I tried making my own repo with just the groups in them and I got an 
error


I used:

#createrepo -g /root/mygroups.xml /root/myrepo
Saving Primary metadata
Saving file lists metadata
Saving other metadata
Generating sqlite DBs
Sqlite DBs complete


Where /root/mygroup.xml is attached below.

Then I made:

cat > /etc/yum.repos.d/myrepo.repo << EOF
[myrepo]
name=My repo for armhfp
baseurl=file:///root/myrepo/
enabled=1
gpgcheck=0

EOF

when I tried

yum group list

I got the error:

Failed to add groups file for repository: myrepo - comps file is 
empty/damaged


Perhaps my xml is too complex.  I made it by deleting most of the 
Centos and EPEL ones:


(Maybe I should cut out all the 'extra' stuff?)

all help greatly appreciated.




  
    x11
    X Window System
    X Window-stelsel
    X Window-stelsel
    የX መስኮት ሲስተም
    نظام نوافذ X
    X উইন্ডো চিস্টেম
    سیستم ویندو X
    X Window System
    Система за прозорци Х
    X উইন্ডো সিস্টেম
    X উইন্ডো সিস্টেম
    X sustav prozora
    Sistema de finestres X
    X Window System
    X Window System
    System Ffenestri X
    Vinduessystemet X
    X-Window-System
    X-Window-System
    Παραθυρικό σύστημα Χ
    X Window System
    Sistema X Window
    Sistema X Window
    X Window süsteem
    X leiho sistema
    X leiho sistema
    سیستم پنجره‌ای X
    سیستم پنجره‌ای X
    X-ikkunointijärjestelmä
    Système X Window
    Sistema X Window
    X વિન્ડો સિસ્ટમ
    סביבת החלונות X
    X विंडो सिस्टम
    X sustav prozora
    X sustav prozora
    X Window System grafikus rendszer
    X պատուհանների համակարգ
    Systema X Window
    Sistem X Window
    Sistema ti X Window
    X gluggakerfið
    Sistema X Window
    Sistema X Window
    X Window System
    X Window System
    X Window ವ್ಯವಸ್ಥೆ
    X 윈도우 시스템
    X Window sistēma
    X विंडो सिस्टम
    X графички систем
    X Window സിസ്റ്റം
    X विंडो प्रणाली
    Sistem X Window
    Sistem X Window
    X-vindussystemet
    X सञ्झ्याल प्रणाली
    X Window systeem
    X-vindussystemet
    Tshepedišo ya Lefesetere la X
    X ୱିଣ୍ଡୋ ତନ୍ତ୍ର
    X ਵਿੰਡੋ ਸਿਸਟਮ
    System X Window
    Sistema de Janelas X
    Sistema de Janelas X
    Sistemul de ferestre X
    Система X Window
    Система X Window
    X කවුළු පද්ධතිය
    X Window systém
    Okenski sistem X
    Sistemi X i Dritareve
    Икс систем прозора
    X sistem prozora
    X sistem prozora
    Fönstersystemet X
    X விண்டோ அமைப்பு
    X விண்டோ அமைப்பு
    X విండో విధానం
    Системаи X Window
    ระบบ X Window
    X Pencere Sistemi
    Система X Window
    Система X Window
    ونڈوز نظام X
    X Window System
    X 視窗系統
    X 窗口系统
    X 視窗系統
    X Isistimu Yewindi
    X Window System Support.
    X উইন্ডো চিস্টেম সমৰ্থন।
    X Window সিস্টেম সমর্থন।
    X Window সিস্টেম সমর্থন।
    Podpora pro X Window System.
    Podpora pro X Window 
System.
    xml:lang="de">X-Window-System-Unterstützung.
    xml:lang="de_CH">X-Window-System-Unterstützung.
    Soporte para sistema X 
Window.
    Soporte para sistema X 
Window.
    Prise en charge X Window 
System.

    X વિન્ડો સિસ્ટમ આધાર.
    X विंडो तंत्र समर्थन.
    Supporto pro le systema X 
Window.

    Supporto sistema X Window.
    Supporto sistema X 
Window.

    X Window システムのサポート
    X Window 
システムのサポート

    X ವಿಂಡೊ ವ್ಯವಸ್ಥೆಯ ಬೆಂಬಲ.
    X 윈도우 지원.
    X വിന്‍ഡോ സിസ്റ്റം പിന്തുണ.
    X Window प्रणाली समर्थन.
    X ୱିଣ୍ଡୋ ତନ୍ତ୍ର ସମର୍ଥନ।
    X ਵਿੰਡੋ ਸਿਸਟਮ ਸਮਰਥਨ।
    Obsługa systemu X Window.
    Поддержка системы X Window.
    Поддержка системы X 
Window.

    Stöd för fönstersystemet X.
    X விண்டோ கணினி சேவை.
    X விண்டோ கணினி சேவை.
    X విండో సిస్టమ్ మద్దతు.
    Підтримка системи X Window.
    Підтримка системи

[CentOS] making my own group repo - Re: Back to Xfce

2018-08-06 Thread Robert Moskowitz
I tried making my own repo with just the groups in them and I got an 
error


I used:

#createrepo -g /root/mygroups.xml /root/myrepo
Saving Primary metadata
Saving file lists metadata
Saving other metadata
Generating sqlite DBs
Sqlite DBs complete


Where /root/mygroup.xml is attached below.

Then I made:

cat > /etc/yum.repos.d/myrepo.repo << EOF
[myrepo]
name=My repo for armhfp
baseurl=file:///root/myrepo/
enabled=1
gpgcheck=0

EOF

when I tried

yum group list

I got the error:

Failed to add groups file for repository: myrepo - comps file is 
empty/damaged


Perhaps my xml is too complex.  I made it by deleting most of the Centos 
and EPEL ones:


(Maybe I should cut out all the 'extra' stuff?)

all help greatly appreciated.




  
    x11
    X Window System
    X Window-stelsel
    X Window-stelsel
    የX መስኮት ሲስተም
    نظام نوافذ X
    X উইন্ডো চিস্টেম
    سیستم ویندو X
    X Window System
    Система за прозорци Х
    X উইন্ডো সিস্টেম
    X উইন্ডো সিস্টেম
    X sustav prozora
    Sistema de finestres X
    X Window System
    X Window System
    System Ffenestri X
    Vinduessystemet X
    X-Window-System
    X-Window-System
    Παραθυρικό σύστημα Χ
    X Window System
    Sistema X Window
    Sistema X Window
    X Window süsteem
    X leiho sistema
    X leiho sistema
    سیستم پنجره‌ای X
    سیستم پنجره‌ای X
    X-ikkunointijärjestelmä
    Système X Window
    Sistema X Window
    X વિન્ડો સિસ્ટમ
    סביבת החלונות X
    X विंडो सिस्टम
    X sustav prozora
    X sustav prozora
    X Window System grafikus rendszer
    X պատուհանների համակարգ
    Systema X Window
    Sistem X Window
    Sistema ti X Window
    X gluggakerfið
    Sistema X Window
    Sistema X Window
    X Window System
    X Window System
    X Window ವ್ಯವಸ್ಥೆ
    X 윈도우 시스템
    X Window sistēma
    X विंडो सिस्टम
    X графички систем
    X Window സിസ്റ്റം
    X विंडो प्रणाली
    Sistem X Window
    Sistem X Window
    X-vindussystemet
    X सञ्झ्याल प्रणाली
    X Window systeem
    X-vindussystemet
    Tshepedišo ya Lefesetere la X
    X ୱିଣ୍ଡୋ ତନ୍ତ୍ର
    X ਵਿੰਡੋ ਸਿਸਟਮ
    System X Window
    Sistema de Janelas X
    Sistema de Janelas X
    Sistemul de ferestre X
    Система X Window
    Система X Window
    X කවුළු පද්ධතිය
    X Window systém
    Okenski sistem X
    Sistemi X i Dritareve
    Икс систем прозора
    X sistem prozora
    X sistem prozora
    Fönstersystemet X
    X விண்டோ அமைப்பு
    X விண்டோ அமைப்பு
    X విండో విధానం
    Системаи X Window
    ระบบ X Window
    X Pencere Sistemi
    Система X Window
    Система X Window
    ونڈوز نظام X
    X Window System
    X 視窗系統
    X 窗口系统
    X 視窗系統
    X Isistimu Yewindi
    X Window System Support.
    X উইন্ডো চিস্টেম সমৰ্থন।
    X Window সিস্টেম সমর্থন।
    X Window সিস্টেম সমর্থন।
    Podpora pro X Window System.
    Podpora pro X Window 
System.

    X-Window-System-Unterstützung.
    xml:lang="de_CH">X-Window-System-Unterstützung.

    Soporte para sistema X Window.
    Soporte para sistema X 
Window.
    Prise en charge X Window 
System.

    X વિન્ડો સિસ્ટમ આધાર.
    X विंडो तंत्र समर्थन.
    Supporto pro le systema X 
Window.

    Supporto sistema X Window.
    Supporto sistema X Window.
    X Window システムのサポート
    X Window システムのサポート
    X ವಿಂಡೊ ವ್ಯವಸ್ಥೆಯ ಬೆಂಬಲ.
    X 윈도우 지원.
    X വിന്‍ഡോ സിസ്റ്റം പിന്തുണ.
    X Window प्रणाली समर्थन.
    X ୱିଣ୍ଡୋ ତନ୍ତ୍ର ସମର୍ଥନ।
    X ਵਿੰਡੋ ਸਿਸਟਮ ਸਮਰਥਨ।
    Obsługa systemu X Window.
    Поддержка системы X Window.
    Поддержка системы X Window.
    Stöd för fönstersystemet X.
    X விண்டோ கணினி சேவை.
    X விண்டோ கணினி சேவை.
    X విండో సిస్టమ్ మద్దతు.
    Підтримка системи X Window.
    Підтримка системи X Window.
    X Window 系統支援。
    X 窗口系统支持。
    X Window 系統支援。
    false
    false
    
  glx-utils
  initial-setup-gui
  mesa-dri-drivers
  plymouth-system-theme
  spice-vdagent
  xorg-x11-drivers
  xorg-x11-server-Xorg
  xorg-x11-utils
  xorg-x11-xauth
  xorg-x11-xinit
  xvattr
  tigervnc-server
  wayland-protocols-devel
  xorg-x11-drv-keyboard
  xorg-x11-drv-libinput
  xorg-x11-drv-mouse
  xorg-x11-drv-openchrome
    
  
  
    xfce-desktop
    Xfce
    Xfce
    Xfce
    Xfce
    Xfce
    Xfce
    Prostředí Xfce
    Xfce
    Xfce
    Xfce
    Xfce
    Xfce
    Xfce
    Xfce
    Xfce
    Xfce
    Xfce
    Xfce
    Xfce
    एक्सएफसीई
    Xfce
    Xfce
    Xfce
    Xfce
    Xfce
    Xfce
    Xfce
    Xfce
    Xfce
    Xfce
    Xfce
    Xfce
    Xfce
    Xfce
    Xfce
    Xfce
    Xfce
    Xfce
    Xfce
    Xfce
    Xfce
    Xfce
    Xfce
    Xfce
    Xfce
    Xfce
    Xfce
    A lightweight desktop environment that works well on 
low end machines.
    'n Liggewig werkskermomgewing wat goed 
werk op stadige rekenaars.
    የቀላል ክብደት ያለው ሠሌዳ አካባኪ በዝቅተኛው ጫፍ የማሽን 
ክፍል የሚሰራ።
    بيئة سطح مكتب خفيفة تعمل جيدا على 
الأجهزة القديمة.
    এটা লঘুভাৰৰ ডেষ্কট'প পৰিবেশ যি নিম্ন 
বিন্যাসৰ যন্ত্ৰত ভালকৈ কাম কৰি ।
    Un entornu d'escritoriu llixeru que 
furrula bien en máqu

Re: [CentOS] Back to Xfce

2018-08-06 Thread Robert Moskowitz



On 08/06/2018 11:51 AM, Tony Schreiner wrote:

On Mon, Aug 6, 2018 at 11:33 AM Robert Moskowitz 
wrote:



On 08/06/2018 11:11 AM, Tony Schreiner wrote:

On Mon, Aug 6, 2018 at 10:55 AM Robert Moskowitz 
wrote:


Nicolas,

Thank you!  But I am Dyslexic and very mono-linguistic; at least I could
read the actual commands, if not all the wonderful comments...

On 08/06/2018 10:26 AM, Nicolas Kovacs wrote:

Le 06/08/2018 à 16:05, Robert Moskowitz a écrit :

But notes that this installs Gnome (which I don't want) and that

instead to

yum groupinstall “X Window System”

But has concerns if this installs all needed followed up with

yum groupinstall "Xfce"

Thing is on armhfp, I do not have “X Window System” or "Xfce"

I can partially answer your question, since I'm running Xfce both on my
workstation and my laptop.

I switched to Xfce with Fedora 20 and have put up with Gnome on my
Centos systems so far.


Here's my custom script that installs a full-blow bells-and-whistles
Xfce desktop from a minimal CentOS installation, without any

unnecessary

packages.



https://github.com/kikinovak/centos-7-desktop-xfce/blob/master/postinstall.sh

Once you've installed the "X Window System" group and you invoke "yum
groupinstall Xfce", the group consists of not much more than a dozen
explicit core packages (Thunar, xfdesktop, xfce4-panel, etc.) and then

-

of course - all the dependencies are installed. Give this a spin on an
x86_64 machine and then write down this relatively short list.

I don't have an x86_64 machine with Centos on it.  I would have to play
with Qemu VM for centos on this Fedora 28 notebook.  All my servers
(other than the ClearOS one) are ARM.

The armhfp repos (including epel) do not have either the "X Windows
System" or "Xfce" (and any sub-groups that calls).  So I am asking for
the content of those groups.  Hopefully the source scripts so I can
modify them (as needed) for armhfp.

It would seem that there is a source file somewhere in the source tree
with the script(s) contents.

thanks



In the file


5307666922f0cd10058b04791f3f596cfcaab48df6fdd6cf847f349bd455e0bd-comps-Everything.x86_64.xml

from the repodata in the Epel 7 repository there is the following for the
Xfce group, is this helpful to you?

Yes!  I can pull out the rpm list and build a file to feed into yum.

Can you point out the URL for all the groups?  I am also going to need
the "X Windows System" group, I believe (and should compare it to the
Server GUI group).

Thanks



The comps file i searched was (for example)

http://fedora-epel.mirror.lstn.net/7/x86_64/repodata/5307666922f0cd10058b04791f3f596cfcaab48df6fdd6cf847f349bd455e0bd-comps-Everything.x86_64.xml

you can choose any Fedora/Epel mirror

But the "X Window System" group is in CentOS base, look for one of those
mirrors (for example)
http://mirror.atlanticmetro.net/centos/7.5.1804/os/x86_64/repodata/d87379a47bc2060f833000b9cef7f9670195fe197271d37fce5791e669265e8b-c7-x86_64-comps.xml

do
grep ""  your-comps.xml-fil
to see all the names
then page it and search for "X Window System" in your case


Big help here.  With this and http://yum.baseurl.org/wiki/YumGroups

I should be able to create my own repo with the groups I need, then hand 
it off to the armhfp maintainers.



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


Re: [CentOS] Back to Xfce

2018-08-06 Thread Tony Schreiner
On Mon, Aug 6, 2018 at 11:33 AM Robert Moskowitz 
wrote:

>
>
> On 08/06/2018 11:11 AM, Tony Schreiner wrote:
> > On Mon, Aug 6, 2018 at 10:55 AM Robert Moskowitz 
> > wrote:
> >
> >> Nicolas,
> >>
> >> Thank you!  But I am Dyslexic and very mono-linguistic; at least I could
> >> read the actual commands, if not all the wonderful comments...
> >>
> >> On 08/06/2018 10:26 AM, Nicolas Kovacs wrote:
> >>> Le 06/08/2018 à 16:05, Robert Moskowitz a écrit :
>  But notes that this installs Gnome (which I don't want) and that
> >> instead to
>  yum groupinstall “X Window System”
> 
>  But has concerns if this installs all needed followed up with
> 
>  yum groupinstall "Xfce"
> 
>  Thing is on armhfp, I do not have “X Window System” or "Xfce"
> >>> I can partially answer your question, since I'm running Xfce both on my
> >>> workstation and my laptop.
> >> I switched to Xfce with Fedora 20 and have put up with Gnome on my
> >> Centos systems so far.
> >>
> >>> Here's my custom script that installs a full-blow bells-and-whistles
> >>> Xfce desktop from a minimal CentOS installation, without any
> unnecessary
> >>> packages.
> >>>
> >>>
> >>
> https://github.com/kikinovak/centos-7-desktop-xfce/blob/master/postinstall.sh
> >>> Once you've installed the "X Window System" group and you invoke "yum
> >>> groupinstall Xfce", the group consists of not much more than a dozen
> >>> explicit core packages (Thunar, xfdesktop, xfce4-panel, etc.) and then
> -
> >>> of course - all the dependencies are installed. Give this a spin on an
> >>> x86_64 machine and then write down this relatively short list.
> >> I don't have an x86_64 machine with Centos on it.  I would have to play
> >> with Qemu VM for centos on this Fedora 28 notebook.  All my servers
> >> (other than the ClearOS one) are ARM.
> >>
> >> The armhfp repos (including epel) do not have either the "X Windows
> >> System" or "Xfce" (and any sub-groups that calls).  So I am asking for
> >> the content of those groups.  Hopefully the source scripts so I can
> >> modify them (as needed) for armhfp.
> >>
> >> It would seem that there is a source file somewhere in the source tree
> >> with the script(s) contents.
> >>
> >> thanks
> >>
> >>
> > In the file
> >
> 5307666922f0cd10058b04791f3f596cfcaab48df6fdd6cf847f349bd455e0bd-comps-Everything.x86_64.xml
> > from the repodata in the Epel 7 repository there is the following for the
> > Xfce group, is this helpful to you?
>
> Yes!  I can pull out the rpm list and build a file to feed into yum.
>
> Can you point out the URL for all the groups?  I am also going to need
> the "X Windows System" group, I believe (and should compare it to the
> Server GUI group).
>
> Thanks
>
>

The comps file i searched was (for example)

http://fedora-epel.mirror.lstn.net/7/x86_64/repodata/5307666922f0cd10058b04791f3f596cfcaab48df6fdd6cf847f349bd455e0bd-comps-Everything.x86_64.xml

you can choose any Fedora/Epel mirror

But the "X Window System" group is in CentOS base, look for one of those
mirrors (for example)
http://mirror.atlanticmetro.net/centos/7.5.1804/os/x86_64/repodata/d87379a47bc2060f833000b9cef7f9670195fe197271d37fce5791e669265e8b-c7-x86_64-comps.xml

do
grep ""  your-comps.xml-fil
to see all the names
then page it and search for "X Window System" in your case
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Back to Xfce

2018-08-06 Thread Robert Moskowitz



On 08/06/2018 11:11 AM, Tony Schreiner wrote:

On Mon, Aug 6, 2018 at 10:55 AM Robert Moskowitz 
wrote:


Nicolas,

Thank you!  But I am Dyslexic and very mono-linguistic; at least I could
read the actual commands, if not all the wonderful comments...

On 08/06/2018 10:26 AM, Nicolas Kovacs wrote:

Le 06/08/2018 à 16:05, Robert Moskowitz a écrit :

But notes that this installs Gnome (which I don't want) and that

instead to

yum groupinstall “X Window System”

But has concerns if this installs all needed followed up with

yum groupinstall "Xfce"

Thing is on armhfp, I do not have “X Window System” or "Xfce"

I can partially answer your question, since I'm running Xfce both on my
workstation and my laptop.

I switched to Xfce with Fedora 20 and have put up with Gnome on my
Centos systems so far.


Here's my custom script that installs a full-blow bells-and-whistles
Xfce desktop from a minimal CentOS installation, without any unnecessary
packages.



https://github.com/kikinovak/centos-7-desktop-xfce/blob/master/postinstall.sh

Once you've installed the "X Window System" group and you invoke "yum
groupinstall Xfce", the group consists of not much more than a dozen
explicit core packages (Thunar, xfdesktop, xfce4-panel, etc.) and then -
of course - all the dependencies are installed. Give this a spin on an
x86_64 machine and then write down this relatively short list.

I don't have an x86_64 machine with Centos on it.  I would have to play
with Qemu VM for centos on this Fedora 28 notebook.  All my servers
(other than the ClearOS one) are ARM.

The armhfp repos (including epel) do not have either the "X Windows
System" or "Xfce" (and any sub-groups that calls).  So I am asking for
the content of those groups.  Hopefully the source scripts so I can
modify them (as needed) for armhfp.

It would seem that there is a source file somewhere in the source tree
with the script(s) contents.

thanks



In the file
5307666922f0cd10058b04791f3f596cfcaab48df6fdd6cf847f349bd455e0bd-comps-Everything.x86_64.xml
from the repodata in the Epel 7 repository there is the following for the
Xfce group, is this helpful to you?


Yes!  I can pull out the rpm list and build a file to feed into yum.

Can you point out the URL for all the groups?  I am also going to need 
the "X Windows System" group, I believe (and should compare it to the 
Server GUI group).


Thanks



 

   Thunar

   xfce-utils

   xfce4-panel

   xfce4-session

   xfce4-settings

   xfconf

   xfdesktop

   xfwm4

   NetworkManager-gnome

   gdm

   leafpad

   openssh-askpass

   orage

   polkit-gnome

   thunar-archive-plugin

   thunar-volman

   tumbler

   xfce4-appfinder

   xfce4-icon-theme

   xfce4-power-manager

   xfce4-pulseaudio-plugin

   xfce4-session-engines

   xfce4-terminal

   xfwm4-theme-nodoka

   xfwm4-themes

   pinentry-gtk

 
___
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] Back to Xfce

2018-08-06 Thread Tony Schreiner
On Mon, Aug 6, 2018 at 10:55 AM Robert Moskowitz 
wrote:

> Nicolas,
>
> Thank you!  But I am Dyslexic and very mono-linguistic; at least I could
> read the actual commands, if not all the wonderful comments...
>
> On 08/06/2018 10:26 AM, Nicolas Kovacs wrote:
> > Le 06/08/2018 à 16:05, Robert Moskowitz a écrit :
> >> But notes that this installs Gnome (which I don't want) and that
> instead to
> >>
> >> yum groupinstall “X Window System”
> >>
> >> But has concerns if this installs all needed followed up with
> >>
> >> yum groupinstall "Xfce"
> >>
> >> Thing is on armhfp, I do not have “X Window System” or "Xfce"
> > I can partially answer your question, since I'm running Xfce both on my
> > workstation and my laptop.
>
> I switched to Xfce with Fedora 20 and have put up with Gnome on my
> Centos systems so far.
>
> > Here's my custom script that installs a full-blow bells-and-whistles
> > Xfce desktop from a minimal CentOS installation, without any unnecessary
> > packages.
> >
> >
> https://github.com/kikinovak/centos-7-desktop-xfce/blob/master/postinstall.sh
> >
> > Once you've installed the "X Window System" group and you invoke "yum
> > groupinstall Xfce", the group consists of not much more than a dozen
> > explicit core packages (Thunar, xfdesktop, xfce4-panel, etc.) and then -
> > of course - all the dependencies are installed. Give this a spin on an
> > x86_64 machine and then write down this relatively short list.
>
> I don't have an x86_64 machine with Centos on it.  I would have to play
> with Qemu VM for centos on this Fedora 28 notebook.  All my servers
> (other than the ClearOS one) are ARM.
>
> The armhfp repos (including epel) do not have either the "X Windows
> System" or "Xfce" (and any sub-groups that calls).  So I am asking for
> the content of those groups.  Hopefully the source scripts so I can
> modify them (as needed) for armhfp.
>
> It would seem that there is a source file somewhere in the source tree
> with the script(s) contents.
>
> thanks
>
>
In the file
5307666922f0cd10058b04791f3f596cfcaab48df6fdd6cf847f349bd455e0bd-comps-Everything.x86_64.xml
from the repodata in the Epel 7 repository there is the following for the
Xfce group, is this helpful to you?



  Thunar

  xfce-utils

  xfce4-panel

  xfce4-session

  xfce4-settings

  xfconf

  xfdesktop

  xfwm4

  NetworkManager-gnome

  gdm

  leafpad

  openssh-askpass

  orage

  polkit-gnome

  thunar-archive-plugin

  thunar-volman

  tumbler

  xfce4-appfinder

  xfce4-icon-theme

  xfce4-power-manager

  xfce4-pulseaudio-plugin

  xfce4-session-engines

  xfce4-terminal

  xfwm4-theme-nodoka

  xfwm4-themes

  pinentry-gtk


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


Re: [CentOS] Back to Xfce

2018-08-06 Thread Robert Moskowitz

Nicolas,

Thank you!  But I am Dyslexic and very mono-linguistic; at least I could 
read the actual commands, if not all the wonderful comments...


On 08/06/2018 10:26 AM, Nicolas Kovacs wrote:

Le 06/08/2018 à 16:05, Robert Moskowitz a écrit :

But notes that this installs Gnome (which I don't want) and that instead to

yum groupinstall “X Window System”

But has concerns if this installs all needed followed up with

yum groupinstall "Xfce"

Thing is on armhfp, I do not have “X Window System” or "Xfce"

I can partially answer your question, since I'm running Xfce both on my
workstation and my laptop.


I switched to Xfce with Fedora 20 and have put up with Gnome on my 
Centos systems so far.



Here's my custom script that installs a full-blow bells-and-whistles
Xfce desktop from a minimal CentOS installation, without any unnecessary
packages.

https://github.com/kikinovak/centos-7-desktop-xfce/blob/master/postinstall.sh

Once you've installed the "X Window System" group and you invoke "yum
groupinstall Xfce", the group consists of not much more than a dozen
explicit core packages (Thunar, xfdesktop, xfce4-panel, etc.) and then -
of course - all the dependencies are installed. Give this a spin on an
x86_64 machine and then write down this relatively short list.


I don't have an x86_64 machine with Centos on it.  I would have to play 
with Qemu VM for centos on this Fedora 28 notebook.  All my servers 
(other than the ClearOS one) are ARM.


The armhfp repos (including epel) do not have either the "X Windows 
System" or "Xfce" (and any sub-groups that calls).  So I am asking for 
the content of those groups.  Hopefully the source scripts so I can 
modify them (as needed) for armhfp.


It would seem that there is a source file somewhere in the source tree 
with the script(s) contents.


thanks




Cheers,

Niki



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


Re: [CentOS] SSSD and cache persistence

2018-08-06 Thread Paul Heinlein

On Mon, 6 Aug 2018, Pete Biggs wrote:



I have a large number of CentOS machines (both 6 & 7) getting account
information from an LDAP database using SSSD. It all works fine and is
fairly reliable.

However, I'm having problems with persuading the caching system to
forget about users when they are deleted from LDAP.

I know about sss_cache with either -E or -U options, but that doesn't
delete anything, just invalidates the cache entry.

If the cache is invalid SSS will, obviously, go back to the source and
return the information there, however, bizarrely, if the original
source doesn't have the information (like when a user is deleted) the
cached information is still returned. That cached information is
retained for ever it seems so my supposedly deleted user accounts still
appear to be active on the machines.

And it also seems you can't actually turn off caching - even though
there are options in sssd.conf to do so. It looks like the
"cache_credentials = False" option still caches things, but just acts
like the entries are always invalid.

I can of course do

 stop sssd
 delete the contents of /var/lib/sss/db
 start sssd

and that's what I do when things become an issue. But surely there is a
better way of SSSD actually realising that a user has been deleted from
LDAP?


Concerning a wedged cache, deleting the relevant *.ldb files from 
/var/lib/sss/db is the only solution that's worked for me, though I've 
had to resort to it only a couple time.


I've never tried disabling the cache, so I'm no help there.

--
Paul Heinlein
heinl...@madboa.com
45°38' N, 122°6' W
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Back to Xfce

2018-08-06 Thread Nicolas Kovacs
Le 06/08/2018 à 16:05, Robert Moskowitz a écrit :
> But notes that this installs Gnome (which I don't want) and that instead to
> 
> yum groupinstall “X Window System”
> 
> But has concerns if this installs all needed followed up with
> 
> yum groupinstall "Xfce"
> 
> Thing is on armhfp, I do not have “X Window System” or "Xfce"

I can partially answer your question, since I'm running Xfce both on my
workstation and my laptop.

Here's my custom script that installs a full-blow bells-and-whistles
Xfce desktop from a minimal CentOS installation, without any unnecessary
packages.

https://github.com/kikinovak/centos-7-desktop-xfce/blob/master/postinstall.sh

Once you've installed the "X Window System" group and you invoke "yum
groupinstall Xfce", the group consists of not much more than a dozen
explicit core packages (Thunar, xfdesktop, xfce4-panel, etc.) and then -
of course - all the dependencies are installed. Give this a spin on an
x86_64 machine and then write down this relatively short list.

Cheers,

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
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] Back to Xfce

2018-08-06 Thread Robert Moskowitz
Now that the basic server is up and running.  With Gnome via VNC (yuck), 
it is time to go back and figure out howto install Xfce without an Xfce 
group script.  So I am asking those with X64 Centos for some pointers.  
Like where are the group scripts so maybe I can modify them for armhfp.


I was reading: 
https://www.rootusers.com/how-to-install-xfce-gui-in-centos-7-linux/


Where the author talks about doing a minimal install then running:

yum groupinstall "Server with GUI"

But notes that this installs Gnome (which I don't want) and that instead to

yum groupinstall “X Window System”

But has concerns if this installs all needed followed up with

yum groupinstall "Xfce"

Thing is on armhfp, I do not have “X Window System” or "Xfce"

I have come to understand that groups are scripts that install all the 
need rpms for the group.  But I have not found where these scripts are 
so hopefully I can see them, figure out how to modify them for the 
armhfp rpms, and run them.


So I am looking for pointers on where these are in tehx64 repos, and how 
to work with these scripts.


thank you for your help..


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


[CentOS] How do I actaully get the current sources from centos-git?

2018-08-06 Thread me

Hi,

I am trying to retrieve the srpm for the latest centos-release pacakge
from centos-git by following the instructions @ https://wiki.centos.org/Sources.

If I run the following commands:
git clone  https://git.centos.org/git/rpms/centos-release.git
cd centos-release/
git checkout c7
~/centos-git-common/get_sources.sh

Everything completes without error. The problem is that the sources that get
downloaded are not for 1804.

(vgeppetto2 pts21) $ ll SOURCES/ SPECS/
SOURCES/:
total 28
-rw-rw-r--. 1 mock mock  1584 Aug  6 08:19 1000-centos-release-cr.patch
-rw-rw-r--. 1 mock mock   264 Aug  6 08:19 85-display-manager.preset
-rw-rw-r--. 1 mock mock  2439 Aug  6 08:19 90-default.preset
-rw-rw-r--. 1 mock mock 12799 Aug  6 08:20 centos-release-7-1.1503.tar.gz

SPECS/:
total 8
-rw-rw-r--. 1 mock mock 6471 Aug  6 08:19 centos-release.spec
(vgeppetto2 pts21) $grep "define upstream_rel" SPECS/centos-release.spec 
%define upstream_rel 7.3

(vgeppetto2 pts21) $

So if I am reading things correctly, it looks like the SOURCES are for 1503 
and the spec file is for 1611.


Can someone please explain to me how to actually get the current SOURCES
and SPEC for centos-release-7-5.1804.1 from centos git?

To be clear I know I can get the srpm from vault but I would like to understand
how to work centos git.

Regards,

--
Tom m...@tdiehl.org
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] rsync versioning problem

2018-08-06 Thread Robert Moskowitz

Warren,

Just want to say thanks.  I have my automated backups going now. Good 
old cronie.


Since I have a cat6 line to my neighbor (as a favor for their net 
access), I only have to move the backup box to his house and I have 
off-site backups for $150 outlay (arm SOC and 4 TB drive) and <$50/yr 
electric (our rate is ~$0.21/KWH).  You can't buy cloud storage for that 
price.


On 08/03/2018 12:17 PM, Warren Young wrote:

On Aug 3, 2018, at 9:59 AM, Robert Moskowitz  wrote:

You haven’t needed "-e ssh” since rsync 2.6.0, which made it the default.  It 
was released in 2004.

How do I specify -p and -l that I cut out of my example?

Add it to ~/.ssh/config:

 Host nevia.htt-consult.com
 Port 
 User rmoskowitz

You might not think of rsync as paying attention to this file, which is 
correct, because it doesn’t.  But since it is executing ssh under the hood, and 
ssh *does* pay attention to that file, it takes effect.

If you’re creating that file for the first time, be sure to chmod 600 it.  Ssh 
will ignore it if it’s not locked-down.  RTFM for details.


/var/flexshare/shares 
x.htt-consult.com:/media/backup/homebase/var/flexshare/shares/

Rsync won’t create multiple levels of directories on the target.  It will only 
create up to one level of missing directories.  Try this:

 $ ssh x.htt-consult.com 'mkdir -p 
/media/backup/homebase/var/flexshare/shares/'

Oh?  I have been doing this in one shape or form for a long time.

Let me clarify:

If only /media/backup exists on the remote machine, I believe you’ll end up 
with /media/backup/shares with that command.

If at least /media/backup/homebase/var/flexshare exists, rsync will always create 
“shares” under “flexshare" on the remote host.

Anything below that level will also be created, regardless of depth.  I’m 
speaking only of the target path given as the last argument to rsync here, not 
of the source machine’s directories discovered during the sync process.

It’s possible this behavior changed since I last looked at it.  I ran into this 
issue many years ago and now ensure that the target path passed to the rsync 
command exists on the remote host before starting the sync.
___
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] SSSD and cache persistence

2018-08-06 Thread Pete Biggs


I have a large number of CentOS machines (both 6 & 7) getting account
information from an LDAP database using SSSD. It all works fine and is
fairly reliable.

However, I'm having problems with persuading the caching system to
forget about users when they are deleted from LDAP.

I know about sss_cache with either -E or -U options, but that doesn't
delete anything, just invalidates the cache entry.

If the cache is invalid SSS will, obviously, go back to the source and
return the information there, however, bizarrely, if the original
source doesn't have the information (like when a user is deleted) the
cached information is still returned. That cached information is
retained for ever it seems so my supposedly deleted user accounts still
appear to be active on the machines.

And it also seems you can't actually turn off caching - even though
there are options in sssd.conf to do so. It looks like the
"cache_credentials = False" option still caches things, but just acts
like the entries are always invalid.

I can of course do

  stop sssd
  delete the contents of /var/lib/sss/db 
  start sssd

and that's what I do when things become an issue. But surely there is a
better way of SSSD actually realising that a user has been deleted from
LDAP?

Pete


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


[CentOS] Installing GCC 5.3.0 in CentOS 6 in Docker.

2018-08-06 Thread Mohan Ganesalingam
I need to compile some C++ 11 with GCC 5.3.0 on CentOS 6.  All of this
is happening inside docker in CI using the centos:6 base image.  (NB.
It can't be GCC 6 or 7, because I have to send binaries to clients who
won't install newer vs of libstdc++.so.)

Until recently, I was installing  devtoolset-4-gcc-c++ via yum, and then using

   RUN scl enable devtoolset-4 gcc

to build the code. Unfortunately, devtoolset-4 is no longer supported,
so this has stopped working.

I've been trying to compile GCC from scratch, but it's been running
for hours and hours – even if I get it working, I'll have to replicate
the whole process inside Docker and I suspect it will be very brittle.

Is there any easy way of downloading a precompiled version?  E.g.
-- Is there something that I can do to go back to the old v. of
Software Collections? Or
-- Is there somewhere I might find a precompiled gcc 5 package?

Thanks very much,
Mohan
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos