Reply
 
Thread Tools Display Modes
  #1  
Old 08-19-2009, 06:47 AM
nicsar nicsar is offline
Junior Member
 
Join Date: Aug 2009
Location: Italy
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to nicsar
Default Cups and devfs.rules
Hello, I get an error restarting devfs

Code:
# /etc/rc.d/devfs restart
devfs rule: error converting to integer: cups
I was looking at devfs.rules file and I see the lines

Code:
add path 'lpt*' mode 666 group cups
add path 'ulpt*' mode 666 group cups
add path 'unlpt*' mode 666 group cups
so

Code:
# id cups
id: cups: no such user
# grep cups /etc/group
#
# ls -l /dev/ulpt0
crw-r-r--  1 root  operator    0, 115 19 Ago 07:29 /dev/ulpt0
It seems that no cups group exist, am I missing something?
Thanks in advance.

PC-BSD version 7.1.1
__________________
Nicola Sarobba
Reply With Quote
  #2  
Old 08-19-2009, 10:01 PM
TerryP TerryP is offline
Senior Member
 
Join Date: Nov 2005
Location: Ga. USofA
Posts: 7,906
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to TerryP Send a message via AIM to TerryP Send a message via Yahoo to TerryP
Default Re: Cups and devfs.rules
was this a new install or upgraded???

It seems the cups group no longer (or never did) exists.
Reply With Quote
  #3  
Old 08-19-2009, 10:23 PM
nicsar nicsar is offline
Junior Member
 
Join Date: Aug 2009
Location: Italy
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to nicsar
Default Re: Cups and devfs.rules
It was a new installation of PCBSD and I did not modify the devfs.rules.
Does your /etc/devfs.rules file contain the word cups?
__________________
Nicola Sarobba
Reply With Quote
  #4  
Old 08-20-2009, 02:44 AM
TerryP TerryP is offline
Senior Member
 
Join Date: Nov 2005
Location: Ga. USofA
Posts: 7,906
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to TerryP Send a message via AIM to TerryP Send a message via Yahoo to TerryP
Default Re: Cups and devfs.rules
That sounds very strange, PC-BSD has used CUPS as the primary printing backend for as long as I can remember. In fact, the installation procedure for cups-base creates the entries for the account with the following sh commands:

Code:
if ! pw groupshow cups; then pw groupadd cups -g 193; fi
if ! pw usershow cups; then pw useradd cups -g cups -u 193 -h - -d ${NONEXISTENT} -s /usr/sbin/nologin -c "CUPS Owner"; fi


I don't use CUPS for printing, so my devfs.rules has no entries for it. In fact my old printer is hooked up to a headless OpenBSD box, which is setup using the BSD line printer daemon (lpd) rather then CUPS. Just a matter of personal taste, hehe.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Solved] Help for FTP rules in my pf.conf. misstyck2 Networking 5 05-14-2008 01:49 PM
Rules for bittorrent none work , why ? HELP !!! ^^ misstyck2 Networking 8 04-29-2008 11:48 PM
PF rules - newbie damatta FreeBSD Help 2 12-14-2007 02:08 PM
Firewall ipfilter to pf rules misstyck2 Networking 5 01-15-2007 06:41 AM
PCBSD Firewall and rules BrainTiX General Questions 2 01-02-2007 09:29 PM


All times are GMT. The time now is 07:42 AM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.

Copyright 2005-2010, The PC-BSD Project. PC-BSD and the PC-BSD logo are registered trademarks of iXsystems.
All other content is freely available for sharing under the terms of the Creative Commons Attribution License.