Re: [gentoo-user] Is it possible to protect *INDIVIDUAL FILES* against etc-update?
On Sunday 15 October 2006 06:40, Walter Dnes wrote: [SNIP] CONFIG_PROTECT and CONFIG_PROTECT_MASK work at the *DIRECTORY* level. What I really want/need is a feature that allows additional protection *FOR INDIVIDUAL FILES*. E.g... - my customized /etc/conf.d/local.start or /etc/conf.d/local.stop should *NEVER* be replaced with an empty version - /etc/rc.conf should be left alone too. ***FOR THE UMPTEENTH TIME, NO I DO NOT WANT NANO REPLACING VIM AS MY EDITOR*** - /etc/conf.d/clock too. ***FOR THE UMPTEENTH TIME, NO I DO NOT WANT MY SYSTEM CLOCK SET TO GMT*** - /etc/ssmtp/ssmtp.conf too. ***FOR THE UMPTEENTH TIME, NO I DO NOT WANT MY CUSTOMIZED FILE REPLACED WITH AN EXAMPLE FILE*** And the list goes on and on. Howsabout an environmental variable CONFIG_PROTECT_FILES, containing a list of protected files? I'm ready to submit a feature request if necessary. Does anybody have additional comments? I suspect you don't really understand what CONFIG_PROTECT{,_MASK} is. Please read the output of `emerge --help --config`. All the files you've mentioned are covered by CONFIG_PROTECT in a default configuration so if they aren't it means you've screwed up your CONFIG_PROTECT and/or CONFIG_PROTECT_MASK variables. Otherwise it is you who overwrote those files with etc-update/dispatch-conf or whatever you use for that. I suppose you could work around your own clumsiness ;) by removing the mentioned files in post_pkg_postinst of sys-apps/baselayout and mail-mta/ssmtp. Something like e.g.: # mkdir -p /etc/portage/env/sys-apps \ echo 'post_pkg_postinst() { echo Removing new rc.conf, local.{start,stop} and clock rm -fv ${ROOT}/etc/._cfg_rc.conf \ ${ROOT}/etc/conf.d/._cfg_{local.start,local.stop,clock} }' /etc/portage/env/sys-apps/baselayout PS: Please don't capitalize your sentences like that. It's really annoying.. -- Bo Andresen pgpO5dKEewcPa.pgp Description: PGP signature
Re: [gentoo-user] How to detect when memory-card inserted into USB card-reader?
On Sunday 15 October 2006 06:21, Pawel Kraszewski wrote: Dnia niedziela, 15 października 2006 07:08, Walter Dnes napisał: Is it possible to get the system to automatically recognize when a card is inserted into the reader? You may also need to select probe all LUNs in your kernel. Look at: sys-apps/ivman -- Regards, Mick pgpcOupYI73jb.pgp Description: PGP signature
Re: [gentoo-user] ATI-driver dependencies problem
On Saturday 14 October 2006 22:14, Bo Ørsted Andresen wrote: On Saturday 14 October 2006 11:37, Dan Johansson wrote: [SNIP] Today when I did an emerge --sync and emerge -uDvNp world I'm getting [SNIP] Any suggestions on how to solve this? Post the output of `emerge -uDvNp --tree world` Here's the output. # emerge -uDvNp --tree world These are the packages that would be merged, in reverse order: Calculating world dependencies | !!! All ebuilds that could satisfy =x11-drivers/ati-drivers-8.27.10 have been masked. !!! One of the following masked packages is required to complete your request: - x11-drivers/ati-drivers-8.27.10-r1 (masked by: package.mask) - x11-drivers/ati-drivers-8.28.8 (masked by: package.mask, ~x86 keyword) - x11-drivers/ati-drivers-8.29.6 (masked by: package.mask, ~x86 keyword) For more information, see MASKED PACKAGES section in the emerge man page or refer to the Gentoo Handbook. !!! Problem resolving dependencies for media-sound/xmms !!! Depgraph creation failed. -- Dan Johansson, http://www.dmj.nu *** This message is printed on 100% recycled electrons! *** pgpLRJYYi1OhY.pgp Description: PGP signature
Re: [gentoo-user] ATI-driver dependencies problem
On Sunday 15 October 2006 10:30, Dan Johansson wrote: [SNIP] Post the output of `emerge -uDvNp --tree world` Here's the output. # emerge -uDvNp --tree world These are the packages that would be merged, in reverse order: Calculating world dependencies | !!! All ebuilds that could satisfy =x11-drivers/ati-drivers-8.27.10 have been masked. !!! One of the following masked packages is required to complete your request: - x11-drivers/ati-drivers-8.27.10-r1 (masked by: package.mask) - x11-drivers/ati-drivers-8.28.8 (masked by: package.mask, ~x86 keyword) - x11-drivers/ati-drivers-8.29.6 (masked by: package.mask, ~x86 keyword) For more information, see MASKED PACKAGES section in the emerge man page or refer to the Gentoo Handbook. !!! Problem resolving dependencies for media-sound/xmms !!! Depgraph creation failed. Wow! That really wasn't very informative! Try this: # emerge -uDvNp --debug world debug.log # gzip debug.log Then feel free to post debug.log.gz as an attached file. Please also include the output of `emerge --info`. -- Bo Andresen pgpKHz5j27ZA0.pgp Description: PGP signature
[gentoo-user] Openswans IPSEC starting before net
Hi, I installed openswan recently to connect to my IPCOP based router via VPN over an Netgear WPN311 WLAN card. According to some documentation I found I added also ipsec-tools though it seems that this is not necessary (setup of different PC without them and everything works fine). The problem now is that the IPSEC service is started before NET service is up and running. That way IPSEC does not setup the VPN tunnel to the router. I always need to perform the IPSEC startup by hand (or in rc.local). As I stated above setting up a PC without ipsec-tools packakge installed leads to correct behaviour (IPSEC started after NET). 1. Has anybody seen this before ? Is there a way to alter the startup order ? 2. How can I debug the decision process which determines the startup order of the services ? I already checked /var/lib/init.d/deptree. But from that file everything seems to be alright (NET is precondition to run IPSEC). BR Thomas -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] ATI-driver dependencies problem
On Sunday 15 October 2006 10:47, Bo Ørsted Andresen wrote: On Sunday 15 October 2006 10:30, Dan Johansson wrote: [SNIP] Post the output of `emerge -uDvNp --tree world` Here's the output. # emerge -uDvNp --tree world These are the packages that would be merged, in reverse order: Calculating world dependencies | !!! All ebuilds that could satisfy =x11-drivers/ati-drivers-8.27.10 have been masked. !!! One of the following masked packages is required to complete your request: - x11-drivers/ati-drivers-8.27.10-r1 (masked by: package.mask) - x11-drivers/ati-drivers-8.28.8 (masked by: package.mask, ~x86 keyword) - x11-drivers/ati-drivers-8.29.6 (masked by: package.mask, ~x86 keyword) For more information, see MASKED PACKAGES section in the emerge man page or refer to the Gentoo Handbook. !!! Problem resolving dependencies for media-sound/xmms !!! Depgraph creation failed. Wow! That really wasn't very informative! Try this: # emerge -uDvNp --debug world debug.log # gzip debug.log Then feel free to post debug.log.gz as an attached file. Please also include the output of `emerge --info`. Ok, here's the requested Info: # emerge --info Portage 2.1.1 (default-linux/x86/2006.1/desktop, gcc-3.4.6, glibc-2.4-r3, 2.6.17-gentoo-r8 i686) = System uname: 2.6.17-gentoo-r8 i686 Intel(R) Pentium(R) M processor 1700MHz Gentoo Base System version 1.12.5 Last Sync: Sun, 15 Oct 2006 07:00:01 + app-admin/eselect-compiler: [Not Present] dev-java/java-config: 1.2.11-r1 dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox:1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r4 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r1 ACCEPT_KEYWORDS=x86 AUTOCLEAN=yes CBUILD=i686-pc-linux-gnu CFLAGS=-O2 -mtune=i686 -march=i686 -fomit-frame-pointer CHOST=i686-pc-linux-gnu CONFIG_PROTECT=/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config CONFIG_PROTECT_MASK=/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo CXXFLAGS=-O2 -mtune=i686 -march=i686 -fomit-frame-pointer DISTDIR=/usr/portage/distfiles FEATURES=autoconfig distlocks fixpackages metadata-transfer sandbox sfperms strict GENTOO_MIRRORS=http://gentoo.osuosl.org/ http://gentoo.seren.com/gentoo http://gentoo.chem.wisc.edu/gentoo/ ftp://gentoo.chem.wisc.edu/gentoo/; LINGUAS=de en sv MAKEOPTS=-j2 PKGDIR=/var/pkgdir PORTAGE_RSYNC_OPTS=--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages' PORTAGE_TMPDIR=/var/tmp PORTDIR=/usr/portage PORTDIR_OVERLAY=/usr/local/portage SYNC=rsync://vangelis.dmj.nu/gentoo-portage USE=x86 X a52 acpi alsa apache2 arts artswrappersuid asf audiofile bash-completion berkdb bitmap-fonts bzip2 cairo cdr cli cpudetection crypt css ctype cups curl dbus dga dhcp dlloader dri dvd dvdr dvdread elibc_glibc emboss encode esd exif fam ffmpeg flac foomaticdb gd gdbm gif gmp gstreamer gtk gtk2 hal hardenedphp idn ieee1394 imagemagick imlib input_devices_keyboard input_devices_mouse input_devices_synaptics isdnlog java javascript jpeg jpeg2k kde kernel_linux lcms libg++ linguas_de linguas_en linguas_sv logrotate logwatch lzo mad madwifi mhash mikmod mjpeg mmx mmxext mng mp3 mpeg mplayer mysql ncurses network nls nptl nptlonly nsplugin ogg opengl oss pam pcmcia pcre perl png posix ppds pppd python qt3 qt4 quicktime rdesktop readline reflection rtc sdl session spell spl sse sse2 ssl svga syslog tcpd theora tiff truetype truetype-fonts type1-fonts udev unicode urandom usb userland_GNU userlocales video_cards_fglrx video_cards_radeon video_cards_vesa vorbis wifi win32codecs xine xinerama xml xmms xorg xv xvid zlib Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS -- Dan Johansson, http://www.dmj.nu *** This message is printed on 100% recycled electrons! *** debug.log.gz Description: GNU Zip compressed data pgphNynzmCgWp.pgp Description: PGP signature
Re: [gentoo-user] ATI-driver dependencies problem
On Sunday 15 October 2006 11:03, Dan Johansson wrote: [SNIP] # emerge -uDvNp --tree world These are the packages that would be merged, in reverse order: Calculating world dependencies | !!! All ebuilds that could satisfy =x11-drivers/ati-drivers-8.27.10 have been masked. !!! One of the following masked packages is required to complete your request: - x11-drivers/ati-drivers-8.27.10-r1 (masked by: package.mask) - x11-drivers/ati-drivers-8.28.8 (masked by: package.mask, ~x86 keyword) - x11-drivers/ati-drivers-8.29.6 (masked by: package.mask, ~x86 keyword) For more information, see MASKED PACKAGES section in the emerge man page or refer to the Gentoo Handbook. !!! Problem resolving dependencies for media-sound/xmms !!! Depgraph creation failed. [SNIP] Ok, here's the requested Info: [SNIP] Apparently the above is expected behaviour when a package is masked (i.e. that no tree is printed). A deptree to explain the above would look something similar to: media-sound/xmms USE=arts media-plugins/xmms-arts kde-base/arts x11-libs/qt USE=opengl x11-drivers/ati-drivers That, however, isn't your problem. Your problem as suggested by Richard is xorg-x11-7.1 which requires a higher version of ati-drivers. Unfortunately I don't have a complete list of ebuilds that belong to X 7.1 but I believe at least the following do.. You'll have to add them to /etc/portage/package.mask. Alternatively you might of course consider trying a higher version of ati-drivers.. =x11-proto/glproto-1.4.8 =media-libs/mesa-6.5.1-r1 =x11-base/xorg-server-1.1.1-r1 =x11-drivers/xf86-input-evdev-1.1.2-r2 =x11-drivers/xf86-input-keyboard-1.1.0 =x11-drivers/xf86-input-mouse-1.1.1 =x11-drivers/xf86-input-void-1.1.0 =x11-drivers/synaptics-0.14.5-r1 =x11-drivers/xf86-video-apm-1.1.1 =x11-drivers/xf86-video-ark-0.6.0 =x11-drivers/xf86-video-chips-1.1.1 =x11-drivers/xf86-video-cirrus-1.1.0 =x11-drivers/xf86-video-cyrix-1.1.0 =x11-drivers/xf86-video-dummy-0.2.0 =x11-drivers/xf86-video-fbdev-0.3.0 =x11-drivers/xf86-video-glint-1.1.1 =x11-drivers/xf86-video-i128-1.2.0 =x11-drivers/xf86-video-i740-1.1.0 =x11-drivers/xf86-video-i810-1.6.5 =x11-drivers/xf86-video-imstt-1.1.0 =x11-drivers/xf86-video-mga-1.4.1-r1 =x11-drivers/xf86-video-neomagic-1.1.1 =x11-drivers/xf86-video-nsc-2.8.1 =x11-drivers/xf86-video-nv-1.2.0 =x11-drivers/xf86-video-ati-6.6.3 =x11-drivers/xf86-video-rendition-4.1.0 =x11-drivers/xf86-video-s3-0.4.1 =x11-drivers/xf86-video-s3virge-1.9.1 =x11-drivers/xf86-video-savage-2.1.1 =x11-drivers/xf86-video-siliconmotion-1.4.1 =x11-drivers/xf86-video-sis-0.9.1-r1 =x11-drivers/xf86-video-sisusb-0.8.1 =x11-drivers/xf86-video-tdfx-1.2.1-r1 =x11-drivers/xf86-video-tga-1.1.0 =x11-drivers/xf86-video-trident-1.2.1 =x11-drivers/xf86-video-tseng-1.1.0 =x11-drivers/xf86-video-v4l-0.1.1 =x11-drivers/xf86-video-vesa-1.2.1 =x11-drivers/xf86-video-vga-4.1.0 =x11-drivers/xf86-video-via-0.2.1-r1 =x11-drivers/xf86-video-vmware-10.13.0 =x11-drivers/xf86-video-voodoo-1.1.0 =x11-apps/mesa-progs-6.5.1 =x11-base/xorg-x11-7.1 -- Bo Andresen pgpkAW1yRZnTM.pgp Description: PGP signature
Re: [gentoo-user] camera software for amd64?
On Sat, 14 Oct 2006 20:23:03 +0200, Dotan Cohen wrote: If you want Flickr integration, then I reiterate my recommendation for F-Spot. It has built-in Flickr sync. Digikam and KPhotoAlbum both have options to export to Flickr. I don't use Flickr, but I'll give F-Spot a try. I run KDE but don't limit myself to KDE programs. -- Neil Bothwick We are Drunk of Borg. Resilience is floor tile. Wan'be sim'lated? signature.asc Description: PGP signature
Re: [gentoo-user] Warning for ~arch users: tar-1.15.92
On Sat, 14 Oct 2006 12:52:14 -0700, Richard Fish wrote: http://bugs.gentoo.org/show_bug.cgi?id=151146 Aside from broken binpkgs, you could also have broken backups in some cases if you use tar for that. Thanks for that, my weekly backups have just been done with 1.15.92, time to redo them. -- Neil Bothwick BORG spreadsheet program: Locutus 1-2-3. signature.asc Description: PGP signature
[gentoo-user] undoing emerge --sync
May I undo an emerge --sync? Thanks Sergio -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] undoing emerge --sync
On Sunday 15 October 2006 13:00, Sergio Polini wrote: May I undo an emerge --sync? Thanks Sergio No, but wait for a while for the mirrors to refresh themselves and resync later. Hopefully, what ever package/version you couldn't download would be updated for synch-ing by then. Of course, I'm only liberally interpreting your question to deduce what the problem might be, because you didn't tell us. -- Regards, Mick pgpqyXJzynbr3.pgp Description: PGP signature
Re: [gentoo-user] undoing emerge --sync
On Sun, 15 Oct 2006 14:00:09 +0200, Sergio Polini wrote: May I undo an emerge --sync? Only be restoring from a previously made backup or another computer that you haven't synced yet. -- Neil Bothwick Do you steal taglines too? signature.asc Description: PGP signature
Re: [gentoo-user] Is it possible to protect *INDIVIDUAL FILES* against etc-update?
On Sun, 15 Oct 2006 00:40:52 -0400, Walter Dnes wrote: Yes, etc-update shows it to your before asking what to do. Check the contents of each file before allowing it to be overwritten, and never, ever let etc-update overwrite etc/fstab, /etc/passwd or /etc/group. CONFIG_PROTECT and CONFIG_PROTECT_MASK work at the *DIRECTORY* level. That will change soon IIRC. What I really want/need is a feature that allows additional protection *FOR INDIVIDUAL FILES*. E.g... You don't understand what CONFIG_PROTECT means, it prevents files being automatically overwritten during installation, leaving them to you to update. - my customized /etc/conf.d/local.start or /etc/conf.d/local.stop should *NEVER* be replaced with an empty version Agreed. - /etc/rc.conf should be left alone too. ***FOR THE UMPTEENTH TIME, NO I DO NOT WANT NANO REPLACING VIM AS MY EDITOR*** How would you know about changes to rc.conf? Either new features or changes in the way things are done would pass you by. And the list goes on and on. Howsabout an environmental variable CONFIG_PROTECT_FILES, containing a list of protected files? I'm ready to submit a feature request if necessary. Does anybody have additional comments? As I've mentioned several times before, there was a patch to dispatch-conf to do just this. You added the files you didn't want touching, ever, to a line in the config file. Unfortunately, the patch hasn't been updated for a couple of years and stopped working a while ago. Why not re-open the bug at http://bugs.gentoo.org/show_bug.cgi?id=68618 -- Neil Bothwick If you think that you can truncate my sig to 75 chars, then you can just fu signature.asc Description: PGP signature
Re: [gentoo-user] ATI-driver dependencies problem
On Sunday 15 October 2006 12:13, Bo Ørsted Andresen wrote: On Sunday 15 October 2006 11:03, Dan Johansson wrote: [SNIP] # emerge -uDvNp --tree world These are the packages that would be merged, in reverse order: Calculating world dependencies | !!! All ebuilds that could satisfy =x11-drivers/ati-drivers-8.27.10 have been masked. !!! One of the following masked packages is required to complete your request: - x11-drivers/ati-drivers-8.27.10-r1 (masked by: package.mask) - x11-drivers/ati-drivers-8.28.8 (masked by: package.mask, ~x86 keyword) - x11-drivers/ati-drivers-8.29.6 (masked by: package.mask, ~x86 keyword) For more information, see MASKED PACKAGES section in the emerge man page or refer to the Gentoo Handbook. !!! Problem resolving dependencies for media-sound/xmms !!! Depgraph creation failed. [SNIP] Ok, here's the requested Info: [SNIP] Apparently the above is expected behaviour when a package is masked (i.e. that no tree is printed). A deptree to explain the above would look something similar to: media-sound/xmms USE=arts media-plugins/xmms-arts kde-base/arts x11-libs/qt USE=opengl x11-drivers/ati-drivers That, however, isn't your problem. Your problem as suggested by Richard is xorg-x11-7.1 which requires a higher version of ati-drivers. Unfortunately I don't have a complete list of ebuilds that belong to X 7.1 but I believe at least the following do.. You'll have to add them to /etc/portage/package.mask. Alternatively you might of course consider trying a higher version of ati-drivers.. =x11-proto/glproto-1.4.8 [SNIP] =x11-base/xorg-x11-7.1 Thanks for the help. I had to add the following to my /etc/portage/package.mask to be able to continue with my update. x11-base/xorg-x11-7.0-r1 x11-base/xorg-server-1.0.2-r7 x11-drivers/xf86-video-vesa-1.0.1.3 x11-drivers/xf86-input-keyboard-1.0.1.3 x11-drivers/xf86-video-ati-6.5.8.0 x11-drivers/xf86-input-mouse-1.0.4 Once again thanks, -- Dan Johansson, http://www.dmj.nu *** This message is printed on 100% recycled electrons! *** pgpx5A3Z1qIQY.pgp Description: PGP signature
Re: [gentoo-user] undoing emerge --sync
Mick: On Sunday 15 October 2006 13:00, Sergio Polini wrote: May I undo an emerge --sync? Thanks Sergio No, but wait for a while for the mirrors to refresh themselves and resync later. Hopefully, what ever package/version you couldn't download would be updated for synch-ing by then. Of course, I'm only liberally interpreting your question to deduce what the problem might be, because you didn't tell us. You are right ;-) My problems are: a) my goal is a reasonably updated working system, not one in the latest fashion; b) I had got to two RUWSs, an old Athlon xp (with riva TNT 2) and an HP dv5000z (Turion, ATI Radeon Xpress 200M); -- updating my Athlon system was a mess *before* the new nvidia-legacy-drivers package, so it was worth updating the portage tree, but after the last emerge --sync many packages are blocked becasue they want a non-existent media-video/nvidia-glx (?) required (?) by an already installed and working qt-3.3.6-r1; -- my laptop was perfect before modular X, then I ran into inadeguate support (by ATI and Xorg) of my video card. I'm thinking about a solution: a) a stable root partition, including all directories used by portage (/etc, /usr, /var, and..? eventually all but home); b) a testing root partition; c) updating the portage tree in the testing partion, always emerging with the --buildpkg option; d) updating the portage tree in the stable partition, and emerging the tbz2files created on the testing partition. only when the testing partition looks stable. Any comments? Thanks Sergio -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Quake3 Can't load libGL.so.1 from /etc/ld.so.conf
On Saturday 14 October 2006 22:27, Bo Ørsted Andresen wrote: On Friday 13 October 2006 19:18, Fred Kastl wrote: Bo Ørsted Andresen wrote: On Tuesday 10 October 2006 16:41, Fred Kastl wrote: when i try to start quke3 i always get this error message: Quake3 Can't load libGL.so.1 from /etc/ld.so.conf although it exists and ld knows about it. It also seems that the game can find it too, but don't load it. [SNIP] I suggest you post the output of: [SNIP] I guess I would just file a bug.. One other thing to try is to lower your screen resolution. Over here, running at 1280x800 will cause that errot to popup when I run quake. Going to a slightly lower res, 1024x768 and quake will load normally for me... Cheers. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] undoing emerge --sync
On 15/10/06, Sergio Polini [EMAIL PROTECTED] wrote: May I undo an emerge --sync? Thanks Sergio Not a solution .. but the mirrors normally hold older snapshots of portage, for instance: http://gentoo.blueyonder.co.uk/snapshots/ Just an idea. Thanks Mark -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] dispatch-conf spells disaster-RESOLVED
One of the files dispatch-conf over-wrote without telling me or leaving any record was /etc/modules.autoload.d/kernel-2.6 which meant 8250.ko failed to load. What is the output of: # portageq config_protect and # portageq config_protect_mask localhost heathen # portageq config_protect localhost heathen # portageq config_protect_mask /etc/env.d /etc/gconf /etc/terminfo localhost heathen # -Maxim __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: ssh access in vhost account
On 10/14/06, Mick [EMAIL PROTECTED] wrote: Thanks, On Saturday 14 October 2006 19:27, Harm Geerts wrote: On Saturday 14 October 2006 19:45, Mick wrote: I have a vhost account with an ISP and he's given me ssh access - which is nice. However, his /etc/sshd_config is set to allow passwd authentication rather than public key and there's no ~/.ssh/authorised_keys dir/file in my home. How does that matter? You should be able to create that yourself. Hmm, I can't! This is a FreeBSD server and it's rather locked down with respect to normal user access rights. ssh doesn't care about vhost [...] So, all I need to ask them to do is uncomment #Match User and add my user name and options? Like so: = Match User mick PubkeyAuthentication yes AuthorizedKeysFile ~/.ssh/authorized_keys PasswordAuthentication no = Is that correct? Correct, provided you have sufficient permissions to create this file (or at modify it) on the server, which apparently is not the case yet -- Régis http://regis.decamps.info/blog/ -- gentoo-user@gentoo.org mailing list
[gentoo-user] Explenation about %-lines in fcrontab files
Hello, I am not new in fcron but I have never used all its functionalities. In fact, I only use -lines in crontab which are like in Cron. However, today, I need to use Fcron for executions like once all Friday between 10:00 and 13:00. So I read Fcrontab(5) again. And I thought %-lines are what I needed. But, I didn't succeed in understanding how *ly, mid*ly and *s keywords work. Maybe could you help me. Where could I find more examples on those %-lines ? What I have understood ? For instance for an execution all Friday between 10:00 and 13:00, I would write: %hours * 10-12 * * Fri /what/I/want/to/do Is it right ? For *ly and mid*ly, I don't understand the difference between mid and not mid. What are the differences between: %daily * 10-12 /what/I/want/to/do # an execution all days between 10:00 and 13:00 ? And: %nightly * 10-12 /what/I/want/to/do # an execution all nights between 10:00 and 13:00 ? So all days between 10:00 and 13:00 ... Or between: %hourly 15-30 /what/I/want/to/do # an execution all hours between -:15 and -:30 ? And: %midhourly 15-30 /what/I/want/to/do # the same ? And what are the differences between weekly and midweekly, excepted Fcron starts to try the execution Monday or Thursday ? ... So can you explain me how work %-lines, or tell me where I could find a documentation more explicit than Fcrontab(5) ;-) . Regards, Grégoire Baron -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] dispatch-conf spells disaster-RESOLVED
On Sun, 15 Oct 2006 08:34:10 -0700 (PDT), maxim wexler wrote: One of the files dispatch-conf over-wrote without telling me or leaving any record was /etc/modules.autoload.d/kernel-2.6 which meant 8250.ko failed to load. localhost heathen # portageq config_protect If you really have an empty CONFIG_PROTECT, dispatch-conf didn't touch this file, it was replaced during emerge. You must fix this before emerging anything else or you will overwrite more config files. What do emerge --info | grep CONFIG and grep CONFIG /etc/make.conf show? -- Neil Bothwick mandelbug /man'del-buhg/ n. [from the Mandelbrot set] A bug whose underlying causes are so complex and obscure as to make its behavior appear chaotic or even non-deterministic. This term implies that the speaker thinks it is a Bohr bug, rather than a heisenbug. See also schroedinbug. signature.asc Description: PGP signature
Re: [gentoo-user] dispatch-conf spells disaster-RESOLVED
On Sunday 15 October 2006 10:34, maxim wexler [EMAIL PROTECTED] wrote about 'Re: [gentoo-user] dispatch-conf spells disaster-RESOLVED': One of the files dispatch-conf over-wrote without telling me or leaving any record was /etc/modules.autoload.d/kernel-2.6 which meant 8250.ko failed to load. That wasn't dispatch-conf, it was emerge since you've told it not to protect any configuration files. localhost heathen # portageq config_protect localhost heathen # portageq config_protect_mask /etc/env.d /etc/gconf /etc/terminfo You've told portage not to protect *any* config files. It did as you asked, and used the /etc/modules.autoload.d/kernel-2.6 included in a package. You might consider restoring the default config_protect, or at least part of it. From my system: $ portageq config_protect /etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config Once you marked some directories from protection, emerge will, instead of using the file from a package, install the file from a package as ._cfg-filename (or somesuch). Tools like dispatch-conf and etc-update are then used to merge your file with the one(s) named ._cfg-filename. -- If there's one thing we've established over the years, it's that the vast majority of our users don't have the slightest clue what's best for them in terms of package stability. -- Gentoo Developer Ciaran McCreesh pgpqGNXS1EjWk.pgp Description: PGP signature
Re: [gentoo-user] Explenation about %-lines in fcrontab files
On 10/15/06, Grégoire Baron [EMAIL PROTECTED] wrote: Hello, I am not new in fcron but I have never used all its functionalities. In fact, I only use -lines in crontab which are like in Cron. However, today, I need to use Fcron for executions like once all Friday between 10:00 and 13:00. So I read Fcrontab(5) again. And I thought %-lines are what I needed. But, I didn't succeed in understanding how *ly, mid*ly and *s keywords work. Maybe could you help me. Where could I find more examples on those %-lines ? What I have understood ? For instance for an execution all Friday between 10:00 and 13:00, I would write: %hours * 10-12 * * Fri /what/I/want/to/do Is it right ? Yes, I think so. And what are the differences between weekly and midweekly, excepted Fcron starts to try the execution Monday or Thursday ? ... Fcron starts the command if is has not been executed in the period. It's the same, except weekly means mon-sun (or is it sun-mon?) midweekly means thu-wed Imagine you've just configured fcron on monday à 9:00 with %weekly * 0-10 command1 %midweekly * 0-10 command2 Both commands are executed immediately. Tuesday, nothing happens. Wednesday, nothing happens Thursday, command2 is executed, but not command1. Friday, nothing happens Sat, nothing happens Sun, nothing happens Mon, command1 is exectued. You can then understand all over mid* commands. For *ly and mid*ly, I don't understand the difference between mid and not mid. What are the differences between: %daily * 10-12 /what/I/want/to/do # an execution all days between 10:00 and 13:00 ? And: %nightly * 10-12 /what/I/want/to/do # an execution all nights between 10:00 and 13:00 ? So all days between 10:00 and 13:00 ... By definition nightly=middaily. But of course, if you indicate an hour which occurs only once in each period, that won't change anything. There will be a difference for %daily * 10-12,17-18 /what/I/want/to/do %nightly * 10-12,17-18 /what/I/want/to/do In practice, there will be a difference if you turn off the computer for lunch time. Or between: %hourly 15-30 /what/I/want/to/do # an execution all hours between -:15 and -:30 ? And: %midhourly 15-30 /what/I/want/to/do # the same ? idem, fcron needs a larger minute frame to have choices So can you explain me how work %-lines, or tell me where I could find a documentation more explicit than Fcrontab(5) ;-) . I did'nt use more, either :-p http://fcron.free.fr/doc/fr/fcrontab.5.html Hope this helps, -- Régis http://regis.decamps.info/blog/ -- gentoo-user@gentoo.org mailing list
[gentoo-user] xorg 7.1 radeon hardware acceleration? x300 (M22 [Radeon Mobility M300])
I am interested in getting hardware acceleration, if that's the right term, with xorg 7.1 and xorgs radeon drivers. I tried this a while ago but it meant a lot of messing with cvs software and goofing with header files, it was a pain. Hopefully it's easier now. lspci lists my card as GA compatible controller: ATI Technologies Inc M22 [Radeon Mobility M300], the more common name is x300. Any pointers out there? I am not interested in ati-drivers as they reliably hang my laptop, and do it hard. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Explenation about %-lines in fcrontab files
Ok, thanks I think, for *s keywords I understood. For *ly and mid*ly, I think I have some difficulties because I haven't concrete examples. In fact, the difference between *ly and mid*ly keywords (between weekly and midweekly, for instance) is the beginning of the period and so when fcron start to try to execute the command. And in practice, we only can see that when we have several execution intervals for a same period, computer shutdown or 2 commands with mid and without mid (one with middaily and one with daily, for instance), aren't we ? Thanks you very much for your help. Sincerely, Grégoire Baron Régis Décamps a écrit : On 10/15/06, Grégoire Baron [EMAIL PROTECTED] wrote: Hello, I am not new in fcron but I have never used all its functionalities. In fact, I only use -lines in crontab which are like in Cron. However, today, I need to use Fcron for executions like once all Friday between 10:00 and 13:00. So I read Fcrontab(5) again. And I thought %-lines are what I needed. But, I didn't succeed in understanding how *ly, mid*ly and *s keywords work. Maybe could you help me. Where could I find more examples on those %-lines ? What I have understood ? For instance for an execution all Friday between 10:00 and 13:00, I would write: %hours * 10-12 * * Fri /what/I/want/to/do Is it right ? Yes, I think so. And what are the differences between weekly and midweekly, excepted Fcron starts to try the execution Monday or Thursday ? ... Fcron starts the command if is has not been executed in the period. It's the same, except weekly means mon-sun (or is it sun-mon?) midweekly means thu-wed Imagine you've just configured fcron on monday à 9:00 with %weekly * 0-10 command1 %midweekly * 0-10 command2 Both commands are executed immediately. Tuesday, nothing happens. Wednesday, nothing happens Thursday, command2 is executed, but not command1. Friday, nothing happens Sat, nothing happens Sun, nothing happens Mon, command1 is exectued. You can then understand all over mid* commands. For *ly and mid*ly, I don't understand the difference between mid and not mid. What are the differences between: %daily * 10-12 /what/I/want/to/do # an execution all days between 10:00 and 13:00 ? And: %nightly * 10-12 /what/I/want/to/do # an execution all nights between 10:00 and 13:00 ? So all days between 10:00 and 13:00 ... By definition nightly=middaily. But of course, if you indicate an hour which occurs only once in each period, that won't change anything. There will be a difference for %daily * 10-12,17-18 /what/I/want/to/do %nightly * 10-12,17-18 /what/I/want/to/do In practice, there will be a difference if you turn off the computer for lunch time. Or between: %hourly 15-30 /what/I/want/to/do # an execution all hours between -:15 and -:30 ? And: %midhourly 15-30 /what/I/want/to/do # the same ? idem, fcron needs a larger minute frame to have choices So can you explain me how work %-lines, or tell me where I could find a documentation more explicit than Fcrontab(5) ;-) . I did'nt use more, either :-p http://fcron.free.fr/doc/fr/fcrontab.5.html Hope this helps, -- gentoo-user@gentoo.org mailing list
[gentoo-user] Mac k/b on PC?
Im using a USB Mac keyboard on a regular (Intel) PC. Works fine apart from the lack of a working ALT key (so I can't switch to another virtual console). I tried playing loading different keymaps using loadkeys but have not found a working setup. Anyone got this working? Or can point me to some docs? -- A -- gentoo-user@gentoo.org mailing list