Re: [gentoo-user] New profile, gcc-13.2.1_p20240210 fails to build. ATTN: Peter Humphrey.
On Sunday, March 24, 2024 8:49:28 A.M. AEDT Dale wrote: > Michael wrote: > >> Nice to know I'm not alone. I forgot to mention, it wanted to update > >> glibc first. The news item said NOT to let it do that and use the > >> --nodeps option instead. So, the command I used had that option. I've > >> since restarted it, just in case it finishes. I'll post back if it > >> does. I find it odd that it builds fine one time but fails on others. > >> Strange things happen tho. > >> > >> Dale > >> > >> :-) :-) > > > > There's a new patch for gcc. You need to follow the guide as you did, > > then > > resync portage to fetch the latest ebuild for gcc, before you start the > > emerge --emptytree world. This is how I managed to get ggc to build > > after previous attempts with 'no error' failures. Hope this works for > > you. > > It just failed the second attempt. I'll sync again and hopefully the > new ebuild will fix things. If nothing else, they working out the > kinks. Since I'm in a chroot, messing up won't matter. > > Maybe Peter will see this, update and try again. May help him as well. I had the gcc compile fail, but was successful after removing the "objc" use flag. Unfortunately, it seemd to be required by app-arch/unar during step 16, rebuild world. I'm re-enbleing it and will see how it all goes. -- Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/ Asking for technical help in newsgroups? Read this first: http://catb.org/~esr/faqs/smart-questions.html#intro
Re: [gentoo-user] How do I zap a specific area of a gnumeric spreadsheet page?
rray[6]} )) > accum7=$(( ${accum7} + ${dataarray[7]} )) > accum8=$(( ${accum8} + ${dataarray[8]} )) >else > # > # If this line's date has changed, output to hospsum.csv, update prevdate, > # and update accumulators. ***IMPORTANT*** "echo" TO hospsum.csv MUST BE > # EXECUTED BEFORE UPDATING ACCUMULATORS AND prevdate*** > echo > "${prevdate},${accum2},${accum3},${accum4},${accum5},${accum6},${accum7},${ > accum8}" >&3 prevdate="${dataarray[0]}" > accum2=${dataarray[2]} > accum3=${dataarray[3]} > accum4=${dataarray[4]} > accum5=${dataarray[5]} > accum6=${dataarray[6]} > accum7=${dataarray[7]} > accum8=${dataarray[8]} >fi > done # > # Close file hospsum.csv > exec 3<&- > IFS="${oldifs}" Bash can do patern substitution in variable references. Replace accum3=$(( ${accum3} + ${dataarray[3]} )) with accum3=$(( ${accum3} + ${dataarray[3]/'.'/0} )) and similarly with the other lines and any array value of '.' will be replaced with a '0' -- Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/ Asking for technical help in newsgroups? Read this first: http://catb.org/~esr/faqs/smart-questions.html#intro
Re: [gentoo-user] Why is KDE so bad at multiple monitors?
On Sunday, February 25, 2024 3:53:37 P.M. AEDT Daniel Frey wrote: > After cursing KDE for a while with three monitors, does anyone have any > idea why KDE is so bad at managing multiple monitors? > > All I'm trying to do is get it to remember *where* my monitors are (I > have two side-by-side and one above the right monitor.) I go into System > Settings, set it up and it works perfectly... until I log out. Then it > resets everything and I have to set it up again. > > Anyone have any clue why it refuses to save settings? > > -Dan Have a look in /etc/Xorg/xorg.conf Mine has this section, which I think I edited by hand. My monitor config does survive reboots. Section "ServerLayout" Identifier "X.org Configured" Screen 0 "Screen0" 0 0 Screen 1 "Screen1" RightOf "Screen0" InputDevice"Mouse0" "CorePointer" InputDevice"Keyboard0" "CoreKeyboard" EndSection "man xorg.conf" gives the syntax. Here is the section for the "Screen" part of "ServerLayout" Screen screen-num "screen-id" position-information One of these entries must be given for each screen being used in a session. The screen-id field is mandatory, and specifies the Screen section being referenced. The screen-num field is optional, and may be used to specify the screen number in multi-head configurations. When this field is omitted, the screens will be numbered in the order that they are listed in. The numbering starts from 0, and must be consecutive. The position-information field describes the way multiple screens are positioned. There are a number of different ways that this information can be provided: x y Absolute x y These both specify that the upper left corner’s coordinates are (x,y). The Absolute keyword is optional. Some older versions of XFree86 (4.2 and earlier) don’t recognise the Absolute keyword, so it’s safest to just specify the coordinates without it. RightOf "screen-id" LeftOf"screen-id" Above "screen-id" Below "screen-id" Relative "screen-id" x y These give the screen’s location relative to another screen. The first four position the screen immediately to the right, left, above or below the other screen. When positioning to the right or left, the top edges are aligned. When positioning above or below, the left edges are aligned. The Relative form specifies the offset of the screen’s origin (upper left corner) relative to the origin of another screen. -- Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/ Asking for technical help in newsgroups? Read this first: http://catb.org/~esr/faqs/smart-questions.html#intro
Re: [gentoo-user] Open source network monitoring / intrusion detection recommendations?
On Thursday, December 21, 2023 8:53:05 A.M. AEDT Mark Knecht wrote: > Hi, >I have a couple of older, by today's standards not very powerful, > laptops and I was considering setting up some sort of network monitoring > aimed mostly at watching for intrusion events but also just network traffic > and resource issues. I'm wondering what you all might be using for that > sort of stuff in the home environment? The network has Linux, Windows, > Chromebox and Android devices along with a number of smart TV's. > >Thanks in advance for any suggestions. > > Cheers, > Mark I haven't used any of them, but this article lists 6 options. I'd already heard of Kali, but you might find what you are after here: https://www.comptia.org/blog/linux-distributions-for-ethical-hacking-and-pen-testing -- Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/ Asking for technical help in newsgroups? Read this first: http://catb.org/~esr/faqs/smart-questions.html#intro
Re: [gentoo-user] Certain packages refuse to use binary from build save, the -k thing.
On Saturday, September 16, 2023 2:44:03 P.M. AEST Dale wrote: > Howdy, > > A couple of my video players are not playing videos correctly. I've > rebuilt a few things but no change. Some work fine, some give a error > about a bad index or something, some just don't even try at all. The > videos come from various sources and are of different file extensions. > I can't find a rhyme or reason to the failure. So, my plan, do a emerge > -ek world to reinstall all packages instead of just the obvious ones > that isn't fixing the issue. I figure that should catch whatever is out > of sync and fix the problem. If not, then try to figure out why it is > breaking the hard way. This is basically a emerge -e world, just faster > on my main system. > > What I did before this. I ran emerge -eak world on my main install. > Any packages that showed ebuild, which means it doesn't have a package > binary, I emerged in my chroot. Once it was done installing, I copied > the binary package over to my main install. However, when I run emerge > -eak world again on my main install, it still shows ebuild for these > packages. > > > Most package are the way they should be, showing a binary. Like this: > > > [binary R] x11-libs/libX11-1.8.6::gentoo USE="-doc -test" > ABI_X86="32 (64) (-x32)" 0 KiB > > > Does anyone know if there is some reason these packages won't use a > binary for some reason? I've recompiled some of these twice now with it > refusing to show it using a binary. I expect memtest and a couple > others to fail but never ran into this before. > > I do this so that my main system updates faster. A couple of those > packages has a bit longer compile time. I might add, I've done this > countless times doing updates with no problems, most likely even with > these packages. Today it just refuses to cooperate. > > Oh, I posted about handbrake and opencascade blocking some updates in > another thread a while back, I unmerged those and Kicad which I think > used opencascade. It did update some video stuff the other day. I feel > some package is out of sync with some other package and hope a reinstall > will fix it. Otherwise, could be a bug in some package version. > > Any ideas? Does your compile server have exactly the same USE flags (and other flags) set as the target system? -- Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/ Asking for technical help in newsgroups? Read this first: http://catb.org/~esr/faqs/smart-questions.html#intro
Re: [gentoo-user] Please help me understand this emerge error message.
On Saturday, August 12, 2023 4:46:17 A.M. AEST Alan Mackenzie wrote: > Hello, Gentoo. > > For the past couple of days, after $ emerge --sync, I've tried > > $ emerge -auND @world > > .. It has come back very quickly with the error message: > > # > > !!! The ebuild selected to satisfy ">=net-misc/curl-7.21.5[ssl]" has unmet > requirements. - net-misc/curl-8.1.2::gentoo USE="adns ftp gnutls http2 imap > pop3 progress-meter smtp ssl tftp -alt-svc -brotli -gopher -hsts -idn > -kerberos -ldap -mbedtls (-nghttp3) -nss -openssl -rtmp (-rustls) -samba > -ssh (-sslv3) -static-libs -telnet -test -verify-sig -websockets -zstd" > ABI_X86="(64) -32 (-x32)" CURL_SSL="openssl -gnutls -mbedtls -nss > (-rustls)" > > The following REQUIRED_USE flag constraints are unsatisfied: > curl_ssl_openssl? ( openssl ) > > The above constraints are a subset of the following complete expression: > ssl? ( exactly-one-of ( curl_ssl_gnutls curl_ssl_mbedtls curl_ssl_nss > curl_ssl_openssl curl_ssl_rustls ) ) curl_ssl_gnutls? ( gnutls ) > curl_ssl_mbedtls? ( mbedtls ) curl_ssl_nss? ( nss ) curl_ssl_openssl? ( > openssl ) curl_ssl_rustls? ( rustls ) > > # > > .. I don't understand what is meant by "curl_ssl_openssl? ( openssl )" in > the above message. I assume it's talking about some USE flag, but which? > openssl? curl_ssl_openssl? As a matter of interest, I have > =dev-libs/openssl-3.0.9-r2 installed. > > Please help me understand what's happening. > > Thanks for the help! In the USE flsgs you have: gnutls -openssl In the CURL_SSL flags you have: openssl -gnutls These 2 are contradicting each other. One says use gnutls instead of openssl, the other says no, use openssl instead of gnutls. Pick which option you want to use, and adjust the flags to agree on that option. -- Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/ Asking for technical help in newsgroups? Read this first: http://catb.org/~esr/faqs/smart-questions.html#intro
Re: [gentoo-user] [OT] Read date input from text file problem
On Sunday, August 6, 2023 12:28:26 P.M. AEST Walter Dnes wrote: > I have a situation where something that works as a literal but > doesn't work when reading from a text file. Here's the problem, > simplified... > > I have a text file ztest.txt consisting of one line... > > "August 14, 2021" > > ...and I have a script ztest consisting of... > > #!/bin/bash > xtoday=$( date --date="August 14, 2021" +%F ) > echo ${xtoday} > read < ztest.txt > echo "${REPLY}" > xtoday=$( date --date="${REPLY}" +%F ) > echo ${xtoday} > > Running the script produces three lines of output... > > 2021-08-14 > "August 14, 2021" > date: invalid date ‘"August 14, 2021"’ > > What am I doing wrong? The date in the text file shoudn't have the quotes around it. -- Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/ Asking for technical help in newsgroups? Read this first: http://catb.org/~esr/faqs/smart-questions.html#intro
Re: [gentoo-user] ip_change_notifier - empty IP address
On Wednesday, June 28, 2023 5:05:25 P.M. AEST Neil Bothwick wrote: > On Tue, 27 Jun 2023 18:49:55 -0600, the...@sys-concept.com wrote: > > # Query the API to get the current IP address > > NEW_IP=$(get_ip_address) > > > > # Retry if the IP address is empty > > retry_count=0 > > while [[ -z "$NEW_IP" && $retry_count -lt 3 ]]; do > > > > sleep 1 > > NEW_IP=$(get_ip_address) > > ((retry_count++)) > > > > done > > That's better, although I would use a longer sleep to allow for network > issues. # Retry if the IP address is empty retry_count=0 while [[ -z "$NEW_IP" && $retry_count -lt 3 ]]; do ((retry_count++)) sleep $retry_count NEW_IP=$(get_ip_address) done -- Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/ Asking for technical help in newsgroups? Read this first: http://catb.org/~esr/faqs/smart-questions.html#intro
Re: [gentoo-user] Gcc 13.1 and chromium
On Friday, April 28, 2023 4:40:24 A.M. AEST Alan Grimes wrote: > I rebuilt my system on gcc 13.1. I think the compiler is good but it > exposed some bugs in a handful of packages, these are: > > tortoise /var/tmp/portage # tree -L 2 > . > ├── app-editors > │ └── scite-5.3.5 > ├── media-libs > │ ├── liblo-0.31 > │ └── nas-1.9.5 > └── media-sound > └── audacity-3.2.5 > > 8 directories, 0 files > tortoise /var/tmp/portage # > > I trust these will be patched and upstream will be notified, hardly > worth commenting actually. > > Chromium still shows the same error pattern but generated crashes at a > slower rate than previously, the result is that I was able to collect > error messages from the very beginning of the run: > > > atg@tortoise ~ $ chromium > [19039:19057:0427/143338.626886:ERROR:bus.cc(399)] Failed to connect to > the bus: Could not parse server address: Unknown address type (examples > of valid types are "tcp" and on UNIX "unix") > [19039:19057:0427/143338.626944:ERROR:bus.cc(399)] Failed to connect to > the bus: Could not parse server address: Unknown address type (examples > of valid types are "tcp" and on UNIX "unix") Have you tried starting it with: strace chromium to get debugging info on each system call. I might show you where the bad server address is coming from, as it will list all the files that are opened. -- Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/ Asking for technical help in newsgroups? Read this first: http://catb.org/~esr/faqs/smart-questions.html#intro
Re: [gentoo-user] Another day without clues.
On Tuesday, April 25, 2023 4:32:59 A.M. AEST Alan Grimes wrote: > Still no clues as to why chromium can't display about:blank from an > empty user config folder without spewing hundreds of errors a second. How are you starting chromium? Have you tried starting it from a command line to see if it prints any usefull error messages? -- Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/ Asking for technical help in newsgroups? Read this first: http://catb.org/~esr/faqs/smart-questions.html#intro
Re: [gentoo-user] [SOLVED... THE HARD WAY] Major problems with libpcre / UTF8
On Wednesday, December 28, 2022 7:36:38 A.M. AEDT Walter Dnes wrote: > I gave up on searching Google, and decided to nuke+repave. I'm sending > from my backup ("successor") machine. The original machine now has basic > install plus xorg-server plus icewm plus xterm. The titles on the xterm > window bars are OK, i.e. they are *NOT* missing every second letter. I > still have to install 74 apps from the backup copy I made of "world" and > configure them. > > I fear that I may have to do the same with the backup machine. I run > the same configs on both machines. I haven't updated the backup machine > for 63 days, according to the warnings. Hopefully correcting make.conf > right now will save me a second reinstall. Did you try the not quite so hard "emerge --emptytree -a world" first? It just recompiles your whole current system again, to make sure everything is up to date and has the current set of Use flags. Skips all the initial installation steps, and keeps all your /etc config customisations. -- Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/ Asking for technical help in newsgroups? Read this first: http://catb.org/~esr/faqs/smart-questions.html#intro
Re: [gentoo-user] Major problems with libpcre / UTF8
On Saturday, December 17, 2022 6:05:08 A.M. AEDT Walter Dnes wrote: > On Fri, Dec 16, 2022 at 06:46:30PM +, Michael wrote > > > Have you sorted out your locale to include UTF-8? > > > > Check this page: > > > > https://wiki.gentoo.org/wiki/Localization/Guide > > My /etc/locale.gen has been... > > en_US ISO-8859-1 > en_US.UTF-8 UTF-8 > C.UTF8 UTF-8 > > ...for a long time. Are you missing a hyphen in "C.UTF8"? -- Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/ Asking for technical help in newsgroups? Read this first: http://catb.org/~esr/faqs/smart-questions.html#intro
Re: [gentoo-user] NAS and replacing with larger drives
On Friday, December 9, 2022 12:58:38 A.M. AEDT Dale wrote: > I was thinking DAS was not a good option. It seems like a feature > removed and cheaper version of NAS. Maybe get the DAS, then connect it to the Rasberry Pi 4, to make a DIY NAS. That way you get a propper encolsure for your drives, without needing to cobble something together. -- Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/ Asking for technical help in newsgroups? Read this first: http://catb.org/~esr/faqs/smart-questions.html#intro
Re: [gentoo-user] Libsld, what gives?
On Wednesday, November 16, 2022 6:11:18 P.M. AEDT Alan Grimes wrote: > Even though only 45 days have passed since my last update, I felt like > doing one tonight. Usually I should wait six months just to save myself > the aggrivation... No, waiting 6 months between updates *causes* aggrivation. Try updateing on a regular schedule, at 1 or 2 week intervals, and see if your experience improves. -- Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/ Asking for technical help in newsgroups? Read this first: http://catb.org/~esr/faqs/smart-questions.html#intro
Re: [gentoo-user] Getting printer working, the road of Pain.
On Friday, September 9, 2022 2:52:01 A.M. AEST Alan Grimes wrote: > Ok. I'm going to have to do it. I'm going to have to get my blessed > printer working. > > It is the finest laser printer money can buy. God himself uses it to > process the paperwork involved in assigning souls to either heaven or > hell... What I'm saying is that the printer is such an immaculate > example of printing perfection that linux is going to give me absolute > hell getting it working. > > I will be sthocked if I can get it working in less than two weeks > working full time and without influcting a migraine and/or an ulcer on > myself. > > (meanwhile, Windows can print to the thing effortlessly) > > Right now linux is so broken that the CUPS web interface will deny all > attempts to administer the printer and reject any password. The config > file is written in moonspeak, I just need the motherfucking thing to say > yes when I tell it to do a thing. I expect it to take 2-3 days just to > get over this hurdle. > > How can people actually go around installing linux on people's computers > as if they were doing them a favor when it really is this bad? Two points. 1) Did you bother to research the Linux support situation before you purchased the printer? World's finest printer or not, if they keep parts of the interface as proprietry secrets then there is not much the Linux maintainers can do. 2) Remind us again why you still try to run Gentoo when you obviously dislike it. -- Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/ Asking for technical help in newsgroups? Read this first: http://catb.org/~esr/faqs/smart-questions.html#intro
Re: [gentoo-user] MEGA sync problems
On Saturday, October 9, 2021 7:33:04 A.M. AEDT Skippy wrote: > Greetings. > > I have been using Megasync with Gentoo for many moons. Now I'm having an > assortment of problems. > > Mega is not in the official Gentoo. I've been getting my ebuilds from here: > > http://gpo.zugaina.org/net-misc/megasync > > I currently have 4.4.0 installed. This was working fine until about 2-3 > weeks ago. Now I get this error message when I attempt to start it. > > > -- > > There are newer versions available so I figured this was a good > indicator I should just update Megasync. > > Well the universe hates me and every version of Megasync newer than > 4.4.0 fails. In fact if I attempt to re-emerge my existing 4.4.0 that > fails as well. > > Here is the full emerge log for version 4.5.3. > > https://zerobin.net/?e8b7f31b1ce11c23#4wTnxsnZ+v31rS8PLplBxM+//23zC5b0rMXSAT > uoYDQ= > > I've been informed that 4.5.3 is failing because it needs <=ffmpeg-3.4. > > That brings me to how to install such a version of ffmpeg. My limited > understanding of slots tells me this should be possible, but I've yet to > find anything explaining how to install the older ffmpeg without > disturbing the newer version. > > Any help with this would be greatly appreciate. Much thanks. > > Skippy > - > > root # emerge -pqv '=net-misc/megasync-4.5.3::Skippy' > [ebuild U ] net-misc/megasync-4.5.3 [4.4.0] USE="cryptopp curl > readline sqlite thunar zlib -dolphin -examples -freeimage -gnome -java > -nautilus -php -python -threads (-qt5%*)" ABI_X86="32 (64) (-x32)" > > It looks like you are downloading the ebuild by hand from their web site. I just installed Megesync 4.5.3 on my system, which has ffmpeg-4.4 The commands I used were: layman -a 4nykey to add the 4nykey overlay, which contains megasync, then emerge -a megasync just like other portage programs. If you still get any crypto-related errors, have a look for the recent news item "*2021-07-23-libxcrypt-migration*" eselect news list will get you a list. -- Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/ Asking for technical help in newsgroups? Read this first: http://catb.org/~esr/faqs/smart-questions.html#intro
Re: [gentoo-user] HOWTO: Freezing/unfreezing (groups of) processes
On Saturday, February 6, 2021 6:07:39 A.M. AEDT Walter Dnes wrote: > On Fri, Feb 05, 2021 at 06:55:12AM -0500, Rich Freeman wrote > > > On Fri, Feb 5, 2021 at 2:45 AM Walter Dnes wrote: > > > So far, so good, but running "ps -ef | grep whatever" and then > > > > > > typing the kill -SIGSTOP/SIGCONT command on the correct pid is grunt > > > work, subject to typos. > > > > man killall > > My reading of the "killall" man page is that it works on command > names. For my script, "pstop palemoon" stops all instances of Pale > Moon. But my script greps the entire line, so "pstop slashdot" will > stop the process... > > /home/waltdnes/pm/palemoon/palemoon -new-instance -p slasdot > > Does "killall" have that ability to stop a process based on any > parameters in the command line? Someone else mentioned pgrep. It has an associated pkill command as well. Both appear to have a "-f" option to also search on the full command line. -- Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/ Asking for technical help in newsgroups? Read this first: http://catb.org/~esr/faqs/smart-questions.html#intro
Re: [gentoo-user] Re: meson build woes
On Tuesday, August 25, 2020 2:23:57 A.M. AEST Grant Edwards wrote: > On 2020-08-24, Franz Fellner wrote: > > On Mo 24 Aug 2020 11:21:10 +0200, Hogren wrote: > >> Maybe try to : > >> > >> - Unmerge all python and python-setuptools versions > > > > No, don't do that!!! > > Unmerging all python version will leave you with a non-working portage. > > Indeed -- I've done that. It's not fun. You certainly won't do it a > second time. > > -- > Grant I'm trying again. I started by removing all the Python version stuff I'd added under /etc/ portage to try and bring things back to standard. Now I'm seeing instances where a package has had multiple "python_single_target" variable set, like the example below. I'm not sure how this is possible, or where they are coming from. It makes it look like something may be wrong in my profile, but that should get corrected every time I sync portage with the mirrors, shouldn't it? ## [Tue Aug 25 11:42:14]# emerge --autounmask-keep-masks y --verbose \ --quiet-fail y --backtrack=99 --keep-going --jobs 6 --with-bdeps y \ --quiet --update --buildpkg --deep --reinstall changed-use --usepkg n \ -a -e world !!! The ebuild selected to satisfy ">=dev-util/gdbus-codegen-2.48" has unmet requirements. - dev-util/gdbus-codegen-2.62.6::gentoo USE="" ABI_X86="(64)" PYTHON_SINGLE_TARGET="python3_6 python3_7 -python3_8" The following REQUIRED_USE flag constraints are unsatisfied: exactly-one-of ( python_single_target_python3_6 python_single_target_python3_7 python_single_target_python3_8 ) ## -- Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/ Asking for technical help in newsgroups? Read this first: http://catb.org/~esr/faqs/smart-questions.html#intro
[gentoo-user] meson build woes
For the past month or so (since the recent Python version changes) I haven't been able to get a full emerge update to complete. The main culprit seems to be meson, but only because what looks like an internal Python module, "setup.py", can't import 'setup' from 'setuptools' All the remaining failures are either the same error, or dependencies of packages that get the error. I have been trying various combinations of which Python version is the default and which versions are in the "PYTHON_TARGETS" variable, but nothing seems to change much. Rebuilding dev-python/setuptools didn't help either. My google searches for the error message "cannot import name 'setup' from 'setuptools'" also haven't turned up anything that seemed relevent to my system Does anyone have any suggestions on what I can try before I rebuild my system from scratch? The relevant section of the build log in included below, and the full log is attached. "eselect python list" tells me tjhat the default should be python3.6 # ## * python3_7: running distutils-r1_run_phase distutils-r1_python_compile python3.7 setup.py build -j 6 Traceback (most recent call last): File "setup.py", line 24, in from setuptools import setup ImportError: cannot import name 'setup' from 'setuptools' (unknown location) * ERROR: dev-util/meson-0.54.2::gentoo failed (compile phase): * (no error message) * * Call stack: * ebuild.sh, line 125: Called src_compile * environment, line 2949: Called distutils-r1_src_compile * environment, line 1219: Called _distutils-r1_run_foreach_impl 'distutils- r1_python_compile' * environment, line 447: Called python_foreach_impl 'distutils-r1_run_phase' 'distutils- r1_python_compile' * environment, line 2557: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 2056: Called _multibuild_run '_python_multibuild_wrapper' 'distutils- r1_run_phase' 'distutils-r1_python_compile' * environment, line 2054: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 846: Called distutils-r1_run_phase 'distutils-r1_python_compile' * environment, line 1210: Called distutils-r1_python_compile * environment, line 1079: Called esetup.py 'build' '-j' '6' * environment, line 1600: Called die * The specific snippet of code: * "${@}" || die "${die_args[@]}"; ##### ## -- Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/ Asking for technical help in newsgroups? Read this first: http://catb.org/~esr/faqs/smart-questions.html#intro * Package:dev-util/meson-0.54.2 * Repository: gentoo * Maintainer: flop...@gentoo.org willi...@gentoo.org * USE:abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python3_6 python_targets_python3_7 userland_GNU * FEATURES: installsources network-sandbox preserve-libs sandbox userpriv usersandbox * Applying 0.54.2-multilib-clang.patch ... [ ok ] * python3_6: running distutils-r1_run_phase distutils-r1_python_compile python3.6 setup.py build -j 6 running build running build_py creating /var/tmp/portage/dev-util/meson-0.54.2/work/meson-0.54.2-python3_6/lib/mesonbuild copying mesonbuild/mtest.py -> /var/tmp/portage/dev-util/meson-0.54.2/work/meson-0.54.2-python3_6/lib/mesonbuild copying mesonbuild/mesonmain.py -> /var/tmp/portage/dev-util/meson-0.54.2/work/meson-0.54.2-python3_6/lib/mesonbuild copying mesonbuild/interpreterbase.py -> /var/tmp/portage/dev-util/meson-0.54.2/work/meson-0.54.2-python3_6/lib/mesonbuild copying mesonbuild/msetup.py -> /var/tmp/portage/dev-util/meson-0.54.2/work/meson-0.54.2-python3_6/lib/mesonbuild copying mesonbuild/msubprojects.py -> /var/tmp/portage/dev-util/meson-0.54.2/work/meson-0.54.2-python3_6/lib/mesonbuild copying mesonbuild/depfile.py -> /var/tmp/portage/dev-util/meson-0.54.2/work/meson-0.54.2-python3_6/lib/mesonbuild copying mesonbuild/munstable_coredata.py -> /var/tmp/portage/dev-util/meson-0.54.2/work/meson-0.54.2-python3_6/lib/mesonbuild copying mesonbuild/mlog.py -> /var/tmp/portage/dev-util/meson-0.54.2/work/meson-0.54.2-python3_6/lib/mesonbuild copying mesonbuild/mintro.py -> /var/tmp/portage/dev-util/meson-0.54.2/work/meson-0.54.2-python3_6/lib/mesonbuild copying mesonbuild/envconfig.py -> /var/tmp/portage/dev-util/meson-0.54.2/work/meson-0.54.2-python3_6/lib/mesonbuild copying mesonbuild/minit.py -> /var/tmp/portage/dev-util/meson-0.54.2/work/meson-0.54.2-python3_6/lib/mesonbuild copying mesonbuild/coredata.py -> /var/tmp/portage/dev-util/meson-0.54.2/work/meson-0.54.2-python3_6/lib/mesonbuild copying mesonbuild/mesonlib.py -> /v
Re: [gentoo-user] What's with all these "acct-group" ebuilds recently?
On Sunday, June 21, 2020 9:25:38 A.M. AEST Michael Orlitzky wrote: > On 2020-06-20 19:06, Daniel Frey wrote: > > I understand the dependencies problem that they were trying to solve, > > but I don't think the way it was implemented is a great one. > > This isn't a fundamental problem, it's your package manager being dumb. > File a bug; I can think of several band-aids for this, like adding a > flag to emerge that makes it prefer non-acct-* packages and then adding > that flag to EMERGE_DEFAULT_OPTS. Or do a quick check to see if any of the packages are dependencies of one of the other packages, and prefer the one highest on the ladder. -- Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/ Asking for technical help in newsgroups? Read this first: http://catb.org/~esr/faqs/smart-questions.html#intro
Re: [gentoo-user] Replacement for qpopper
On Monday, October 14, 2019 5:46:46 P.M. AEDT Hartmut Figge wrote: > Greetings, > > first some history. qpopper was masked a long time ago now but is still > installed and working on my Gentoo. Even if it doesn't show up anymore > on eix. But it does on eix-test-obsolete. > > I don't like this situation and would like to get rid of qpopper and > replace it with another package. Nothing fancy, only to allow clients to > use POP3 on localhost. > > Looking at the possibilities it seems I have to use popa3d which I know > nothing about. Experiments would be tricky because first I would have to > remove qpopper and would then have lost the current ability to use POP3. > And if there are difficulties with popa3d... ;) > > Suggestions? > > Hartmut I used to use qpopper until 2 or 3 years ago. Now i use net-mail/tpop3d It's entice config file is: # cat /etc/tpop3d/tpop3d.conf listen-address: 127.0.0.1 mailbox: bsd:/var/spool/mail/$(user) auth-pam-enable: true auth-pam-mail-group: mail It runs as a service, started from systemd. -- Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/ Asking for technical help in newsgroups? Read this first: http://catb.org/~esr/faqs/smart-questions.html#intro
Re: [gentoo-user] Fdisk reports new HD as 10MiB
On Saturday, July 6, 2019 12:44:46 A.M. AEST Robin Atwood wrote: > On Fri, 05 Jul 2019 15:34:18 +0100 > > Mick wrote: > > On Friday, 5 July 2019 15:30:06 BST Robin Atwood wrote: > > > Thanks Vladimir, that sounds promising. Can you recommend any GPT > > > programs (this is new to me)? However the dd utility failed when I > > > tried to copy my old HD to the new one. > > > > > > # dd if=/dev/sda of=/dev/sdb bs=64K conv=noerror,sync > > > dd: error writing '/dev/sdb': No space left on device > > > 160+0 records in > > > 159+0 records out > > > 10481664 bytes (10 MB, 10 MiB) copied, 0.132944 s, 78.8 MB/s > > > > > > Cheers > > > Robin > > > > You can use gptfdisk, parted/gparted, etc. > > > > To check the size as well as additional information you can use > > smartmontools and run: > > > > smartctl -i /dev/sda > > > > It may also be worth checking if later firmware is available to > > address any issues with it, like reporting the wrong size with some > > tools. > > > > However, the dd command failure sounds suspicious - as I understand > > it dd should not fail unless the disk has run out of space. > > OK panic over! I had shelled into the wrong system! The mystery is what > I was trying to copy to, the machine only has one HD. It would probably just have created a normal file called /dev/sdb which would have grown till it filled the empty space on the partition. -- Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/ Asking for technical help in newsgroups? Read this first: http://catb.org/~esr/faqs/smart-questions.html#intro
Re: [gentoo-user] Re: LVM2 problem, meta data format change?
On Tuesday, May 28, 2019 5:14:42 P.M. AEST Michael Haubenwallner wrote: > Hi Paul, > > as an LVM user without deeper knowledge, stumbled upon your question without > any reply yet, and my fear was to run into the same when updating lvm2. > On 5/17/19 2:26 PM, Paul Colquhoun wrote: > > Recently I found that new kernels were not booting for me, because they > > could not assemble the LVM partition that I use for the root filesystem. > > > > Booting back to my old kernel still worked. > > > > I have tracked this back to the lvm2 version. > > > > After booting with the old kernel, I ran lvm and tried the 'fullreport' > > command. > > > > sys-fs/lvm2-2.02.184-r3 gives an error: > > > > lvm> fullreport > > > > LV root invalid: visible raid meta LV for raid1 segment > > LV root invalid: visible raid meta LV for raid1 segment > > Internal error: LV segments corrupted in root. > > Searching the web with parts of this error messages leads me to this commit: > https://github.com/lvmteam/lvm2/commit/dd5716ddf258c4a44819fa90d3356833ccf7 > 67b4 > > While I have no idea about "visible SubLVs", maybe that commit message can > tell something to you? > > > After backing out to an earlier version, sys-fs/lvm2-2.02.183 > > the 'fullreport' actually gives a report. > > > > I'm assuming the only reason the old kernel boots is that it has the older > > lvm in the initramfs, and once assembled the handover to the live system > > still works. > > > > I can't find anything online that looks like the same thing to me, so I > > was > > wondering if anyone here had encountered a similar problem? > > > > The next step is to try and find how to update the on-disk lvm meta data > > so the later versions understand it, hopefully without having to rebuild > > my system from scratch. > > As far as I understand, this doesn't seem like a metadata format _change_, > but a rare metadata consistency problem that goes unnoticed by the older > version. Once I deleted & re-created the logical volume the newer versions had no problem. Unfortunately, since it was my root partition, that took moving data to a temporary volume, rebooting from there, re-creating the old LV, moving the data back, and rebooting again. Not a quick fix, even if it wasn't that difficult. -- Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/ Asking for technical help in newsgroups? Read this first: http://catb.org/~esr/faqs/smart-questions.html#intro
Re: [gentoo-user] Re: New Intel CPU flaws discovered
On Saturday, May 18, 2019 11:01:30 P.M. AEST Wols Lists wrote: > On 17/05/19 06:19, Andrew Udvare wrote: > >> On May 17, 2019, at 01:14, Adam Carter wrote: > >> > >> The classic one is where OPS haven't noticed that disks in a RAID array > >> have died years ago...> > > This really happened? > > It's probably more common than you think. > > Can't tell (don't really know) the details, but I was told a story first > hand about someone who went in to the computer room and asked "what are > those flashing red lights?" > > Cue massive panic as ops suddenly realised that (a) it was the main > billing server with terabytes of critical information and (b) the two > flashing lights meant their terribly expensive raid-6 disk array was now > running in raid-0! And the even bigger worry would be that a drive replacement and rebuild, which is the whole point of using RAID, may fail. The degraded RAID is working (so far) but a rebuild (unless it is *very* file system aware) needs to read EVERY BLOCK on the existing disks to rebuild the failed drive/s, and if it encounters any failed blocks in unused areas of the RAID it may be unable to complete the rebuild. I have seen this happen in previous positions. Not an easy thing to report to management, and the unexpected downtime to rebuild everything from backups onto new drives can be extensive (and expensive). This is why good RAID systems have a background task that regularly reads and checks every block of every disk, to avoid undetected errors. Hot Spares are also a good safety measure, along with monitoring software that alerts you when the spares have gone live. -- Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/ Asking for technical help in newsgroups? Read this first: http://catb.org/~esr/faqs/smart-questions.html#intro
[gentoo-user] LVM2 problem, meta data format change?
Recently I found that new kernels were not booting for me, because they could not assemble the LVM partition that I use for the root filesystem. Booting back to my old kernel still worked. I have tracked this back to the lvm2 version. After booting with the old kernel, I ran lvm and tried the 'fullreport' command. sys-fs/lvm2-2.02.184-r3 gives an error: lvm> fullreport LV root invalid: visible raid meta LV for raid1 segment LV root invalid: visible raid meta LV for raid1 segment Internal error: LV segments corrupted in root. After backing out to an earlier version, sys-fs/lvm2-2.02.183 the 'fullreport' actually gives a report. I'm assuming the only reason the old kernel boots is that it has the older lvm in the initramfs, and once assembled the handover to the live system still works. I can't find anything online that looks like the same thing to me, so I was wondering if anyone here had encountered a similar problem? The next step is to try and find how to update the on-disk lvm meta data so the later versions understand it, hopefully without having to rebuild my system from scratch. -- Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/ Asking for technical help in newsgroups? Read this first: http://catb.org/~esr/faqs/smart-questions.html#intro
Re: [gentoo-user] kworker using 100% cpu
On Tuesday, 5 March 2019 8:53:30 PM AEDT Mick wrote: > Hi Andreas, > > On Monday, 4 March 2019 19:44:19 GMT Andreas Fink wrote: > > Hello, > > I have a problem which uses 100% of one cpu core on my HP-15-bs114ng > > notebook. > > I had come across the same problem on a mid-2014 MacBook Pro: > > https://archives.gentoo.org/gentoo-user/message/ > 417dfa5af8e9fb76a66fe4816bdc7c44 > > > I figured out already that it is somehow related to ACPI > > interrupts, since the following command will return the system to normal: > > echo disable > /sys/firmware/acpi/interrupts/gpe16 > > Yes, I had to do the same and repeat after each boot. I can't recall if I > added this in a script so I didn't have to run it manually each time. /etc/sysctl.conf is interpreted at boot as an automatic way of doing this, instead of using hand made scripts. -- Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/ Asking for technical help in newsgroups? Read this first: http://catb.org/~esr/faqs/smart-questions.html#intro
Re: [gentoo-user] OT scripting - strip zero if between period and digit
On Wednesday, 23 January 2019 5:52:57 PM AEDT Alexander Kapshuk wrote: > On Wed, Jan 23, 2019 at 5:20 AM Adam Carter wrote: > >> > François-Xavier > >> > >> My bad, it should be: > >> > >> sed 's/0*\([0-9][0-9]*\)/\1/g' > >> > >> (tests are indeed needed!) > > > > Many thanks François. This is almost right, but it is also stripping zeros > > that follow a letter, and I only want it to strip zeros that are > > proceeded by a period. There are no leading zeros in the first octet of > > the IP so that case does not need to be handled. > > > > Does the \1 refer to what's in the ()'s? So anything that one would wont > > to carry through should be inside the ()'s and anything that's outside is > > stripped, right? > Would something like to do the trick? > echo 198.088.062.01 | sed 's/\.0/./g' > 198.88.62.1 In a word, no. echo 198.088.0.01 | sed 's/\.0/./g' 198.88..1 -- Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/ Asking for technical help in newsgroups? Read this first: http://catb.org/~esr/faqs/smart-questions.html#intro
Re: [gentoo-user] OT scripting - strip zero if between period and digit
On Wednesday, 23 January 2019 2:32:43 PM AEDT Adam Carter wrote: > > $ printf '0.1.2.3 01.2.3.4 1.2.3.0 1.2.000.3\n' | \ > > > > sed 's/0*\([[:digit:]]\+\)/\1/g' > > > > 0.1.2.3 1.2.3.4 1.2.3.0 1.2.0.3 > > Hi David - thanks for that. > > So [[:digit:]] is another way of writing [0-9] and the + just means another > instance of the proceeding expression, right, so your and Francois > solutions are functionally the same, and all the following are the same > too, right? > > [[:digit:]]+ > [[:digit:]][[:digit:]] > [0-9]+ > [0-9][0-9] Not quite. A trailing '+' means "1 or more of the preceding item", while a trailing '*' means "0 or more". [0-9]+ would match any string consisting of only digits, no matter how long, but not an empty string. -- Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/ Asking for technical help in newsgroups? Read this first: http://catb.org/~esr/faqs/smart-questions.html#intro
Re: [gentoo-user] how to prevent portage from installing masked package
On Sunday, 7 October 2018 8:34:39 AM AEDT Jack wrote: > On 2018.10.06 16:29, John Covici wrote: > > On Sat, 06 Oct 2018 14:55:53 -0400, Rich Freeman wrote: > > > On Sat, Oct 6, 2018 at 2:04 PM John Covici > > > > wrote: > >>> So, I have not been able to figure this out, it did not abort and > >>> wants to install the masked package, so hear is the whole output > >>> --- thanks for all your help. > >> > >> What is the actual package.mask set to? Does the same mask cover > >> both the installed and upgraded version of gtk+? It seems odd to me > >> that emerge would even offer the option to continue if a package was > >> masked. You might want to check with the portage team. > > > > The line in my /etc/portage/package.mask says > > x11-libs/gtk+-3.22.30 > > For a specific version, you probably want that to be > =x11-libs/gtk+-3.22.30 > or > > >=x11-libs/gtk+-3.22.30 > > although the # in > [ebuild U #] x11-libs/gtk+-3.24.1:3::mv [3.22.30:3::gentoo] > seems to show it knows it is listed in package.mask. Apart from the package.mask syntax error, there is also an emerge flag you might want to try: --autounmask-keep-masks y I added this when emerge kept asking me to unmask stuff I had manually masked. -- Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/ Asking for technical help in newsgroups? Read this first: http://catb.org/~esr/faqs/smart-questions.html#intro
Re: [gentoo-user] Emerge and binary packages
On Sunday, 1 July 2018 3:50:47 AM AEST Daniel Frey wrote: > Hi all, > > Some background: I run mythtv with a single backend and five frontends. > > For many, many years I've been using binpkg to help ease the compile > pain on my Intel NUC Celeron-based frontends. I use distcc on one to > compile all my packages and export /usr/portage/packages via nfs. > > I am wondering if it's possible to get emerge to mount > /usr/portage/packages before actually emerging anything. I've been > mounting that directory manually but once in a while I forget to. > > Dan Maybe a wrapper script or an alias like this might be a simple solution. alias emerge="mount /usr/portage/packages ; /usr/bin/emerge " Put that in your .bashrc file and it will be ready for you every time you login. A wrapper script in your ~/bin directory might be better, as it would let you unmount the directory after emerge has finished. You may need to add that to your execution $PATH variable in .bashrc ~/bin/emerge #!/bin/bash mount /usr/portage/packages emerge $* umount /usr/portage/packages -- Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/ Asking for technical help in newsgroups? Read this first: http://catb.org/~esr/faqs/smart-questions.html#intro
Re: [gentoo-user] OT: Extracting year from data, but honour empty lines
On Saturday, 12 May 2018 12:05:47 PM AEST Paul Colquhoun wrote: > On Saturday, 12 May 2018 9:16:52 AM AEST Daniel Frey wrote: > > Hi all, > > > > I am trying to do something relatively simple and I've had something > > working in the past, but my brain just doesn't want to work today. > > > > I have a text file with the following (this is just a subset of about > > 2500 dates, and I don't want to edit these all by hand if I can avoid it): > > > > --- START --- > > December 2, 1994 > > March 27, 1992 > > June 4, 1994 > > 1993 > > January 11, 1992 > > January 3, 1995 > > > > > > March 12, 1993 > > July 12, 1991 > > May 17, 1991 > > August 7, 1992 > > December 23, 1994 > > March 27, 1992 > > March 1995 > > --- END --- > > > > As you can see, there's no standard in the way the date is formatted. > > Some of them are also formatted -MM-DD and MM-DD-. > > > > I have a basic grep that I tossed together: > > > > grep -o '\([0-9]\{4\}\)' > > > > This does extract the year but yields the following: > > > > 1994 > > 1992 > > 1994 > > 1993 > > 1992 > > 1995 > > 1993 > > 1991 > > 1991 > > 1992 > > 1994 > > 1992 > > 1995 > > > > As you can see, the two empty lines are removed but this will cause > > problems with data not lining up later on. > > > > Does anyone have a quick tip for my tired brain to make this work and > > just output a blank line if there's no match? I swear I did this months > > ago and had something working but I apparently didn't bother saving the > > script I made. Argh! > > > > Dan > > You can add an alternate regular expression that matches the blank lines, > but the '-o' switch will still stop that match from being printed as it is > an 'empty' match. The trick is to modify the data on the fly to add a space > to the empty lines. I have also added the '-E' switch to make the regular > expression easier. > > sed -e 's/^$/ /' YOUR_DATA_FILE | grep -o -E '([0-9]{4}|^[[:space:]]*$)' If there is no other type of data in the file, just "lines with dates" & "blank lines", then it can be done with just the 'sed' command on it's own: sed -e 's/.*\([0-9][0-9][0-9][0-9]\).*/\1/' YOUR_DATA_FILE -- Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/ Asking for technical help in newsgroups? Read this first: http://catb.org/~esr/faqs/smart-questions.html#intro
Re: [gentoo-user] OT: Extracting year from data, but honour empty lines
On Saturday, 12 May 2018 9:16:52 AM AEST Daniel Frey wrote: > Hi all, > > I am trying to do something relatively simple and I've had something > working in the past, but my brain just doesn't want to work today. > > I have a text file with the following (this is just a subset of about > 2500 dates, and I don't want to edit these all by hand if I can avoid it): > > --- START --- > December 2, 1994 > March 27, 1992 > June 4, 1994 > 1993 > January 11, 1992 > January 3, 1995 > > > March 12, 1993 > July 12, 1991 > May 17, 1991 > August 7, 1992 > December 23, 1994 > March 27, 1992 > March 1995 > --- END --- > > As you can see, there's no standard in the way the date is formatted. > Some of them are also formatted -MM-DD and MM-DD-. > > I have a basic grep that I tossed together: > > grep -o '\([0-9]\{4\}\)' > > This does extract the year but yields the following: > > 1994 > 1992 > 1994 > 1993 > 1992 > 1995 > 1993 > 1991 > 1991 > 1992 > 1994 > 1992 > 1995 > > As you can see, the two empty lines are removed but this will cause > problems with data not lining up later on. > > Does anyone have a quick tip for my tired brain to make this work and > just output a blank line if there's no match? I swear I did this months > ago and had something working but I apparently didn't bother saving the > script I made. Argh! > > Dan You can add an alternate regular expression that matches the blank lines, but the '-o' switch will still stop that match from being printed as it is an 'empty' match. The trick is to modify the data on the fly to add a space to the empty lines. I have also added the '-E' switch to make the regular expression easier. sed -e 's/^$/ /' YOUR_DATA_FILE | grep -o -E '([0-9]{4}|^[[:space:]]*$)' -- Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/ Asking for technical help in newsgroups? Read this first: http://catb.org/~esr/faqs/smart-questions.html#intro
Re: [gentoo-user] repair FAT-fs
On Saturday, 3 March 2018 3:24:32 PM AEDT the...@sys-concept.com wrote: > I've an android TV box (T95Z Plus) that has a corrupted File System. > dmes is showing : > > usb-storage 8-1:1.0: USB Mass Storage device detected > scsi host8: usb-storage 8-1:1.0 > scsi 8:0:0:0: Direct-Access Kingston DataTraveler G3 PMAP PQ: 0 ANSI: 4 > sd 8:0:0:0: Attached scsi generic sg2 type 0 > sd 8:0:0:0: [sdb] 30489408 512-byte logical blocks: (15.6 GB/14.5 GiB) > sd 8:0:0:0: [sdb] Write Protect is off > sd 8:0:0:0: [sdb] Mode Sense: 23 00 00 00 > sd 8:0:0:0: [sdb] No Caching mode page found > sd 8:0:0:0: [sdb] Assuming drive cache: write through > sdb: sdb1 > sd 8:0:0:0: [sdb] Attached SCSI removable disk > FAT-fs (sdb1): Volume was not properly unmounted. Some data may be > corrupt. Please run fsck. > > I 've "dosfstools" installed but I can not run: dosfsck - it doesn't exist. Try 'fsck.vfat' instead. There is also 'fsck.fat' or 'fsck.exfat', at least on my installation. -- Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/ Asking for technical help in newsgroups? Read this first: http://catb.org/~esr/faqs/smart-questions.html#intro
Re: [gentoo-user] Re: Is --changed-deps going to be *that* useless?
On Tuesday, 27 February 2018 3:25:40 AM AEDT Rich Freeman wrote: > On Mon, Feb 26, 2018 at 11:16 AM, Nikos Chantziaras <rea...@gmail.com> wrote: > > On 26/02/18 17:59, Rich Freeman wrote: > >>> Can't you whitelist packages like automake so that they don't trigger > >>> rebuilds? Or at least provide a configurable whitelist (for make.conf) > >>> where > >>> we can add packages that don't trigger changed-deps rebuilds? > >>> > >>> There is no reason to rebuild anything just because of an automake > >>> update. > >>> This is just madness. > >> > >> Are you using --deep? I suspect that is why changed-deps is looking > >> at build-time dependencies. I don't see why you'd need to rebuild > >> something if a build-time dependency changes, unless you really care > >> about building with the latest build system (in which case you > >> probably would want to rebuild after an automake update). > > > > Yes, I use --deep. I've run into cases many times in the past where > > portage > > was skipping updates unless I used --deep. > > You might want to avoid combining both --deep and --changed-deps. I > haven't tested this but I suspect it is why you're getting all the > automake-related rebuilds. Granted, at present that would require two > separate updates if you wanted to use both. > > It seems like a whitelist isn't really the right solution here. I > could see having a way to tell --changed-deps to ignore build-time > dependencies as useful. > > Of course, the real solution is revbumps whenever necessary, but > getting devs to do that seems to be impossible, as everybody wants to > assume that dynamic deps work. I just tried this to see what was happening, and adding "--with-bdeps n" cut the number of recompilations right back, even when I still had "--deep" as one of the options. -- Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/ Asking for technical help in newsgroups? Read this first: http://catb.org/~esr/faqs/smart-questions.html#intro
Re: [gentoo-user] media-sound/podracer doesn't name downloaded podcasts
On Sunday, 25 February 2018 10:59:47 PM AEDT Stroller wrote: > Hello, > > As per my thread a month ago [1], I've now installed Podracer and gave it a > spin last night. > > I started by trying to download NPR's Planet Money podcast: > https://www.npr.org/sections/money/ > > I tried 3 different URLs that I found on that page, none of them worked: > > • https://www.npr.org/feeds/127413729/feed.json > • https://www.npr.org/podcasts/510289/planet-money/ > • https://www.npr.org/rss/rss.php?id=127413729 > > The podcast is also listed in iTunes, I found: > https://itunes.apple.com/us/podcast/planet-money/id290783428 > > Using that URL in my .podracer/subscriptions, Podracer downloaded 300 mp3 > files, I assume every Podcast in the show's archive. > > However the files are named by ID, which is meaningless to humans: > > $ ls podcasts/2018-02-24/ | head > 20150424_blog_pmoney.mp3 > 20150429_blog_pmoney.mp3 > 20150501_blog_pmoney.mp3 > 20150506_blog_pmoney.mp3 > 20150508_blog_pmoney.mp3 > 20150513_blog_pmoney.mp3 > 20150516_blog_pmoney.mp3 > 20150522_blog_pmoney2.mp3 > 20150522_blog_pmoney.mp3 > 20150527_blog_pmoney.mp3 > $ > > If anyone has any suggestions, I'd be grateful. I'll perhaps try Flexget > later today if I haven't thought of anything else. > > Stroller. > > [1] > https://archives.gentoo.org/gentoo-user/message/bcd7c0ae62e60a0583f10ae3daf > 7f0e4 Have you looked at the ID3 tags for the files? If they are properly tagged with the name, its an easy script to pull the ID3 tag and use it to rename the files. -- Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/ Asking for technical help in newsgroups? Read this first: http://catb.org/~esr/faqs/smart-questions.html#intro
Re: [gentoo-user] Changing dependencies without upping version ??
On Monday, 25 September 2017 4:51:22 AM AEST John Blinka wrote: > > Is this an officially approved technique?? it is DIRTY. > > I imagine that it is sanctioned, otherwise why would there be a > --changed-deps flag to emerge? Does seem dirty. Glad you asked the > question. Would love to learn why this is allowed. In my experience, it > happens quite often. Well, --changed-deps is also there for when you change USE flags on your system to activate (or deactivate) software features. -- Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/ Asking for technical help in newsgroups? Read this first: http://catb.org/~esr/faqs/smart-questions.html#intro
Re: [gentoo-user] Dynamic IP address services.
On Mon, 7 Nov 2016 17:54:20 Paul Colquhoun wrote: > On Mon, 7 Nov 2016 06:17:07 Stroller wrote: > > Can anyone recommend a free dynamic IP address service. > > > > I've used DynDNS in the past, but I think they discontinued their free > > accounts. > > > > I've been using DTdns.com until recently, but have somehow managed to lock > > myself out of my account, so will need to create a new one and thought I'd > > check here for recommendations first. > > > > All I need to do at the moment is access a single host behind a home > > router, although it would be nice if there was a free service with room > > for 2 or 3 hosts in case I need to add more. > > > > Thanks in advance for any suggestions, > > I've been using noip.com for years with no problems. > > There is even an up to date version of their client in portage. Actually, this was removed a while back, as it wasn't being maintained, and I'm using a copy of the ebuild I saved locally. Sorry for the incorrect information. -- Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/ Asking for technical help in newsgroups? Read this first: http://catb.org/~esr/faqs/smart-questions.html#intro
Re: [gentoo-user] Dynamic IP address services.
On Mon, 7 Nov 2016 06:17:07 Stroller wrote: > Can anyone recommend a free dynamic IP address service. > > I've used DynDNS in the past, but I think they discontinued their free > accounts. > > I've been using DTdns.com until recently, but have somehow managed to lock > myself out of my account, so will need to create a new one and thought I'd > check here for recommendations first. > > All I need to do at the moment is access a single host behind a home router, > although it would be nice if there was a free service with room for 2 or 3 > hosts in case I need to add more. > > Thanks in advance for any suggestions, I've been using noip.com for years with no problems. There is even an up to date version of their client in portage. -- Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/ Asking for technical help in newsgroups? Read this first: http://catb.org/~esr/faqs/smart-questions.html#intro
Re: [gentoo-user] xdg-open opens pdf with gimp
On Tue, 7 Jun 2016 13:42:11 sven.garb...@evall.org wrote: > Hi, > > xdg-open opens a pdf file with Gimp. I have the following configuration: > > xdg-mime query filetype tmp/arulesViz.pdf > > application/pdf This tells you what the mime type of the file is, not what opens it. Try running: xdg-mime query default application/pdf to see what the default application is for that mime type. Then you can run xdg-mime default insert-your-application-here application/pdf to change the application that opens that mime type. -- Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/ Asking for technical help in newsgroups? Read this first: http://catb.org/~esr/faqs/smart-questions.html#intro
Re: [gentoo-user] And thus the emerge spake...
On Sun, 17 Apr 2016 05:45:15 meino.cra...@gmx.de wrote: > Hi, > > ...and the novice was buffled and even the master shifted a little bit > after recognizing this words of the eternal being named emerge. > I know, that there is a difference in knowing the path and walking the > path, but it seems that I am not supposed to understand this: > > > These are the packages that would be merged, in reverse order: > > Calculating dependencies... done! > > Total: 0 packages, Size of downloads: 0 KiB > > WARNING: One or more updates/rebuilds have been skipped due to a dependency > conflict: > > dev-util/boost-build:0 > > (dev-util/boost-build-1.60.0:0/0::gentoo, ebuild scheduled for merge) > conflicts with =dev-util/boost-build-1.58* required by > (dev-libs/boost-1.58.0-r1:0/1.58.0::gentoo, installed) ^ > ^ > > > !!! The following update has been skipped due to unsatisfied dependencies: > > dev-libs/boost:0 > > !!! All ebuilds that could satisfy "=dev-util/boost-build-1.60*" have been > masked. !!! One of the following masked packages is required to complete > your request: - dev-util/boost-build-1.60.0::gentoo (masked by: ) > > > For me it looks like boost not beeing updated/reinstalled because of > another version of boost, which depends on boost. > > HELP, I need somebody, HELP, not just anybody hee-eee-eelp u! > > Thanks for any HELP in advance! May the source be with you... > Best regards, > Meino Be careful upgrading boost & boost-build. I updated to 1,60.0 a little while ago, and akonadi stopped working until I went back to version 1.58.0 This also stopped anything that depends on akonadi, things like kmail. -- Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/ Asking for technical help in newsgroups? Read this first: http://catb.org/~esr/faqs/smart-questions.html#intro
Re: [gentoo-user] Re: Gcc 5.3
On Wed, 30 Dec 2015 17:32:44 lee wrote: > Neil Bothwick <n...@digimed.co.uk> writes: > > On Tue, 29 Dec 2015 19:21:01 +0100, lee wrote: > >> > As 4.9.3 is marked stable, I guess that's what'd you get per > >> > default. > >> > >> 4.8.5 > >> > >> I'd have to run emerge --sync to know about more recent versions. How > >> is that supposed to be used, btw? I only run that when I do want to > >> update everything. Now if I didn't want to update anything but gcc, > >> could I run emerge --sync and install gcc 5.x without having trouble > > > > Emerge --sync only updates the portage tree, so > > > > emerge --sync > > emerge -a sys-devel/gcc:5 > > > >> with anything else I might install before actually updating everything? > >> So if I'd never explicitly update everything but run emerge --sync > >> frequently, things would be updated over time, occasionally? > > > > No, nothing would get updated. To do that you need to run emerge @world > > after emerge --sync. > > Well, yes, but what if want to install a package that hasn't been > installed yet, or re-emerge an installed package with different USE > flags, after updating the portage tree? Will a more recent version be > installed than would have been installed before the tree was updated, > maybe updating other packages to more recent versions because they are > needed for the new package? You have a couple of options. First, start with "emerge -p whatever" and see what update would happen with no adjustments. Then try again, but specify the version you want and see if that works: "emerge -p =whatever-1.2.3" If it is still trying to install updated versions of libraries or other dependencies, make a file like /etc/portage/package.mask/whatever and block anything higher than the library/dependency versions you already have. A bit more work, but probably not much. However, if you get too far behind, the versions you want may have been removed from the portage tree. This is still not a deal breaker. Old ebuilds are available from the Gentoo attic at https://sources.gentoo.org/cgi-bin/viewvc.cgi and can be installed in a local overlay. (I put mine in /usr/local/portage). Just put "PORTDIR_OVERLAY=/usr/local/portage" into /etc/portage/make/conf and you should be set. You could also use the local overlay to just add the updated ebuilds for things you do want to upgrade (and required dependency upgrades, etc) but I think that would quickly become very unwieldy. > Other distributions usually (want to) update a lot of packages once you > update the information about available packages. > > >> > Stuff compiled with older gcc's should run with newer libgcc*[0], but > >> > stuff compililed with a newer gcc might not run with the older > >> > libgcc*. Same goes, with more problems IIRC, for libstdc++. > >> > So beware of that. Apart from that? I'm not aware of problems. > >> > >> Uhm ... So I might break the system by switching between compiler > >> versions? > > > > That's highly unlikely as software that has been compiled with the old > > compiler will still work. > > And if not? > > Just yesterday I tried to update a Fedora install and it failed so that > the machine is now unusable because it only keeps rebooting. I expected > it to fail, just not that badly ... If I could find my USB stick, I'd > be putting Gentoo on it now. > > > You may find that some programs fail to > > recompile with the new compiler, but I didn't experience that with the > > 4.9>5 step, although I had some that would build with 4.8 but not 4.9. > > > > I have an application which I would like to compile with gcc > > > >> 5.x just to see if that's even possible. I could switch, try it, and > >> then switch back. > > > > Exactly, run gcc-config, compile/emerge the program, run gcc-config again. > > And what about ccache? Will it use the new version automatically and > detect that the compiler version has changed so that files in the cache > need to be recompiled? -- Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/ Asking for technical help in newsgroups? Read this first: http://catb.org/~esr/faqs/smart-questions.html#intro
Re: [gentoo-user] Re: Gcc 5.3
On Sat, 26 Dec 2015 14:00:55 Paul Colquhoun wrote: > On Fri, 25 Dec 2015 12:40:48 walt wrote: > > On Thu, 24 Dec 2015 10:18:27 -0500 > > > > Alan Grimes <alonz...@verizon.net> wrote: > > > Hey, thanks for putting out gcc 5.3... > > > > > > Unfortunately, it fails to bootstrap on my machine. I am getting > > > differences between the stage 2 and stage 3 compilers and it's > > > dying... =( > > > > I'm waiting for 5.3.1 before I even try to install it on my main > > desktop machine. But I've installed it in a virtual gentoo ~amd64 > > machine, so I know that the failure you are seeing was introduced when > > the 'jit' useflag was added to the gcc ebuild. > > > > You can work around the failure by installing 5.3.0 with the -jit > > useflag (which should succeed) and *then* switch to 5.3.0 using > > gcc-config before re-installing 5.3.0 with +jit. > > > > David mentioned that he succeeded by using gcc-4.9 but I had to use the > > workaround I described above. > > I disabled the 'jit' flag for gcc, and 5.3.0 compiled cleanly. > > Now to turn the flag back on and see if that works. Yes, using gcc-5.3.0 to recompile 5.3.0 with +jit worked. Thanks. -- Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/ Asking for technical help in newsgroups? Read this first: http://catb.org/~esr/faqs/smart-questions.html#intro
Re: [gentoo-user] Re: Gcc 5.3
On Fri, 25 Dec 2015 12:40:48 walt wrote: > On Thu, 24 Dec 2015 10:18:27 -0500 > > Alan Grimes <alonz...@verizon.net> wrote: > > Hey, thanks for putting out gcc 5.3... > > > > Unfortunately, it fails to bootstrap on my machine. I am getting > > differences between the stage 2 and stage 3 compilers and it's > > dying... =( > > I'm waiting for 5.3.1 before I even try to install it on my main > desktop machine. But I've installed it in a virtual gentoo ~amd64 > machine, so I know that the failure you are seeing was introduced when > the 'jit' useflag was added to the gcc ebuild. > > You can work around the failure by installing 5.3.0 with the -jit > useflag (which should succeed) and *then* switch to 5.3.0 using > gcc-config before re-installing 5.3.0 with +jit. > > David mentioned that he succeeded by using gcc-4.9 but I had to use the > workaround I described above. I disabled the 'jit' flag for gcc, and 5.3.0 compiled cleanly. Now to turn the flag back on and see if that works. -- Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/ Asking for technical help in newsgroups? Read this first: http://catb.org/~esr/faqs/smart-questions.html#intro
Re: [gentoo-user] Gcc 5.3
On Thu, 24 Dec 2015 10:18:27 Alan Grimes wrote: > Hey, thanks for putting out gcc 5.3... > > Unfortunately, it fails to bootstrap on my machine. I am getting > differences between the stage 2 and stage 3 compilers and it's dying... =( > > make[2]: Entering directory > '/var/tmp/portage/sys-devel/gcc-5.3.0/work/build' > make[3]: Entering directory > '/var/tmp/portage/sys-devel/gcc-5.3.0/work/build' > rm -f stage_current > make[3]: Leaving directory '/var/tmp/portage/sys-devel/gcc-5.3.0/work/build' > Comparing stages 2 and 3 > warning: gcc/cc1plus-checksum.o differs > warning: gcc/cc1-checksum.o differs > Bootstrap comparison failure! > gcc/tree-ssa-threadedge.o differs I'm getting the same problem. I keyworded 5.1.0 as a test, and it did the same thing. Perhaps my search skills are lacking, but I cant see anything else about this for GCC v5 (yet). Was planning to poke at it for a few more days before putting in a bug report. I've included the first part of 'emerge --info' for my system below. Is yours similar? Portage 2.2.26 (python 2.7.11-final-0, default/linux/amd64/13.0/desktop/kde/systemd, gcc-4.9.3, glibc-2.22-r1, 4.2.2- gentoo x86_64) = System Settings = System uname: Linux-4.2.2-gentoo-x86_64-AMD_FX-tm-8120_Eight-Core_Processor- with-gentoo-2.2 KiB Mem:16441164 total,679344 free KiB Swap: 67108856 total, 67108684 free Timestamp of repository gentoo: Thu, 24 Dec 2015 15:45:01 + sh bash 4.3_p42 ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1 ccache version 3.2.4 [disabled] app-shells/bash: 4.3_p42::gentoo dev-java/java-config: 2.2.0::gentoo dev-lang/perl:5.22.1::gentoo dev-lang/python: 2.7.11-r1::gentoo, 3.4.3-r7::gentoo, 3.5.1- r2::gentoo dev-util/ccache: 3.2.4::gentoo dev-util/cmake: 3.4.1::gentoo dev-util/pkgconfig: 0.29::gentoo sys-apps/baselayout: 2.2::gentoo sys-apps/openrc: 0.19.1::gentoo sys-apps/sandbox: 2.10-r1::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69-r1::gentoo sys-devel/automake: 1.11.6-r2::gentoo, 1.12.6::gentoo, 1.13.4- r1::gentoo, 1.14.1-r1::gentoo, 1.15-r1::gentoo sys-devel/binutils: 2.25.1-r1::gentoo sys-devel/gcc:4.9.3::gentoo sys-devel/gcc-config: 1.8::gentoo sys-devel/libtool:2.4.6-r1::gentoo sys-devel/make: 4.1-r1::gentoo sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers) sys-libs/glibc: 2.22-r1::gentoo -- Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/ Asking for technical help in newsgroups? Read this first: http://catb.org/~esr/faqs/smart-questions.html#intro
Re: [gentoo-user] 'emerge --update @world -pv' keeps trying to upgrade to a masked package
On Tue, 13 Oct 2015 17:53:54 Marat BN wrote: > Hello there, > > I'm having a curious problem trying to update my system. > > I issue the command: > > emerge --update @world -pv > > > Portage comes back with the following: > > !!! Multiple package instances within a single package slot have been pulled > !!! into the dependency graph, resulting in a slot conflict: > > net-wireless/bluez:0 > >(net-wireless/bluez-4.101-r9:0/0::gentoo, installed) pulled in by >net-wireless/bluez:0/0= required by > (media-sound/pulseaudio-5.0-r7:0/0::gentoo, installed) >^ > (net-wireless/blueman-1.23-r2:0/0::maratbn, installed) >^ ^ > >(net-wireless/bluez-5.33:0/3::gentoo, ebuild scheduled for merge) > pulled in by > >>=net-wireless/bluez-5 required by > > (net-misc/networkmanager-1.0.6:0/0::gentoo, ebuild scheduled for merge) >^^ ^ > > But I have the following line in my '/etc/portage/package.mask': > > =net-misc/networkmanager-1.0.6:0/0::gentoo > > > So doesn't this tell portage not to upgrade to it? Why does it still > schedule it for merge? > > > Thanks a lot, > Marat Try adding "--autounmask-keep-masks y" to your emerge command line, to stop it suggesting that you unmask packages. -- Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/ Asking for technical help in newsgroups? Read this first: http://catb.org/~esr/faqs/smart-questions.html#intro
Re: [gentoo-user] update problems
On Sat, 19 Sep 2015 21:05:27 Neil Bothwick wrote: > On Sat, 19 Sep 2015 21:36:06 +0200, lee wrote: > > emerge -j 8 -a --update --newuse --deep --with-bdeps=y > > @world > > > > * IMPORTANT: 4 news items need reading for repository 'gentoo'. > > * Use eselect news read to view new items. > > > > These are the packages that would be merged, in order: > > > > Calculating dependencies... done! > > > > !!! Multiple package instances within a single package slot have been > > pulled !!! into the dependency graph, resulting in a slot conflict: > > > > dev-libs/boost:0 > > > > (dev-libs/boost-1.56.0-r1:0/1.56.0::gentoo, ebuild scheduled for > > > > merge) pulled in by (no parents that aren't satisfied by other packages > > in this slot) > > > > (dev-libs/boost-1.55.0-r2:0/1.55.0::gentoo, ebuild scheduled for > > > > merge) pulled in by dev-libs/boost:0/1.55.0= required by > > (dev-libs/librevenge-0.0.2:0/0::gentoo, installed) > > ^^ (and 2 more with the same problem) > > > > dev-util/boost-build:0 > > > > (dev-util/boost-build-1.55.0:0/0::gentoo, installed) pulled in by > > > > =dev-util/boost-build-1.55* required by > > > > (dev-libs/boost-1.55.0-r2:0/1.55.0::gentoo, ebuild scheduled for merge) > > ^ > > ^ > > > > (dev-util/boost-build-1.56.0:0/0::gentoo, ebuild scheduled for merge) > > > > pulled in by =dev-util/boost-build-1.56* required by > > (dev-libs/boost-1.56.0-r1:0/1.56.0::gentoo, ebuild scheduled for merge) > > ^ > > ^ > > > > media-video/ffmpeg:0 > > > > (media-video/ffmpeg-2.6.3:0/54.56.56::gentoo, ebuild scheduled for > > > > merge) pulled in by (no parents that aren't satisfied by other packages > > in this slot) > > > > (media-video/ffmpeg-2.2.14:0/52.55.55::gentoo, installed) pulled in by > > > > media-video/ffmpeg:0/52.55.55=[vdpau] required by > > > > (media-libs/mlt-0.9.0:0/0::gentoo, installed) > > ^^^ > > These are unimportant, it is simply portage telling you it is not > updating some packages to the latest available and why. Personally, I > believe this sort of output should only be shown when using --verbose. There is an open bug/feature request for portage to be able to drop all these blocked/blocking packages (and their dependencies) and continue installing all the unaffected packages. https://bugs.gentoo.org/show_bug.cgi?id=476350 -- Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/ Asking for technical help in newsgroups? Read this first: http://catb.org/~esr/faqs/smart-questions.html#intro
Re: [gentoo-user] 69.99 != 69.99
On Sat, 22 Aug 2015 16:57:41 hw wrote: Am 22.08.2015 um 15:43 schrieb Alan McKinnon: On 22/08/2015 15:26, hw wrote: Hi, I have the following in a perl script: if ($a != $b) { print e: '$a', t: '$b'\n; } That will print: e: '69.99', t: '69.99' When I replace != with ne (if ($a ne $a) {), it doesn't print. Is that a bug or a feature? And if it's a feature, what's the explanation? != does a numerical comparison. More on this below ne does a string comparison. When viewed as a bunch of characters, 69.99 and 69.99 are identical. Now, your comparisons are NOT random. They are entirely predictable, as long as you know what is going on; you are running into floating point numbers. And as it turns out, computers never represent these things exactly (they are NOT integers). Even though they look identical on-screen, in RAM they will not be (this must be so for perl to do the print). Maybe they actually resolve to 69.99001 and 69.9900. You see them as close-as-dammit equal, perl sees them as entirely different. Why can't it print the number as it is, or at least as it is compared, like it should? If it would, one could see at once what the problem is. Your print values are coming from the original variables. The numeric comparison does an internal conversion to two temporary variables, and compares those, WITHOUT affecting the original data. This string to float conversion appears not to be deterministic, if it converts two identical strings into two different float values, but I don't know enough about the internals to comment any further. -- Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/ Asking for technical help in newsgroups? Read this first: http://catb.org/~esr/faqs/smart-questions.html#intro
Re: [gentoo-user] KMail-2 duplicates
On Mon, 6 Jul 2015 09:33:58 Peter Humphrey wrote: Hello list, Isn't anyone else suffering duplication of e-mails in KMail-2? This list is silent on the subject, and the bug I opened in April still hasn't even been confirmed, never mind acted on. https://bugs.kde.org/show_bug.cgi?id=346695 It looks as though the underlying database design is incomplete, or just broken, to judge by ~/.local/share/akonadi/db_data/mysql.err . I raised bug 348491 about that - also unconfirmed so far. I suppose the KDE devs are overwhelmed. Yes, I get duplicate message as well. I've been getting them for all versions of Kmail-2, as far as I remember. Currently using version 4.14.8 and the frequency of duplicates has dropped, but they still happen. Also, Kmail-2 doesn't seem to move message files correctly in maildir folders. Quite a few get left in the 'new' directory instead of being moved to 'cur'. I havn't checked to see it these correleate with duplicated messages at all. -- Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/ Asking for technical help in newsgroups? Read this first: http://catb.org/~esr/faqs/smart-questions.html#intro
Re: [gentoo-user] Strange new behavior from the mount command
On Sat, 18 Apr 2015 11:48:12 walt wrote: I have two similar but not identical ~amd64 machines, and *one* of the two machines is doing something new and strange when I type mount with no arguments. The bad machine prints the list of mounted filesystems as it should, but then proceeds to read the partition table on every disk in the machine and writes a fresh version of /run/blkid/blkid.tab . This has the very annoying side effect of spinning up any sleeping disks, including the floppy disk (but not the dvd player, thankfully). I re-installed util-linux, which installs the mount utility, but no difference. (The two machines both have util-linux-2.26.1-r1). This new behavior began on April 14, FWIW, and the only package I installed on that machine that day was gentoo-sources-3.14.38, which is why I blamed the new kernel for the new behavior but I discovered since then that it happens with all the old kernels too. I'm stumped. Any ideas? Are you sure they are both running the same mount command? What does 'type mount' or 'which mount' show for each machine? Is the 'bad' machine perhaps using the '-l' option, which looks like it may need to read information from partitions on the fly: -l, --show-labels Add the labels in the mount output. mount must have permission to read the disk device (e.g. be suid root) for this to work. One can set such a label for ext2, ext3 or ext4 using the e2label(8) utility, or for XFS using xfs_admin(8), or for reiserfs using reiserfstune(8). On the other hand, using '-l' on my machine didn't appear to try anything, and didn't rewrite /run/blkid/blkid.tab but that may be because I don't use labels. -- Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/ Asking for technical help in newsgroups? Read this first: http://catb.org/~esr/faqs/smart-questions.html#intro
Re: [gentoo-user] Writing to tty01 (serial port) in simple straight forward way...?!?
On Sun, 12 Oct 2014 16:42:22 Kerin Millar wrote: On 12/10/2014 13:08, meino.cra...@gmx.de wrote: Hi, I want to send commands to ttyO1 (serial port on an embedded system). The commands are one line each and terminated with CRL/LF (aka DOS). Since this will be done from a batch script, it should be possible via commandline tools and non-interactively. The serial port is already setup up the right way. I tried echo -nblablabal\x0a\x0d Firstly, this command is missing the -e switch. Secondly, the order of the control characters is wrong. I would suggest the use of printf as it has fewer pitfalls. # printf '%s\r\n' command --Kerin Also, are you sure that the standard output of the script is connected to the serial port? Try adding /dev/tty01 to the end of the echo/printf command lines and see if that helps. -- Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/ Asking for technical help in newsgroups? Read this first: http://catb.org/~esr/faqs/smart-questions.html#intro
Re: [gentoo-user] File timestamps got confused...why?
On Tue, 15 Jul 2014 10:02:18 Dan Oriani wrote: On Mon, Jul 14, 2014 at 10:04:36PM +0100, Stroller wrote: On Mon, 14 July 2014, at 6:54 pm, meino.cra...@gmx.de wrote: I am running Gentoo Linux, which I update on a ~daily basis. ... solfire:/home/userfstat smartlog.txt What package provides `fstat`, please? I don't have it installed on this machine, and the first google hit for fstat gentoo suggests it's a BSD command, unavailable on Linux. http://forums.gentoo.org/viewtopic-p-1853116.html#1853116 Stroller. Not to get terribly off topic here, but fstat is, in fact, a C call. I wonder if this is simply a user-made tool. If you look at code examples for this call, it's not terribly difficult to use at all. Actually, I wonder if the tool this user is using pulls the wrong field and calls it 'year'. I don't think it's the wrong field. Most (all?) C time calls use years since 1900 instead of the actual year value, so the 114 return values from the original message look like they are just the raw returned data. (See 'man time.h' for more information) In 1999 or earlier this just gave you the correct 2-digit year value so yes, this does like like a Y2K problem, if not a very serious one. -- Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/ Asking for technical help in newsgroups? Read this first: http://catb.org/~esr/faqs/smart-questions.html#intro
Re: [gentoo-user] Does Acrobat Reader work for anyone?
On Mon, 28 Oct 2013 23:52:44 Nikos Chantziaras wrote: Since quite a while ago (months), acroread stopped working. It won't start up at all. No error messages are shown. It just aborts. No window is showing up. Anyone else having this problem? I'm on ~amd64. What happens when you start it from a command line? That should give some error messages. -- Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/ Asking for technical help in newsgroups? Read this first: http://catb.org/~esr/faqs/smart-questions.html#intro
Re: [gentoo-user] Makeing /dev/rtc1 accessible as soon as possible - how?
On Sun, 25 Aug 2013 06:04:13 meino.cra...@gmx.de wrote: Hi, There are two RTCs in my system: /dev/rtc0 and /dev/rtc1 rtc0 is not powered by a battery and forgets time/date with system shutdown and rtc1 is a I2C-rtc (DS3231) which is powered by a battery. It is extremly accurate in comparison with rtc0. rtc0 is accessible with system boot - rtc1 is not (current state). I know this might be obvious, but just in case: Have you checked to see if the dud RTC can be disabled in the BIOS? Or completely remove its drivers from the kernel? -- Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/ Asking for technical help in newsgroups? Read this first: http://catb.org/~esr/faqs/smart-questions.html#intro
Re: [gentoo-user] k3b burning BD-Disk pretends to fail at 99.99%
On Sun, 7 Jul 2013 14:06:36 Alexander Puchmayr wrote: On Samstag, 6. Juli 2013, 23:55:52 Joerg Schilling wrote: [...] Any ideas what could have gone wrong? It is interesting that there is no error message in the output from your attachment. k3b should usew cdrecord instead of growisofs in case that cdrecord is installed. Is cdrecord missing or why did k3b use growisofs? Did you explicitely try cdrecord? Hi, cdrecord is installed, I have no idea why k3b chose to use growisofs for creating the 10G isofs. I did not try cdrecord (How can I change which programs k3b uses?) Settings - Configure K3b - Programs -- Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/ Asking for technical help in newsgroups? Read this first: http://catb.org/~esr/faqs/smart-questions.html#intro
Re: [gentoo-user] File system meta-data indexer / checker
On Mon, 17 Jun 2013 00:14:17 Ciprian Dorin Craciun wrote: Hello all! While struggling with managing various old backups --- just imagine 10 or so copies of almost the same content, some with `rsync`, some with `rdiff-backup`, yet some others on plain ISO's, all over a range of a few years --- I stumbled upon the following missing piece in the Linux tools ecosystem: a file-system crawler that records **only** meta-data, like all the info available through `stat`, plus an assortment of hashes of the files (at least MD5 and SHA-1,2 family), and optionally ACL's and extended attributes. Thus I was wondering if someone knows a tool that fits this description. I must say I've tried to do my homework, and below are a few tools that come close, but not quite... (A) `rdup` is probably the closest to what I'm searching. However there are a few issues: * it's output format is not very parsable, especially in cases like symlinks, and a few other special cases; * it doesn't escape the file names --- and from some reason I have files containing escape sequences in them... * it records only SHA-1; * it doesn't handle ACL's or extended attributes; (B) `mtree` from FreeBSD. I found two ports of it for Linux, however my main concern is how parsable is the output... (C) `md5deep` (or `sha*deep`), which only records the checksum not other meta-data. Thus, are there any other alternatives? (Just to be clear, I don't need a backup solution, just something to record file-system meta-data. Maybe a meta-backup solution... :) ) Ciprian. Have a look at 'tripwire'. It's primarily an intrusion detection tool, but it does the job by recording file meta-data and checksums, then checking to see if they have changed. I can't remember if it handles ACL's, as it's been a few years since I used it. -- Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/ Asking for technical help in newsgroups? Read this first: http://catb.org/~esr/faqs/smart-questions.html#intro
Re: Should /usr be merged with /? (Was: Re: [gentoo-user] Re: Anyone switched to eudev yet?)
On Sat, 29 Dec 2012 12:27:03 Mark David Dumlao wrote: On Sat, Dec 29, 2012 at 2:53 AM, Kevin Chadwick ma1l1i...@yahoo.co.uk wrote: On Sat, 29 Dec 2012 01:16:34 +0800 Mark David Dumlao madum...@gmail.com wrote: whatever filesystem type it is. Following this, for any distro to correctly FHS, there needs to be a package manager switch to copy arbitrary packages (and dependent libraries) from /usr to /. As of yet not implemented. Not at all, FUSE is a userspace flesystem meant to be used after single user. The spec says you have to be able to mount other filesystems not all other filesystems. I'd like to see you mount an OpenBSD ffs partition. If other filesystems is not qualified (and it is not), normal English rules would have it mean all other filesystems which I take to mean all other filesystems on the system. Can you justify a better interpretation? The latest FHS dates from 2004, the same year as the *earliest* FUSE release I can see on the FUSE web site. I'd say a good working hypothesis is that FHS was simply written *before* any user-space file systems were more than an experimental oddity. IF the system's /home directory is formatted as an OpenBSD partition, then yes, FHS demands that tools for mounting and recovering it be in /. I'd certainly be happy fixing FHS to say that tools for mounting and recovering essential system partitions be located in /, and that these essential system partitions contain the tools for mounting and recovering non-essential partitions. If you are wondering where I stand, I currently boot with an initramfs, since I have everything except /boot located on LVM devices. This includes / and a seperate /usr, done mostly from habit after 15 years of habit, and working where that was the corporate standard production practice. As to system recovery, nowdays I ususlly do that by booting from a live CD/DVD so I have access to all the tools when I need them. Which reminds me that I need to update my rescue DVD to the latest version... -- Reverend Paul Colquhoun, ULC.http://andor.dropbear.id.au/~paulcol Asking for technical help in newsgroups? Read this first: http://catb.org/~esr/faqs/smart-questions.html#intro
Re: [gentoo-user] Re: Anyone switched to eudev yet?
On Tue, 25 Dec 2012 19:17:24 Nuno J. Silva wrote: Also, if you actually read the linked URL, it does explain it won't fail to boot. You do realize these are two different issues here, right? One is people saying that udev-181 will fail to boot, other is the issue described on the URL linked on the news item, which is about stuff in /usr breaking udev rules, which has been around for a long time and will *silently* fail. I remind you that silently fail implies that your system will still boot, even if it is affected by the issue. So, instead of fixing udev properly, by making the failures visible (as they probably should have been from the start) or even re-queueing the events to be run after the rule files are avaiable, the developers took the easy (for them) way out, and told the rest of the world to do things their way. -- Reverend Paul Colquhoun, ULC.http://andor.dropbear.id.au/~paulcol Asking for technical help in newsgroups? Read this first: http://catb.org/~esr/faqs/smart-questions.html#intro
Re: [gentoo-user] pvcreate won't create pv
On Fri, 29 Jun 2012 14:26:51 fe...@crowfix.com wrote: Got my two 4TB drives installed. Now I need to get stuff off /dev/hda so I can turn it into an LVM volumne. So I copied everything there to the the 7.3TB LVM filesystem, then tried to create a new pv on /dev/hda1. No joy. I get Device /dev/hda1 not found (or ignored by filtering). /dev/hda has only /dev/hda1 which takes all the space. The partition type is 8e, Linux LVM. It's not mounted. I tried pvcreate -f. I tried dd if=/dev/zero of=/dev/hda1 count=1. What is pvcreate really complaining about? What active 'filter = ' lines do you currently have in /etc/lvm/lvm.conf? Does it have something like 'r|/dev/hd.*' in it to hide all the IDE devices from LVM? -- Reverend Paul Colquhoun, ULC.http://andor.dropbear.id.au/~paulcol Asking for technical help in newsgroups? Read this first: http://catb.org/~esr/faqs/smart-questions.html#intro
Re: [gentoo-user] Re: OT: Gnome3
On Sun, 17 Jun 2012 18:03:36 William Kenworthy wrote: The weather extension I am using is very inaccurate - if it says rain, it could have at some point a few daya ago ... or in the future ... hard to tell (for Western Australia). There is no weather map/radar map. At Here is a weather radar for Perth, along with the local forcast. http://www.bom.gov.au/products/IDR703.shtml http://www.bom.gov.au/wa/forecasts/map.shtml More radar locations can be found at http://www.bom.gov.au/australia/radar/ -- Reverend Paul Colquhoun, ULC.http://andor.dropbear.id.au/~paulcol Asking for technical help in newsgroups? Read this first: http://catb.org/~esr/faqs/smart-questions.html#intro
Re: [gentoo-user] less file.html
On Sun, 13 May 2012 05:12:59 Stroller wrote: On 13 May 2012, at 00:22, Alex Schuster wrote: … You can set LESSIGNORE='*.htm*'. This environment variable is used by the lesspipe command, which is invoked by less and filters the input file before giving it to less itself. Contrary to my previous email, sent in error, that does NOT work. Did you check this yourself? Yes. I did not know about this mechanism before, but 'env|grep -i less' showed the LESS and LESSOPEN environment variable, so I learnt about the lesspipe command. lesspipe -h gives a little info, LESSIGNORE is shown there. I have here now: $ env | grep -i less PAGER=/usr/bin/less LESS=-R -M --shift 5 LESSOPEN=|lesspipe %s LESSIGNORE=*.htm* $ On my system, I get this as the lesspipe help message: # [paulcol@bluering ~] [Sun May 13 10:26:09]$ lesspipe --help lesspipe: preproccess files before sending them to less Usage: lesspipe file lesspipe specific settings: LESSCOLOR env - toggle colorizing of output (no/yes/always) LESSCOLORIZER env - program used to colorize output (default: code2color) LESSIGNORE- list of extensions to ignore (don't do anything fancy) You can create per-user filters as well by creating the executable file: ~/.lessfilter One argument is passed to it: the file to display. To use lesspipe, simply add to your environment: export LESSOPEN=|lesspipe %s Run 'less --help' or 'man less' for more info # I would interpret the don't do anything fancy caveat on LESSIGNORE to mean that wildcards may not work. Some experimenting on my system shows me that this version seems to do what you want: LESSIGNORE=htm html I don't normally have LESSOPEN set, so I havn't seen this situation before. -- Reverend Paul Colquhoun, ULC.http://andor.dropbear.id.au/~paulcol Before you criticize someone, you should walk a mile in their shoes. Then, when you do, you'll be a mile away, and you'll have their shoes.
Re: [gentoo-user] Re: About ready to move /usr, /var and /home to LVM.
On Thu, 12 Apr 2012 22:58:03 Nikos Chantziaras wrote: On 12/04/12 22:49, Dale wrote: Howdy, Well, it appears we got the init thingy working. I'm about ready to move things around since one of my drives is about full and I need a spare to move things around with. I use cp -a to copy things while booted from a USB stick do hicky. So far, that has always worked and is pretty fast. I do have a question tho. When I copy this over, do I still need to copy over null, console and such to /dev? I know I don't need everything in /dev but do recall needing those in the past. Has this changed since I'm using the init thingy? Am I forgetting one? I thought there was three. Anything else that could be a gotcha? I plan to move this twice. Once to the spare drive, repartition the OS drive then copy things back over again. It's been a while and with LVM about to be used, I hope it is the last time. Make sure this is really what you want. If *any* of the disks in the LVM goes bad, you lose everything, not just the data on that single disk. Actually, that is not necessarily true. When you create the logical volume you can specify that it is mirrored onto multiple physical drives, assuming you have enough space on more than one drive. See the -m, --mirrors Mirrors option in 'man lvcreate' -- Reverend Paul Colquhoun, ULC.http://andor.dropbear.id.au/~paulcol Before you criticize someone, you should walk a mile in their shoes. Then, when you do, you'll be a mile away, and you'll have their shoes.
Re: [gentoo-user] getting rid of KDE
On 18:47:32 21/12/2011, Joseph wrote: On 12/21/11 02:11, Walter Dnes wrote: On Tue, Dec 20, 2011 at 11:54:38PM -0700, Joseph wrote I have a problem getting rid of KDE (those meta package might be easy to install/upgrade but getting rid of them is not easy). When I run emerge -uDNav world I get: =x11-libs/qt-qt3support-4.7.2 kde =x11-libs/qt-webkit-4.7.2 kde My USE flags: USE=X gtk -qt4 -kde dvd alsa cdr cups apache2 ssl foomaticdb \ ppds mysql -acl java tiff jpeg png usb udev scanner fam nptl truetype kpathsea type1 opengl tetex -arts hal dbus semantic-desktop It is trying to pull IN some KDE packages as well, I don't know where package is pulling them? Check your /etc/portage/package.use file. Does it have kde flags anywhere in it? If so, you'll need to get rid of them to eradicate kde. -- Walter Dnes waltd...@waltdnes.org equery d does not show any package depending on kde, qt3 or qt4 That KDE is is lika a cockroach, it is hard to get rid of it :-/ Have you checked your profile? Run eselect profile list and make sure you don't have the desktop/kde profile slected. Although I would have thought that the profile would try to pull in a lot more of KDE than you have shown. -- Paul Colquhoun
Re: [gentoo-user] Install problem - SATA CD-ROM drive (SOLVED)
On Fri, 25 Nov 2011 11:29:16 PM Dale wrote: Paul Colquhoun wrote: On Fri, 25 Nov 2011 07:28:50 PM Albert W. Hopkins wrote: On Sat, 2011-11-26 at 11:01 +1100, Paul Colquhoun wrote: Some research tells me that this is a problem with SATA CD-ROMs, and needs a kernel configured with the libata module option atapi_enabled=1 Does anybody know of a Live CD that will work with a SATA CD drive? AFAIK most (all) modern computers that have CDROM drives are SATA, at least the one i bought a couple of years ago does.. so I'm wondering if your problem is not that you have a SATA CDROM but something else. Have you tried boot media other than the Gentoo livecd? Actually I had tried 4 boot media *other* *than* the Gentoo livecd, for the simple reason that I thought they had stopped making them! Stupid me. Looking at the Gentoo download page, they have an AMD64 minimal install CD image created just days ago. The Gentoo livecd works! I should have looked there first and saved myself a lot of trouble (and 4 blank CDs!). Could it be something in the BIOS maybe? My rig that I built last year has a SATA CD/DVD burner and it boots Gentoo CDs, Knoppix, systemrescue and another that I can't recall. Knotix (?) or something. It should work. You may want to try systemrescue if you haven't already. I'd figure this out before something happens and you have to boot something to fix it. Dale :-) :-) It may be something in the BIOS, but I didn't change anything between the other livecds NOT working, and the Gentoo one working, so the Gentoo livecd seems to have done something different. -- Reverend Paul Colquhoun, ULC.http://andor.dropbear.id.au/~paulcol Before you criticize someone, you should walk a mile in their shoes. Then, when you do, you'll be a mile away, and you'll have their shoes.
[gentoo-user] Install problem - SATA CD-ROM drive
I've just started building a new system from scratch, and have run into a problem. The motherboard only has SATA and USB conectors, no legacy IDE/PATA/FDD/etc connectors at all. The problem is that all 4 of the Live CDs I have tried fail to boot completely. All of them bring up the initial menus, then run the kernel, but then fail at the same point, which is when they attempt to (re)mount the filesystems from the CD, which they all claim not to be able to find. Selecting a shell at this point shows that there are no /dev/sr? devices detected, and all the /dev/sd? devices correspont to hard drives. Some research tells me that this is a problem with SATA CD-ROMs, and needs a kernel configured with the libata module option atapi_enabled=1 Does anybody know of a Live CD that will work with a SATA CD drive? The other option I am exploring is borrowing a USB CD drive to see if that will work. All I need it for is the initial bootstrap into Gentoo. With the growing trend of SATA-only motherboards, I hope there is at least 1 Live CD out there that works. The Live CD versions that I have tried are: Sabayon Awsome 7 Kubuntu 11.10 Fedora-16 SystemRescueCD 2.4.0 P.S. This is an AMD64 motherboard, so a 64 bit kernel is needed. Thanks. -- Reverend Paul Colquhoun, ULC.http://andor.dropbear.id.au/~paulcol Before you criticize someone, you should walk a mile in their shoes. Then, when you do, you'll be a mile away, and you'll have their shoes.
Re: [gentoo-user] Install problem - SATA CD-ROM drive (SOLVED)
On Fri, 25 Nov 2011 07:28:50 PM Albert W. Hopkins wrote: On Sat, 2011-11-26 at 11:01 +1100, Paul Colquhoun wrote: Some research tells me that this is a problem with SATA CD-ROMs, and needs a kernel configured with the libata module option atapi_enabled=1 Does anybody know of a Live CD that will work with a SATA CD drive? AFAIK most (all) modern computers that have CDROM drives are SATA, at least the one i bought a couple of years ago does.. so I'm wondering if your problem is not that you have a SATA CDROM but something else. Have you tried boot media other than the Gentoo livecd? Actually I had tried 4 boot media *other* *than* the Gentoo livecd, for the simple reason that I thought they had stopped making them! Stupid me. Looking at the Gentoo download page, they have an AMD64 minimal install CD image created just days ago. The Gentoo livecd works! I should have looked there first and saved myself a lot of trouble (and 4 blank CDs!). -- Reverend Paul Colquhoun, ULC.http://andor.dropbear.id.au/~paulcol Before you criticize someone, you should walk a mile in their shoes. Then, when you do, you'll be a mile away, and you'll have their shoes.
Re: [gentoo-user] Progress on s/udev/mdev/
On Fri, 18 Nov 2011 06:33:59 PM Pandu Poluan wrote: So, any progress/updates on the attempt to replace udev with busybox's mdev? As for my case, it's working well on XenServer and VMware ESX / vSphere (haven't found the time to test a VirtualBox installation yet). Except for one annoyance: Now, I've done the steps put forth by waltdnes here: http://www.gossamer-threads.com/lists/gentoo/user/242563 ... but every eix-sync emerge -avuD @world finds me having to re-edit /usr/portage/virtual/dev-manager/dev-manager-0.ebuild, or else portage wants to emerge sys-apps/makedev and sys-fs/static-dev Is there a way to 'force' portage to use the edited dev-manager-0.ebuild and not the original version pulled in by eix-sync? Rgds, You can copy the ebuild to your own private overlay ( /usr/local/portage ) make your changes there, and bump the version number slightly. -- Reverend Paul Colquhoun, ULC.http://andor.dropbear.id.au/~paulcol Before you criticize someone, you should walk a mile in their shoes. Then, when you do, you'll be a mile away, and you'll have their shoes.
Re: [gentoo-user] bash date puzzle
On Mon, 14 Nov 2011 06:13:34 AM Philip Webb wrote: 14 Neil Bothwick wrote: On Mon, 14 Nov 2011 02:06:04 -0500, Philip Webb wrote: To convert a UNIX date to a human-readable version the command is : 556: ~ date -d @1321251520 Mon Nov 14 01:18:40 EST 2011 I would like to create a Bash alias or function to do this, but can't get the Bash syntax right: it keeps telling me date: the argument `1321251520' lacks a leading `+'; It is difficult to say what is wrong with your alias as you haven't shown it alias th='date -d @$1' was the first try, then adding '+' /or '\' to escape '+' or '@'. I also tried a function along similar lines. but my guess is that is is introducing a space between @ and the timestamp, which gives exactly the error you get. No, no spaces. Aliases don't take argument, you need a function for that. Turning on shell debugging shows what is happening $ set -x + set -x $ alias th='date -d @$1' + alias 'th=date -d @$1' $ th 1321251520 + date -d @ 1321251520 date: the argument `1321251520' lacks a leading `+'; when using an option to specify date(s), any non-option argument must be a format string beginning with `+' Try `date --help' for more information. Now set a value to $1 and see what happenes... $ set -- 'Ha Ha' + set -- 'Ha Ha' $ th 1321251520 + date -d @Ha Ha 1321251520 date: extra operand `1321251520' Try `date --help' for more information. $ set +x All the 'alias' process does is simple text substitution. -- Reverend Paul Colquhoun, ULC.http://andor.dropbear.id.au/~paulcol Before you criticize someone, you should walk a mile in their shoes. Then, when you do, you'll be a mile away, and you'll have their shoes.
Re: [gentoo-user] How to install music player without graphic ?
On Sun, 23 Oct 2011 12:05:57 PM Lavender wrote: I added USE=-KDE to /etc/make.conf , but when I use emerge like below : # sudo emerge mplayer OR #sudo emerge amorok I found that the emerge always download something which contact with X11/lib . I don't know why the USE I set have no effect. I only want to listem music under console , no more fuither , so how to figure this out ? Try installing mpg123 -- Reverend Paul Colquhoun, ULC.http://andor.dropbear.id.au/~paulcol Before you criticize someone, you should walk a mile in their shoes. Then, when you do, you'll be a mile away, and you'll have their shoes.
Re: [gentoo-user] [OT rant] udev + /usr
On Sun, 18 Sep 2011 09:31:56 AM Canek Peláez Valdés wrote: Just don't expect everybody to run our systems without the modern parts of the stack just because a Commodore 64 cannot run it. Many of us actually like the modern features of the kernel, glibc, udev, dbus, systemd, pulseaudio, glib, X.org, GStreamer, Gtk+ and GNOME (or Qt and KDE). In my case (and I have used Linux for a long time), the whole stack looks full of awsomeness, and stuff just works most of the time. So yeah, we use more CPU cycles, more memory and more hard drive. From my POV, we get more than that in new and improved functionality. Just don't forget that the desktop isn't the whole world, and allow the backroom server guys to turn off all the bells, whistles and pretty lights so they can get the best performance from their web servers, mail servers, DNS servers, etc. -- Reverend Paul Colquhoun, ULC.http://andor.dropbear.id.au/~paulcol Before you criticize someone, you should walk a mile in their shoes. Then, when you do, you'll be a mile away, and you'll have their shoes.
Re: [gentoo-user] udev + /usr
On Mon, 12 Sep 2011 08:31:09 PM Alan Mackenzie wrote: On Mon, Sep 12, 2011 at 03:35:19PM -0400, Canek Peláez Valdés wrote: I read that page. I understand the problem. I'm not convinced. I can respect that. I can only then say that we must agree to disagree, because I also understand the problem, and I am convinced. But what you guys don't seem to realize is that /lib and /bin and /sbin was the original hack: everything really should go into /usr, because now (with an initramfs) we can do what we were not able 30 years ago. We not need anything in /, really. They could have put everything on /usr 30 years ago, if they'd have seen fit. They saw then good reason not to. What you and KS seem oblivious to is the reason for /bin, /sbin. It is to allow a small boot so as to permit system maintenance - fsck, resizing or moving partions, even undeleting files - all these things are difficult, or even impossible perhaps, if the pertinent partition is mounted. To pretend otherwise is disingenuous. Regards. Of course, nowdays you can do the maintanence from a bootable CD or a minimal shell running from within an initramfs, so that problem has multiple solutions. My major worry is that udev is happily running arbitrary scripts from arbitrary locations early in the boot process, and is actively trying to make this easier. How much more Microsoft-security-ish do we want Linux to get? -- Reverend Paul Colquhoun, ULC.http://andor.dropbear.id.au/~paulcol Before you criticize someone, you should walk a mile in their shoes. Then, when you do, you'll be a mile away, and you'll have their shoes.
Re: [gentoo-user] udev + /usr
On Mon, 12 Sep 2011 05:59:29 PM Michael Schreckenbauer wrote: Hi Canek, On Monday, 12. September 2011 11:35:13 Canek Peláez Valdés wrote: (This would be my only post in this new thread: I think I have made my point of view clear in the other thread). I have seen a lot of disinformation going on in the other threads (like some people suggesting that /var would not be able to be on its own partition at some point in the future). Just before everyone start to wildy conjecture, please take a look at this: http://www.freedesktop.org/wiki/Software/systemd/separate-usr-is-broken well, the culprit here is: The binaries called from these rules are sometimes located on /usr/bin, or link against libraries in /usr/lib, or use data files from /usr/share. If these rules fail udev will proceed with the next one, however later on applications will then not properly detect these udev devices or features of these devices. My major worry is that udev is happily running arbitrary scripts from arbitrary locations early in the boot process, and is actively trying to make this easier. How much more Microsoft-security-ish do we want Linux to get? From a paranoid-security point of view, I think the proper solution is to just *insist* that all scripts/executables run from udev be located in /{s}bin * /lib (or even in /udev_libexec) and run all scripts from a restricted shell to stop them just redirecting to somplace less secure. Does udev even check to see if the scripts/executables are owned by root (a plus) or world writable (a big minus)? I hope it doesn't take a Linux virus/worm using udev as a vector to prompt a review. Why doesn't udev queue failing scripts for later execution? It just assumes everything is in place in the moment it needs it. This is bad design for a tool, coming in so early in the boot process. Also, a look at this thread is maybe justified: http://thread.gmane.org/gmane.comp.sysutils.systemd.devel/1728/ Same thing here. This all basically reads We did some really bad design choices, now let's fix the surroundings. The following sentence really made me laugh: If so, what does LSB say to this new directory? Nothing really, they just document current common practice. We might request an update to LSB after it is used for a while and has shown that it is what we want. He does not know, if the thing he designed is the thing he wants. That's ridiculous! Change happens. We already know this. Regards everyone. Best, Michael -- Reverend Paul Colquhoun, ULC.http://andor.dropbear.id.au/~paulcol Before you criticize someone, you should walk a mile in their shoes. Then, when you do, you'll be a mile away, and you'll have their shoes.
Re: [gentoo-user] /dev/sda* missing at boot
On Fri, 9 Sep 2011 07:24:06 PM pk wrote: On 2011-09-09 10:53, Dale wrote: Can I slap whoever started this? The more I think on this, the worse it Yes Dale, you have my permission! And while you're at it, slap him from me too! ;-) It _may_ be this guy that's responsible for this crap: http://linuxplumbersconf.org/ocw/users/58 Also: http://comments.gmane.org/gmane.linux.hotplug.devel/16994 I've had a look at the stuff at those links, and some of what they link to in turn, and had a bit of a think about it. Looking at initramfs as a modern Linux replacement for the bootable / partition of traditional Unix systems does make some sense, even though I think it could be made simpler. Fot those opposed to initramfs, would you also object to /boot being 1) a manditory seperate partition 2) required to be ext2 (or one of a *very* short list) 3) having /boot/{bin,sbin,lib} containing local copies of the absolute minimum boot requirements (i.e. initramfs in a real fs) On the other hand, most of the problem seems to stem from software packages hooking into the early boot via udev rules, and not beiong careful where they put the executables and libraries that they reference. Is udev (as it currently stands) really the best place for them to hook into? Could udev be split into 2 passes, early-boot udev that only does system stuff (like mount filesystems out of /etc/fstab, setup keyboards video), and late- boot udev where other applications can put in any hooks they like, since the full system would then be available. The late-boot udev may need to do a full rescan of everything that early-boot udev found, but didn't have the rules for yet, but I'm sure that the 2 passes could talk to each other and sort that out fairly simply. Or possibly just add a whole new service to use just for hooking software packages into system events. Although this would probably end upneeding to be a udev clone anyway. -- Reverend Paul Colquhoun, ULC.http://andor.dropbear.id.au/~paulcol Before you criticize someone, you should walk a mile in their shoes. Then, when you do, you'll be a mile away, and you'll have their shoes.
Re: [gentoo-user] /dev/sda* missing at boot
On Thu, 8 Sep 2011 04:03:53 PM Canek Peláez Valdés wrote: No, I think you haven't been reading carefully enough. Again: 1. In 2011, we need a dynamic /dev tree. I'm not going to argue why. 2. udev, successor of devfs, which was successor of the classical /dev tree, after years of design and development iterations, solves the problem. It's not perfect, but I think that is as close as it could be, for the problem it tries to solve, and with the feature set it has. 3. udev needs either an initramfs, because it needs an early user space, or a /usr inside /. From this 3 points, I make my conclusion: keep up with the changes, or code an alternative (that includes using something like mdev). From my point of view, as an old Solaris admin, point 3) is the problem. If what-ever-it-is is needed during boot, it should be in /sbin or /bin or /lib If it is curently in /usr/* then it is in the wrong place, and that package should be modified. Later in the thread you mentioned a bluetooth keyboard. This obviously requires either a driver module, or a bluetooth server process, or similar, which belong in /lib{32,64}/modules or /sbin Having udev able to execute arbitrary code during boot looks like yet another large security hole opening up. At least keep the code it can execute tied down to the directories that were set up for this purpose. -- Reverend Paul Colquhoun, ULC.http://andor.dropbear.id.au/~paulcol Before you criticize someone, you should walk a mile in their shoes. Then, when you do, you'll be a mile away, and you'll have their shoes.
Re: [gentoo-user] leafnode and xinetd?
On Wed, 18 May 2011 21:33:58 Indi wrote: On Wed, May 18, 2011 at 11:10:02AM +0200, Indi wrote: On Tue, May 17, 2011 at 11:20:01PM +0200, James Cloos wrote: I == Indi thebeelzebubtrig...@gmail.com writes: Leafnode works fine here. I Output of xinetd -d Looks fine. In addition to the other reply's suggestions, does running /usr/sbin/leafnode from a root shell work? Have you run fetchnews at least once? Tried everything including removing nearly all security just to see if it could work, but nothing. I can connect to various ports for other purposes (mpd, sshd are fine) but leafnode will not accept connections no matter what I do. So unless there's a suggestion I haven't already tried (doubtful, I tend to be thorough as only the obssessive can be) I'm gonna go out on a limb and say it doesn't work on this system. Since there might be all of four gentoo users actually running leafnode, it isn't surprising if it doesn't work on every configuration. Solved, and apparently it was a PEBKAC error. Deleted all related configs and recreated them from scratch and now it works. My eyesight is quite poor, odds are there was a type-oh in one of the configs fouling it up. Sorry for the noise! Good to see you fixed the problem. Just in case you want to upgrade to the latest version, I have attached a tar file of my ebuild for leafnode 2.0.0_alpha20090908 which I have been running for some time with no problems on an ~amd64 system. Just un-tar it under /usr/local/portage/net-nntp (or wherever you have your local portage tree). -- Reverend Paul Colquhoun, ULC.http://andor.dropbear.id.au/~paulcol Before you criticize someone, you should walk a mile in their shoes. Then, when you do, you'll be a mile away, and you'll have their shoes. leafnode.tar Description: Unix tar archive
Re: [gentoo-user] Re: automounting usb drives
On Sun, 27 Feb 2011 11:04:41 luis jure wrote: on 2011-02-26 at 14:44 walt wrote: xfce4-session also recognizes the policykit and consolekit USE flag, and those two things seem to be the way of the future (until tomorrow, anyway) for desktop managers like kde and gnome. xfce has always been closely related to gnome, and it still uses the gnome USE flag, I see. I'd suggest setting the three USE flags I've mentioned and see what happens. OK, i undid everything i had been trying and decided to try this path. i recompiled xfce4-session with policykit, consolekit and gnome. i don't have a graphical login manager, i start X with startx from the console, and my .xinitrc is simply: exec ck-launch-session startxfce4 if i start X as root things work in a more or less satisfactory way: pen drives appear on the side bar on thunar and i can mount and eject them (not umount). but if i start X as a normal user, i get a not authorized message from thunar and i can't mount the devices. now, i belong to just about every group out there: root disk lp wheel audio cdrom video cdrw usb users lpadmin portage plugdev lj vboxusers scanner any ideas why i don't have permissions to mount the usb drives? (also, after doing these changes i can't shutdown or reboot form xfce) anyway, it seems i'm getting closer... a big thank you to all that have been following this thread, i hope i'll be able to resolve this last issue... If it involved PolicyKit, that may be the cause. Look in /etc/PolicyKit/PolicyKit.conf and see if that is blocking your access. I had to add/modify mine to allow user mounts. This is the relevent section I had to change: match action=org.freedesktop.hal.storage.* return result=yes / /match -- Reverend Paul Colquhoun, ULC.http://andor.dropbear.id.au/~paulcol Before you criticize someone, you should walk a mile in their shoes. Then, when you do, you'll be a mile away, and you'll have their shoes.
Re: [gentoo-user] Re: automounting usb drives
On Sun, 27 Feb 2011 13:10:37 luis jure wrote: on 2011-02-27 at 11:32 Paul Colquhoun wrote: If it involved PolicyKit, that may be the cause. Look in /etc/PolicyKit/PolicyKit.conf and see if that is blocking your access. mmm... i don't have this file (or the /etc/PolicyKit directory, for that matter). i only have the /etc/polkit-1 directory, belonging to sys-auth/polkit. the PolicyKit.conf file should already be there? which package provides it? or can i just create it from scratch? Hmmm. equery b for /etc/PolicyKit/PolicyKit.conf or just /etc/PolicyKit doesn't return any packages on my system. I suspect that they belong to some part of KDE, as the permission errors I was tracking down came from the Dolphin file manager, and they could thus control how KDE uses the policykit framework. They may also be leftovers from when KDE/Gentoo used to use policykit, and have since stopped. It's sometimes hard to keep up with these changes. It's possible that I created the file and directory by hand, after finding instructions via Google search, such as https://bbs.archlinux.org/viewtopic.php?id=65070 In case you want to risk this, the full content of my file is: # ?xml version=1.0 encoding=UTF-8? !-- -*- XML -*- -- !DOCTYPE pkconfig PUBLIC -//freedesktop//DTD PolicyKit Configuration 1.0//EN http://hal.freedesktop.org/releases/PolicyKit/1.0/config.dtd; !-- See the manual page PolicyKit.conf(5) for file format -- config version=0.1 define_admin_auth group=wheel/ match user=root return result=yes/ /match match action=org.freedesktop.hal.storage.* return result=yes / /match /config # -- Reverend Paul Colquhoun, ULC.http://andor.dropbear.id.au/~paulcol Before you criticize someone, you should walk a mile in their shoes. Then, when you do, you'll be a mile away, and you'll have their shoes.
Re: [gentoo-user] OT: Copy directories in a special manner
On Sat, 5 Feb 2011 18:05:05 meino.cra...@gmx.de wrote: Hi, I want to do the following as fast as possible and with less system load as possible: There are two directories called 'source' and 'target'. 'source' gets updated via 'svn up', then it gets compiled. Since there is no make install or similiar, installation is done via copying 'source' to 'target'. A symlink from /usr/local/bin/name to the compiled executabe in (now) 'target' completes the installation. BUT: 'source' is a VERY big directory and copying it to 'target' after each svn up is a PAIN. Now I need a copy mechanism which does the following: * copy all files with newer date to 'target' -- this can be done via 'cp -u' * copy all files which only exist in 'source' to 'target' -- this can be done also with 'cp -u' * BUT: Delete all files from 'target' which do not longer exist in 'source' The last point gives me headaches. Scanning both directory after 'cp -u' has done its job may take as long as a blind copy from 'source' to 'target' after 'target' was initially removed. Is there any lean method to do what is described above ? Thank you very much for any help in advance! Best regards, mcc The tool you are looking for is 'rsync'. -- Reverend Paul Colquhoun, ULC.http://andor.dropbear.id.au/~paulcol Before you criticize someone, you should walk a mile in their shoes. Then, when you do, you'll be a mile away, and you'll have their shoes.
Re: [gentoo-user] Re: How can I turn off xterm console restore?
On Sun, 23 Jan 2011 06:11:03 Nuno J. Silva wrote: Mick michaelkintz...@gmail.com writes: On Saturday 22 January 2011 05:45:27 Walter Dnes wrote: As soon as some textmode applications in xterm stop, their output gets wiped, and the xterm screen is restored to what it looked like before I launched the app. Somebody thought they were being helpful; then again, so did the designers of Clippy. I don't know how many updates ago the behaviour changed, but here's what happens... Hmm ... as far as I can recall with xterm/aterm this behaviour for some commands is the expected/default behaviour. I've looked into it for things like top et al when launched like so on the desktop from e.g. fluxbox's menu: aterm +sb -e top -d 2 Pressing q to quit top closes the aterm. Completely. :-( I have not found a solution for it. With xterm I would use the -hold option to stop xterm from collapsing like so: xterm -geometry 144x30 -bg black -fg green -hold -e 'ps auxf' Thereafter I use the window decoration to close xterm, because no other keyboard inputs are accepted by it. I think the OP is talking about how some programs (ncurses-based and the like?) such as less output to a separate layer which is hidden when they terminate, instead of writing to the same layer where the shell lives (what would make the last output still visible when they end and control goes back to the shell. But I have no idea how to change it - I know it works differently in some terminals, but I never tried to figure out how and why. I know what the OP is after, and I remember doing it some time ago. A bit of hunting in my .bashrc .bash_profile files shows this: LESS=-R -X PAGER=/usr/bin/less The -X is the important option, as it stops 'less' doing the terminal setup required for the oputput hiding. It seems that the affected programs all check the 'PAGER' environment variable and run their output through 'less'. Try just setting the 'LESS' environment variable from the command line and see it that helps. If it does, add it to .bashrc or .bash_profile to make it permanent. -- Reverend Paul Colquhoun, ULC.http://andor.dropbear.id.au/~paulcol Before you criticize someone, you should walk a mile in their shoes. Then, when you do, you'll be a mile away, and you'll have their shoes.
Re: [gentoo-user] Latest unstable ntp not generating ntp.drift file.
On Fri, 7 Jan 2011 14:31:52 Dale wrote: William Kenworthy wrote: Dale, can you post (a sanitised) version of what 'ntpq -p' gives after ntpd has been running for some time, and the sanitised result of 'ntptrace. Also include your full (sanitised) ntp.conf and /etc/conf.d/ntpd. This might help us see more detail of what is happening. BillK * sanitised - obfuscate public IP's only. I should have posted this a while back. Here we go: r...@fireball / # ntpq -p remote refid st t when poll reach delay offset jitter === === +triangle.kansas 128.252.19.1 2 u4 64 127 56.270 673.749 238.194 +B1-66ER.matrix. 192.43.244.182 u 14 64 377 75.505 672.846 165.087 +kallisti.us 208.90.144.523 u 22 64 377 62.917 663.831 168.738 *kazilik.haqr.ne 209.51.161.238 2 u 42 64 377 66.483 653.962 166.119 r...@fireball / # ntptrace localhost: stratum 16, offset 0.00, synch distance 0.000240 r...@fireball / # This is ntp.conf but I omitted the parts that are commented out. server 64.6.144.6 server 67.159.5.90 server 67.59.168.233 server 204.62.14.98 Have you tried switching servers? I'm using server 0.au.pool.ntp.org server 1.au.pool.ntp.org Try the equivalent for your location, or there are 0.gentoo.pool.ntp.org and so on. -- Reverend Paul Colquhoun, ULC.http://andor.dropbear.id.au/~paulcol Before you criticize someone, you should walk a mile in their shoes. Then, when you do, you'll be a mile away, and you'll have their shoes.
Re: [gentoo-user] Re: scrapping hal
On Thu, 28 Oct 2010 14:54:51 Harry Putnam wrote: Paul Hartman paul.hartman+gen...@gmail.com writes: On Wed, Oct 27, 2010 at 4:06 PM, Harry Putnam rea...@newsguy.com wrote: I'm also guessing there is some kind of replacement that I need to learn about if it effects my longtime reliance on xorg.conf to keep using my huge desktops I like to use. For yrs I've used. Subsection Display Depth 24 Modes 1280x1024 #1024x768 800x600 640x480 Virtual 2048 1536 ViewPort0 0 EndSubsection EndSection in /etc/X11/xorg.conf To get a 2048x1536 desktop to flop around on. I've never seen or heard of a way to get that without using xorg.conf. I think you would use xrandr to set it, or your desktop environment's GUI settings panel (or equivalent). I may be using xrandr wrong but it doesn't do the trick used like this: I'm running an `emerge world' so didn't want to close down X so I used Ctrl-alt F1 to leave X and then Ctrl-alt F2 to login on a different virtual terminal. Then commented out the `Virtual' line in xorg.conf: EndSubsection Subsection Display Depth 24 Modes 1280x1024 #1024x768 800x600 640x480 #Virtual 2048 1536 ViewPort0 0 EndSubsection EndSection Then startx on a different display. startx -- :1 Once X is up: xrandr no args shows 1280x1024 as being the highest resolution. xrandr -s 2048x1536 shows: Size 2048x1536 not found in available modes The xfce display setting tool also shows 1280 as the highest possible setting. I've asked before where else this might be set... in more than 1 forum. I think you may find its not all that easy to set a Resolution way higher than your card supports. Did you look at the man page for xrandr? I think you need the --fb --panning options. There is even an example towards the end of the man page. -- Reverend Paul Colquhoun, ULC.http://andor.dropbear.id.au/~paulcol Before you criticize someone, you should walk a mile in their shoes. Then, when you do, you'll be a mile away, and you'll have their shoes.
Re: [gentoo-user] Problem with Portage profile override
On Mon, 22 Feb 2010 03:58:33 hb-...@web.de wrote: On 21.02.2010 16:31, Neil Bothwick wrote: package.provided is the wrong file. Your problem is caused by busybox being in @system, which is a subset of @world. That's why you see the message about it being in world even though it is not in the world file. To remove it from @system, add -sys-apps/busybox in /etc/portage/profile/packages. I tried this before I posted my question and did it again now ... sorry, no ... this doesn't solve the problem. It doesn't matter if /etc/portage/profile/packages (tried packages. too, just to be sure) contains -sys-apps/busybox or not, as soon as I do remove busybox from package.provided emerge tries to install busybox-1.15.3, and if I add it back to provided the warning reappears. What's wrong? Did any change of the system installation I made break portage? ... but everything else seems to work fine. ... but thx for that fast try to help. Have you tried making an ebuild for 1.16 and putting it in /usr/local/portage directory? That way you won't be fighting with portage about what version to install. -- Reverend Paul Colquhoun, ULC.http://andor.dropbear.id.au/~paulcol Before you criticize someone, you should walk a mile in their shoes. Then, when you do, you'll be a mile away, and you'll have their shoes.
Re: [gentoo-user] kdm or kde won't login specific user, but startx works
On Thu, 19 Nov 2009 12:44:43 Francisco Ares wrote: On Wed, Nov 18, 2009 at 3:11 AM, Francisco Ares fra...@gmail.com wrote: On Wed, Nov 18, 2009 at 2:29 AM, Gmail hungp...@gmail.com wrote: Have you added consolekit to the boot level? If you did then please post your xdm and kdm log file. Hung Francisco Ares wrote: Hi, All After several upgrades, now kdm (apparently) doesn't login my wife's user - or perhaps kde doesn't keep an open session for her: a few seconds after password, the login windows reappears. But the strange thing is that logging in a text console and issuing that old and good startx command, the kde session starts as expected. Anyone have any idea where should I start checking? Thanks Francisco -- Hy, Hung, thanks for your answer. I don't have consolekit at boot runlevel. Don't even have it emerged yet. Didn't know I was supposed to. Doing so right now. Meanwhile, I have no xdm log, but in kdm.log there is a difference during my login and my wife's login, it is this only two entries in /var/log/kdm.log after my wife's user login: (EE) XKB: No components provided for device Virtual core keyboard (EE) XKB: No components provided for device Virtual core keyboard I've done a search for Virtual core and didn't find a thing up to now. Any hint? Thanks again Francisco Well, I had consolekit up an running and didn't know that, sorry. There is no xdm log, and the only two entries already mentioned. I'll try to remove the user and add it again, perhaps a permissions issue. Thanks again Francisco Before you do that, rename the .kde directories in their home directory to something like .kde_old and let KDE create new ones on her next login, and see what happens then. It could just be some bad config settings from previous versions. -- Reverend Paul Colquhoun, ULC.http://andor.dropbear.id.au/~paulcol Before you criticize someone, you should walk a mile in their shoes. Then, when you do, you'll be a mile away, and you'll have their shoes.
Re: [gentoo-user] SSL giving corrupted MAC on input
On Tue, 7 Jul 2009 02:31:38 Simon wrote: Hi there! I'm getting this issue where even very small transfers through ssh will cause this error message: Corrupted MAC on input. I've done my homework and found out this is not necessarily related to the network hardware as TCP would retransmit such corrupted packets, moreover the error message is clearly related to ssh as googling proves this. A quick troubleshooting i've done was to setup apache and simply wget a very large file over plain HTTP. Transfer worked, i did it a second time and diff'ed the two downloads, they were the same. I then did the same test over HTTPS and got an error (SSL3_GET_RECORD:decryption failed or bad record mac). This clarified the problem is much more related to SSL than anything else. A quick glance at `emerge -vp openssl` showed an issue: it had been compiled with sse2 support while this computer's cpu didnt support that. Changed use flags and recompiled, restarted ssh and apache. They both continued giving the same error. I finally rebooted the machine, in case, but same issue still... The only use flag for openssl now is zlib. What did you recompile? There may still be a library using the sse2 flag. Have you tried using the --newuse or --reinstall changed-use emerge flags? -- Reverend Paul Colquhoun, ULC.http://andor.dropbear.id.au/~paulcol Before you criticize someone, you should walk a mile in their shoes. Then, when you do, you'll be a mile away, and you'll have their shoes.
Re: [gentoo-user] df and du difference
On Sat, 16 Aug 2008, Ward Poelmans wrote: On Sat, Aug 16, 2008 at 07:50, [EMAIL PROTECTED] wrote: the difference between du and df is about 640 - 188 = 452 MB. and df is showing that my root is full 2.4 times more than du. which one is the correct one? I've another server that this difference is about 7 GiG and on that server root is 80% full. The type of partition is ext3. Next to the difference due journaling etc, there is one important difference between du en df: deleted files held open by a running process. du doesn't count these files, df does. You can find those files with lsof | grep deleted. Try closing the process with deleted files and suddenly your du en df will give the same free diskspace. Ofcourse, a reboot does also the trick. Ward Actually, there is one more way to hide a file from du If there is a file in the /var directory *BEFORE* the /var partition is mounted onto the directory, then du won't find it, but df will know about the space it is using. You will probably need to boot from a live CD of some sort to be able to umount the partitions and check the underlying directory, but it might be worth it there is still space unaccounted for after a reboot. -- Reverend Paul Colquhoun, ULC.http://andor.dropbear.id.au/~paulcol Asking for technical help in newsgroups? Read this first: http://catb.org/~esr/faqs/smart-questions.html#intro
Re: [gentoo-user] df showing rootfs
On Sat, 10 May 2008, Willie Wong wrote: Having just upgraded to baselayout2 and openrc, I found that when I run df, I get Filesystem 1K-blocks Used Available Use% Mounted on rootfs 8008068 6827336 1180732 86% / /dev/root 8008068 6827336 1180732 86% / udev 1024088 10152 1% /dev none257012 0257012 0% /dev/shm rc-svcdir 102456 968 6% /lib/rc/init.d /dev/hda6 401572139560262012 35% /var /dev/hda7 29735368 28433384 1301984 96% /home Note the first two lines are identical. Is this the way it is supposed to be? Or did I miss a configuration variable somewhere when I etc-update'd? Just to let you know you are not alone. $ uname -a Linux tux 2.6.24-gentoo-r2 #1 SMP PREEMPT Tue Feb 12 18:54:03 EST 2008 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4400+ AuthenticAMD GNU/Linux $ df -k Filesystem 1K-blocks Used Available Use% Mounted on rootfs10008136 1208624 8799512 13% / /dev/sda3 10008136 1208624 8799512 13% / udev 10240 200 10040 2% /dev shm1029084 0 1029084 0% /dev/shm rc-svcdir 102488 936 9% /lib64/rc/init.d /dev/sda5 10008136412576 9595560 5% /var /dev/sda6 10008136 6799800 3208336 68% /usr /dev/sda7166998544851032 166147512 1% /data /dev/sdb2 7816780 1789648 6027132 23% /var/spool/news /dev/sdb3 39068880 27590744 11478136 71% /usr/portage /dev/sdb4146508292 127278184 19230108 87% /home /dev/mapper/vg00-backup 398266496 338484192 59782304 85% /backup -- Reverend Paul Colquhoun, ULC.http://andor.dropbear.id.au/~paulcol Asking for technical help in newsgroups? Read this first: http://catb.org/~esr/faqs/smart-questions.html#intro -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] mount cdrom: No buffer space available
On Wed, 2 Jan 2008, Cocoy Dayao wrote: On Jan 2, 2008, at 1:32 PM, Adam Carter wrote: If it says CONFIG_ISO9660_FS=y - its built into the kernel, and should be working yep. it is built into the kernel. so auto should work, correct? You could try moving iso9660 to the top in /etc/filesystems, so it gets tried first. -- Reverend Paul Colquhoun, ULC.http://andor.dropbear.id.au/~paulcol Asking for technical help in newsgroups? Read this first: http://catb.org/~esr/faqs/smart-questions.html#intro -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Why are gentoo people so in love with colorized output?!?
On Fri, 6 Apr 2007, Benno Schulenberg wrote: Graham Murray wrote: Or why when run in a console the output stays on the screen when you exit less, thus allowing you to refer to it when typing the next command, but in an X terminal it 'collapses' to just the command prompt on exit. If you want the VT behaviour also in X, then alias less to 'TERM=linux less'. (There's probably a better way, but this works.) 'less -X' works when I try it. -- Reverend Paul Colquhoun, ULC.http://andor.dropbear.id.au/~paulcol Asking for technical help in newsgroups? Read this first: http://catb.org/~esr/faqs/smart-questions.html#intro -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Replacing 'eth0' with 'wlan0'
On Thu, 8 Mar 2007, Brian Johnson wrote: Abraham, I think what you may want to do is adjust the DHCP timeout for eth0. For ethernet devices, it's pretty good to assume that if after 10 seconds it doesn't receive DHCP it probably wont. So on my laptop, in /etc/conf.d/net I have: dhcpcd_eth0=-t 10 Which will timeout eth0 after 10 seconds, thus making the system boot time faster. Or, install sys-apps/ifplugd and have it taken care of automatically. -- Reverend Paul Colquhoun, ULC.http://andor.dropbear.id.au/~paulcol Asking for technical help in newsgroups? Read this first: http://catb.org/~esr/faqs/smart-questions.html#intro -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] A DNS question.
On Sun, 4 Mar 2007, Bob Young wrote: This isn't strictly a Gentoo question, but I'm setting up Gentoo box to be used as a secondary DNS server, plus some other duties, and I'm hoping there is a DNS wizard reading who can authoritatively answer my question. First off the machine has three network cards, one with a (DHCP) private IP (10.10.32.1) for talking to the local (Windows Domain) LAN. A second NIC with a (Manually configured) IP address (69.12.134.79) that is publicly registered (ns.debug1.com) as a secondary DNS for several domains. And the third NIC has a (Manually configured) private IP address (192.168.0.1) that will be used to sniff all traffic that crosses the DSL modem. Obviously on a given system each NIC is usually connected to a different domain, my question is, whether or not it is /legal/possible/okay to use different *hostnames* on different NICs? For example, in the scenario described above, assume the windows domain is named mydomain.lan, can I have 69.12.134.79 (NIC #2) resolve to ns.debug1.com as that is it's publicly registered name, while IP address 10.10.32.1 (NIC #1) resolves to gentoo.mydomain.lan? Given that 2 of your IP addresses are in RFC 1918 private IP space, it is a good thing not to have your public DNS name resolve to those IP addresses, as they should not be routable, and may be in use at amny other sites (and thus could resolve to a local address at those sites). Having multiple domain names, each pointing to a separate interface on one machine is certainly within the rules for DNS, and is very effective in certain situations. Some services (email especially) may need to be configured with a list of these DNS names are also the local server to operate correctly, but this should not be a huge burden. -- Reverend Paul Colquhoun, ULC.http://andor.dropbear.id.au/~paulcol Asking for technical help in newsgroups? Read this first: http://catb.org/~esr/faqs/smart-questions.html#intro -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Recurring reiserfs error
On Saturday 07 October 2006 00:26, [EMAIL PROTECTED] wrote: (note dmesg follows message) Out of 12 partitions in my setup 8 are reiserfs. During bootup I see them go by being checked, but always the last one /dev/hda11 fails with this message: fsck could not repair all errors And drops me into the repair shell. This has happened over several kernels and for mnths. I finally just took to C-d to finish booting. This is after stopping to reiserfsck /dev/hda11 many times. It always passes with no error messages. Oddly, the drive is always mounted once boot is complete (I mean even when I just press Ctrl-d to by-pass fixing.) And no problems read/write to it occur. I finally reformatted /dev/hda11 to ext3. Now the last reiserfs partition that shows up in boot messages is /dev/hda9 and it fails the same way. These facts lead me to believe it isn't really a reiserfs failure at all but something earlier that just shows up at that point, but I cannot fathom out what. Have you checked the output of fdisk to make sure the partition does not overlap with another? fdisk -l /dev/hda and check that no 2 partitions are using the same disk blocks. -- Reverend Paul Colquhoun, ULC.http://andor.dropbear.id.au/~paulcol Asking for technical help in newsgroups? Read this first: http://catb.org/~esr/faqs/smart-questions.html#intro -- gentoo-user@gentoo.org mailing list