Opened 19 years ago

Closed 19 years ago

Last modified 15 years ago

#3085 closed defect (duplicate)

port generated gv pkg files overwrite system components in etc on install

Reported by: mabuice@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc:
Port: gv

Description (last modified by ryandesign (Ryan Carsten Schmidt))

I built an installer package from port using the following command:

port pkg gv

which built a package "gv-3.5.8.pkg" and put it in the "/opt/local/var/db/dports/build/file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dupdate_dports_print_gv/work" directory. After installing the package by double-clicking it in the Finder and following the standard instructions, everything seemed to be fine until I launched a new Terminal window and got the message

"unable to initialize PAM: No such file or directory"
[process completed]

and hence no shell. After quiting and restarting Terminal I got a window saying that Terminal couldn't launch because "the administrator has set your shell to an illegal value". After opening Netinfo to set my shell to bash (it was zsh) the problem persisted, so I rebooted.

After the gray apple logo, the screen went black and I was left with a message saying that "/etc/master.passwd" could not be found. The machine had booted into single user mode.

Looking around, I discovered that the contents of the "/etc" directory were completely emptied except for those files installed by the "gv" package.

I suspect that this is a related issue to bug #3075.

The generated pkg file doesn't seem to be able to cope with the fact that "/etc" is actually a link to "/etc/private" and overwrites it.

Change History (4)

comment:1 Changed 19 years ago by toby@…

Component: basedports
severity: criticalnormal

comment:2 Changed 19 years ago by jmpp@…

Resolution: duplicate
Status: newclosed

* This bug has been marked as a duplicate of 3075 *

comment:3 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Milestone: Port Bugs
Port: gv added

comment:4 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.