Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 328789 - app-misc/fdutils tries to install /etc/fdprm in place of /etc, and the fdprm file syntax is wrong
Summary: app-misc/fdutils tries to install /etc/fdprm in place of /etc, and the fdprm ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Kernel Miscellaneous
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-18 08:29 UTC by Ville Aakko
Modified: 2010-09-09 18:23 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ville Aakko 2010-07-18 08:29:02 UTC
Hi!

Fdutils apparently should have a floppy disk parameter table at /etc/fdprm. The ebuild, however, tries to install it in place of /etc, and an error message is produced (although fdutils is merged):
"
 * Messages for package app-misc/fdutils-5.5-r1:

 * 
 * Installation of a regular file is blocked by a directory:
 *   '/etc'
 * This file will be merged with a different name:
 *   '/etc.backup.0000'
 * 
"

If I move /etc/.backup.0000 into /etc/fdprm (which does no exist after the merge), setfdprm however complains about wrong syntax in the file:

#
$ setfdprm -p /dev/fd0 720/720
Syntax error in line 11: '"360/360":
'
#

Steps to reproduce:
1. emerge fdutils

Actual behaviour:
Notice the error about it trying overwrite /etc, and observe no /etc/fdprm

Expected results:
/etc/fdprm should exist

2. move /etc.backup.0000 to /etc/fdprm
3. run setfdprm -p /dev/fd0 720/720

Actual behaviour: setfdprm doesn not seem to understand te syntax.

Expected results: setfdprm should understand the syntax from the file
Comment 1 HÁRSFALVI Levente 2010-08-05 15:16:22 UTC
Apparently I ran into exactly the same problem / behaviour.

-- All ebuilds >=app-misc/fdutils-5.4.20020222-r1 seem to want to replace /etc by something seemingly intended to replace /etc/fdprm .

-- At the same time, the tools contained by the package appear to support the old syntax spoken by the to-be-replaced /etc/fdprm file. They'd then obviously fail once /etc/fdprm were replaced by the new file (brought by the new ebuilds).

I'd note that all pre- 5.4.20020222-r1 ebuilds have been also carefully got rid of from the tree.
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2010-09-09 18:23:41 UTC
I fixed the install that was bothering me for a while already.