Re: [CentOS] rpm command option
On 5/6/20 12:49 AM, Peter Kjellström wrote: On Wed, 6 May 2020 00:00:48 + (UTC) Chris Olson via CentOS wrote: We located an application recommended by one of customers for sharing certain data. It was available for installation using a few different methods. Using yum was also recommended for the installation. The install instructions began with what appeared to be a fairly typical command as indicated below (with the URL slightly altered). sudo rpm --import https://rpm.x.com/rpmrepo.key To our junior employee assigned to perform the install on a test system, it seemed like a good idea to do some checking on the rpm option --import indicated in those instructions. They did not find the --import in any of the 14 pages of the CentOS 7 man page for rpm. Well I wouldn't called obvious, but the rpm man page has a "see also" for rpmkeys(8) and this man page documents the rpm key related options. Thanks for this info. Definitely NOT something anyone would know about! :/ Regards, Kay I don't know how it came to be that rpm --import just quietly does rpmkeys --import without documenting it though... /Peter ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
[CentOS] du hung, wild display in ps
Hi! On Centos-7: $ cat /etc/centos-release CentOS Linux release 7.8.2003 (Core) Was running du to examine the sizes of my backups and found du hung, running "ps -eLf /mnt/backup/backups" shows this: # ps -eLf | grep du root 1185 1 1185 01 May01 ?00:00:00 /usr/bin/abrt-watch-log -F Backtrace /var/log/Xorg.0.log -- /usr/bin/abrt-dump-xorg -xD root 1281 1 1281 01 May01 ?00:00:01 /usr/bin/abrt-watch-log -F BUG: WARNING: at WARNING: CPU: INFO: possible recursive locking detected ernel BUG at list_del corruption list_add corruption do_IRQ: stack overflow: ear stack overflow (cur: eneral protection fault nable to handle kernel ouble fault: RTNL: assertion failed eek! page_mapcount(page) went negative! adness at NETDEV WATCHDOG ysctl table check failed : nobody cared IRQ handler type mismatch Kernel panic - not syncing: Machine Check Exception: Machine check events logged divide error: bounds: coprocessor segment overrun: invalid TSS: segment not present: invalid opcode: alignment check: stack segment: fpu exception: simd exception: iret exception: /var/log/messages -- /usr/bin/abrt-dump-oops -xtD root 11090 1 11090 111 15:08 pts/100:01:10 du -s /mnt/backup/backups even after killing the du. there were two DUs shown, I killed the parent (presumably the one I started) but the one that remains seems to be un-killable. This is what the output looked like before I killed du: # ps -eLf | grep du root 1185 1 1185 01 May01 ?00:00:00 /usr/bin/abrt-watch-log -F Backtrace /var/log/Xorg.0.log -- /usr/bin/abrt-dump-xorg -xD root 1281 1 1281 01 May01 ?00:00:01 /usr/bin/abrt-watch-log -F BUG: WARNING: at WARNING: CPU: INFO: possible recursive locking detected ernel BUG at list_del corruption list_add corruption do_IRQ: stack overflow: ear stack overflow (cur: eneral protection fault nable to handle kernel ouble fault: RTNL: assertion failed eek! page_mapcount(page) went negative! adness at NETDEV WATCHDOG ysctl table check failed : nobody cared IRQ handler type mismatch Kernel panic - not syncing: Machine Check Exception: Machine check events logged divide error: bounds: coprocessor segment overrun: invalid TSS: segment not present: invalid opcode: alignment check: stack segment: fpu exception: simd exception: iret exception: /var/log/messages -- /usr/bin/abrt-dump-oops -xtD root 11078 18627 11078 01 15:08 pts/100:00:00 sudo du -s /mnt/backup/backups root 11090 11078 11090 121 15:08 pts/100:01:10 du -s /mnt/backup/backups root 12125 19449 12125 01 15:17 pts/000:00:00 grep --color=auto du Oh, and I never did get the du out put I expected. Anyone got a clue? Thanks in advance! Fred -- Fred Smith -- fre...@fcshome.stoneham.ma.us - "For the word of God is living and active. Sharper than any double-edged sword, it penetrates even to dividing soul and spirit, joints and marrow; it judges the thoughts and attitudes of the heart." Hebrews 4:12 (niv) -- ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Odd permissions
On 5/6/20 8:30 AM, mark wrote: when I log out, it restarts with me logged in, and only the second time I log out does it actually log me out. Are you using a Wayland or X11 session? It sounds like you may have an .xinitrc file in your home dir that starts your X11 clients twice... ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] du hung, wild display in ps
On 5/6/20 12:28 PM, Fred Smith wrote: Was running du to examine the sizes of my backups and found du hung, /mnt/backup is probably a network-mounted filesystem that is offline for one reason or another. You could try "umount -f /mnt/backup" if you can't get the mount working by any other means. If that doesn't work, then "umount -l /mnt/backup" and reboot. ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
[CentOS] video problems
I've got an ancient USB videocam (QuickCam Express, yes, 15 years old). I got it working under C7, after I removed the default loaded gspca_spca561, and replaced it with the previous driver, gspca_spca508. It also needed zc3xx. Then I updated and rebooted my system a couple of days ago, and now no /dev/video, no errors Any clues? mark "other than waiting for a camera to arrive from China somewhere in June or July?" ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
[CentOS] Fwd: video problems
Forwarded Message Subject: video problems Date: Wed, 6 May 2020 21:24:57 -0400 From: mark To: CentOS mailing list I've got an ancient USB videocam (QuickCam Express, yes, 15 years old). I got it working under C7, after I removed the default loaded gspca_spca561, and replaced it with the previous driver, gspca_spca508. It also needed zc3xx. Then I updated and rebooted my system a couple of days ago, and now no /dev/video, no errors Any clues? mark "other than waiting for a camera to arrive from China somewhere in June or July?" Right, I should have added that I even did mknod /dev/video0 c 81 0 crw-rw-r--. 1 root root 81, 0 May 6 21:07 /dev/video0 But mplayer tells me v4l2: unable to open '/dev/video0': No such device or address Huh? mark ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] du hung, wild display in ps
On Wed, May 06, 2020 at 06:24:10PM -0700, Gordon Messmer wrote: > On 5/6/20 12:28 PM, Fred Smith wrote: > >Was running du to examine the sizes of my backups and > >found du hung, > > > /mnt/backup is probably a network-mounted filesystem that is offline > for one reason or another. > > You could try "umount -f /mnt/backup" if you can't get the mount > working by any other means. If that doesn't work, then "umount -l > /mnt/backup" and reboot. Sorry, I forgot to mention it's USB-3 and has been working for a coupla months. A reboot solved it, powering the device off/on made no difference, as did replugging the cable. Afterwards, I recalled that I had run a much belated yum update 2 or 3 days ago and had failed/forgotten to reboot. Probably some necessary item had gotten wedged somehow because of that. (seen it before, but not with a USB device.) Thanks for the reply, though. Fred -- Fred Smith -- fre...@fcshome.stoneham.ma.us - "And he will be called Wonderful Counselor, Mighty God, Everlasting Father, Prince of Peace. Of the increase of his government there will be no end. He will reign on David's throne and over his kingdom, establishing and upholding it with justice and righteousness from that time on and forever." --- Isaiah 9:7 (niv) -- ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] rpm command option
On Wed, 6 May 2020 00:00:48 + (UTC) Chris Olson via CentOS wrote: > We located an application recommended by one of customers > for sharing certain data. It was available for installation > using a few different methods. Using yum was also recommended > for the installation. The install instructions began with > what appeared to be a fairly typical command as indicated > below (with the URL slightly altered). > > sudo rpm --import https://rpm.x.com/rpmrepo.key > > To our junior employee assigned to perform the install > on a test system, it seemed like a good idea to do some > checking on the rpm option --import indicated in those > instructions. They did not find the --import in any of > the 14 pages of the CentOS 7 man page for rpm. Well I wouldn't called obvious, but the rpm man page has a "see also" for rpmkeys(8) and this man page documents the rpm key related options. I don't know how it came to be that rpm --import just quietly does rpmkeys --import without documenting it though... /Peter ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] rpm command option
On Wed, May 06, 2020 at 09:49:51AM +0200, Peter Kjellström wrote: > Well I wouldn't called obvious, but the rpm man page has a "see also" > for rpmkeys(8) and this man page documents the rpm key related options. > > I don't know how it came to be that rpm --import just quietly > does rpmkeys --import without documenting it though... The source has it here: https://github.com/rpm-software-management/rpm/blob/master/rpmpopt.in#L198 (this is how rpm knows to run rpmkeys for that switch) It appears that it was introduced in 2010, and the functionality was removed from rpm in this commit: https://github.com/rpm-software-management/rpm/commit/3cbda9c03f1feb872397f4afe75988b20746f403 and the man page was updated in this commit: https://github.com/rpm-software-management/rpm/commit/c6d98322f1d30ca8028efb63bfde24b554abfda1 -- Jonathan Billings ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Custom ISO
Thanks for hint. I have changed to this: genisoimage \ -v \ -J -R \ -V "$NAME" \ -b isolinux/isolinux.bin -no-emul-boot -boot-load-size 4 \ -boot-info-table -eltorito-alt-boot -b images/efiboot.img -no-emul-boot -boot-load-size 18755 \ -o $DESTINATION_FILE . it now creates the ISO and is EFI bootable. However - I have a different issue arise. In normal install or EFI install (both) it hangs at "Starting dracut initqueue hook..." Only thing I am changing is the add the boot options for my kickstart file. So then I tried select the "standard" "Install CentOS 7" and it does the same thing, hangs at "Starting dracut". Any thoughts on that ? I am testing with virt-manager. Thanks, Jerry ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Custom ISO
What is the \x207 ?? and the \x20 ?? on this line ? inst.stage2=hd:LABEL=CentOS\x207\x20x86_64 Jerry ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Custom ISO
Sorry I get it \x20 is a space and then "7" then \x20 is another space. Jerry ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Custom ISO
On Wed, May 6, 2020 at 9:41 AM Jerry Geis wrote: > > Sorry I get it \x20 is a space and then "7" then \x20 is another space. > I like underscores > Jerry > ___ > CentOS mailing list > CentOS@centos.org > https://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
[CentOS] network disconnection after several hours
Hello, Here is the context during the problem occurs : We have a new machine running on centos 8.From this machine, we restore a postgresql dump on an other machine runnning on centos 7.After several hoursof running, restore fails due to a disconnection (no route to host).But, if we disable the firewall on centos 8, restore succeed. Before having this new centos 8 machine, we had a centos 7 machine and all worked fine with firewall activated. Has anyboby an ideas, clues or something else? Thanks, Thomas Poty ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Custom ISO
Looks like the issue was with the set -l 'CentOS 7 x86-64' in the grub.cfg file. It needed to match my changed name. Looking good now. Jerry ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Ailing MATE desktop
On Tue, 2020-05-05 at 19:25 -0500, Robert G (Doc) Savage via CentOS wrote: > > I'm about ready to run "dnf erase *mate*" and try re-installing MATE > from scratch from the GNOME3 desktop. Is that possible without > ripping > the heart out of C8 by deleting other critical packages? I've attached a capture of "dnf erase *mate*" that shows the 104 packages that would be removed. It looks safe enough, but if there's a a better way to fix the problem I'd rather try that. --Doc Savage Fairview Heights, IL # dnf erase *mate* Modular dependency problems: Problem 1: conflicting requests - nothing provides module(perl:5.26) needed by module perl-DBD-MySQL:4.046:8010020191114030811:073fa5fe-0.x86_64 Problem 2: conflicting requests - nothing provides module(perl:5.26) needed by module perl-DBD-SQLite:1.58:8010020191114033549:073fa5fe-0.x86_64 Problem 3: conflicting requests - nothing provides module(perl:5.26) needed by module perl-DBI:1.641:8010020191113222731:16b3ab4d-0.x86_64 Dependencies resolved. = Package ArchitectureVersion Repository Size = Removing: libmatekbdx86_64 1.24.0-1.el8 @copr:copr.fedorainfracloud.org:stenstorp:MATE 659 k libmatemixer x86_64 1.24.0-1.el8 @copr:copr.fedorainfracloud.org:stenstorp:MATE 868 k libmateweatherx86_64 1.24.0-2.el8 @copr:copr.fedorainfracloud.org:stenstorp:MATE 192 k libmateweather-data noarch 1.24.0-2.el8 @copr:copr.fedorainfracloud.org:stenstorp:MATE 114 M mate-applets x86_64 1.24.0-2.el8 @copr:copr.fedorainfracloud.org:stenstorp:MATE 38 M mate-backgrounds noarch 1.24.0-1.el8 @copr:copr.fedorainfracloud.org:stenstorp:MATE 20 M mate-calc x86_64 1.24.0-2.el8 @copr:copr.fedorainfracloud.org:stenstorp:MATE 6.2 M mate-control-center x86_64 1.22.2-2.el8 @copr:copr.fedorainfracloud.org:stenstorp:MATE 14 M mate-control-center-filesystemx86_64 1.22.2-2.el8 @copr:copr.fedorainfracloud.org:stenstorp:MATE0 mate-desktop x86_64 1.24.0-3.el8 @copr:copr.fedorainfracloud.org:stenstorp:MATE 186 k mate-desktop-libs x86_64 1.24.0-3.el8 @copr:copr.fedorainfracloud.org:stenstorp:MATE 3.0 M mate-dictionary x86_64 1.22.2-2.el8 @copr:copr.fedorainfracloud.org:stenstorp:MATE 23 M mate-disk-usage-analyzer x86_64 1.22.2-2.el8 @copr:copr.fedorainfracloud.org:stenstorp:MATE 23 M mate-icon-theme noarch 1.24.0-1.el8 @copr:copr.fedorainfracloud.org:stenstorp:MATE 28 M mate-mediax86_64 1.24.0-2.el8 @copr:copr.fedorainfracloud.org:stenstorp:MATE 1.5 M mate-menusx86_64 1.24.0-2.el8 @copr:copr.fedorainfracloud.org:stenstorp:MATE 430 k mate-menus-libs x86_64 1.24.0-2.el8 @copr:copr.fedorainfracloud.org:stenstorp:MATE 134 k mate-menus-preferences-category-menu x86_64 1.24.0-2.el8 @copr:copr.fedorainfracloud.org:stenstorp:MATE 3.2 k mate-notification-daemon x86_64 1.22.1-1.el8 @copr:copr.fedorainfracloud.org:stenstorp:MATE 527 k mate-panelx86_64 1.22.2-1.el8 @copr:
[CentOS] Odd permissions
I've posted a couple times in the last month, that for some reason, since I rebuilt to CentOS 7 from 6 (same home directory, another partition, of course), when I log out, it restarts with me logged in, and only the second time I log out does it actually log me out. Still debugging that. I have logged in as root, and don't have the problem, so I'm assuming that it's something incompatible, or somehow mis-set in ~/.. Looking in ~/.cache, I found something weird: ~/.cache/gnome-control-center, which had permissions of d-w-rwxr-T Say *what*? Anyone got a clue as to why? And while I'm looking for clues, does anyone have any thoughts as to where my issue might lie? mark ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] network disconnection after several hours
> Hello, > Here is the context during the problem occurs : > > We have a new machine running on centos 8.From this machine, we restore a > postgresql dump on an other machine runnning on centos 7.After several > hoursof running, restore fails due to a disconnection (no route to > host).But, if we disable the firewall on centos 8, restore succeed. > Before having this new centos 8 machine, we had a centos 7 machine and all > worked fine with firewall activated. Are you really sure it happens because of the firewall? Anything in the logs indicating it happens because firewalld fiddles with something? I gues by firewall you mean firewalld. Usually such situations can come from NetworkManager with its default configuration. If, for some reason, an ethernet device looses link for a short time, NetworkManager is eager to bring down the interface and the result is the nice "no route to host" situation. To prevent NM from "helping" you in this situation, you have to install the server subpackage from NM - or get rid of it :-) Regards, Simon ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos