Re: dpkg install-info bug
"Daniel Macks" <[email protected]>
| Newsgroups | gmane.os.apple.fink.core |
|---|---|
| Message-ID | <[email protected]> |
On Mon, 30 Jul 2012 17:13:15 +0200, Max Horn <[email protected]> wrote: Hi Daniel, all, > > On 30.07.2012, at 12:26, Daniel Macks wrote: > > > I think the install-info backup location has long been weird and > nobody > could tell me why when I asked years ago, but inertia and > usual "other > stuff is more important to fix" left it by the wayside. > > Aye. And now having had time to experiment with it, bug:( Any time install-info tries to make its backup at the new location... cp: /sw/var/backups/infodir.bak: No such file or directory install-info(/sw/share/info/grep.info): couldn't backup /sw/share/info/dir in /sw/var/backups/infodir.bak: Inappropriate ioctl for device Apparently /var/backups exists by default on OS X (?), but %p/var/backups does not and install-info doesn't check for it before trying to write a file into it. The stub dir file is in the base-files package, so if we're going to bless this new dir that would be a good place to create it (and make sure it has I guess owner=root perms=700 like /var/backups does?), with dpkg's dependency on it versioned accordingly. Or else have install-info create it as necessary? Or have install-info use the info dir itself (backup file adjacent to the "live" file, the same way text editors, dpkg, and other programs do), since apparently a centralized backups dir isn't commonly used on OS X? dan -- Daniel Macks [email protected] ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ fink-core mailing list [email protected] List archive: http://news.gmane.org/gmane.os.apple.fink.core Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-core