Re: [CentOS] gcc 8/9 on CentOS 7

2020-01-06 Thread Johnny Hughes
On 1/3/20 9:37 AM, sthustfo wrote:
>>
>> You will need to use the devtoolset builds to do this:
>>
>>
>> There is a gcc 8 .. but not gcc 9
>>
>> https://www.softwarecollections.org/en/scls/rhscl/devtoolset-8/
>>
>> I did install gcc 8 from devtoolset-8 (SCL repo). However I am unable to
> compile 32-bit programs because devtoolset-8-libstdc++-devel.i686 package
> is missing from CentOS SCL repository. This is mentioned here
>  as well.
> 
> g++ -m32 helloworld.cpp
> /opt/rh/devtoolset-8/root/usr/libexec/gcc/x86_64-redhat-linux/8/ld:
> skipping incompatible
> /opt/rh/devtoolset-8/root/usr/lib/gcc/x86_64-redhat-linux/8/libstdc++_nonshared.a
> when searching for -lstdc++_nonshared
> /opt/rh/devtoolset-8/root/usr/libexec/gcc/x86_64-redhat-linux/8/ld: cannot
> find -lstdc++_nonshared
> collect2: error: ld returned 1 exit status
> 
> Are there any plans to add the missing i686 package? Otherwise, what other
> options does one have to get to gcc 8/9?

I have built the i686 devtoolset-8 items here:

https://buildlogs.centos.org/c7-devtoolset-8.x86_64/

That is what we use to build items that require devtoolset for the base
OS and is not for release purposes .. but if you can use it, it is
available.

> 
> Further, where can I find the srpm file for the devtoolset-8 packages. One
> way would be to use the srpm to rebuild.

You can get the srpms here:

https://cbs.centos.org/repos/sclo7-devtoolset-8-rh-release/source/SRPMS/

WRT devtoolset-9, I am not building that right now for c7 .. it is not
something they are building the any base os things on in RHEL-7 right
now, so I have not tried to build it for CentOS-7.





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


[CentOS] Using shared printers in CentOS 8

2020-01-06 Thread Robert Nichols

How do I let a CentOS 8 client make use of the shared printers advertised by CUPS on the 
network? In CentOS 6, this was just a matter in a checkbox "Show printers shared by 
other systems" on the CUPS Admin page. Is this function still available somehow? 
Manually adding all the shared printers on every client would be painful.

--
Bob Nichols "NOSPAM" is really part of my email address.
Do NOT delete it.

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


[CentOS] can't boot after volume rename

2020-01-06 Thread Paul Amaral via CentOS
I renamed my volume with vgrename however I didn't complete the other steps.
Mainly update fstab and intiramfs. Once I booted, I was dropped on the
Dracut shell. From here I can see the newly rename VG and I can lvm lvscan
as well as activate it, lvm vgchange -ay. 

 

However I can't figure out what to do next, I'm assuming I need to
regenerate the initramfs and then boot to change grub? Could someone point
me in the right direction to recovering a FS from Dracut, or other means,
once the volume group name was changed.

 

TIA,

Paul 

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


Re: [CentOS] Using shared printers in CentOS 8

2020-01-06 Thread Leon Fauster via CentOS

Am 06.01.20 um 22:44 schrieb Robert Nichols:
How do I let a CentOS 8 client make use of the shared printers 
advertised by CUPS on the network? In CentOS 6, this was just a matter 
in a checkbox "Show printers shared by other systems" on the CUPS Admin 
page. Is this function still available somehow? Manually adding all the 
shared printers on every client would be painful.




I used:

http://localhost:631/

Is the print server running CentOS6?

--
Leon


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


Re: [CentOS] Using shared printers in CentOS 8

2020-01-06 Thread Robert Nichols

On 1/6/20 7:52 PM, Leon Fauster via CentOS wrote:

Am 06.01.20 um 22:44 schrieb Robert Nichols:

How do I let a CentOS 8 client make use of the shared printers advertised by CUPS on the 
network? In CentOS 6, this was just a matter in a checkbox "Show printers shared by 
other systems" on the CUPS Admin page. Is this function still available somehow? 
Manually adding all the shared printers on every client would be painful.



I used:

http://localhost:631/


Yes, that's how I'm getting to the CUPS Admin page, which is lacking the option 
to use printers that the print server is sharing.


Is the print server running CentOS6?


Yes, and other systems make use of its shared printers just fine. It's the 
CentOS 8 CUPS client that doesn't offer to use shared printers.  Does CUPS 2.x 
perhaps have some hidden setting to operate as a client vs. as a server?  I've 
never had to configure that before.

--
Bob Nichols "NOSPAM" is really part of my email address.
Do NOT delete it.

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


Re: [CentOS] Using shared printers in CentOS 8

2020-01-06 Thread Robert Nichols

On 1/6/20 10:00 PM, Robert Nichols wrote:

On 1/6/20 7:52 PM, Leon Fauster via CentOS wrote:

Am 06.01.20 um 22:44 schrieb Robert Nichols:

How do I let a CentOS 8 client make use of the shared printers advertised by CUPS on the 
network? In CentOS 6, this was just a matter in a checkbox "Show printers shared by 
other systems" on the CUPS Admin page. Is this function still available somehow? 
Manually adding all the shared printers on every client would be painful.



I used:

http://localhost:631/


Yes, that's how I'm getting to the CUPS Admin page, which is lacking the option 
to use printers that the print server is sharing.


Is the print server running CentOS6?


Yes, and other systems make use of its shared printers just fine. It's the 
CentOS 8 CUPS client that doesn't offer to use shared printers.  Does CUPS 2.x 
perhaps have some hidden setting to operate as a client vs. as a server?  I've 
never had to configure that before.


OK, I've found a workaround of not bothering with cupsd service locally and 
just putting a ServerName in /etc/cups/client.conf . That means there is no 
local spool to accept jobs if the print server or network is down temporarily, 
but for my use that's acceptable. End of story.

--
Bob Nichols "NOSPAM" is really part of my email address.
Do NOT delete it.

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


Re: [CentOS] can't boot after volume rename

2020-01-06 Thread Simon Matter via CentOS
> I renamed my volume with vgrename however I didn't complete the other
> steps.
> Mainly update fstab and intiramfs. Once I booted, I was dropped on the
> Dracut shell. From here I can see the newly rename VG and I can lvm lvscan
> as well as activate it, lvm vgchange -ay.

IIRC this could all be done before rebooting. I know I did it in the past
but don't remember exactly and also don't remember the exact CentOS
versions used.

What I'd try is to rename the VG back to its original name and try to get
a bootable system again. Then I think you can make all the changes to
fstab and grub and rename again and reboot.

Regards,
Simon

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