Re: [gentoo-user] systemd-logind problem
On 2015-11-24 13:17, cov...@ccs.covici.com wrote: I am running systemd-226-r1 There's your problem ;) I'm really kidding. and am having some strange problems with systemd-logind. It gets into some state where it can take 20 seconds to login to the box via ssh, if I restart systemd-logind or rather stop and start -- restart has no effect -- then it works for some unknownperiod, but then it dies again. Any way to fix more permanently -- I saw some discussion a while back, but I never saw a resolution. Thanks in advance for any ideas. I did not know sshd used systemd-logind; have run any of these commands?: journalctl -u systemd-logind systemctl status systemd-logind I am not terribly familiar with systemd, but that's the first place I would start. You could also try changing the LogLevel parameter in '/etc/systemd/system.conf'. Alec
Re: [gentoo-user] emerging squid indefinitely
Alan McKinnonwrites: > On 23/11/2015 23:04, lee wrote: >> Alan McKinnon writes: >> >>> On 23/11/2015 17:02, lee wrote: Hi, emerging squid doesn't seem to ever finish: [...] >>> Emerging (9 of 9) net-proxy/squid-3.5.6::gentoo >>> Jobs: 8 of 9 complete, 1 runningLoad avg: 0.37, 0.61, >>> 0.53 What would I look at, without interrupting emerge, to find out what's going on? >>> >>> >>> tail the build log >> >> Which is where? There isn't anything in >> /var/log/portage/elog/summary.log, and /var/log/emerge.log only says: >> >> >> 1448288177: ::: completed emerge (8 of 9) net-libs/gnutls-3.3.17.1 to / >> 1448288177: >>> emerge (9 of 9) net-proxy/squid-3.5.6 to / >> 1448288177: === (9 of 9) Cleaning >> (net-proxy/squid-3.5.6::/usr/portage/net-proxy/squid/squid-3.5.6.ebuild) >> 1448288177: === (9 of 9) Compiling/Merging >> (net-proxy/squid-3.5.6::/usr/portage/net-proxy/squid/squid-3.5.6.ebuild) >> >> >> It's still pretending that it's compiling, hours later ... >> > > > the build logs are the same place they have always been, in > /var/tmp/portage/. > > that location is a symlink to: > > /var/log/portage/:-:.log > > and that info is dumped to the console in volume every time emerge fails > for any reason. > > /var/log/portage/elog/summary.log and /var/log/emerge.log are emerge's > logs and contains logs of what emerge is doing. You want build logs to > find out what make and gcc etc are doing. Cool, let's see what it does (It's still emerging.): , | dawn ~ # cat /var/tmp/portage/net-proxy/squid-3.5.6/temp/build.log | * Package:net-proxy/squid-3.5.6 | * Repository: gentoo | * Maintainer: e...@gentoo.org | * USE:abi_x86_64 amd64 caps elibc_glibc htcp ipv6 kernel_linux pam ssl userland_GNU wccp wccpv2 | * FEATURES: preserve-libs sandbox userpriv usersandbox | * Adding group 'squid' to your system ... | * - Groupid: next available ` , | dawn ~ # ps xa | grep gro | 10563 pts/0T 0:00 groupadd -r squid | 11315 pts/0S+ 0:00 grep --colour=auto gro | dawn ~ # ` It shouldn't take /that/ long to add a group, not even for a system group. , | dawn ~ # grep squid /etc/group | squid:x:245: | dawn ~ # ` So the group has already been created. Let's create a test group: , | dawn ~ # time groupadd -r test | groupadd: cannot lock /etc/group; try again later. | | real0m15.003s | user0m0.000s | sys 0m0.000s | dawn ~ # grep test /etc/group | dawn ~ # ls -la /etc/group* | -rw-r--r-- 1 root root 552 Nov 23 15:16 /etc/group | -rw--- 1 root root 539 Nov 8 19:23 /etc/group- | -rw--- 1 root root 6 Nov 23 15:16 /etc/group.lock | dawn ~ # ` Well, ok, the file is still locked. 'group-' looks like a backup, and 'group.lock' contains 10563, which is the pid of groupadd. I'd think that's ok. So what all does it take to create a system group? I suppose I could kill groupadd and the emerging might go on, though I wonder what the problem might be and if something else besides making an entry to /etc/group needs to be done. What might require an indefinite delay here? Any ideas?
Re: [gentoo-user] systemd-logind problem
Alec Ten Harmselwrote: > > On 2015-11-24 13:17, cov...@ccs.covici.com wrote: > > I am running systemd-226-r1 > > There's your problem ;) > > I'm really kidding. > > > and am having some strange problems with > > systemd-logind. It gets into some state where it can take 20 seconds to > > login to the box via ssh, if I restart systemd-logind or rather stop and > > start -- restart has no effect -- then it works for some unknownperiod, > > but then it dies again. Any way to fix more permanently -- I saw some > > discussion a while back, but I never saw a resolution. > > > > Thanks in advance for any ideas. > > > > I did not know sshd used systemd-logind; have run any of these commands?: > > journalctl -u systemd-logind > systemctl status systemd-logind > > I am not terribly familiar with systemd, but that's the first place I > would start. You could also try changing the LogLevel parameter in > '/etc/systemd/system.conf'. I did run systemctl status systemd-logind and it was starting over and over again and it did not work, so I stopped and restarrted manually and its now working for a while. -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici cov...@ccs.covici.com
[gentoo-user] What do you use for appliances with old SSL?
It seems like modern browsers don't have the option to support old crypto, eg on firefox setting security.version.tls.min to 0 still blocks SSLv3. What do you use to access old equipment?
Re: [gentoo-user] What do you use for appliances with old SSL?
On 25 November 2015 00:33:57 CET, Adam Carterwrote: >It seems like modern browsers don't have the option to support old >crypto, >eg on firefox setting security.version.tls.min to 0 still blocks SSLv3. >What do you use to access old equipment? A virtual machine with an old browser which is only used to access these devices. -- Joost -- Sent from my Android device with K-9 Mail. Please excuse my brevity.
[gentoo-user] systemd-logind problem
I am running systemd-226-r1 and am having some strange problems with systemd-logind. It gets into some state where it can take 20 seconds to login to the box via ssh, if I restart systemd-logind or rather stop and start -- restart has no effect -- then it works for some unknownperiod, but then it dies again. Any way to fix more permanently -- I saw some discussion a while back, but I never saw a resolution. Thanks in advance for any ideas. -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici cov...@ccs.covici.com
Re: [gentoo-user] PPC64 on IBM Power8
On Tue, Nov 24, 2015 at 04:31:33PM +0100, luciano mannucci wrote > On 2015-11-24 00:15, Neil Bothwick wrote: > > On Mon, 23 Nov 2015 16:41:00 +0100, luciano mannucci wrote: > >> Ok, I'll fight with the low intensity virtual video and I hope I'll be > >> back with a success story soon... :-) > > > > Start the SSH server in the live install environment, then you can SSH > > in > > from a system with a decent display. I almost always install Gentoo > > using > > SSH and screen. > > Indeed, I agree, ssh is probably The solution. > > Tough I have to configure the ethernet interface first, and add at least > one user (or edit the sshd configuration file :)... I don't like the > idea > of doing that blindly... :) No need for an extra user that early in the install. You can login as root. You have to be root to do the setup stuff anyways. If you really want a "predictable interface name", remember to type... gentoo net.ifnames=0 ...immediately when the Gentoo CD or USB key boots up. I predict that it'll come up as eth0 if you do that. -- Walter DnesI don't run "desktop environments"; I run useful applications
[gentoo-user] Re: emerging squid indefinitely
On Tue, 24 Nov 2015 23:39:01 +0100 leewrote: > > ... > Well, ok, the file is still locked. > > 'group-' looks like a backup, and 'group.lock' contains 10563, which > is the pid of groupadd. I'd think that's ok. > > So what all does it take to create a system group? I suppose I could > kill groupadd and the emerging might go on, though I wonder what the > problem might be and if something else besides making an entry to > /etc/group needs to be done. What might require an indefinite delay > here? Any unusual network activity? (DNS lookups that shouldn't be happening, etc.)
Re: [gentoo-user] https://wiki.gentoo.org/wiki/Traffic_shaping
On Tue, 24 Nov 2015 06:26:04 +, Mick wrote: > > By using the search tool. without it, all the options would show up > > all the time, even those you don't want and can't enable. Hiding all > > irrelevant options makes kernel configuration almost sane to manage. > > It is also worth mentioning xconfig and gconfig for a GUI-fied front > end, which also offer search options. That's why I said make *config in my first post to this thread ;-) -- Neil Bothwick Why is there an expiration date on sour cream? pgptxMa6wvE0g.pgp Description: OpenPGP digital signature
Re: [gentoo-user] Chrony-2.2 failing
On Saturday 21 November 2015 09:59:18 I wrote: > I think I'll follow Alan's suggestion and head upstream. After some discussion with Miroslav Lichvar I've found a chrony.conf that works for me on my 32-bit 2-core Atom. This is it: pool pool.ntp.org iburst server ntp0.zen.co.uk iburst server ntp1.zen.co.uk iburst driftfile /var/lib/chrony/drift makestep 1.0 3 allow 192.168.1/24 mailonchange prh@serv.prhnet 0.5 rtcfile /var/lib/chrony/rtc rtconutc The installation-default file causes the start-stop-daemon to catch an unexpected interrupt and report an error, even though the chronyd process continues to run. Any time I run 'strace -ff -o/tmp/chronyd.strace /etc/init.d/chronyd start' the init process runs normally and I'm left with scores of trace files, none of which help because the stray interrupt wasn't detected. So I'm left with a setup that works for me but leaves what looks (to me) like a timing problem unsolved. I'll report back if I hear any more. -- Rgds Peter
Re: [gentoo-user] PPC64 on IBM Power8
On 2015-11-24 00:15, Neil Bothwick wrote: On Mon, 23 Nov 2015 16:41:00 +0100, luciano mannucci wrote: Ok, I'll fight with the low intensity virtual video and I hope I'll be back with a success story soon... :-) Start the SSH server in the live install environment, then you can SSH in from a system with a decent display. I almost always install Gentoo using SSH and screen. Indeed, I agree, ssh is probably The solution. Tough I have to configure the ethernet interface first, and add at least one user (or edit the sshd configuration file :)... I don't like the idea of doing that blindly... :) Cheers, Luciano. -- /"\ /Corso Milano, 102/1 Vigevano - PV (Italy) \ / ASCII RIBBON CAMPAIGN / PHONE : +39 2 485781 FAX: +39 2 48578250 X AGAINST HTML MAIL/ E-MAIL: luci...@guzzistianonimi.it / \ AND POSTINGS/ WWW: http://www.mannucci.ORG/
Re: [gentoo-user] PPC64 on IBM Power8
On 2015-11-24 04:14, Zhu Sha Zang wrote: Hey dude, what you'll gonna do with this machine. Just curiosity. Well, I'm a service provider, I need a good OS for infrastructure virtual machines, I think gentoo is not necessarily a bad choice... ;-) Cheers, Luciano. -- /"\ /Corso Milano, 102/1 Vigevano - PV (Italy) \ / ASCII RIBBON CAMPAIGN / PHONE : +39 2 485781 FAX: +39 2 48578250 X AGAINST HTML MAIL/ E-MAIL: luci...@guzzistianonimi.it / \ AND POSTINGS/ WWW: http://www.mannucci.ORG/