logs archiveIRC Archive / Freenode / #centos / 2015 / September / 16 / 1
parlar
Q: coreutils 8.22 sort (centos 7.1) broken, safe to update to other version? I understand from various fora, 8.21 or 8.23 are ok but 8.22 is apparently broken. Causes problems with a computational pipeline. Does anyone know if it is safe to update to a more recent (unsupported) version? Any help is much appreciated! //parlar
CoreISP
If a process is in uninterruptible state, will it actually prevent a reboot or will that still go through?
DiscordianUK
If you power cycle it will reboot
The question is though why is it in the 'D' or 'Z' state
CoreISP
Yeah, a power cycle will; but i'd rather have it cleanly reboot hehe
DiscordianUK: your guess is as good as mine, it's yum hanging waiting for a CLOSE_WAIT connection somewhere that I can't get interrupted either
strace outputs nothing, even got strace a little off edge even trying to. Which was a bit odd.
Reeks a bit of politics
corruption*
DiscordianUK
Often indicates hardware issues
pj
parlar: link to bug ID saying that version of 8.22 is broken?
TrevorH
parlar: haev you verified that the brokenness is actually present or are you just going off the version number?
pj
@backports parlar
centbot
Please see https://access.redhat.com/security/updates/backporting/ for information on backporting of security fixes and features in CentOS and RHEL
         

parlar
or, at least it behaves differently..? result comes out different.
TrevorH
rpm -q coreutils --changelog | less
parlar
Thanks, ... I'm a newbie
TrevorH
there are many fixes present in the el7 8.22 coreutils package that are not in the upstream 8.22 so you cannot judge by version number
parlar
okay
pj
parlar: is this the bug you're talking about? https://bugzilla.redhat.com/show_bug.cgi?id=1003544
parlar
ill check'
TrevorH
looks like "- Fix sort multibyte incompatibilities (by O.Oprala)" from the rpm changelog
parlar
pj: I think it is.
pj
TrevorH: I see: * Mon Jan 06 2014 Ondrej Oprala <ooprala@redhat.com> 8.22-7 - Fix sorting by non-first field (#1003544)
parlar: it's fixed in the current version in CentOS 7
CoreISP
Note to self: no, it will not go through reboot, heh
parlar
I just started using centos 7.1, most recent release (due to other problems with ubuntu related to a corporate network)
pj: Since I'm properly updated with the latest release, it's not fixed.
pj
parlar: if there is a bug that you're actually observing and not just basing on the version number then file a bug report
@bugs
centbot
To report a reproducible bug please open tickets at both http://bugs.centos.org and https://bugzilla.redhat.com and link the CentOS bug to the Red Hat bug in the field provided.
parlar
okay, thanks! Checking sort --version only says 8.22 (no subversions). I guess it's pre-8.22-7 then. I'll submit a bug report.
pj
parlar: what is the output of: rpm -q coreutils
parlar
Ah, .. it says coreutils-8.22-11.el7.x86_64. So then it should be fixed ..! I guess a different bug then.
ke4nhw
greetings all
pj
parlar: yeah, different bug, file a bug report
parlar
Thanks all!
         

pj
yw
ke4nhw
I'm just curious if centos has a vpn server that works well with windows 7 clients. My router/firewall frontend has a vpn but it's a bit of a pain (they try to force you to use their proprietary software for vpn access and the software isn't cheap). I'd prefer something that requires an open source client or no client at all, one that can be configured on the clients natively in Windows 7
This way they can get network access and use the samba shares
This will be testing phase C of the VM, vpn capability
Testing phase A works, which is a public anonymous directory on samba for internal network only. Testing phase B is currently failing, which is authenticated access to the samba share so I'll ask about this one in #samba unless someone in here is a samba guru
jonez
ke4nhw, I haven't used samba in quite a few years. I recommend turning up logging so you can see that (a) the client is trying to authenticate and (b) why it is that samba does not accept the attempt
Evolution
openvpn works fine but requires a client.
ke4nhw
jonez I'm looking at the /var/log/samba/* logs now, and trying to decipher them. Evolution I'll begin testing with it, and requiring a client is fine as long as the client is decently easy to configure and works well across multiple windows platforms from 7 upwards.
Evolution
dunno. it worked fine for windows 7 a few years ago. I've not touched windows in 2+ years
jonez
ke4nhw, openvn will probably work fine, but because you need it to run on windows, I recommend testing it yourself to be sure.
ke4nhw
jonez if you do not use samba, is there another way to share files on a linux fileserver to windows clients that allows them to work with the files in a semi-native way (map network drive, folder in explorer, no additional client software needed)
jonez
I haven't need to use samba for years :)
ke4nhw
Yes all testing will be done myself before I deploy this to the other GSPASEC Tactical Admins
jonez
on linux or bsd, you could try nfs or afs. I do not use windows anymore so I do not know what it supports "natively" and what you might have to pay for.
ke4nhw
I've got one of the admins that will let me access his system via TeamViewer for testing (I'll connect to his system, config the client, and attempt to connect the vpn). This is because a VPN from inside the host network tends to cause problems such as failures and/or false positives. I'll also need to test the passthrough functionality of the frontend router/firewall and possibly make provisions
in the switch.
jonez
ke4nhw, I don't understand how vpn software could cause "false positives"
ke4nhw
jonez I had used ssh server and I think it was Magnet Drive or something like that, but it had major security problems. The "root" directory of the server was wherever the manual configuration was set up, and the user could easily change this to the drive root, giving them access to the drive root. I only found two ways around this problem: chroot jail (which I could never figure out how to
configure) or run a virtual linux on the linux host and use mount.cifs to mount the lowest point you want them having access to.
The second one worked, but tied up server resources. And by false positives I mean that the vpn seems to work internally but when you try to deploy it outside the network it fails, due to any number of problems (passthrough, DHCP, etc etc etc...)
But I will give openvpn a try. And as far as the samba issues, I'll hash that with them, and in the meantime if I can't find a better solution (I'd love one that tunnels through ssh) I will have to use an anonymous samba and restrict it via the centos firewall, frontend firewall, samba's config file, and depend on the vpn for authentication purposes.
Is there a pseudo-graphical environment for managing users and groups in centos? I remember that a while back there was something like system-config-users-cli or something similar for having a pseudo-graphical environment across a ssh cli
davidmichaelkarr
Having trouble on centos7 creating a centos6.6 vm. I created the vm from the minimal iso and booted it, but the vm doesn't appear to have network access. I already stepped through some steps described to me on the #vbox channel, but they don't know why this is happening.
They had me check my "adapter type" on the vm, and it's "Intel PRO/1000 MT Desktop (82540EM)"
ke4nhw
When you did the install did you configure the network settings to turn the adapter on and set it to automatically connect when available?
Bahhumbug
davidmichaelkarr: Perhaps #2 from https://wiki.centos.org/FAQ/CentOS6
ke4nhw
CentOS doesn't enable the nic by default
Also, is your adapter set as a bridged adapter?
TrevorH
@faq
centbot
FAQs are found at http://wiki.centos.org/FAQ
TrevorH
ke4nhw: see point 2 in the faq
Bahhumbug
[17:06:22] <Bahhumbug> davidmichaelkarr: Perhaps #2 from https://wiki.centos.org/FAQ/CentOS6
ke4nhw
yep I am not having that problem. During the install I configured the networking options and my networking is activated at boot.
davidmichaelkarr
The adapter appears to be enabled.
ke4nhw
I'm good on that one. I would, however, like to know if there's a graphical user group management that can be accessed via the cli. I don't have any X installed
davidmichaelkarr do you have an IP address? If you're at a command prompt use 'ifconfig -a' and see if you have an IP address issued.
TrevorH
davidmichaelkarr: did you set it up as a bridged connection in vbox?
ke4nhw
Bridged is far better, in fact I haven't found uses for the other types.
davidmichaelkarr
Looks like the "onboot" flag was "no", wrt to the faq entry referred to.
pj
@ifconfig ke4nhw
centbot
The 'ifconfig' command has been deprecated for over a decade now and has been removed from the default CentOS 7 install. You are strongly encouraged to learn to use the 'ip' command instead. If you really need 'ifconfig' you can get it with 'yum install net-tools'.
davidmichaelkarr
Changing it to onboot=yes didn't help.
TrevorH
did you change it to onboot=yes or ONBOOT=yes?
pj
and yeah, I use bridged networking on my VM hosts, you can do pretty much everything with bridged networking with the exception of a very few edge cases. You can even do NAT with bridged networking which, imo, completely gets rid of the need for a separate NAT networking type.
davidmichaelkarr
I have an additional problem that I can't copy to the clipboard from the console. There's a message saying "the guest OS does not support mouse pointer integration". Is that related to this?
TrevorH: I didn't change he name of the property, just changed "no" to "yes".
ke4nhw
mouse pointer integration is related to the VBoxAdditions
separate issue
davidmichaelkarr
TrevorH: But it's ONBOOT in the file.
ke4nhw
check your 'ifconfig -a' output. See if the interface is up, and see if you have an IP address assigned
davidmichaelkarr
ke4nhw: eth0 doesn't have an ip.
ke4nhw
okay
look at the first line inside the < > does it say UP?
nevermind that last question
davidmichaelkarr
In the eth0 section, it starts with "Link encap:Ethernet HWaddr"
then "UP BROADCAST MULTICAST MTU:.."
It might help troubleshooting if I can install guest additions. I believe I"ve mounted the additions iso, but I'm not sure what to do now.
Hmm. Looks like installing guest additions wants to access the network, so that fails.
ke4nhw
give me a minute I'm running a CentOS vm, let me try something. In the meantime, to install the guest additions, you want to first do 'yum -y update && yum -y install epel-release dkms kernel-devel' then go to where the iso mounted and do './VBoxLinuxAdditions.run'
brb
davidmichaelkarr
ke4nhw: Isn't that gong to fail if my vm can't access the network?
TrevorH
yes
davidmichaelkarr: what does BOOTPROTO= say in the ifcfg file?
« prev 1 2 3 4 5 6 7 8 next »