Re: [arch-general] mysql_secure_installation

2017-01-29 Thread Jude DaShiell
Thanks for the clarification, at the time of installation there was no 
/user/.my.cnf file in existence so this makes sense.


On Sun, 29 Jan 2017, David C. Rankin wrote:


Date: Sun, 29 Jan 2017 16:00:12
From: David C. Rankin 
Reply-To: General Discussion about Arch Linux 
To: General Discussion about Arch Linux 
Subject: Re: [arch-general] mysql_secure_installation

On 01/28/2017 06:47 AM, Jude DaShiell wrote:

I now have mariadb installed and working.  Another internet site gave an
example /root/.my.cnf file of about 3 lines that has to be read-only and I was
able to do it with that file.  The thing is when you hit enter and the error
1045 (28000) error comes up, hit enter again and you go right past that error
successfully and can then do the rest of the script.
I don't know if the /root/.my.cnf file helped or not but I keyed in the
password that was in that file and had it all come up working.



You may be a bit confused about the use of /user/.my.conf. If you invoke mysql
(mariadb) without parameters, then it looks for a .my.conf file under the
current user directory (e.g. /$HOME/.my.cnf). In your .my.conf you simple
enter the mode of operation followed by the password and user, e.g.

$ cat ~/.my.cnf | sed 's/password[ ]=[ ].*$/password = secret/'
[mysqladmin]
password = secret
user = david

[mysql]
password = secret
user = david

[mysqldump]
password = secret
user = david

[mysqlcheck]
password = secret
user = david

The above will allow local operation of 'mysqladmin', 'mysql', 'mysqldump' and
'mysqlcheck' for my user. You can do the same for 'root', but understand it is
for mysql user 'root' that just happened to check '/root/.my.conf' by default
when invoked by root.





--


Re: [arch-general] Ping: 100% package loss

2017-01-29 Thread Damjan Georgievski via arch-general
> And the most surprising thing is, that it worked for one single moment,
> see the PS, and stopped working after the next reboot - with all what I
> tried to make it work still untouched and in place.
>
> Any further tipps here?

do you even have an IPv6 service from your ISP?
try pinging [2a00:1450:401b:801::2004] (an address I get for www.google.com)

also, ping now has the -4 and -6 options to specify which protocol to use.
otherwise, AFAIK the resolver in glibc autodetects if it'll use ipv4
or ipv6 by defult

-- 
damjan


Re: [arch-general] mysql_secure_installation

2017-01-29 Thread David C. Rankin
On 01/28/2017 06:47 AM, Jude DaShiell wrote:
> I now have mariadb installed and working.  Another internet site gave an
> example /root/.my.cnf file of about 3 lines that has to be read-only and I was
> able to do it with that file.  The thing is when you hit enter and the error
> 1045 (28000) error comes up, hit enter again and you go right past that error
> successfully and can then do the rest of the script.
> I don't know if the /root/.my.cnf file helped or not but I keyed in the
> password that was in that file and had it all come up working.
> 

You may be a bit confused about the use of /user/.my.conf. If you invoke mysql
(mariadb) without parameters, then it looks for a .my.conf file under the
current user directory (e.g. /$HOME/.my.cnf). In your .my.conf you simple
enter the mode of operation followed by the password and user, e.g.

$ cat ~/.my.cnf | sed 's/password[ ]=[ ].*$/password = secret/'
[mysqladmin]
password = secret
user = david

[mysql]
password = secret
user = david

[mysqldump]
password = secret
user = david

[mysqlcheck]
password = secret
user = david

The above will allow local operation of 'mysqladmin', 'mysql', 'mysqldump' and
'mysqlcheck' for my user. You can do the same for 'root', but understand it is
for mysql user 'root' that just happened to check '/root/.my.conf' by default
when invoked by root.


-- 
David C. Rankin, J.D.,P.E.


Re: [arch-general] GUFW start problem

2017-01-29 Thread Alonzo Gomez via arch-general
> Something working with gnome-under-xorg but not gnome-under-wayland
> sounds like an application that makes use of X directly, and hasn't been
> ported to work with wayland instead. But I was under the impression that
> Gnome automatically ran such applications under Xwayland...
>
> --
> Eli Schwartz
>


I don't know, that's "above my pay grade".   There is an open bug
report on this (https://bugs.archlinux.org/task/52599).  Hopefully it
will be fixed RSN.


Re: [arch-general] Ping: 100% package loss

2017-01-29 Thread Thorsten Jolitz via arch-general
Thorsten Jolitz via arch-general  writes:

Hello,
following up to my own post again.

> Thorsten Jolitz via arch-general  writes:
>
> Hello,
> following up to my own post:
>
>> Marcel Hoppe via arch-general  writes:
>>
>> Hi Marcel, Hi Robin,
>>
>> thanks for your answers.
>>
>>> I resolved the same problem ๐Ÿ˜‰ on my systems I run the
>>> networkmanager and
>>> this works long time - I'm not sure but I think the problem was that
>>> systemd gets or starts its own revolver service. After disabling it and
>>> deleting the linked resolve.conf the networkmanager creates it after a
>>> restart again and it works.
>>
>> In Arch it's all about IPv6 it seems, so I did not want to disable
>> it. Instead I deleted the old resolve.conf (it was replaced
>> automatically by systemd). I replaced one (probably wrong) reference to
>> IPv4 with IPv6 in my config, and started and enabled the network service
>> again.
>>
>> Now pinging works for both protocols, and my internet connection went
>> from incredibly slow to more or less acceptable.
>
> So yesterday it worked, pinging IPv6 adresses as well as having
> acceptable internet connection speed.
> Today not anymore, although I did not change anything (ok, wasn't there
> a kernel update yesterday?)
>
> Any help interpreting this messages would be appreciated:
> ,
> | Jan 28 13:03:58 arch systemd[1]: Timed out waiting for device
> | sys-subsystem-net-devices-service.device.
> | -- Subject: Unit sys-subsystem-net-devices-service.device has failed
> | -- Defined-By: systemd
> | -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
> | --
> | -- Unit sys-subsystem-net-devices-service.device has failed.
> | --
> | -- The result is timeout.
> | Jan 28 13:03:58 arch systemd[1]: Dependency failed for dhcpcd on
> | service.
> | -- Subject: Unit dhcpcd@service.service has failed
> | -- Defined-By: systemd
> | -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
> | --
> | -- Unit dhcpcd@service.service has failed.
> | --
> | -- The result is dependency.
> | Jan 28 13:03:58 arch systemd[1]: dhcpcd@service.service: Job
> | dhcpcd@service.service/start failed with result 'dependency'.
> `

This issue seems to be related to versions of systemd > 230, and I followed
the advice in the wiki (adding a custom 'systemd-user-sessions.service'
to '/etc/systemd/system/multi-user.target.wants'), and the symptom seems
to have gone away.

But not so the IPv6 and internet speed problems. I went to all kinds of
wiki articles about network configuration, IPv6 and DHCP, and adapted my
config in several places to advices from that pages, but to no avail.

Now I don't even know how to further diagnose the problem, being unable
to ping IPv6 addresses and incredibly slow internet connections seem to
be the only visible symptom, everything else looks just fine.

And the most surprising thing is, that it worked for one single moment,
see the PS, and stopped working after the next reboot - with all what I
tried to make it work still untouched and in place.

Any further tipps here?
TIA

> Just time out because of lousy internet connecton?
>
> ,
> |   /run:
> |   -rw-r--r--  1 root root5 28. Jan 09:56 dhcpcd.pid
> `
> ,
> | $ ps 1952
> |   PID TTY  STAT   TIME COMMAND
> |  1952 ?Ss 0:00 dhcpcd
> `
>
> At startup, when calling dhcpcd, messages indicate that things worked
> out, but it seems the service never really started?
>
>> PS
>> ,
>> | $ ping -c 3 www.google.com
>> | PING www.google.com(waw02s07-in-x04.1e100.net
>> | (2a00:1450:401b:802::2004%2)) 56 data bytes
>> | 64 bytes from waw02s07-in-x04.1e100.net (2a00:1450:401b:802::2004):
>> | icmp_seq=1 ttl=53 time=54.2 ms
>> | 64 bytes from waw02s07-in-x04.1e100.net (2a00:1450:401b:802::2004):
>> | icmp_seq=2 ttl=53 time=49.2 ms
>> | 64 bytes from waw02s07-in-x04.1e100.net (2a00:1450:401b:802::2004):
>> | icmp_seq=3 ttl=53 time=50.2 ms
>> | 
>> | --- www.google.com ping statistics ---
>> | 3 packets transmitted, 3 received, 0% packet loss, time 2003ms
>> | rtt min/avg/max/mdev = 49.253/51.266/54.294/2.187 ms
>> `
>>
>> ,
>> | $ ping -c 3 ipv6.google.com
>> | PING ipv6.google.com(waw02s08-in-x0e.1e100.net
>> | (2a00:1450:401b:803::200e%2)) 56 data bytes
>> | 64 bytes from waw02s08-in-x0e.1e100.net (2a00:1450:401b:803::200e):
>> | icmp_seq=1 ttl=53 time=82.3 ms
>> | 64 bytes from waw02s08-in-x0e.1e100.net (2a00:1450:401b:803::200e):
>> | icmp_seq=2 ttl=53 time=48.7 ms
>> | 64 bytes from waw02s08-in-x0e.1e100.net (2a00:1450:401b:803::200e):
>> | icmp_seq=3 ttl=53 time=48.8 ms
>> | 
>> | --- ipv6.google.com ping statistics ---
>> | 3 packets transmitted, 3 received, 0% packet loss, time 2003ms
>> | rtt min/avg/max/mdev = 48.754/59.986/82.355/15.819 ms
>> `
>>
>> ,
>> | $ ping -c 3 www.web.de
>> | PING www.g-ha-web.de (82.165.230.17) 56(84) bytes of data.
>> | 64 bytes from bap.web.de (82.165.230.17): icmp_seq=1 ttl=247
>> | time=226 ms
>> | 64 bytes from bap.web.de (

Re: [arch-general] I just want to say THANK YOU!

2017-01-29 Thread Ryan Done
On Sun, 29 Jan 2017 at 10:21, Grady Martin via arch-general <
arch-general@archlinux.org> wrote:

> On 2017ๅนด01ๆœˆ20ๆ—ฅ 17ๆ™‚42ๅˆ†, Alexander Bustamante via arch-general wrote:
> >Fantastic documentation, fantastic community, fantastic *.
>
> A Linux distro is nothing more than a package manager, a repository, and a
> collection of community resources.  I only realized this as time went on.
>
> Arch excels at all three.
>
Let's not forget about Arch's philosophy, which is the whole reason I chose
it over all other distros.

"Keep it simple, stupid" ;-p


Re: [arch-general] I just want to say THANK YOU!

2017-01-29 Thread Grady Martin via arch-general

On 2017ๅนด01ๆœˆ20ๆ—ฅ 17ๆ™‚42ๅˆ†, Alexander Bustamante via arch-general wrote:

Fantastic documentation, fantastic community, fantastic *.


A Linux distro is nothing more than a package manager, a repository, and a 
collection of community resources.  I only realized this as time went on.

Arch excels at all three.