Re: [gentoo-user] Local mail delivery agent (MDA) wanted
Hello, вс, 12 дек. 2021 г. в 16:25, Frank Steinmetzger : > > At my previous employer we used mda on our Ubuntu-based machines, but this > is not available in Gentoo. It did extactly what I am looking for... I have never used mailutils mda; I just noticed that there is a configuration option --disable-build-mda for mailutils [1] and thought, maybe, adding $(use_enable build-mda) \ to the mailutils ebuild [2] will help to get mda in Gentoo. [1] - https://lists.gnu.org/archive/html/info-gnu/2020-03/msg7.html [2] - https://gitweb.gentoo.org/repo/gentoo.git/tree/net-mail/mailutils/mailutils-3.13.ebuild -- Best regards, Alex
Re: [gentoo-user] fail2ban can't find sqlite?
вс, 7 февр. 2021 г. в 04:47, Dan Egli : Hi Dan, > 2021-02-06 18:30:28,128 fail2ban.server [32124]: ERROR Unable to > import fail2ban database module as sqlite is not available. Some debugging from https://github.com/fail2ban/fail2ban/issues/2608#issuecomment-576450793 : fail2ban-python --version fail2ban-python -c 'import sqlite3; print("ok")' fail2ban-python -c 'from fail2ban.server.database import Fail2BanDb; print("ok")' -- Best regards, Alex
Re: [gentoo-user] State of emergency is now in effect.
сб, 30 янв. 2021 г. в 17:59, Dr Rainer Woitok : > >#! /bin/bash >emerge --ask --changed-deps --changed-use --deep --newuse --oneshot \ > --update --with-bdeps=y sys-apps/portage > > I'm not sure where I got that from, I thought it was in the Gentoo Hand- > book, but looking there just now I didn't find anything like that. May- > be I invented that myself. > > Am I interpreting you correctly that such a postsync hook is never nec- > essary, that is, that the "portage" package itself is always a built-in > build dependency for every other package? "The recommendation to update portage on its own is in the process of being removed" - https://forums.gentoo.org/viewtopic-p-8520875.html#8520875 (despite of it is still displaed after 'emerge --sync') -- Best regards, Alex
Re: [gentoo-user] Re: How to hide a network interface from an application
чт, 20 авг. 2020 г. в 15:46, Victor Ivanov : > > On 14/08/2020 01:03, Alexey Mishustin wrote: > > groupadd noinet > > usermod -a -G noinet > > iptables -A OUTPUT -i -m owner --gid-owner noinet -j DROP > >and calling not > > Plex > >but > > sg noinet Plex > >(or whatever name the binary has) > > This is a very elegant generic solution, thank you for sharing. I had > completely forgotten the fact that filtering can be done based on UID/GID. This is not surprising, because "a lot of water has passed under the bridge" since this solution was popular: https://ubuntuforums.org/showthread.php?t=1188099=10626471#post10626471 (dated 2011) -- Best regards, Alex
Re: [gentoo-user] iptables wiki page questions
сб, 15 авг. 2020 г. в 01:34, tastytea : > Note that, if you set rc_depend_strict="NO" in /etc/rc.conf, the > dependency “net” is satisfied if only one net.* service is started. If I remember correctly, it happened sometimes that iptables loaded after net.eth0 service even with rc_depend_strict="YES" in /etc/rc.conf (iptables in default runlevel), and I changed one line in /etc/init.d/net.eth0: -after net.lo ... +after net.lo ... iptables I think it does not harm :) ...The option, important for saving iptables state, is: SAVE_ON_STOP="yes" in /etc/conf.d/iptables. It's so by default, AFAIK. -- Best regards, Alex
Re: [gentoo-user] Re: How to hide a network interface from an application
пт, 14 авг. 2020 г. в 23:03, Grant Edwards : > [For posterity's sake, with -A Output it's -o rather than > -i ] Ah, you are right! I am sorry, my iptables rule with 'noinet' doesn't include an interface, I added it when typing the message and looked at my rules with an interface from the INPUT section. > My original post also said I was trying to hide an > interface, when all I really needed was to prevent sending of packets > on that interface. Yes, it seems to be enough. I found out that 'noinet' rule when I got annoyed by an application (written by Windows programmers as well) that was continuously checking updates at each launch... No inet - no check :) > I think this should work, but I need to rebuild my kernel with the > iptables "owner" extension enabled: Clear! -- Best regards, Alex
Re: [gentoo-user] Re: How to hide a network interface from an application
Hi Grant, Isn't this classic option suitable? groupadd noinet usermod -a -G noinet iptables -A OUTPUT -i -m owner --gid-owner noinet -j DROP and calling not Plex but sg noinet Plex (or whatever name the binary has) -- Best regards, Alex
Re: [SOLVED] Re: [gentoo-user] Ebuild: How to deal with external repositories properly (best practise)?
вс, 2 авг. 2020 г. в 13:52, Ramon Fischer : > > I decided to use "EGIT_COMMIT" to let the ebuild pulling a certain commit. And even that would not give the sense of security... Just read in gentoo-dev [1]: ...unannounced serverside change by GitHub, which broke download of tarballs by git-tree-hash, e.g. previously https:// api.github.com/repos/JuliaLang/MbedTLS.jl/tarball/ 2d94286a9c2f52c63a16146bb86fd6cdfbf677c6 would give the tarball for that tree- hash, while it now gives the tarball for master instead. [1] - https://archives.gentoo.org/gentoo-dev/message/41d8c5457df392ed0309153651db5b3c -- Best regards, Alex
Re: [gentoo-user] ebuild : how to check for python version
пн, 3 авг. 2020 г. в 11:05, Neil Bothwick : > > On Mon, 3 Aug 2020 02:44:43 +0300, Alexey Mishustin wrote: > > > This should check if 3.9 is installed: > > if has_version '=dev-lang/python-3.9'; then > > Shouldn't that be has_version 'dev-lang/python:3.9' to check for any > version of 3.9? Sure! My fault. > However, that only checks for which python versions are installed before > the ebuild is invoked. Would it make more sense to check PYTHON_TARGETS > instead? That can also cover the situation of the package being > installed without 3.9 but then 3.9 being installed later as a rebuild > would be triggered by --changed-use. Looks like it's what Helmut was looking for. -- Best regards, Alex
Re: [gentoo-user] ebuild : how to check for python version
вс, 2 авг. 2020 г. в 17:48, Helmut Jarausch : > > Hi, > in an ebuild I have to apply a patch only if this package is installed > for python3.9. > The ebuild should work for PYTHON_COMPAT=( python3_{8,9} ) > > How can I check for Pythons version in src_prepare or similar functions. Hi, This should check if 3.9 is installed: if has_version '=dev-lang/python-3.9'; then But for which python version will the package be installed - isn't it another question? (still learning too) -- Best regards, Alex
Re: [gentoo-user] Two new-install questions
пт, 10 июл. 2020 г. в 08:27, Walter Dnes : > 2) When building xorg-server I got a news item about the "suid" flag > soon no longer being default for xorg-server. I forced it manually on > my laptop and desktop. The other 3 options were... > > * systemd... no thanks. > * elogind... with PAM doing the authentication... no thanks. I've > tangled with PAM in the past once too often. > * some memory-heavy "desktop environment" on my 3-gigs-ram-laptop... > no thanks. There is a way to run rootless X without elogind: For Nouveau and Intel video cards except xorg modesetting driver: https://wiki.gentoo.org/wiki/Non_root_Xorg For AMD video cards and/or xorg modesetting driver: https://forums.gentoo.org/viewtopic-t-1092792-start-0.html -- Regards, Alex
[gentoo-user] Re: [gentoo-user] !!! section ‘local’ in repos.conf has name different from ...
чт, 16 апр. 2020 г. в 20:27, John Blinka : > I have 3 boxes on which I try to maintain gentoo setups as identical as > possible. The steam install has gone smoothly on 2 boxes, but is failing on > the 3rd. > > When I get to this steam installation step on the 3rd box: > # emaint sync —repo steam-overlay > > I get the error > !!! Section ‘local’ in repos.conf has name different from repository > ‘steam-overlay’ set inside repository > which prevents me from syncing and installing steam on this machine. > > I’m interpreting this as the two repositories (local and steam-overlay) > somehow knowing about each other and somehow getting their configurations > intertwined. > > My repos.conf directory on this 3rd machine is identical to the other 2 > machines (which don’t exhibit this error). > > .../repos.conf/local.conf maintains a local overlay in /usr/local/portage for > a handful of personal packages/ebuilds. > > .../repos.conf/steam-overlay.conf maintains its overlay in > /usr/local/portage/steam-overlay. > > [snip] > > Any ideas about what’s happening? Aren't /usr/local/portage and /usr/local/portage/steam-overlay really intertwined? What if you move the 'local' overlay to, say, /usr/local/portage/local ? (And, sure, edit the corresponding info in the configuration files). -- Regards, Alex
Re: [gentoo-user] No Virtualisaton on Ryzen 5 3600 / MSI Tomahawk Max?
пн, 30 мар. 2020 г. в 20:14, : > > Hi Alex, > > > > do you own this board, too? > Hi Alex, > > found it myself. Why is this burried under "CPU OC"? > This is no overclocking related thing... > > Thanks for your help! Hi Meino, No, I own Gigabyte motherboards. But they are AMD as well, and some BIOS chapters are similar to MSI AMD. Glad to be of help. Cheers! -- Regards, Alex
Re: [gentoo-user] No Virtualisaton on Ryzen 5 3600 / MSI Tomahawk Max?
пн, 30 мар. 2020 г. в 18:30, : > > Hi, > > I am running kernel 5.5.12 (newer kernels / nvidia-drivers dont play > with each other so well currently...). > > When I start Virtualbox and then ReactOS, a black screen shortly > appears and then an error message from Virtualbox appears: > > > || AMD-V is disabled in the BIOS (or by the host OS) (VERR_SVM_DISABLED). > || > || > || Result Code: > || NS_ERROR_FAILURE (0x80004005) > || Component: > || ConsoleWrap > || Interface: > || IConsole {872da645-4a9b-1727-bee2-5585105b9eed} > > I didn't find any settings in the bios in regard to that. "SVM Mode"? -- Regards, Alex
Re: [gentoo-user] packages.gentoo.org: Empty page
пн, 17 февр. 2020 г. в 03:10, Dale : > > I just remember it doesn't come up with the whole page or it sometimes > is just a white screen with nothing on it, not even a error. Before > today, I always wondered if it was something on my end. After your > post, I'm not sure. If I forget which error was in this case, I'll be able to find this thread and to remember :-) > When it does that again, just try reloading the page. I hit F5 but CTRL > R works to. If that works for you, another clue maybe. ;-) Yes, I tried Ctrl+F5, and different pages, and the link from the the main Gentoo page as well. Anyway, thanks! -- Best regards, Alex
Re: [gentoo-user] packages.gentoo.org: Empty page
пн, 17 февр. 2020 г. в 03:04, Mick : > Do you know for sure it was a Gentoo server? Did you get an IP address and > run a whois query on it? Next time I will :-) > It could have been some load balancing/reverse proxy issue gone wrong at the > server farm or something similar at the time you tried to connect, but yet > again it could be some DNS poisoning problem. Ok. I'll consider that. -- Best regards, Alex
Re: [gentoo-user] packages.gentoo.org: Empty page
пн, 17 февр. 2020 г. в 02:42, Dale : > I have ran into this in the past. When I first type in > the keyword to go to that page, it doesn't work right. What do you mean by "doesn't work right"? The same "Empty page"? -- Best regards, Alex
Re: [gentoo-user] packages.gentoo.org: Empty page
> > What was that?.. > > Routing. > > You can try httping next time to see what hops it follows and where it fails. As far as I understand, that "Empty page" was served by Gentoo server, there was a link to the main Gentoo page. And if it was a routing issue, I would not get a response of Gentoo server. -- Best regards, Alex
Re: [gentoo-user] packages.gentoo.org: Empty page
Oh! It worked. What was that?.. -- Best regards, Alex
Re: [gentoo-user] packages.gentoo.org: Empty page
пн, 17 февр. 2020 г. в 02:27, Neil Bothwick : > > On Mon, 17 Feb 2020 02:15:56 +0300, Alexey Mishustin wrote: > > > Something is wrong with the site https://packages.gentoo.org/ already > > for 20 minutes: I get > > "Empty Page > > There's no website here we could serve you." > > > > However, "Gentoo infrastructure status" shows that the Package Database > > is OK... > > It works here, in both Chromium and Firefox. Are you using a proxy server? I tried in different ways: with/without proxy, Linux/Win/Android, but always Firefox. All the attempts failed. -- Best regards, Alex
[gentoo-user] packages.gentoo.org: Empty page
Hi all, Something is wrong with the site https://packages.gentoo.org/ already for 20 minutes: I get "Empty Page There's no website here we could serve you." However, "Gentoo infrastructure status" shows that the Package Database is OK... -- Best regards, Alex
Re: [gentoo-user] USB-C PD delivery & Lenovo USB-C hub.
чт, 26 сент. 2019 г. в 23:39, Dom Rodriguez : > > OK, after much deliberation, I've determined the issue! I'm banging my head on > the wall here after realising the cause. > > I was using an Anker power adaptor, which supplies 60W in *total* to both > ports > on it - a USB-C port, and a USB-A port. The USB-A port consumes 15W, and the > USB-C port is left with 45W. > > The USB-C hub - for example, the one I've got now consumes 18W from the 45W > supplied - which leaves the laptop with 27W. My Thinkpad has a minimum > required > USB-C PD wattage of 45W - so that's why it wasn't working! > > Thanks to all who helped with this problem. Hello Dom, Thanks to you for the information! Do not bang your head too much ) This result is a good result, could be useful to others. -- Best regards, Alex
Re: [gentoo-user] USB-C PD delivery & Lenovo USB-C hub.
пн, 23 сент. 2019 г. в 19:13, Dom Rodriguez : > > Hello, > > > On this date - Mon, Sep 23, 2019 at 07:01:08PM +0300, Alexey Mishustin wrote: > > пн, 23 сент. 2019 г. в 18:36, Dom Rodriguez : > > > > > > Alright, I've managed to isolate the issue to the `tps6598.ko' USB-C PD > > > kernel > > > module. > > > > > > I've reached out to the manufacturer of the hub to see if they can > > > advise, but > > > for now, knowing the problem kernel module has definitely helped getting > > > close > > > to solving the problem. > > > > > > -- > > > Sincerely, > > > Dom Rodriguez (shymega). > > > > > > > Hello, > > > > What's the model code of your hub? > > > > -- > > Best regards, > > Alex > > > > Sorry, meant to mention that.. its a Lenovo USb-C Hub C109. I bought it from > Amazon, but the manufacturer sells it under the Lenovo brand - > http://www.novolk.com/productinfo/54884.html OK. Thanks. It's useful to know which one potentially to avoid. -- Best regards, Alex
Re: [gentoo-user] USB-C PD delivery & Lenovo USB-C hub.
пн, 23 сент. 2019 г. в 18:36, Dom Rodriguez : > > Alright, I've managed to isolate the issue to the `tps6598.ko' USB-C PD kernel > module. > > I've reached out to the manufacturer of the hub to see if they can advise, but > for now, knowing the problem kernel module has definitely helped getting close > to solving the problem. > > -- > Sincerely, > Dom Rodriguez (shymega). > Hello, What's the model code of your hub? -- Best regards, Alex
Re: [gentoo-user] oracle-jdk-bin-1.8.0 - Fetch Restriction
2015-11-09 23:36 GMT+03:00: > On 11/09/2015 11:16 AM, Frederico Moraes Ferreira wrote: >> chmod 0644 >> >> Em 09-11-2015 20:13, the...@sys-concept.com escreveu: >>> I'm trying to emerge: oracle-jdk-bin-1.8.0.66 >>> >>> I've downloaded to package jdk-8u66-linux-x64.tar.gz >>> move it to: /usr/portage/distfiles >>> change owner to portage:portage >>> >>> but I still get this error: >>> >>> Calculating dependencies... done! >>> [ebuild NSF ] dev-java/oracle-jdk-bin-1.8.0.66:1.8::gentoo >>> [1.7.0.80:1.7::gentoo] USE="alsa awt cups fontconfig -derby -doc >>> -examples -javafx -jce -nsplugin -pax_kernel (-selinux) -source" >>> 60,303 KiB >>> >>> Total: 1 package (1 in new slot), Size of downloads: 60,303 KiB >>> Fetch Restriction: 1 package (1 unsatisfied) >>> > > It is: 0644 > ll /usr/portage/distfiles/jdk-8u66-linux-x64.tar.gz > -rw-r--r-- 1 portage portage 119537664 Nov 9 13:36 > /usr/portage/distfiles/jdk-8u66-linux-x64.tar.gz 1. Are you on x64? 2. Strange, but my file of the same version has a significantly bigger size: 181287376. Isn't your file damaged? -- Regards, Alex
Re: [gentoo-user] Cannot reinstall ffmpeg since new cpu flags
2015-02-01 21:44 GMT+03:00 Matthias Hanft m...@hanft.de: Hi, Hello I have installed the new CPU_FLAGS_X86, as cpuinfo2cpuflags-x86 told me: CPU_FLAGS_X86=mmx mmxext sse sse2 sse3 cpuinfo2cpuflags-x86 isn't telling to turn on all these flags unconditionally but only those that are included in USE in make.conf. When I did emerge -NDuv @world afterwards, there were some re-installs. Everything was fine, except ffmpeg. emerge displays: [ebuild R] media-video/ffmpeg-1.2.6-r1 USE=bzip2 encode examples fontconfig gnutls hardcoded-tables iconv libcaca mp3 network truetype vorbis x264 xvid zlib -X -aac -aacplus -alsa (-altivec) -amr -bindist -bluray -cdio (-celt) -cpudetection -debug -doc -faac -fdk -flite -frei0r -gsm -iec61883 -ieee1394 -jack -jpeg2k -libass -libsoxr -libv4l -modplug (-neon) -openal -openssl -opus -oss -pic -pulseaudio -rtmp -schroedinger -sdl -speex -static-libs {-test} -theora -threads -twolame -v4l -vaapi -vdpau (-vis) -vpx (-3dnow%) (-3dnowext%) (-avx%) (-mmx%) (-mmxext%) (-ssse3%) CPU_FLAGS_X86=mmx%* mmxext%* -3dnow% -3dnowext% -avx% -ssse3% FFTOOLS=aviocat cws2fws ffescape ffeval fourcc2pixfmt graph2dot ismindex pktdumper qt-faststart trasher 0 KiB and running emerge, after many lines, I get [...] /var/tmp/portage/media-video/ffmpeg-1.2.6-r1/work/ffmpeg-1.2.6/libavcodec/mpeg12.c:1164:12: warning: 'mpeg_decode_update_thread_context' defined but not used [-Wunused-function] static int mpeg_decode_update_thread_context(AVCodecContext *avctx, const AVCodecContext *avctx_from) ^ /var/tmp/portage/media-video/ffmpeg-1.2.6-r1/work/ffmpeg-1.2.6/common.mak:48: recipe for target 'libavcodec/motion_est.o' failed make: *** [libavcodec/motion_est.o] Error 1 make: *** Waiting for unfinished jobs * ERROR: media-video/ffmpeg-1.2.6-r1::gentoo failed (compile phase): * emake failed Google can't find this special error message (yet?), so I believe I'm the only one getting that error (and, hence, didn't want to file a bug report instantly). Perhaps I set some weird use flags? (No graphics installed on that machine, it's just a server which uses command-line ffmpeg-converting, mainly sound files, not even videos.) Thanks, -Matt -- Regards, Alex
Re: [gentoo-user] Cannot reinstall ffmpeg since new cpu flags
02.02.2015 0:24 пользователь Mike Gilbert flop...@gentoo.org написал: On Sun, Feb 1, 2015 at 2:13 PM, Alexey Mishustin shum...@shumkar.ru wrote: 2015-02-01 21:44 GMT+03:00 Matthias Hanft m...@hanft.de: Hi, Hello I have installed the new CPU_FLAGS_X86, as cpuinfo2cpuflags-x86 told me: CPU_FLAGS_X86=mmx mmxext sse sse2 sse3 cpuinfo2cpuflags-x86 isn't telling to turn on all these flags unconditionally but only those that are included in USE in make.conf. Where did you get that silly idea? cpuinfo2cpuflags-x86 tells you exactly what to put in make.conf based on your host CPU. Ok. It tells me what _could_ be put in the new variable in make.conf. But make.conf existed before this new variable. And what flags existed in it - it's a separate question. If one wants to keep 'status quo', he should only duplicate those cpu flags whis were in USE to this new variable. If some cpu flag wasn't in USE, he shouldn't add it to the new variable. -- Regards, Alex
Re: [gentoo-user] Cannot reinstall ffmpeg since new cpu flags
whis were in USE which were in USE
Re: [gentoo-user] emerge BUG?
2013/12/20 Yuri K. Shatroff yks-...@yandex.ru: Hi Gentoo users, Looks like I've encountered a bug in emerge. I do a sync, some updated packages are displayed, but emerge -avDu @world doesn't see some of them, though I don't have them masked. A today's example: === # eix-sync [ ... ] [U] == net-misc/youtube-dl (2013.11.25.1@26.11.2013; (~)2013.12.11.2 - (~)2013.12.17.2): Download videos from YouTube.com (and mores sites...) [U] == sys-libs/timezone-data (2013h@20.11.2013; (~)2013h - (~)2013i): Timezone data (/usr/share/zoneinfo) and utilities (tzselect/zic/zdump) [ ... ] # emerge -avDu @world These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ] sys-libs/timezone-data-2013i [2013h] USE=-nls 383 kB [ebuild U ] dev-libs/libmemcached-1.0.17 [1.0.14] USE=libevent -debug -hsieh -static-libs 0 kB Total: 2 packages (2 upgrades), Size of downloads: 383 kB Would you like to merge these packages? [Yes/No] # = There are I think over 100 packages to be updated in total, including the whole KDE. When I specify a package instead of @world, it seems to work correctly: = # emerge -avDu kdm These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ] sys-libs/timezone-data-2013i [2013h] USE=-nls 383 kB [ebuild U ] kde-base/kcheckpass-4.11.4:4 [4.10.5:4] USE=pam (-aqua) -debug 13,555 kB [ebuild U ] kde-base/libkworkspace-4.11.4:4 [4.10.5:4] USE=(-aqua) -debug 0 kB [ebuild U ] kde-base/libkonq-4.12.0:4 [4.10.5:4] USE=(-aqua) -debug {-test} 2,463 kB [ebuild U ] kde-base/kdesu-4.12.0:4 [4.10.5:4] USE=(-aqua) -debug -handbook 7,667 kB [ebuild U ] kde-base/kdepasswd-4.12.0:4 [4.10.5:4] USE=(-aqua) -debug -handbook 0 kB [ebuild U ] kde-base/kdm-4.11.4:4 [4.10.5-r1:4] USE=consolekit pam (-aqua) -debug -handbook -kerberos -systemd% 0 kB Total: 7 packages (7 upgrades), Size of downloads: 24,067 kB Would you like to merge these packages? [Yes/No] = I rebuilt portage to no avail. What can it be or should I file a bug? The output of `emerge --info` is attached. What is the contents of /var/lib/portage/world? -- Regards, Alex
Re: [gentoo-user] emerge BUG?
2013/12/20 Yuri K. Shatroff yks-...@yandex.ru: 20.12.2013 13:30, Alexey Mishustin пишет: What is the contents of /var/lib/portage/world? Hm, really, it's almost empty except for the last packages I have added yesterday... So that's clearly not an emerge bug, but ... Could anything mess it up? I have copied the system to a new HDD recently Including /var? and done an `emerge @world`, too, and everything went OK. If the correct version of the world file is lost, you may want to try to regenerate it with `regenworld'. This utility will search old emerge log files (did you copy it from old HDD?) If old emerge log files are lost too, then the script from [1] could help to recover some (major) part of the world file entries. [1] http://forums.gentoo.org/viewtopic-t-869667.html -- Regards, Alex
[gentoo-user] Rc.log with custom kernel on VPS
Hi, Recently I built a custom kernel on a XEN-powered VPS with Gentoo. It works fine, but I've noticed that there is no more sysinit part of the boot log at rc.log. It was before (with the provider's kernel) and lacks now. The boot log starts now with the boot part, then comes the default part. To be exact, the first lines are now: * Checking local filesystems ... * Remounting root filesystem read/write ... No Mounting /run. No Starting udev. Is it normal or no? -- Regards, Alex
Re: [gentoo-user] gcc-bin for stupid user
2013/9/29 Alain Didierjean alain.didierj...@free.fr: I'm in trouble for having stupidly unmerged gcc and gcc-config ! What's the easiest way, if any, to grab and install a binary gcc allowing me to emerge... gcc ! We're talking about amd64. Did you check that solution: https://forums.gentoo.org/viewtopic-t-801985.html ? -- Regards, Alex
Re: [gentoo-user] how can I pause emerge after it finish running configure or cmake and before it do any compilation?
2013/8/19 东方巽雷 dongfangxun...@gmail.com: I need to change some arguments in Makefile. You might want to use a low-level interface to the Portage system 'ebuild': ebuild path/to/package.ebuild fetch ebuild path/to/package.ebuild unpack ===make you changes here (where unpacked, in /tmp)=== ebuild path/to/package.ebuild compile ebuild path/to/package.ebuild install ebuild path/to/package.ebuild qmerge -- Regards, Alex
Re: [gentoo-user] /usr/locale vs /usr/share/locale
2013/8/6 Mike Gilbert flop...@gentoo.org: On Mon, Aug 5, 2013 at 3:25 PM, Alexey Mishustin shum...@shumkar.ru wrote: 2013/8/5 Mike Gilbert flop...@gentoo.org: On Mon, Aug 5, 2013 at 8:17 AM, Alexey Mishustin shum...@shumkar.ru wrote: Hello list, I have noticed today this folder on my laptop: /usr/locale. It contains multiple subfolders-languages with LC_MESSAGES. I wonder why these LC_MESSAGES are situated there, and not at /usr/share/locale, as on my other machine with Gentoo installed. Equery says that /usr/locale belongs to gnome-icon-theme 3.6.2. But the same gnome-icon-theme 3.6.2 didn't create /usr/locale on my other machine, created /usr/share/locale instead. Reemerging gnome-icon-theme didn't help. Sounds like a bug somewhere. Can you provide a build log for gnome-icon-theme? You will need to set the PORT_LOGDIR option in make.conf to keep build logs after a successful merge. Thank you for your answer. All build logs of gnome-icon-theme from my laptop attached. If you confirm this is a bug, I could report it. Yeah, something strange is happening there. Go ahead and file a bug please. Reported already: https://bugs.gentoo.org/show_bug.cgi?id=476016 . I've added a comment. Pity that there are no results from Gentoo bugzilla in Google. -- Regards, Alex
[gentoo-user] /usr/locale vs /usr/share/locale
Hello list, I have noticed today this folder on my laptop: /usr/locale. It contains multiple subfolders-languages with LC_MESSAGES. I wonder why these LC_MESSAGES are situated there, and not at /usr/share/locale, as on my other machine with Gentoo installed. Equery says that /usr/locale belongs to gnome-icon-theme 3.6.2. But the same gnome-icon-theme 3.6.2 didn't create /usr/locale on my other machine, created /usr/share/locale instead. Reemerging gnome-icon-theme didn't help. Gentoo Localization HowTo says: The locales and their data are part of the system library and can be found at /usr/share/locale on most systems. I can't figure out why the laptop hasn't been included in most systems. Which options related to locales may I have configured otherwise? In my opinion, installations are near equal. Arch - i686, locale - utf-8, desktop - Openbox. The world file is almost the same; some laptop-specific packages added. The only difference that I remember: I installed many packages on the laptop in another order. -- Regards, Alex
[gentoo-user] Re: /usr/locale vs /usr/share/locale
2013/8/5 Alexey Mishustin shum...@shumkar.ru: Hello list, I have noticed today this folder on my laptop: /usr/locale. It contains multiple subfolders-languages with LC_MESSAGES. I wonder why these LC_MESSAGES are situated there, and not at /usr/share/locale, as on my other machine with Gentoo installed. Equery says that /usr/locale belongs to gnome-icon-theme 3.6.2. But the same gnome-icon-theme 3.6.2 didn't create /usr/locale on my other machine, created /usr/share/locale instead. Reemerging gnome-icon-theme didn't help. Gentoo Localization HowTo says: The locales and their data are part of the system library and can be found at /usr/share/locale on most systems. I can't figure out why the laptop hasn't been included in most systems. Which options related to locales may I have configured otherwise? In my opinion, installations are near equal. Arch - i686, locale - utf-8, desktop - Openbox. The world file is almost the same; some laptop-specific packages added. The only difference that I remember: I installed many packages on the laptop in another order. The folder /usr/share/locale exists on the laptop too, and there are much more files. -- Regards, Alex
Re: [gentoo-user] syslog-ng segfaults
2013/7/19 Adam Carter adamcart...@gmail.com: syslog-ng[32015]: segfault at 44d8 ip 7f4f3fa23c83 sp 7fffb233b940 error 4 in libsyslog-ng.so.0.0.0 (deleted)[7f4f3f9eb000 +67000] Has anybody else seen anything like that? Perhaps you forgot to restart syslog-ng after the update? # ldd /usr/sbin/syslog-ng | grep libsyslog-ng libsyslog-ng-3.4.2.so = /usr/lib64/libsyslog-ng-3.4.2.so (0x7fe7dfe5b000) If the library was called libsyslog-ng.so.0.0.0 in the previous version, and if syslog-ng tried to reload it, it would fail after the update which could cause the segfault. So, restarting syslog-ng should be all that's required to fix it - reboot is overkill. As for me, first I updated syslog-ng, then I issued '/etc/init.d/syslog-ng reload' (by mistake, instead of 'restart'), and then 'restart' as I should. Then, just when syslog-ng was restarting, the segfault happened. Also, any errors in the config file should not cause segfault. If it does, that indicates a bug in the input validation/config parsing code. Errors in the config should result in a graceful termination. -- Regards, Alex
Re: [gentoo-user] [Solved] syslog-ng segfaults
2013/7/19 Dan Johansson dan.johans...@dmj.nu: Question: Is this a physical host or is it a virtual host running under qemu? Reason for my question ist that recently the CPU-Id presented from quemu in the guest has changed and if you have CFLAGS=-march=native then some newly compiles SW could fail. One way to solve this is to change the CFLAGS to -mtune=native and recompile the affected SW (or world). My virtual guest is compiled with -mtune=generic. It's an universal solution for all changes in virtual hosts, isn't it? -- Regards, Alex
[gentoo-user] Re: no cdrom (IDE)
6/28/2011, walt w41...@gmail.com вы писали: On 06/28/2011 09:55 AM, Alexey Mishustin wrote: What should I do to make the kernel see the dvd-player? How to turn on the PATA driver? The usual advice I've seen on this list is to boot your machine from a linux rescue CD or installation CD and do lspci -k from there, because the correct kernel driver should already be loaded automatically during the boot. Once you know which driver to use, build your own kernel to use the same driver. OK, thanks for the help. -- Regards, Alex
[gentoo-user] Re: no cdrom (IDE)
6/27/2011, walt w41...@gmail.com вы писали: On 06/27/2011 09:28 AM, Alexey Mishustin wrote: Here is the output of my lspci -k: SATA IDE Controller #1 Subsystem: ASUSTeK Computer Inc. Device 82d4 Kernel driver in use: ata_piix Kernel modules: ata_piix SATA IDE Controller #2 Subsystem: ASUSTeK Computer Inc. Device 82d4 Kernel driver in use: ata_piix Kernel modules: ata_piix If I understand well, dvd-player should be connected to one of the two ata_piix IDE interfaces? My motherboard is ASUS P5Q SE2. My hardware is several years older than yours, so my knowledge is obsolete :( My dvd player uses the old flat-ribbon cable (5 cm wide) attached to an old PATA controller plug, so naturally I need a PATA kernel driver to use the dvd drive. Does your dvd drive use a new (small) SATA cable to connect to the motherboard? No, it is conected by the old flat-ribbon cable. If the answer is yes, then your understanding is correct, and your kernel *should* be announcing your dvd hardware in dmesg. I don't see any mention about the dvd-player in dmesg. Are you sure the cables are connected properly to the dvd drive? Are the lights on the dvd drive blinking normally during boot? Yes, it blinks normally. I'm still trying to separate hardware/driver problems from udev problems. What should I do to make the kernel see the dvd-palyer? How to turn on the PATA driver? -- Regards, Alex
[gentoo-user] Re: no cdrom (IDE)
6/26/2011, walt w41...@gmail.com вы писали: I assume it's connected to a PATA disk controller like my dvd player is? #lspci -k [output edited] 00:11.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06) Subsystem: VIA Technologies, Inc. VT82C586/B/VT82C686/A/B/VT8233/A/C/VT8235 PIPC Bus Master IDE Kernel driver in use: pata_via Here is the output of my lspci -k: 00:00.0 Host bridge: Intel Corporation 4 Series Chipset DRAM Controller (rev 03) Subsystem: ASUSTeK Computer Inc. Device 82d3 00:01.0 PCI bridge: Intel Corporation 4 Series Chipset PCI Express Root Port (rev 03) Kernel driver in use: pcieport 00:1a.0 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #4 Subsystem: ASUSTeK Computer Inc. Device 82d4 Kernel driver in use: uhci_hcd Kernel modules: uhci-hcd 00:1a.1 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #5 Subsystem: ASUSTeK Computer Inc. Device 82d4 Kernel driver in use: uhci_hcd Kernel modules: uhci-hcd 00:1a.2 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #6 Subsystem: ASUSTeK Computer Inc. Device 82d4 Kernel driver in use: uhci_hcd Kernel modules: uhci-hcd 00:1a.7 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #2 Subsystem: ASUSTeK Computer Inc. Device 82d4 Kernel driver in use: ehci_hcd Kernel modules: ehci-hcd 00:1b.0 Audio device: Intel Corporation 82801JI (ICH10 Family) HD Audio Controller Subsystem: ASUSTeK Computer Inc. Device 837a Kernel driver in use: HDA Intel Kernel modules: snd-hda-intel 00:1c.0 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Root Port 1 Kernel driver in use: pcieport 00:1c.5 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Root Port 6 Kernel driver in use: pcieport 00:1d.0 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #1 Subsystem: ASUSTeK Computer Inc. Device 82d4 Kernel driver in use: uhci_hcd Kernel modules: uhci-hcd 00:1d.1 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #2 Subsystem: ASUSTeK Computer Inc. Device 82d4 Kernel driver in use: uhci_hcd Kernel modules: uhci-hcd 00:1d.2 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #3 Subsystem: ASUSTeK Computer Inc. Device 82d4 Kernel driver in use: uhci_hcd Kernel modules: uhci-hcd 00:1d.7 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #1 Subsystem: ASUSTeK Computer Inc. Device 82d4 Kernel driver in use: ehci_hcd Kernel modules: ehci-hcd 00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 90) 00:1f.0 ISA bridge: Intel Corporation 82801JIB (ICH10) LPC Interface Controller Subsystem: ASUSTeK Computer Inc. Device 82d4 00:1f.2 IDE interface: Intel Corporation 82801JI (ICH10 Family) 4 port SATA IDE Controller #1 Subsystem: ASUSTeK Computer Inc. Device 82d4 Kernel driver in use: ata_piix Kernel modules: ata_piix 00:1f.3 SMBus: Intel Corporation 82801JI (ICH10 Family) SMBus Controller Subsystem: ASUSTeK Computer Inc. Device 82d4 Kernel modules: i2c-i801 00:1f.5 IDE interface: Intel Corporation 82801JI (ICH10 Family) 2 port SATA IDE Controller #2 Subsystem: ASUSTeK Computer Inc. Device 82d4 Kernel driver in use: ata_piix Kernel modules: ata_piix 01:00.0 VGA compatible controller: nVidia Corporation G92 [GeForce 9800 GT] (rev a2) Subsystem: ASUSTeK Computer Inc. Device 8319 Kernel driver in use: nouveau 02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02) Subsystem: ASUSTeK Computer Inc. Device 8367 Kernel driver in use: r8169 Kernel modules: r8169 If I understand well, dvd-player should be connected to one of the two ata_piix IDE interfaces? My motherboard is ASUS P5Q SE2. -- Regards, Alex
[gentoo-user] Re: no cdrom (IDE)
6/26/2011, walt w41...@gmail.com вы писали: On 06/25/2011 05:03 PM, walt wrote: On 06/25/2011 03:32 PM, Alexey Mishustin wrote: Hi. After updating udev the links /dev/cdrom, /dev/dvd etc disappeared. There are four /dev/sgX but there is no /dev/srX at all. No hdX, all sdX are hard drives. That's a good thing. The disk drivers that use/need/create /dev/hd* are obsolete. So, I can't mount any cd or dvd. My drive is IDE (Pioneer). Mine also, not a problem. # dmesg | grep sr # That seems to be the problem. sigh I beg pardon for my senility. I was reminded while reading a different group to run lsmod. The salient lines from lsmod: cdrom 24970 1 sr_mod The kernel module sr_mod is selected in the kernel config menu at Device Drivers::SCSI device support::SCSI CDROM support I guess, you mean CONFIG_BLK_DEV_SR? It was selected as Y. I changed it to M and recompiled the kernel. The module appeared: # lsmod | egrep rs_mod|cdrom|marvel cdrom 24804 1 sr_mod pata_marvell1761 0 libata123278 53 libsas,pdc_adma,sata_inic162x,sata_mv,ata_piix,ahci,libahci,sata_qstor,sata_vsc,sata_uli,sata_sis,sata_sx4,sata_nv,sata_via,sata_svw,sata_sil24,sata_sil,sata_promise,pata_sl82c105,pata_cs5530,pata_cs5520,pata_via,pata_jmicron,pata_marvell,pata_sis,pata_netcell,pata_sc1200,pata_pdc202xx_old,pata_triflex,pata_atiixp,pata_opti,pata_amd,pata_ali,pata_it8213,pata_pcmcia,pata_ns87415,pata_ns87410,pata_serverworks,pata_platform,pata_artop,pata_it821x,pata_optidma,pata_hpt3x2n,pata_hpt3x3,pata_hpt37x,pata_hpt366,pata_cmd64x,pata_efar,pata_rz1000,pata_sil680,pata_radisys,pata_pdc2027x,pata_mpiix But nevertheless there is no neither /dev/sr0, nor links to cdrom, dvd... The same kernel (with CONFIG_BLK_DEV_SR = Y) works perfectly on my laptop with internal SCSI cdrom. All links and sr0 exist there. But that's no help for me... -- Regards, Alex
[gentoo-user] Re: no cdrom (IDE)
6/26/2011, Alexey Mishustin shum...@shumkar.ru вы писали: # lsmod | egrep rs_mod|cdrom|marvel cdrom 24804 1 sr_mod pata_marvell1761 0 libata123278 53 libsas,pdc_adma,sata_inic162x,sata_mv,ata_piix,ahci,libahci,sata_qstor,sata_vsc,sata_uli,sata_sis,sata_sx4,sata_nv,sata_via,sata_svw,sata_sil24,sata_sil,sata_promise,pata_sl82c105,pata_cs5530,pata_cs5520,pata_via,pata_jmicron,pata_marvell,pata_sis,pata_netcell,pata_sc1200,pata_pdc202xx_old,pata_triflex,pata_atiixp,pata_opti,pata_amd,pata_ali,pata_it8213,pata_pcmcia,pata_ns87415,pata_ns87410,pata_serverworks,pata_platform,pata_artop,pata_it821x,pata_optidma,pata_hpt3x2n,pata_hpt3x3,pata_hpt37x,pata_hpt366,pata_cmd64x,pata_efar,pata_rz1000,pata_sil680,pata_radisys,pata_pdc2027x,pata_mpiix Sorry, # lsmod | egrep sr_mod|cdrom|marvel sr_mod 10262 0 cdrom 24804 1 sr_mod pata_marvell1761 0 libata123278 53 libsas,pdc_adma,sata_inic162x,sata_mv,ata_piix,ahci,libahci,sata_qstor,sata_vsc,sata_uli,sata_sis,sata_sx4,sata_nv,sata_via,sata_svw,sata_sil24,sata_sil,sata_promise,pata_sl82c105,pata_cs5530,pata_cs5520,pata_via,pata_jmicron,pata_marvell,pata_sis,pata_netcell,pata_sc1200,pata_pdc202xx_old,pata_triflex,pata_atiixp,pata_opti,pata_amd,pata_ali,pata_it8213,pata_pcmcia,pata_ns87415,pata_ns87410,pata_serverworks,pata_platform,pata_artop,pata_it821x,pata_optidma,pata_hpt3x2n,pata_hpt3x3,pata_hpt37x,pata_hpt366,pata_cmd64x,pata_efar,pata_rz1000,pata_sil680,pata_radisys,pata_pdc2027x,pata_mpiix But it doesn't matter. -- Regards, Alex
[gentoo-user] Re: no cdrom (IDE)
6/26/2011, walt w41...@gmail.com вы писали: #cat /etc/udev/rules.d/70-persistent-cd.rules # This file was automatically generated by the /lib/udev/write_cd_rules # program, run by the cd-aliases-generator.rules rules file. # # You can modify it, as long as you keep each rule on a single # line, and set the $GENERATED variable. # iHDP118_4 (pci-:00:11.1-scsi-1:0:0:0) SUBSYSTEM==block, ENV{ID_CDROM}==?*, ENV{ID_PATH}==pci-:00:11.1-scsi-1:0:0:0, SYMLINK+=cdrom, ENV{GENERATED}=1 SUBSYSTEM==block, ENV{ID_CDROM}==?*, ENV{ID_PATH}==pci-:00:11.1-scsi-1:0:0:0, SYMLINK+=dvd, ENV{GENERATED}=1 Note how the pci number matches the output of lspci -k. If the number doesn't match your hardware then you should delete the 70-persistent-cd.rules file and reboot. A new file will be generated during the reboot. My udev doesn't create 70-persistent-cd.rules, there is the 70-persistent-net.rules only. -- Regards, Alex
Re: [gentoo-user] Scripts not working... HELP!
4/28/2011, Walter Dnes waltd...@waltdnes.org wrote: This message is coming from my 32-bit hot backup gentoo machine. For some reason, any script that I call on my 64-bit machine immediately returns to the command prompt. No warnings or error messages or diagnostics. Builtins and compiled executables work OK. For instance, if I have a script named xyz that goes like so... #!/bin/bash man bash ..., executing xyz or ~/bin/xyz results in bash immediately returning to to the command prompt. If I type man bash, it works OK. I am not an expert in scripts at all, but I remember there is difference between interactive and non-interactive shells that could cause things like this. What happens if you try to execute a script with non-interactive command? For example: #!/bin/bash echo I am script And, just for a case... Are all scripts executable? (+x) -- Regards, Alex
Re: [gentoo-user] You have no world file
On Tue, Apr 26, 2011 at 07:00:01PM +0200, Dale wrote: Michael Orlitzky wrote: I'm not a doctor but it's probably perfectly safe. I'd copy my world file to my root directory just in case tho. At least you got a starting point if something did get froggy. That's just me tho. We all know how weird I am. lol Dale :-) :-) I always use rsync to back up my entire system after updating and keep 3 updates back, so when anything goes wrong I can just restore the bit that went wrong or restore the whole system. How's that for paranoid? Murphy's taught me well... Heh, I don't think that it's paranoid, I think it's normal. I always use rsnapshot to back up entire system before updating and keep 10 updates back :-) -- Regards, Alex
Re: [gentoo-user] su doesn't work for me.
4/10/2011, Alan Mackenzie a...@muc.de вы писали: Hi, Gentoo. When, as a normal user, I type su, followed, when prompted, by the root password, I get the following error message: su: Permission denied . The return code is 1. I can't glean anything useful from the man page. Would somebody please tell me what I'm missing. Many thanks! Is your normal user a member of the 'wheel' group? -- Regards, Alex
[gentoo-user] formail doesn't catch duplicates
Hi list, I have this in my procmailrc: :0 Whc: $HOME/Mail/.msgid.lock | formail -D 16384 $HOME/Mail/.msgid.cache :0 a: $MAILDIR/duplicates/ This is situated after a virus-check and before all other filters. But nothing duplicates is being catched, all they are falling into main folders. What could be wrong here? С уважением, Алексей Мишустин
Re: [gentoo-user] mutt $index_format syntax
4/8/2011, Vincent Launchbury vinc...@doublecreations.com вы писали: On 2011/04/08 02:40PM, Alexey Mishustin wrote: For example, I don't understand what does -15.15 mean (in default value %4C %Z %{%b %d} %-15.15L (%4l) %s ) The -15.15 is the same as the printf(3) format. That's it. I had read man printf yesterday, but not found man 3 printf. Seems to contain all information that I need... The minus sign means left align the field, the first number is the minimum field width, and the dot specifies that the next number is the precision, which for a string is the max number of characters to print. E.g -15.20 would be a left aligned field atleast 15 characters wide, expanding upto 20 total, if the string is long enough. But that could make things unaligned, so just keep the values the same. why there are no width values for each column, %4C - message number (width 4) %Z- Status flags (always 3 characters) %{%b %d} - (see below) Short month name, 2 digit day (constant width) %-15.15L - Address (width 15) (%4l) - # of lines in the message (width 4) %s- Subject (last field, width unimportant) what do constructions %{another %s} mean. From the online manual [1], %{format} passes the date (in the sender's time zone) to strftime(3), so you could use %{%Y-%m-%d} for example, or just %D to use the setting from date_format. Perhaps tricky to read, but very flexible. Hope that helps. Sure that helps! Thanks a lot. [1] http://www.mutt.org/doc/manual/manual-6.html#index_format -- Regards, Alex
[gentoo-user] mutt $index_format syntax
Hello list, Could anyone tell me where I could find an explanation of mutt $index_format syntax. I read mutt manual, but it's not enough for me. For example, I don't understand what does -15.15 mean (in default value %4C %Z %{%b %d} %-15.15L (%4l) %s ), why there are no width values for each column, what do constructions %{another %s} mean. -- Regards, Alex
[gentoo-user] ttf corefonts in Worker file manager
Hi list, Could someone please tell me, is it possible to set ttf corefonts in Worker file manager? When I enter, e.g., *-verdana-* on its font configuration page, it complains that can't locate font. My fc-list shows all ttf corefonts, xlsfonts doesn't show any. Is there a way to get rid of this (by configuring Xresources may be)? -- Regards, Alex
[gentoo-user] Re: ttf corefonts in Worker file manager
6 апреля 2011 г., 0:21:07, Alexey Mishustin пишет: Hi list, Could someone please tell me, is it possible to set ttf corefonts in Worker file manager? When I enter, e.g., *-verdana-* on its font configuration page, it complains that can't locate font. My fc-list shows all ttf corefonts, xlsfonts doesn't show any. Is there a way to get rid of this (by configuring Xresources may be)? Sorry, the problem was in paths in my xorg.conf. I thought this section isn't being used by modern Xorg anymore. It works perfect now, with /usr/share/fonts/corefonts... -- Alex
Re: [gentoo-user] Persistent modification time in the future
28 марта 2011 г., 1:57:34, Volker Armin Hemmann пишет: just two of guesses: you don't sync the resulting correct clock to hwclock or /etc/adjtime is full of crap. If this happens again, remove that file. 28 марта 2011 г., 1:26:28, Alex Schuster пишет: Maybe hardware and software clock are not in sync. Look at /etc/init.d/hwclock, and maybe call hwclock --systohc manually. Or someting like this. As I have ntp-client installed, I decided to synchronize hwclock with sysclock by changing /etc/conf.d/clock: CLOCK_SYSTOHC=yes So far, both clocs are OK. Thank you, Volker Armin, Alex. -- Regards, Alex
[gentoo-user] Persistent modification time in the future
Hello, I performed the system update today (emerge -uND @world), and now I get errors One of the files in /etc/{conf.d,init.d} or /etc/rc.conf has a modification time in the future! at boot. If I do touch /tmp/tmp.file find /etc -newer /tmp/temp.file I get /etc/ /etc/adjtime /etc/mtab Then I do ls -l / | grep etc and get drwxr-xr-x 42 root root 4096 Mar 28 2011 etc Evidently, there is no time of modification that should be the reason of the error. There is the same situation with /etc/adjtime and /etc/mtab (no time). I tried to do find /etc -newer /tmp/temp.file -exec touch {} \; But it doesn't help. Dates appear but only till I reboot. After reboot I get the same error and the same three elements - /etc/, /etc/adjtime, /etc/mtab - have no time of modification anymore. What can be the problem? During the system update I updated 3 packages: dev-libs/mpfr, media-fonts/dejavu, sys-apps/util-linux, recompiled 2: sys-apps/groff, sys-kernel/gentoo-sources (added some flags), emerged mailx. -- Regards, Alex
Re: [gentoo-user] Persistent modification time in the future
28 марта 2011 г., 1:22:27, Volker Armin Hemmann пишет: On Monday 28 March 2011 01:14:05 Alexey Mishustin wrote: Hello, I performed the system update today (emerge -uND @world), and now I get errors One of the files in /etc/{conf.d,init.d} or /etc/rc.conf has a modification time in the future! at boot. If I do touch /tmp/tmp.file find /etc -newer /tmp/temp.file I get /etc/ /etc/adjtime /etc/mtab Then I do ls -l / | grep etc and get drwxr-xr-x 42 root root 4096 Mar 28 2011 etc Evidently, there is no time of modification that should be the reason of the error. There is the same situation with /etc/adjtime and /etc/mtab (no time). I tried to do find /etc -newer /tmp/temp.file -exec touch {} \; But it doesn't help. Dates appear but only till I reboot. After reboot I get the same error and the same three elements - /etc/, /etc/adjtime, /etc/mtab - have no time of modification anymore. What can be the problem? During the system update I updated 3 packages: dev-libs/mpfr, media-fonts/dejavu, sys-apps/util-linux, recompiled 2: sys-apps/groff, sys-kernel/gentoo-sources (added some flags), emerged mailx. -- Regards, Alex check your clocks. You were absolutely right, the problem was here. My clock was 10 minutes slow. I did /etc/init.d/net-client restart , rebooted, and got nothing error. But how my clock could get slow if I have ntp-client autoloading at default level? -- Regards, Alex
Re: [gentoo-user] Persistent modification time in the future
28 марта 2011 г., 1:26:28, Alex Schuster пишет: Alexey Mishustin writes: I performed the system update today (emerge -uND @world), and now I get errors One of the files in /etc/{conf.d,init.d} or /etc/rc.conf has a modification time in the future! at boot. [...] I get /etc/ /etc/adjtime /etc/mtab [...] But it doesn't help. Dates appear but only till I reboot. After reboot I get the same error and the same three elements - /etc/, /etc/adjtime, /etc/mtab - have no time of modification anymore. What can be the problem? Maybe hardware and software clock are not in sync. Look at /etc/init.d/hwclock, and maybe call hwclock --systohc manually. Or someting like this. I don't have hwclock in /etc/init.d/... hwclock --show shown the correct time (-0.00 seconds) -- Regards, Alex
Re: [gentoo-user] Persistent modification time in the future
I did /etc/init.d/net-client restart /etc/init.d/ntp-client restart , rebooted, and got nothing error. -- Regards, Alex
Re: [gentoo-user] xorg-server 1.9.4: keybord very slow in consoles
3/16/2011, Mick michaelkintz...@gmail.com вы писали: On Wednesday 16 March 2011 19:05:32 Alexey Mishustin wrote: Hi list, I have a problem with configuring xorg-server 1.9.4. It starts and works OK. But just after it has started, the keyboard begins to work very slowly in all virtual consoles that were open prior to X. If I login in a new virtual console, the keyboard works well until I enter into an interactive tool (man, less). After that - the same behavior. I installed xorg in according to these instructions [1], then added InputClass definitions from this thread [2]. Please suggest what I could have done wrong. xorg.conf - http://pastebin.com/Wwmy1eFf Xorg.0.log - http://pastebin.com/5aqCLKnH make.conf - http://pastebin.com/7St3T1ec http://pastebin.com/YpCm9puZ emerge --info - http://pastebin.com/NZUQYqhh kernel .config - http://pastebin.com/E6Syb7Ay Laptop ASUS WJ7. [1] - http://www.gentoo.org/doc/en/xorg-config.xml [2] - http://www.gossamer-threads.com/lists/gentoo/user/226332?do=post_view_thre aded Alex, you have defined both your keyboard and mouse as InputDevice under Section ServerLayout, but then later on you specify them both as InputClass. Aha... I'll try tonight, when at home. Thank you! -- Regards, Alex
Re: [gentoo-user] xorg-server 1.9.4: keybord very slow in consoles
17 марта 2011 г., 1:43:07, Mick пишет: On Wednesday 16 March 2011 19:05:32 Alexey Mishustin wrote: Hi list, I have a problem with configuring xorg-server 1.9.4. It starts and works OK. But just after it has started, the keyboard begins to work very slowly in all virtual consoles that were open prior to X. If I login in a new virtual console, the keyboard works well until I enter into an interactive tool (man, less). After that - the same behavior. I installed xorg in according to these instructions [1], then added InputClass definitions from this thread [2]. Please suggest what I could have done wrong. xorg.conf - http://pastebin.com/Wwmy1eFf Xorg.0.log - http://pastebin.com/5aqCLKnH make.conf - http://pastebin.com/7St3T1ec http://pastebin.com/YpCm9puZ emerge --info - http://pastebin.com/NZUQYqhh kernel .config - http://pastebin.com/E6Syb7Ay Laptop ASUS WJ7. [1] - http://www.gentoo.org/doc/en/xorg-config.xml [2] - http://www.gossamer-threads.com/lists/gentoo/user/226332?do=post_view_thre aded Alex, you have defined both your keyboard and mouse as InputDevice under Section ServerLayout, but then later on you specify them both as InputClass. Comment out the InputDevice sections or remove them completely as shown in thread [2] above. I deleted definitions of InputDevices and the corresponding rows in the ServerLayout section. Unfortunately, it didn't help. I'm getting the same weird behaviour of the keyboard in consoles. A testing has shown that the keyboard gets broken in a new-open console not only after `man`, and `less` but even after `ls`. My corrected xorg.conf - http://pastebin.com/P6SbzUDF -- Regards, Alex
Re: [gentoo-user] xorg-server 1.9.4: keybord very slow in consoles
Found similar bug reports. http://bugs.gentoo.org/show_bug.cgi?id=247543 https://bugs.freedesktop.org/show_bug.cgi?id=18622 It's not good news for me that these bugs both haven't been resolved so far... I am not using neither slim nor gdm. No display manager at all. Openbox only. -- Regards, Alex
Re: [gentoo-user] xorg-server 1.9.4: keybord very slow in consoles
17 марта 2011 г., 20:29:26, Mick пишет: On 17 March 2011 16:55, Alexey Mishustin shum...@shumkar.ru wrote: 17 марта 2011 г., 1:43:07, Mick пишет: On Wednesday 16 March 2011 19:05:32 Alexey Mishustin wrote: Hi list, I have a problem with configuring xorg-server 1.9.4. It starts and works OK. But just after it has started, the keyboard begins to work very slowly in all virtual consoles that were open prior to X. If I login in a new virtual console, the keyboard works well until I enter into an interactive tool (man, less). After that - the same behavior. I installed xorg in according to these instructions [1], then added InputClass definitions from this thread [2]. Please suggest what I could have done wrong. xorg.conf - http://pastebin.com/Wwmy1eFf Xorg.0.log - http://pastebin.com/5aqCLKnH make.conf - http://pastebin.com/7St3T1ec http://pastebin.com/YpCm9puZ emerge --info - http://pastebin.com/NZUQYqhh kernel .config - http://pastebin.com/E6Syb7Ay Laptop ASUS WJ7. [1] - http://www.gentoo.org/doc/en/xorg-config.xml [2] - http://www.gossamer-threads.com/lists/gentoo/user/226332?do=post_view_thre aded Alex, you have defined both your keyboard and mouse as InputDevice under Section ServerLayout, but then later on you specify them both as InputClass. Comment out the InputDevice sections or remove them completely as shown in thread [2] above. I deleted definitions of InputDevices and the corresponding rows in the ServerLayout section. Unfortunately, it didn't help. I'm getting the same weird behaviour of the keyboard in consoles. A testing has shown that the keyboard gets broken in a new-open console not only after `man`, and `less` but even after `ls`. My corrected xorg.conf - http://pastebin.com/P6SbzUDF I can't see anything immediately wrong with it ... Why do you have: Disable dri Disable dri2 in there? I had changed xorg.conf many times before writing to this list. Read that nvidia driver doesn't use dri which is intended for open drivers, I commented it out. Yesterday I tried to startx without 'Disable dri', no effect... PS. Have you re-emerged evdev and synaptics after you emerged xorg-server? No. It's what I can do now. -- Regards, Alex.
Re: [gentoo-user] xorg-server 1.9.4: keybord very slow in consoles
PS. Have you re-emerged evdev and synaptics after you emerged xorg-server? No. It's what I can do now. Done. It didn't help. -- Regards, Alex.
[gentoo-user] xorg-server 1.9.4: keybord very slow in consoles
Hi list, I have a problem with configuring xorg-server 1.9.4. It starts and works OK. But just after it has started, the keyboard begins to work very slowly in all virtual consoles that were open prior to X. If I login in a new virtual console, the keyboard works well until I enter into an interactive tool (man, less). After that - the same behavior. I installed xorg in according to these instructions [1], then added InputClass definitions from this thread [2]. Please suggest what I could have done wrong. xorg.conf - http://pastebin.com/Wwmy1eFf Xorg.0.log - http://pastebin.com/5aqCLKnH make.conf - http://pastebin.com/7St3T1ec http://pastebin.com/YpCm9puZ emerge --info - http://pastebin.com/NZUQYqhh kernel .config - http://pastebin.com/E6Syb7Ay Laptop ASUS WJ7. [1] - http://www.gentoo.org/doc/en/xorg-config.xml [2] - http://www.gossamer-threads.com/lists/gentoo/user/226332?do=post_view_threaded -- Regards, Alex
Re: [gentoo-user] xorg-server 1.9.4: keybord very slow in consoles
16 марта 2011 г., 22:05:32, Alexey Mishustin пишет: Hi list, I have a problem with configuring xorg-server 1.9.4. It starts and works OK. But just after it has started, the keyboard begins to work very slowly in all virtual consoles that were open prior to X. Not only slowly. Also, there is no cursor. It doesn't blink. But if I press keys and then several times press Enter, the command that I pressed appears, then slowly computes. It looks like this: (I'm pressing `pwd` not seeing cursor and pressing letters) # # #pwd # /etc # Also, it's impossible to scroll with Shift+PgUp. Weird! If I login in a new virtual console, the keyboard works well until I enter into an interactive tool (man, less). After that - the same behavior. I installed xorg in according to these instructions [1], then added InputClass definitions from this thread [2]. Please suggest what I could have done wrong. xorg.conf - http://pastebin.com/Wwmy1eFf Xorg.0.log - http://pastebin.com/5aqCLKnH make.conf - http://pastebin.com/7St3T1ec http://pastebin.com/YpCm9puZ emerge --info - http://pastebin.com/NZUQYqhh kernel .config - http://pastebin.com/E6Syb7Ay Laptop ASUS WJ7. [1] - http://www.gentoo.org/doc/en/xorg-config.xml [2] - http://www.gossamer-threads.com/lists/gentoo/user/226332?do=post_view_threaded -- Regards, Alex