Bug 113460 - print/cups-base chowns to non-existent user
Summary: print/cups-base chowns to non-existent user
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Dirk Meyer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-07 17:30 UTC by David Adam
Modified: 2007-06-08 15:20 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Adam 2007-06-07 17:30:02 UTC
	Installation of cups-base 1.2.10 via the package produces the output below. I believe this is due to the order of operations - the cups user is only created for the first time after the attempts to chown the directories.

How-To-Repeat: 	portinstall -P cups

Results in:

--->  Installing 'cups-base-1.2.10' from a package
--->  Installing the new version via the package
chown: cups: Invalid argument
pkg_add: command 'chown root:cups /var/cache/cups' failed
chown: cups: Invalid argument
pkg_add: command 'chown cups:daemon /var/log/cups' failed
chgrp: cups: Invalid argument
pkg_add: command 'chgrp cups /usr/local/etc/cups' failed
Added group "cups".
Added user "cups".
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2007-06-07 22:35:43 UTC
Responsible Changed
From-To: freebsd-ports-bugs->dinoex

Over to maintainer
Comment 2 dfilter service freebsd_committer freebsd_triage 2007-06-08 14:57:19 UTC
dinoex      2007-06-08 13:57:13 UTC

  FreeBSD ports repository

  Modified files:
    print/cups-base      Makefile pkg-install pkg-plist
  Log:
  - fix order for creation for user, groups and dirs.
  PR:             113473

  Revision  Changes    Path
  1.67      +4 -1      ports/print/cups-base/Makefile
  1.3       +0 -30     ports/print/cups-base/pkg-install
  1.34      +3 -0      ports/print/cups-base/pkg-plist
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Dirk Meyer freebsd_committer freebsd_triage 2007-06-08 15:08:52 UTC
State Changed
From-To: open->closed

Comment 4 dfilter service freebsd_committer freebsd_triage 2007-06-08 15:12:51 UTC
dinoex      2007-06-08 14:12:45 UTC

  FreeBSD ports repository

  Modified files:
    print/cups-base      Makefile 
  Log:
  - last update had wrong PR-number
  PR:             113460
  
  Revision  Changes    Path
  1.68      +0 -0      ports/print/cups-base/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"