Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 96339 - mgetty and taylor-uucp have different locations for their lock files
Summary: mgetty and taylor-uucp have different locations for their lock files
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Alin Năstac (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-16 22:54 UTC by James Rushworth
Modified: 2006-01-09 14:37 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 James Rushworth 2005-06-16 22:54:26 UTC
taylor-uucp lock file location: /var/lock/uucp
mgetty lock file location: /var/lock
both programs use uucp lock file format but don't work together because the
lock files are in different locations

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




After:

ebuild mgetty-1.1.30-r2.ebuild unpack

I edited:

/var/tmp/portage/mgetty-1.1.30-r2/work/mgetty-1.1.30/policy.h

and changed this:

# ifdef linux
#  define LOCK  "/var/lock/LCK..%s"
# endif

to:

# ifdef linux
#  define LOCK  "/var/lock/uucp/LCK..%s"
# endif

after the rest of the ebuild mgetty and cu worked together.
Comment 1 Alin Năstac (RETIRED) gentoo-dev 2005-07-03 03:07:02 UTC
I didn't knew that uucp has its own lock directory.
If anything needs to be fixed, that would be taylor-uucp, not mgetty. Every
program that use serial lines (pppd, minicom, ...), locks them by placing a
LCK..$devfile in /var/lock, and this is the right place for them as far as I'm
concerned.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-01-06 06:25:50 UTC
Re-assign, maintainer retired.
Comment 3 Alin Năstac (RETIRED) gentoo-dev 2006-01-08 22:33:02 UTC
taking over the maintainership
Comment 4 Alin Năstac (RETIRED) gentoo-dev 2006-01-09 14:37:33 UTC
submitted taylor-uucp-1.07-r1 to the tree.
the new revision uses /var/lock as locking directory.