Re: [CentOS] Samba HOWTO wiki bug: chcon samba_share_t

2018-05-05 Thread Gordon Messmer

On 05/04/2018 11:15 PM, Warren Young wrote:

On May 5, 2018, at 12:04 AM, Gordon Messmer  wrote:

On 05/04/2018 04:05 PM, Warren Young wrote:
Alright, then why do I get that error when I give the command from 
this morning’s wiki text, and how do I avoid it? 

You get the error because that isn't a hyphen, it's an en-dash. Someone 
probably copied and pasted from Word.

The formatting is from my mailer.  The paste into the terminal wouldn’t have 
been affected.
And again, the chcon command succeeded, with the same type name, copied from 
the same source by the same method.


The only way I can get semanage to output the error you reported is if 
that command is run with an en-dash instead of a hyphen.  I'm really 
pretty confident that it was an en-dash when you ran the command.


The command works when it's run with a hyphen, and it will print a 
different error if there is any other type of usage error I've tested.

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


Re: [CentOS] Problem with cr repo.

2018-05-05 Thread lejeczek

I get more problems,
I have not single i686 arch package installed yet 'yum 
update' somewhere along the lines decides and insists on 
pulling in plenty of i686 packages. All this without really 
telling why, then fails with 'multilib' problem.

I cleaned/removed yum's cache, rebuilt rpm database.
And while yum does that it shows lots of conflicts.
It seems like a serious cockup, current state of CR repo.
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Problem with cr repo.

2018-05-05 Thread John R. Dennison
On Sat, May 05, 2018 at 09:38:27PM +0100, lejeczek wrote:
> I get more problems,
> I have not single i686 arch package installed yet 'yum update' somewhere
> along the lines decides and insists on pulling in plenty of i686 packages.
> All this without really telling why, then fails with 'multilib' problem.
> I cleaned/removed yum's cache, rebuilt rpm database.
> And while yum does that it shows lots of conflicts.

Please provide complete output from "yum -d8 -v --enablerepo=cr update"

Thank you.





John
-- 
A teacher affects eternity; he can never tell where his influence stops.

-- Henry Brooks Adams (1838-1918), US historian, journalist, novelist,
   and educator, The Education of Henry Adams, Ch 20 (1907)


pgpoz_Aos606q.pgp
Description: PGP signature
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] NetworkManager dnsmasq plugin

2018-05-05 Thread Frank Cox
I am trying to get dnsmasq to work through NetworkManager by putting
dns=dnsmasq into /etc/NetworkManager/NetworkManager.conf

NetworkManager still works but dnsmasq doesn't start.

I get this error in /var/log/messages:

could not load plugin 'dnsmasq' from file
'/usr/lib64/NetworkManager/libnm-settings-plugin-dnsmasq.so

And the referenced file doesn't exist, as stated.

So where or how do I get libnm-settings-plugin-dnsmasq.so?  I don't see
any rpm that provides that file, though I'm hoping to be proved wrong
of course.

-- 
MELVILLE THEATRE ~ Real D 3D Digital Cinema ~ www.melvilletheatre.com
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Network Performance Update

2018-05-05 Thread Gordon Messmer

On 05/04/2018 07:56 AM, Chris Olson wrote:

Bottom Line: Mystery partially solved. What is left is why the
/dev/null destination for the data does not work.

...

Attempting Transfer Of dd Created Output To /dev/null
-
ftp>
ftp> put "|dd if=/dev/zero bs=32768 count=8000" /dev/null
local: |dd if=/dev/zero bs=32768 count=8000 remote: /dev/null
227 Entering Passive Mode (192,168,1,101,27,154)
500 OOPS: ftruncate
dd: writing `standard output': Broken pipe


It looks like the FTP server is attempting to use ftruncate() on the 
destination file, and that call fails when the destination file is 
/dev/null.  The server then closes the connection, and dd reports that 
it cannot write to its stdout fd, and the error reported is EPIPE.


You might not get that error with a different ftp server, and there are 
no shortage of options there.  However, you're probably just as well off 
with something that has less overhead.   You can use "nc" (netcat) for 
this task, or iperf as was suggested earlier.


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