pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/51940: xdg-user-dirs doesn't create a directory for its files



>Number:         51940
>Category:       pkg
>Synopsis:       xdg-user-dirs doesn't create a directory for its files
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Feb 02 23:55:00 +0000 2017
>Originator:     Paul Goyette
>Release:        NetBSD 7.99.53
>Organization:
+------------------+--------------------------+------------------------+
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:      |
| (Retired)        | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com   |
| Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd.org |
+------------------+--------------------------+------------------------+
>Environment:
	
	
System: NetBSD speedy.whooppee.com 7.99.53 NetBSD 7.99.53 (SPEEDY 2016-12-31 23:00:24) #1: Sun Jan 1 01:39:34 UTC 2017 paul%speedy.whooppee.com@localhost:/build/netbsd-local/obj/amd64/sys/arch/amd64/compile/SPEEDY amd64
Architecture: x86_64
Machine: amd64
>Description:
When installing the xdg-user-dirs package, it tries to copy some files
into /usr/pkg/etc/xdg/ which does not exist.  If these files are being
installed by the package, the package should probably create the target
directory!

From the installation:

xdg-user-dirs-0.15nb1: copying /usr/pkg/share/examples/xdg/user-dirs.conf to /usr/pkg/etc/xdg/user-dirs.conf
cp: /usr/pkg/etc/xdg/user-dirs.conf: No such file or directory
chmod: /usr/pkg/etc/xdg/user-dirs.conf: No such file or directory
xdg-user-dirs-0.15nb1: copying /usr/pkg/share/examples/xdg/user-dirs.defaults to /usr/pkg/etc/xdg/user-dirs.defaults
cp: /usr/pkg/etc/xdg/user-dirs.defaults: No such file or directory
chmod: /usr/pkg/etc/xdg/user-dirs.defaults: No such file or directory

From the subsequent messages, it seems that the user/sysadmin is expected
to manually create these files.  If this is the case, then the package
should not try to install the files automatically!

===========================================================================
The following files should be created for xdg-user-dirs-0.15nb1:

        /usr/pkg/etc/xdg/user-dirs.defaults (m=0644)
            [/usr/pkg/share/examples/xdg/user-dirs.defaults]

        /usr/pkg/etc/xdg/user-dirs.conf (m=0644)
            [/usr/pkg/share/examples/xdg/user-dirs.conf]

===========================================================================

	
>How-To-Repeat:
See above.
	
>Fix:
Either

(1) create the target directory and automatically install the files
(and remove the message about manually creating them), or

(2) don't try to automatically install the files, and leave the message.
	

>Unformatted:
 	
 	


Home | Main Index | Thread Index | Old Index