Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 121019 - hsfmodem should set dialout group on devices
Summary: hsfmodem should set dialout group on devices
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Dialup Developers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-31 01:56 UTC by Laurento Frittella (mrfree)
Modified: 2006-01-31 12:03 UTC (History)
0 users

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


Attachments
net-dialup/hsfmodem-7.18.00.07-r2.ebuild (hsfmodem-7.18.00.07-r2.ebuild,1.63 KB, text/plain)
2006-01-31 03:19 UTC, Laurento Frittella (mrfree)
Details
files/hsfconfig-7.18.00.07-gentoo-tuning.patch (hsfconfig-7.18.00.07-gentoo-tuning.patch,764 bytes, patch)
2006-01-31 03:19 UTC, Laurento Frittella (mrfree)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Laurento Frittella (mrfree) 2006-01-31 01:56:48 UTC
The problem regards the  /etc/udev/rules.d/hsf.rules  file; according with gentoo groups used with other similar ebuild I suggest to modify it with something like:

KERNEL="ttySHSF0", SYMLINK="modem", GROUP="dialout"

Regards
Comment 1 Laurento Frittella (mrfree) 2006-01-31 01:57:58 UTC
Ops... I forgot to say the hsfmodem ebuild version :)

net-dialup/hsfmodem-7.18.00.07-r1
Comment 2 Laurento Frittella (mrfree) 2006-01-31 02:32:20 UTC
Ok, The problems seems to resides into hsfconfig utility...

When I run hsfconfig, it overwrites /etc/udev/rules.d/hsf.rules and /etc/init.d/hsf the first with the default and incorrect version and the last with a symlink to /usr/sbin/rchsf.

I'm using LVM2 and the "check dependencies" phase during boot fails for the hsf service because the partition /usr isn't mounted yet.


I need to manually replace the udev rules file and the symlink copying the "real" file to /etc/init.d when I change kernel!

I'll try to create a patch for hsfconfig to integrate it into the ebuild ;)
Comment 3 Alin Năstac (RETIRED) gentoo-dev 2006-01-31 03:17:55 UTC
fixed in 7.18.00.07-r2
Comment 4 Laurento Frittella (mrfree) 2006-01-31 03:19:22 UTC
Created attachment 78553 [details]
net-dialup/hsfmodem-7.18.00.07-r2.ebuild

It this ebuild uses my patch ;)
Comment 5 Laurento Frittella (mrfree) 2006-01-31 03:19:55 UTC
Created attachment 78554 [details, diff]
files/hsfconfig-7.18.00.07-gentoo-tuning.patch
Comment 6 Alin Năstac (RETIRED) gentoo-dev 2006-01-31 12:03:31 UTC
try to mount /usr in boot runlevel. it should do the trick.