Re: [expert] LG Drive and VMWare

2003-11-17 Thread Richard Urwin
On Monday 17 Nov 2003 6:17 pm, James Sparenberg wrote:
 Older Linux's have been recently discovered to count uptime to 497 days
 then using a new form of math 497 + 1 = 0 .   I'm not sure but I think
 it has something to do with a Honeywell emulation layer. (For those who
 don't know Honeywell(IFRC) mainframes had both -0 and +0, and although
 -0 = +0, (0-1) != (-0+1)  go figure)

One's complement arithmetic. To negate a number you just invert all the bits.
So zero is represented as both 111...111 and 000...000.
These days we use two's complement, where to negate a number you invert all 
the bits and add one. There's only one zero, but an extra negative number 
that doesn't have a positive representation: 100...000.
So the range of an eight bit signed number is -128 to +127.
In eight bit two's complement arithmetic -(-128) = -128 go figure ;-)

Of course, that doesn't anything to do with it though. A simple count of 100Hz 
ticks would fill an unsigned 32 bit integer in 497 days, 2 hours, 27 minutes, 
52.96 seconds.
After which it would wrap around to zero.

Interestingly enough Windows 95 had almost exactly the same situation, but 
since they counted at 1000Hz, it triggered after only 49.7 days. The result 
was a little worse too: the machine crashed. Strangely enough this bug was 
not discovered until the year 2000.

-- 
Richard Urwin

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] WTF?? $PATH question

2003-11-17 Thread Richard Urwin
On Monday 17 Nov 2003 7:31 pm, Jack Coates wrote:
 [EMAIL PROTECTED] jack]$ echo $PATH
 /usr/local/bin/:/home/jack/bin/:/usr/X11R6/lib/xscreensaver/:/sbin/:/usr/sb
in/:/usr/local/sbin/:/usr//bin:/bin:/usr/bin::/usr/local/bin:/usr/X11R6/bin:
/usr/games:/usr/java/j2re1.4.0_01//bin

 that looks okay... but . is effectively in my path!! I discovered this
 by doing a tab completion line that matched a script in my ~. This is
 with msec level 3

Standard Unix behavior has always been to give users . in their path but not 
root. man login reads: PATH  defaults  to  /usr/local/bin:/bin:/usr/bin:.
for normal users, and to /sbin:/bin:/usr/sbin:/usr/bin for root.

However this is not the case. A login session (ie a virtual terminal) on my 
MDK9.1 machine does not give me . on the path. An X (KDE) login does.

Note that man login specifies:
/usr/local/bin:/bin:/usr/bin:.
and the string in Jack's and my $PATH says:
   /usr//bin:/bin:/usr/bin::
which has two syntax errors and specifies /usr/bin twice.

Also note that all Mandrake sourced RPMs avoid using /usr/local.
I'd say that Mandrake hacked it, and got it wrong.

The man login string appears exactly in a virtual terminal session, except for 
the missing . which could be a hack that Mandrake got right.

-- 
Richard Urwin

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] WTF?? $PATH question

2003-11-17 Thread Richard Urwin
On Monday 17 Nov 2003 11:14 pm, Praedor Atrebates wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 That was it.  Thank you.  /usr/share/config/kdm/kdmrc contains:

 SystemPath=/usr//bin:/sbin:/usr/sbin:/bin:/usr/bin::/usr/local/bin
 UserPath=/usr//bin:/bin:/usr/bin::/usr/local/bin

 Both the system path and user path have the ::.  I guess if I logged in as
 root, started up kde, then it would be in root's path.

Interestingly enough, according to the (9.1) documentation, su does not change 
PATH unless it also changes directory to the new users HOME. Yet we all know 
it does.

-- 
Richard Urwin

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] Moving a partition

2003-11-15 Thread Richard Urwin
On Saturday 15 Nov 2003 11:34 am, Artemio wrote:
 To move a partition is a piece of cake. :-P
 5. now your /usr directory points to / partition instead of /dev/hdc1 - so
 copy (recursively) all data from /mnt/tmp to /usr directory:
 # cp -R /mnt/usr /

NO.
That will lose symbolic links and reset user and timestamps.
use:
# cp -a /mnt/usr /

-- 
Richard Urwin

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] Mandrake releases public isos: updated boot images, anyone?

2003-11-15 Thread Richard Urwin
On Saturday 15 Nov 2003 1:11 pm, Stefan Rijnhart wrote:
 Op zaterdag 15 november 2003 13:01, schreef Thomas Backlund:
  It's better that people actually fix their broken h/w ASAP...
  as this is a vulnerability that could be exploited by
  maliciuos programs...

 Good point. Btw, LG does not seem to think so, tagging their firmware
 updates as 'For Mandrake Linux 9.2 Installation Only' :-(

I may be wrong, but the GIF image appears to be marked on the site as 
HTML/Text. It took a couple of tries to read it because it needs to be saved 
to local storage, just clicking on it doesn't work...

Doesn't this mean that windows users will get LF/CR fixups when they try to 
download it? If so only Linux users will be able to view it. I haven't tried 
it, so I might be talking rubbish.

-- 
Richard Urwin

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] Re: Thinking of switching to Mandrake

2003-11-14 Thread Richard Urwin
On Friday 14 Nov 2003 3:48 am, Jack Coates wrote:
 On Thu, 2003-11-13 at 19:28, James Sparenberg wrote:
 ...

  Well John,  We ain't perfect, but we try and we welcome the fresh view
  of our corner of insanity (Why am I insane?  I am trying to reconfigure
  the company sendmail *grin*)
 
  James

 ...

 sendmail? Doesn't that stuff give ya cavities?

Try doing it back in the early ninties, without the m4 macros, on a UUCP feed. 
Sort of like the difference between a modern air powered drill and the old 
belt driven things.

-- 
Richard Urwin

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] Sarg

2003-11-13 Thread Richard Urwin
On Thursday 13 Nov 2003 6:13 pm, Lawson, Jim wrote:
 Okay installed sarg from Mandrake 9.2 and ran it and got the error below.
 Why does this not work out of the box like previous versions.

 [EMAIL PROTECTED] etc]# sarg
 SARG: File not found: /usr/local/squid/var/logs/access.log

The standard build of all packages I have come across is to install into 
/usr/local. All MDK RPMs are built to install in /usr. The option to change 
the installation directory is usually a parameter to ./configure. My guess 
would be that the sarg developers missed a bug that failed to check the 
option, alternatively the MDK packagers failed to specify it correctly.

-- 
Richard Urwin

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] Impending drive problem?

2003-11-10 Thread Richard Urwin
On Monday 10 Nov 2003 6:24 am, Felix Miata wrote:
 Anne Wilson wrote:
  On Monday 10 Nov 2003 5:23 am, Michael Noble wrote:
   It has been a while since I last dd a disk drive (it is best to
   make them the same type and size).  Assuming that the old disk is
   /dev/hda and the new disk is /dev/hdb the following command should
   work:
  
   dd if=/dev/hda of=/dev/hdb
 
  I've heard people recommend this before, but I'm not sure why this is
  better than cp -a ?  I do remember that the last time I tried to copy
  a whole directory to a new partition I had some problems before I got
  it right, so I want to be clear before I start.

 AFAIK, cp can only copy files from a mounted partition to a mounted
 partition. dd can copy anything anywhere that there exist sectors to
 read  write. The example above should copy the MBR and partition
 tables, as well as all files on all partitions.

   Then make the new disk /dev/hda and the system should boot.  As I
   said it has been a while and may have the basic command a little
   off.  But the original (noisy) drive will still be in working
   order.
  
   If you have it, I have also heard that the latest Norton Ghost will
   also work.
 
  This is really a much better way, but I don't have the latest Norton
  Ghost.  My Drive Image is not the latest, either.  Is there not a
  linux tool that tackles it in a similar way, rather than just copying
  files?

 dd is probably all anyone on Linux needs, but doesn't have menus and a
 pretty face. The M$ware may be able to do conversion if the source and
 destination don't have matching CHS? I use DFSee myself, used to use
 Partition Magic, never Ghost or Drive Image.

The big problem with dd is that when it's finished the destination drive will 
be identical to the source drive. If, like most people, you've bought a 
bigger disk, then that's hard luck. The partition table will show it as the 
same size as the old disk. I don't know where the actual full size of the 
disk is calculated so you might be able to add new partitions later, or you 
may not.

I would always prefer to use tar (with the correct magic flags) to copy 
drives.

(Ghost does handle different size disks, but does it handle your filesystem? 
And it does cost money, or did the last I heard.)

-- 
Richard Urwin

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] /etc/hosts and dns

2003-11-10 Thread Richard Urwin
On Monday 10 Nov 2003 2:18 am, Greg Meyer wrote:
 I have a laptop that connects to my office e-mail server as an IMAP client.
 Sometimes I am outside the firewall, and in this case, I can connect to the
 server using the server's fqdn.  When I am inside the firewall, I can
 connect to the server by making an entry in my /etc/hosts file for it that
 aliases it's private ip to it's netbios name (it is an Exchange 5.5
 server).  In order to connect, I simply change the servername in kmail
 depending on where I am.

 So now my question, is there any way to set up my hosts/resolv.conf/tmdns
 to look for the server in the local network first and if it cannot find it
 to look it up in the DNS so that I don't have to constantly change the
 setup in kmail?

 Since the local addressing scheme in place at my company is quite unique I
 would even be open to doing something like having a script called in
 rc.local check to see what the network ip block of the local network is and
 writing out a hosts file that would have an entry for the server if I am on
 the right network, although I have no idea how to actually implement that.

You mean something like:

cp /etc/hosts.base /etc/hosts
if (/sbin/ifconfig eth0 | grep 192.168.7/dev/null)
then cat /etc/hosts.extra  /etc/hosts
fi

(test it first, of course)
HTH

-- 
Richard Urwin

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] Impending drive problem?

2003-11-10 Thread Richard Urwin
On Monday 10 Nov 2003 9:24 pm, Felix Miata wrote:
 Richard Urwin wrote:
  The big problem with dd is that when it's finished the destination drive
  will be identical to the source drive.

 No it won't. Everything from the first sector through the last sector #
 on the old disk will be identical, which is not the same thing.

  If, like most people, you've bought a
  bigger disk, then that's hard luck. The partition table will show it as
  the same size as the old disk.

 No, it will show identical use, which is not the same thing. The new
 will have unallocated space beyond the last sector # used on the old
 disk. You can make one or more new partitions out of that space without
 any impact on the contents of any previous partitions.

Thanks for the clarification. As I said:
 you might be able to add new partitions later, or you may not.
It seems you can. I was worried that the size of the disk was encoded in the 
partition table, in which case diskdrake et al would only show a disk the 
same size as the old one.

-- 
Richard Urwin

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] NTFS file copy permissions

2003-11-04 Thread Richard Urwin
On Monday 03 Nov 2003 6:10 pm, Brian Sands wrote:
 Hello,
 I recently copied various pdf files and folders from an NTFS partition
 on my computer over to my Mandrake 9.2 distro; and I am having some
 issues.  When running ls -l as a user, it says that I own the file; and
 I get the same permissions when running ls -l as root.  Yet, I am unable
 to enact any changes when running chmod as a user (who owns the file) OR
 as root.  I noticed that all of the pdf files have a trailing * which
 I assume to mean the file is an excutable.  However, any pdf's that I
 download while using linux do not show up with a trailing *.  I am
 also unable to change any permissions on directories that I transferred
 over from an NTFS partition.  What am I missing here; and how do I fix
 this?

The NTFS permissions were probably everybody, full access which is why you 
are getting execute permission added.

To change permissions on Linux you need write access to the directory, not the 
file. But root should be able to set everything.

Check the permissions of each directory above the files. They must have read 
and execute permission for the user that is trying to read the file.

HTH,
-- 
Richard Urwin

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] microsoft dirty tricks

2003-11-02 Thread Richard Urwin
On Sunday 02 Nov 2003 10:14 am, Richard Bown wrote:
 Thanks Thomas

 I drive over after lunch and attack the machine again,
 and post the data to the group as well as yourself.


 I still have this gut feeling about microsoft, for instance on a machine
 with 2 HDs one has winxp on it the other MDK 9.1 if you mount the drive
 with winxp on it then as root attempt to list the contents .Why should
 you get permission denied messages.
 this dos'nt happen with win2000 which is also  ntfs .
 it dos'nt explain why on install you can get a failure to write the
 partition table to the mbr.

Sounds to me like there's a couple of BIOS settings that you need to change.
Switch the Virus Protection (stop software trying to write the boot sector, 
partition table, mbr) off. You can switch it back on when the install is 
finished.

Check the O/S is PNP option. ISTR the correct setting is off for Linux and On 
for Windows. I may be wrong here.

-- 
Richard Urwin

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] kppp

2003-11-02 Thread Richard Urwin
On Saturday 01 Nov 2003 11:36 pm, Robert Storey wrote:
 Dear All,

 I just installed 9.2 and I'm surprised to find that I can't get kppp to
 dial out. All the settings are correct, and telling kppp to dial even
 causes the modem to click a few times, but it doesn't dial. I did set
 up ppp during the original installation and I've rechecked the settings:
 /dev/modem, correct phone no., user name, password, etc.

 I'm new to Mandrake, though I've had plenty of experience with other
 distros. I've installed and used kppp about a hundred times, so I'm
 familiar enough with it. I'm at a loss to explain why I can't get it
 working with Mandrake, and I'd greatly appreciate any suggestions.

I don't know kppp, but in the interests of any answer being better than 
none...
Have you checked that it's using tone dialing rather than pulse dialing? Pulse 
dialing  would cause the modem to click, and it may not work on modern 
exchanges.
modem strings:
ATDT - tone
ATDP - pulse
ATD - use default configuration

-- 
Richard Urwin

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] 9.2: KDE Kicker Clock problem

2003-11-01 Thread Richard Urwin
On Sunday 02 Nov 2003 5:12 am, dfox wrote:
 Somebody scribbled about Re: [expert] 9.2: KDE Kicker Clock problem

 Sounds like you may be missing one or more of these.
 
 locales-en-2.3.1.4-6mdk
 locales-2.3.1.4-6mdk

 I have the locales rpms installed but I have a different problem, and it
 still isn't working quite right in 9.2. For whatever reason, the system
 eventually changes to a strange time zone - sometimes it is as much as 7
 hours off pst. When I start kde the clock is fine, but eventually
 (sometimes in a few hours) will change the time all by itself.

Sounds like ntp reseting the clock to the wrong timezone?

 And does anyone else notice a screen blanking for a few seconds when the
 user tries to have the kicker clock settings changed? It's happening
 here, and it's a little bit disconcerting. The screen does reappear in a
 few seconds, but I don't see any reason for a blanking.

I get that here, on 9.1

-- 
Richard Urwin

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] corrupted xmms in 9.0 -- 9.2???

2003-11-01 Thread Richard Urwin
On Friday 31 Oct 2003 11:37 pm, Tim Sawchuck wrote:
 On Fri, 31 Oct 2003 23:23:16 -0800

 [EMAIL PROTECTED] scribed on electronic parchment:
  I have an xmms playlist of approx 600 songs which I've been listening
  through. I was at about 150 when I upgraded from (mdk) 9.0 to 9.2. When I
  loaded xmms, first time after upgrading, it couldn't even see the
  directory that the mp3s were in (music/my-cd-backups) either in the
  playlist editor or in the eject button from the main interace...it'd
  just close the file browser if I tried to browse into there.
 
  It is something to do with my .xmms preferences; when I run xmms as root
  from the command line it works fine, but when I run it as me from the
  menu, it is screwed. Anyone encountered similar? I can just remove .xmms,
  I don't care particularly. Just wondered whether anyone had noticed.

 I had a similar situation when I changed from RH to MDK and used the same
 drive mounted /home.  Permissions changed on some files and directories.
 Check the permissions on .xmms to see if it is higher than what your user
 can access.  You may have to su and change them.  I had to do half my /home
 directories and files!

If you add the users in a different order than you did originally, then they 
end up with different user IDs. So your old files are owned by a different 
user.
# chown -R username.username directory
(That is your username twice; once as the username and once as the group that 
only you belong to.)

-- 
Richard Urwin

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] RANT: vicious viruses

2003-10-19 Thread Richard Urwin
On Sunday 19 Oct 2003 9:05 pm, Dick Gevers wrote:

 Tell your daughter to use Pegasus Mail. Once upon a time when I was using
 Windows I found it the best mailer for that O/S. I never ran antivirus
 software continuously and never got infected, though I received viruses as
 attachments regularly. With Pegasus Mail it is almosy impossible to get
 infected. And it is free (as in payment not being a necessity for use).

My sister currently has 1479 messages on her ISP's POP3 server waiting to be 
downloaded, probably 99.9% Swen, so 100K each on a 40K dialup line. She's 
ditched the ISP and gone to Compu$erve (argh!). Currently she still doesn't 
have email setup, nor an email client apart from Lookout, an antivirus 
package or a firewall.

Can anybody suggest (probably offlist is best, my mailbox can stand the 
traffic,) free packages for all the above? I would be grateful. My current 
thoughts are Pegasus, Mozilla, Spybot SD. But I haven't used Pegasus since 
1995, is it the best? Don't know whether to go Mcafee or AVG (or some other.) 
Howabout firewalls?

Sorry this is OT, but it is a rant thread, and solving this makes the world a 
little better for all of us.

In the longer term she could probably handle Linux, but the lack of an MS 
Publisher clone is holding her back. Any answers for that?

Thanks for any advice,
-- 
Richard Urwin

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] ip addressing on lan

2003-10-17 Thread Richard Urwin
On Friday 17 Oct 2003 1:06 am, Kwan Lowe wrote:
  When I apply this IP using the wizard on install it all takes and seems
  to be there .. If I try and ping anything on the LAN I get destination
  unreachable, and if I ping the unit from another machine on the LAN it
  times out. But from the 9.1 machine, I can ping 192.168.0.200 (it's NIC
  ip) .. the routing table sees the ip, but wont look at the gateway or
  LAN. .

 Sounds suspiciously like a bad cable/connection. Can you try switching the
 cable to a known-good and plugging into a know-good port on the hub or
 switch?

TCPDump is useful for debugging this sort of thing,

-- 
Richard Urwin

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] refresh rate

2003-10-13 Thread Richard Urwin
On Monday 13 Oct 2003 5:21 pm, Larry Sword wrote:
 HaywireMac wrote:
 On Mon, 13 Oct 2003 09:22:58 -0700
 
 Jack Coates [EMAIL PROTECTED] uttered:
 is there a pointy-clicky way to change monitor refresh rates?  I'm not
 in a big hurry to go messing with modlines.

 As a side note.In the Knoppix V3.3 within the KDE there is a Display
 setting where you can set the monitor and the refresh rates. It's really
 nice. sure wish Mandrake would include such.

If Knoppix can do it, MDK should be able to. Maybe its an uninstalled KDE 
add-on. Unless it's a later version of KDE. Does someone want to go research 
it? At least three people have asked recently, and its dead easy with 
Windows, so its a big lossage for Linux.

-- 
Richard Urwin

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] Getting a 100% linux compatible scanner

2003-10-13 Thread Richard Urwin
On Monday 13 Oct 2003 4:01 pm, diego wrote:
 El lun, 13-10-2003 a las 12:36, Trevor Rhodes escribió:
  Diego,
 
   OK, I'll have a look at 1660.
 
  I just priced a 1660 here in Australia and they want around $400 for
  them. They have been superceded though by the 1670 which is useless for
  Linux so far.  Oh well, back to the search

 Similar here. Almost disappeared in favour of 1670, and where available
 at about 200¤

 I think I'm going for 1260 photo...

¤200 is about what I paid for the 2400 (£150). When I asked to swap the 1670 
the man in the shop did not appear to be suprised that I had had problems 
with Linux.

A few months ago Epson appeared to be Linux' friend. They even have an 
in-house Sane driver, but now no mention of a difficulty with Linux and the 
1670 on that page or any other. In fact any mention of Linux on Epson's site 
is damn hard to find. I wonder...

 http://aaxnet.com/editor/edit029.html#mspath :-

...
 These programs clearly tighten Microsoft's already powerful control over the 
availabilty of products that support competing environments, especially the 
availability of hardware drivers. Even years ago, with much less leverage, 
they were able to force Epson to drop printer driver support for OS/2.
...
[and how was that done, and why didn't we hear about it?] :-
...
In fact, nearly every Microsoft agreement or contract carries an NDA (Non 
Disclosure Agreement), often to hide the extent to which extortion was 
applied. Facts hidden by the NDA may seep out many years later. The NDA 
required to get critical Microsoft programming assistance in the transition 
to Windows, for instance, included an extortion clause requiring software 
developers to drop all development of software for IBM's OS/2 operating 
system. By such means, superior products are driven from the market.
...
 
-- 
Richard Urwin

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] How to Block IE from a Website

2003-10-11 Thread Richard Urwin
On Saturday 11 Oct 2003 2:38 pm, HaywireMac wrote:
 On Sat, 11 Oct 2003 07:36:06 -0700

 Jack Coates [EMAIL PROTECTED] uttered:
   Doesn't XP come *without* Java now? Or is Java executed on the
   server like PHP?
 
  Java != JavaScript.
 
  Java is a C++ like object oriented language designed to write once,
  run anywhere via virtual machines.
 
  JavaScript is a scripting language for web browsers written by
  Netscape, which happened to come out at a time when Netscape was
  desparate to get some of the hype surrounding Java pointed their way.
  Its formal name is ECMAScript, but no one uses that name. JavaScript
  is good for automating stuff, writing calculators, filling in forms
  c, but there's no disk or network access (in theory).

 So a Javascript then would not require the browser to have the Java VM
 installed? It runs on the server side like PHP?

 Just wanna make sure I get the concept... ;-)

No, it executes on the client side, but it is supported by just about every 
browser. Check out www.soronlin.org.uk/geekquiz.html for an example.

-- 
Richard Urwin

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] Getting a 100% linux compatible scanner

2003-10-11 Thread Richard Urwin
On Saturday 11 Oct 2003 11:13 am, diego wrote:
 Hello world!
 I want to buy a scanner now, and after looking in MDK's hardware
 database and having googled arround a while, being not able to get to
 sane-project web,... yet I am not sure about it at all.

 Can anyone recommend a good linux compatible scanner (USB, =1200x2400,

The TWiKi Scanners page will be quite useful for you: 
http://mandrake.vmlinuz.ca/bin/view/Main/ScaNners

If you will want to do film (negative and slide) scanning, the Epson 1260 
doesn't get very good reports under Linux. If you can find a 1660 it gets 
good reports. The 1670 is not Linux compatible. I swapped my 1670 for a 2400 
and I'm well pleased with it, but it's a bit above your price threshold.

-- 
Richard Urwin

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] Backups: not only for HW failures or viruses

2003-10-10 Thread Richard Urwin
On Friday 10 Oct 2003 9:14 pm, Olaf Marzocchi wrote:
 About nine months ago I did my last backup.
...
 Three days ago the bad news: they they... THEY HAD LOST MY PC
 ...
 That day I felt very bad, but this time luck helped me: they found it the
 day after and now I'm writing with it.
 ...
  From now on, backups!

I know how you feel. I just had a catastrophic disk failure that wiped / and 
/home. Now I'm running backups every night to CD-RW.

(It's not all bad. Now I have 160GB to play with :-))

-- 
Richard Urwin

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] No one answering on newbie :-(

2003-10-05 Thread Richard Urwin
On Sunday 05 Oct 2003 3:13 am, Anton wrote:
 I am trying to set up my mandrake 9.1 box to be the gateway to my
 recently created network with a single windoze ME machine on the private
 subnet.

How does the MDK machine link to the Internet? Modem or router? If it is an 
ethernet router is it on the same ethernet network?

 Another issue is that the dhcp doesn't seem to be working.

My advice would be to ditch DHCP; you might get it to work after fiddling 
around some more, but why bother? In my opinion it is unnecessary on a 
network with only two or three boxes. Set them all up to use hosts files, 
fixed IP addresses and fixed gateway addresses. (There is a hosts file on ME. 
It is somewhere under windows/system32 if I remember correctly.) If you set 
up a hosts file then you make DNS setup easier, since both boxes can use the 
ISP servers for external addresses, and hosts files for anything local.

HTH

(I never had any problem with ME, when it was on my laptop, but the people on 
the tech-support forum I frequent hate it with a passion.)

-- 
Richard Urwin

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] Cant Delete File

2003-09-30 Thread Richard Urwin
On Tuesday 30 Sep 2003 3:19 am, John Wilson wrote:
 On September 29, 2003 11:41 am, Richard Urwin wrote:
  Thanks people. I've just done a complete reinstall and moved over to 99%
  reiserFS. ;-(

 I'm totally on reiserFS and have never experienced this problem except with
 Mozilla.  Mozilla has also caused the same kinda problem with ext2 and
 ext3. My best guess is that it's a messed up file that Mozilla was trying
 to write as it ran wild and I had to kill it cause that's when this mess
 appears.  It also happens with Galleon, btw.

 I've also had to go the route James has which is why my day to day browser
 is Konq now.

I supose if the worst happens then I wont lose much. I use Kmail for mail. I 
might even get to learn how Reiser works and hack it out with a sector 
editor.

-- 
Richard Urwin

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] Cant Delete File

2003-09-29 Thread Richard Urwin
On Monday 29 Sep 2003 6:52 am, me wrote:
 On Monday 29 September 2003 01:06 am, David Guntner wrote:
  Root can delete any file or directory in the system.  What's stopping you
  from su'ing to root and deleting it that way?
 
--Dave

 Kde says Access Denied

 Shell: (su as root)
 rm chrome
 rm: remove write-protected weird file `chrome'? y
 rm: cannot remove `chrome': Operation not permitted

 rd chrome
 rmdir: `chrome': Operation not permitted

try going down to single-user mode (telinit 1 as root) and delete it from 
there.
maybe some process has the file open.

(telinit 3 for CLI or telinit 5 for GUI to get back.)

-- 
Richard Urwin

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] Cant Delete File

2003-09-29 Thread Richard Urwin
On Monday 29 Sep 2003 3:38 pm, Jack Coates wrote:
 On Mon, 2003-09-29 at 08:20, James Sparenberg wrote:
 ...

   I had one of these once as the early warning that reiserfs was about to
   take a dump. I ended up trying reiserfsck on it, which destroyed about
   half the files in the partition. Back up early and often.
 
  Haven't had it do to reiser but I've sure had it happen do to Mozzila.
  I have to do an rm -Rf .mozilla about once every 2 months and then move
  my backup of bookmarks and cookie (do not set) files back over.  2 times
  now it's created a file I couldn't remove.  Except by a 3rd party
  (rescue disk) boot and removal.
 
  James

 mine was a mozilla cache file too, now that I think about it. So the
 problem that I experienced in that case probably wasn't reiserfs, but
 reiserfsck.

 That said, once you've had to rebuild and restore an 8x72GB RAID5
 production array during business hours because the filesystem caused a
 kernel panic under load, you tend to cast a hairy eyeball toward that
 file system...
 http://www.geocrawler.com/archives/3/3455/2003/7/0/10528457/

Thanks people. I've just done a complete reinstall and moved over to 99% 
reiserFS. ;-(

-- 
Richard Urwin

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] Rebooting 9.1 causes propagation dealy?

2003-09-24 Thread Richard Urwin
On Wednesday 24 Sep 2003 10:14 am, James wrote:
 I've been pulling my hair out for the last 5 days trying to figure
 out what I've been doing wrong with my Virtual servers using Mandrake
 9.1 and Apache web server.

 I got to a point where all my virtual servers worked wonderfully,
 then I finally got my default server to be viewable from the
 internet, only to make some changes then reboot my server and find
 that, while I could still view the OTHER virtuals, I couldn't view
 the default virtual server.  I thought I had done something wrong
 to it.

 Well, tonight, I realized that whenever I reboot the server, it takes
 about a day to propagate the default virtual while the other
 virtuals work just fine immediately after reboot.

 What the hell?

 Why is this happening?  I've just rebooted, and cannot connect to my
 default virtual, but if I wait a day, I will be able to connect to
 it from the internet by doing nothing to the server.

I know nothing about apache, but this sounds like a permissions issue.
msec runs at 4am each day and corrects permissions that seem to be 
wrong.
Check the file permissions on the files for the server you can't access.

-- 
Richard Urwin

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] remote access to text only screens

2003-09-22 Thread Richard Urwin
On Monday 22 Sep 2003 11:29 am, Kitchener, Steve wrote:
 Hi James,

 I need it as the program that is running on the server, takes over a
 virtual screen CRTL/ALT+F8 and I need to be able to see that output,
 it's also curses based to make things interesting.

 It looks like the serial option is the only answer as long as I can
 get to the other virtual screens over a serial link.

That could prove... interesting.
One way I can see would be to rename /dev/aserialport to 
/dev/avirtualterminal, but that sounds like a can of worms. MDK likes 
to recreate /dev on a regular basis, and at the level your app uses the 
interfaces might not be the same.

Have you talked to whoever wrote the app? I hope they have a really good 
excuse for not just making it a text app that you can run anywhere.

-- 
Richard Urwin

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] hijacking: was Gopher was something else

2003-09-21 Thread Richard Urwin
On Sunday 21 Sep 2003 8:37 am, Anne Wilson wrote:
 Give it
 today to get some opinions, then I'll go with the majority.

A link to the RFC is good.

-- 
Richard Urwin

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] have I been hacked??

2003-09-21 Thread Richard Urwin
On Sunday 21 Sep 2003 3:22 am, mike wrote:
 so what causes the constant traffic when I am not running a browser,
 etc?

What the others said and email, usenet news, DNS

-- 
Richard Urwin

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] Re: Mandrake's visibility

2003-09-19 Thread Richard Urwin
On Friday 19 Sep 2003 1:07 pm, Anne Wilson wrote:
 On Friday 19 Sep 2003 11:39 am, Wolfgang Bornath wrote:
  After he sold the first 20 Mandrake 9.1 PowerPacks he could not get
  any more from his wholesaler. He told me that they told him to wait
  for a couple of weeks. He refrained because after a couple of
  weeks it's not new anymore and people who'd bought will have
  downloaded the stuff. They want it now, not in a couple of weeks.

 Which brings us back again to the question as to whether downloads
 should be available as quickly as they are at present.
 Idealogically, yes, but in terms of income, maybe not.

Which would be fine if MandrakeStore was capable of delivering in a 
timely manner. But from what I've read on these lists it isn't and it 
doesn't.

In a wider view I can see that MDK  doesn't want to enter any huge 
cash-flow situations at the moment, no matter what the projected 
profit. Added to which, if they can't produce quickly enough for their 
own orders, what chance have they got supplying Walmart et al? They 
would have to invest in massively improved production capabilities that 
their auditors would probe very deeply. There must be an issue of trust 
between them and the big chains if they have failed to produce the 
goods once before, which auditors would view as risk.

-- 
Richard Urwin

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] remote access to text only screens

2003-09-19 Thread Richard Urwin
On Friday 19 Sep 2003 1:47 pm, Kitchener, Steve wrote:
 Hi James,

 I know about ssh and the like, but what I was after was the ability
 to display the screens that are only normally displayed via the
 console screen, specifically those that are accessed via the CTRL/ALT
 + F1 etc, but to be able to display those remotely on a different
 computer.

Why do you need those screens and not some functionally identical text 
logon?

It is possible to get the single-user console to be via a serial port, 
(and by extension over a modem,)  but doing it over a network is always 
going to fail if the network drivers are not loaded, say in single-user 
mode.

The only reason I can think of is if you want to support users who have 
no GUI running. It might be possible to come up with some app that lets 
you do that, the interfaces are pretty simple, but it probably isn't 
out there already.

-- 
Richard Urwin

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] smbd utilizing 99% of the CPU

2003-09-17 Thread Richard Urwin
On Wednesday 17 Sep 2003 7:10 pm, James D. Parra wrote:
 Hello,

 Have an MDK 9.1 server where the smb daemon is consistently using 99%
 of the CPU although there are no Samba connections.

 Any ideas on what's going on?
It happens on mine too after about 21 days. I just kill winbindd and 
keep going. It doesn't seem to stop smb connections from windows 
machines, so my guess is bad samba configuration. I might fix it one 
day, or just get rid of samba.

-- 
Richard Urwin

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] Serial terminal program for Linux?

2003-09-16 Thread Richard Urwin
On Tuesday 16 Sep 2003 1:58 am, Glenn Burkhardt wrote:
 On Sunday 14 September 2003 08:10 pm, Richard Urwin wrote:
  The programmer has a human readable interface, and dumps and
  receives intel hex format. All I need to do is the equivilent to
  cat file.hex /dev/Stty0
  after issueing the relevant send command to the progammer.

 I'm not familiar with Intel hex format, but 'kermit' will let you
 send the file with

 C-Kermit cat file.hex

 or

 C-Kermitredirect cat file.hex

Thanks for that. I tried minicom last night, and it will probably do 
what I want, but not easily or neatly.

There's a niche for a new application here, and I may be just the person 
to write it. Stay tuned...

-- 
Richard Urwin

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] urpmi not reading Mandrake CDs properly

2003-09-15 Thread Richard Urwin
On Monday 15 Sep 2003 6:04 am, Rob Blomquist wrote:
 I am trying to install wine from my 9.1 CDs, which I believe are
 properly burned, as I can read them in Konqueror.

 Urpmi is ejecting the CD, and telling me that I need to install a
 different cd. I am assuming that some configuration file is corrupt,
 and I need to update urpmi for the CDs.

 I tryed running urpmi.update, but I don't see how to update the
 distrib CDs.

 Any ideas?

9.0 to 9.1 update doesn't update the urpmi sources.

-- 
Richard Urwin

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


[expert] Serial terminal program for Linux?

2003-09-14 Thread Richard Urwin
I need a serial terminal program to talk to a microcontroller programmer 
I have just acquired. After googling for half an hour or so there 
seemed to be only one: Minicom. It's a console-based beastie and it 
doesn't do file send/receive (I don't need any protocol just dump out 
and capture.)

I *could* hack this program to do what I want, or just use cut and 
paste, but I can't believe there is nothing else out there. Does anyone 
know of anything that will suit?

-- 
Richard Urwin

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] Serial terminal program for Linux?

2003-09-14 Thread Richard Urwin
On Sunday 14 Sep 2003 6:45 pm, Glenn Burkhardt wrote:
 Richard Urwin wrote:
  I need a serial terminal program to talk to a microcontroller
  programmer I have just acquired. After googling for half an hour or
  so there seemed to be only one: Minicom. It's a console-based
  beastie and it doesn't do file send/receive (I don't need any
  protocol just dump out and capture.)
 
  I *could* hack this program to do what I want, or just use cut and
  paste, but I can't believe there is nothing else out there. Does
  anyone know of anything that will suit?

 There's also the venerable 'kermit' program from Columbia U.
 http://www.columbia.edu/kermit/

 But what are your requirements?

The programmer has a human readable interface, and dumps and receieves 
intel hex format. All I need to do is the equivilent to
cat file.hex /dev/Stty0
after issueing the relevant send command to the progammer.

Actually I meant microcom, not minicom, so there's three possibilities 
for me to check out tomorrow. Thanks everyone.

-- 
Richard Urwin

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] Is this a postfix packaging bug (9.1 RC2)?

2003-09-13 Thread Richard Urwin
On Saturday 13 Sep 2003 7:44 am, Damon Lynch wrote:
 On Sat, 2003-09-13 at 01:08, Miark wrote:
  Out of curiosity, why /10 and not /24? How many nodes
  are on your network?

 My network has just 2 PCs for desktop use, one as a web/mail server,
 and another as the firewall / gateway (running MNF).  Do you
 recommend running /24 even with this few PCs, and if so, why?

You are counting in the wrong direction.
/10 is 10 bits of network address and 22 bits of machine address.
(Netmask = 0xffc0)
/24 is 24 bits of network address and 8 bits of machine address.
(Netmask = 0xff00)

So the fewer machines you  have the higher the /number can be.

-- 
Richard Urwin

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] (OT)Mandrake and Advertising.

2003-09-13 Thread Richard Urwin
On Saturday 13 Sep 2003 1:56 am, Carroll Grigsby wrote:
 Mandrake has issued a clarification at
 http://www1.mandrakelinux.com/en/mdkads.php3

Fascinating.
The screensaver idea has disappeared.

Checking back on the original page 
(http://www.mandrakesoft.com/partners/advertising) the screensaver 
option has been removed, and the pricing is now hidden.

I don't think I have a single reservation about the plan in this new 
form. Go for it, Mandrake.

-- 
Richard Urwin

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] (OT)Mandrake and Advertising.

2003-09-12 Thread Richard Urwin
As described on the MDK page, I don't have a problem with this. Anything 
that keeps MDK going and doesn't make it too annoying is OK by me.

I can always remove the bookmarks folder and change the screensaver. If 
that became too hard then I would seriously consider moving to Debian 
or something, but nothing indicates that it will be hard.

I should hope that they keep the ads targeted. I would actually like to 
be aware of Linux-capable comercial apps, they don't get much air-time 
on other media. I would not like to get Microsoft ads, or that SCO one 
somebody posted to the comments, or indeed about credit cards etc. MDK 
say they will decide on a FCFS basis, I hope it'll be better selected 
than that. Otherwise MS will definately buy a slot, for laughs if for 
no other reason, these prices are petty cash for them.

-- 
Richard Urwin

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] Is this a postfix packaging bug (9.1 RC2)?

2003-09-12 Thread Richard Urwin
The 192.168 address for private networks is class B, and therefore 16 
bits long. (see RFC 1918.) Using less than 16 bits may result in 
problems connecting to machines on the Internet which have these 
addresses.

You would be better off using 10.0.0.0/8 or172.16.0.0/12 which are also 
allocated for private networks but offer more space for the host and/or 
subnet address.

On Friday 12 Sep 2003 2:08 pm, Miark wrote:
 Out of curiosity, why /10 and not /24? How many nodes
 are on your network?

 Miark

 On Sat, 13 Sep 2003 00:00:46 +1200, Damon Lynch [EMAIL PROTECTED] 
wrote:
  Hi,
 
  I'm no postfix expert so I don't know if what I found was a bug or
  not, but in 9.1, this worked in main.cf
 
  mynetworks = 192.168.1.0/10
 
  but postfix fails to deliver any mail like that in 9.2RC2, and
  instead this must be specified:
 
  mynetworks = 192.128.0.0/10
 
  I guess it's something to do with a more recent postfix version
  (and there are probably good reasons for the change being needed),
  but my question is this: is there anything the postfix packager
  could do to ensure a smooth transition to avoid problems like this?
   Or was I doing something wrong with my config and 9.1 and was
  simply lucky to get away with it?
 
  Thanks!
  Damon

-- 
Richard Urwin

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] Sending mail throughout several smtp servers?

2003-09-07 Thread Richard Urwin
On Sunday 07 Sep 2003 5:07 pm, Francisco wrote:
 But bascule,

 If you use postfix you do need to buy a domain name, don't you?

No.

So long as your ISP offers SMTP delivery postfix will work. If you don't 
have smtp delivery then fetchmail will pull mail from POP3 mailboxes 
and deliver it to your Linux mail system. Fetchmail may also send mail 
to your ISP with SMTP, I don't know, I don't use it myself. If not then 
you can use postfix for that.

A domain name is something you should look into though, it is not 
expensive, (under GBP7 for .org.uk, for two years,) and even without 
postfix etc it can make your life a lot easier if you want to change 
ISPs.

For example 123-reg.co.uk, (and I think, lots of others,) offer mail 
redirection. so you just redirect [EMAIL PROTECTED] to 
[EMAIL PROTECTED]

When you change isp, you just change the redirect, and your email 
address stays the same.

-- 
Richard Urwin

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] Sending mail throughout several smtp servers?

2003-09-07 Thread Richard Urwin
On Sunday 07 Sep 2003 7:02 pm, Greg Meyer wrote:
 On Sunday 07 September 2003 12:07 pm, Francisco wrote:
  But bascule,
 
  If you use postfix you do need to buy a domain name, don't you?

 Postfix will make a direct smtp connection with the recipient's mail
 server and you can use it to send without using it to receive, in
 fact that is what I am doing right now.  This message was delivered
 to the list via postfix running on my machine, and you don't need a
 domain name for that.  The only problem with this is that some isp's
 block smtp port 25 and require you to use their mail servers instead
 in an effort to block spammers.

Blocking port 25 only affects incoming mail. If you use POP3 to receive 
then it wont affect you.

-- 
Richard Urwin

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] Sending mail throughout several smtp servers?

2003-09-07 Thread Richard Urwin
On Monday 08 Sep 2003 1:10 am, Greg Meyer wrote:
 On Sunday 07 September 2003 07:26 pm, Richard Urwin wrote:
   Postfix will make a direct smtp connection with the recipient's
   mail server and you can use it to send without using it to
   receive, in fact that is what I am doing right now.  This message
   was delivered to the list via postfix running on my machine, and
   you don't need a domain name for that.  The only problem with
   this is that some isp's block smtp port 25 and require you to use
   their mail servers instead in an effort to block spammers.
 
  Blocking port 25 only affects incoming mail. If you use POP3 to
  receive then it wont affect you.

 My understanding is that my isp can block (it doesn't, some do) port
 25 at it's router/firewall so that my machine cannot make a smtp
 connection to any other machine outside of its network.  This forces
 me to use their smtp server for all outgoing mail.

 Also, Roadrunner blocks port 25 connections from dynamic ip address
 ranges, so I cannot send a message to someone using roadrunner using
 postfix.  I have to use my isp's smtp server for that too.

I've not come across that before, but it doesn't stop you doing what you 
want. There has been some talk on the list about your address going 
into a blackhole list if you mail directly, anyway.

-- 
Richard Urwin

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] forgotten knowledge...

2003-09-03 Thread Richard Urwin
On Wednesday 03 Sep 2003 11:19 pm, James Sparenberg wrote:
 On Wed, 2003-09-03 at 15:07, Vox wrote:
  On September 1993 plus 3654 days Ronald J. Hall wrote:
   On Tuesday 02 September 2003 11:15 pm, Mark wrote:
   I had thought about that. but then I decided not to do it that
   way cause I'd end up having to edit and clean up too much. So I
   chose the try the elegant lazy method. as it turns out when I
   used cat do combine the files all I got was the first page and
   a wee bit of the last page and that was all. don't know what I
   did wrong.
  
   Mark, someone else mentioned that they did not think it would
   work because it was a binary format. That could be it. Otherwise
   the cat command would have worked.
 
I've actually used cat to concatenate binary files (.mpg)
together...strict standards compliant viewers choke on them, but
mplayer plays files created this way without much of a problem.
  The real problem isn't that the file is a binary, but that the
  reader of the file doesn't like headers-in-the-middle-of-a-file.
 
Vox

 I think (but I can't swear) that the problem is file headers.  The
 PDF has a header that gives data like length etc.  So when you cat
 them together the first header is wrong.  The second is in the middle
 etc.  I agree that the only way is to cvt to ps then merge then
 convert back to pdf.

 James

Probably, but not the only possible answer. Consider HTML. A file is 
defined to be:

HTML
blah blah
/HTML

If you cat two pages together you get:

HTML
blah blah
/HTML
HTML
blah blah
/HTML

and that is not valid HTML. It's possible to build a browser that can 
read it, but a browser would not be expected to.

-- 
Richard Urwin

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] OT: Hardware guru please - advice needed

2003-09-01 Thread Richard Urwin
On Monday 01 Sep 2003 1:06 pm, Anne Wilson wrote:
 On Monday 01 Sep 2003 12:42 pm, Katinka Mills wrote:
  Sorry for the delay, I could not find the page I liked to show
  people (I think the site is down) if you go here
 
  http://www.interfacebus.com/Design_PCI_Pins.html
 
  A1 / B1 is the back of the computer. and the pins count towards
  you. If you count the gold fingers on either side, if A12 / A13 /
  B12 / B13 are present, it is a 5v only  Card. If they are missing,
  then it is a 3.3v or dual voltage card. As a back-up count down to
  A50 / A51 / B50 / B51, if they are present it is a 3.3V or dual
  Voltage card, if they are missing, then it is a 5v card.
 
  Hope this Helps

 A great site, Kat.  Thanks.  I have printed out as reference sheets
 both the pci info and the similar list for agp.  Thanks again

If that level of detail is of interest, you will love The Indespensable 
PC Hardware Book: Your Hardware Questions Answered by Hans-Peter 
Messmer. Addison Wesley. ISBN: 0201876973

Very low level. Very complete.

-- 
Richard Urwin

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] urpmi lccked

2003-09-01 Thread Richard Urwin
On Monday 01 Sep 2003 10:03 pm, Eric Huff wrote:
  There is a problem with the gui frontend to urpmi.addmedia that is
  fixed in an upcoming drakxtools:
 
  I see the problem, and the proposed fix. The issue now is a
  catch-22 one.
 
  I can't add any sources, so I can't get the new patch to drakxtools
  to add sources. See the problem?

 I am coming in really late here, but to add sources, can't you for
 the moment use mandrake control center?

 Or the command line with the help of
 http://plf.zarb.org/~nanardon/urpmiweb.php ?

Look for a lock file (.lck ?) probably in the same directory as the 
urpmi sources or under /var. Then delete it.

-- 
Richard Urwin

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


[expert] POSIX Capabilities in out-of-the-box distributions

2003-08-30 Thread Richard Urwin
I am looking into the Linux Capabilities, which have been part of the 
kernel since 2.2. There was a security hole which was patched in 
2.2.19, and they are used throughout the kernel. Because of this hole 
it is not possible for one process to change the capabilities of a 
different process, and calling exec() to load a new application resets 
the capabilities. However everything I have read says that if you jump 
through the right hoops a setuid-root application should be able to 
drop its capabilities and then setuid to a user level and keep the 
capabilities that it retained. I am not seeing that behavior on this 
stock MDK9.1 installation:

UID=501 EffUID=0
PR_SET_KEEPCAPS=0
Now PR_SET_KEEPCAPS=1
cap CAP_NET_RAW = effective SET, permitted SET, inheritable SET
cap CAP_NET_ADMIN = effective SET, permitted SET, inheritable SET

Removed CAP_NET_RAW.
PR_SET_KEEPCAPS=1
cap CAP_NET_RAW = effective CLEAR, permitted CLEAR, inheritable CLEAR
cap CAP_NET_ADMIN = effective SET, permitted SET, inheritable SET

As user: UID=501 EffUID=501
cap CAP_NET_RAW = effective CLEAR, permitted CLEAR, inheritable CLEAR
cap CAP_NET_ADMIN = effective CLEAR, permitted CLEAR, inheritable CLEAR

I have checked the kernel source and cap_emulate_setxuid() seems to 
implement the behavior I expect, cap-bounding is only used on exec(), 
and I cannot see why setting anything in CAP_INIT_INH_SET should make a 
difference since, as seen above, the bits I am testing are inheritable 
now.

What, in MDK9.1 prevents it from working?

-- 
Richard Urwin

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com