Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Nov 2014 21:42:45 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 195315] New: freebsd-uucp package installation has mtree errors
Message-ID:  <bug-195315-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195315

            Bug ID: 195315
           Summary: freebsd-uucp package installation has mtree errors
           Product: Ports Tree
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: cyschow@shaw.ca

# pkg install freebsd-uucp
Updating FreeBSD repository catalogue...
Fetching meta.txz: 100%   968 B   1.0k/s    00:01
Fetching digests.txz: 100%    2 MB 685.3k/s    00:03
Fetching packagesite.txz: 100%    5 MB 758.4k/s    00:07
Removing expired repository entries: 100%
Processing new repository entries: 100%
FreeBSD repository update completed. 23640 packages processed:
  6162 updated, 19 removed and 22 added.
The following 1 packages will be affected (of 0 checked):

New packages to be INSTALLED:
        freebsd-uucp: 1.07.3_1

The process will require 1 MB more space.
355 kB to be downloaded.

Proceed with this action? [y/N]: y
Fetching freebsd-uucp-1.07.3_1.txz: 100%  355 kB 363.5k/s    00:01
Checking integrity... done (0 conflicting)
[1/1] Installing freebsd-uucp-1.07.3_1: 100%
mtree: etc/mtree/uucp-var.mtree: No such file or directory
mtree: etc/mtree/uucp-local.mtree: No such file or directory
updating /etc/services

After the installation, the missing mtree files caused the permission to be set
incorrectly.

# ls -la /usr/local/libexec/uucp
total 530
drwxr-xr-x  2 root  wheel        4 Oct  6 06:22 .
drwxr-xr-x  4 root  wheel        5 Nov 23 14:03 ..
-r-sr-sr-x  1 root  dialer  267336 Oct  6 06:22 uucico
-r-sr-s---  1 root  uucp    122784 Oct  6 06:22 uuxqt

The correct permission should have been uucp:dialer and uucp:uucp for uucico
and uuxqt respectively. This caused uucico failed to execute uuxqt after
calling another system.

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-195315-13>