Opened 9 years ago

Closed 7 years ago

#48398 closed defect (fixed)

salt @2014.1.13_1: post-activate failure

Reported by: shantanoo@… Owned by: aphor (Jeremy McMillan)
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc: Ionic (Mihai Moldovan), macports@…, ypekka (Timo-Pekka Yrjölä)
Port: salt

Description

Getting following error while installing salt using sudo port install salt

:error:activate org.macports.activate for port salt returned: error copying "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_salt/salt/work/v2014.1.13/conf/minion": no such file or directory
:debug:activate Error code: NONE
:debug:activate Backtrace: error copying "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_salt/salt/work/v2014.1.13/conf/minion": no such file or directory
    while executing
"proc-post-org.macports.activate-activate-0 org.macports.activate"
    ("eval" body line 1)
    invoked from within
"eval $post $targetname"
:info:activate Warning: targets not executed for salt: org.macports.activate
:notice:activate Please see the log file for port salt for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_salt/salt/main.log}}}

Attachments (2)

main.log (347.1 KB) - added by shantanoo@… 9 years ago.
File: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_salt/salt/main.log
0001-salt-Properly-install-default-configuration-files.patch (1.7 KB) - added by raimue (Rainer Müller) 7 years ago.

Download all attachments as: .zip

Change History (14)

comment:1 Changed 9 years ago by Ionic (Mihai Moldovan)

Owner: changed from macports-tickets@… to cr@…
Port: salt added

Please CC the maintainer next time, unless it's a pseudo address and set the port field.

Also, run sudo port clean salt and try installing again.

If it still fails, upload the complete main.log file.

comment:2 Changed 9 years ago by Ionic (Mihai Moldovan)

Cc: ionic@… added

He'll need someone to commit changes, so CC'ing myself.

comment:3 Changed 9 years ago by Ionic (Mihai Moldovan)

Summary: salt @2014.1.13_1 Installaiton failedsalt @2014.1.13_1: post-activate failure

Changed 9 years ago by shantanoo@…

Attachment: main.log added

File: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_salt/salt/main.log

comment:4 Changed 9 years ago by shantanoo@…

After sudo port clean salt, still getting same error.

comment:5 Changed 9 years ago by macports@…

Cc: macports@… added

Cc Me!

comment:6 Changed 9 years ago by kurthindenburg (Kurt Hindenburg)

Owner: changed from cr@… to macports-tickets@…

comment:7 Changed 7 years ago by mf2k (Frank Schima)

Cc: ypekka added

Has duplicate #54261 with newer version of salt.

Changed 7 years ago by raimue (Rainer Müller)

comment:8 Changed 7 years ago by raimue (Rainer Müller)

Does salt really still require that symlink at /etc/salt? Can't we just patch the source to use the correct ${prefix}/etc/salt directly?

comment:9 Changed 7 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to aphor
Status: newassigned

comment:10 Changed 7 years ago by aphor (Jeremy McMillan)

This is a year old ticket. @raimue can you please open a new defect against the current version?

comment:11 Changed 7 years ago by aphor (Jeremy McMillan)

https://github.com/macports/macports-ports/pull/504 <-- getting rid of pre/post-activate phases using @raimue suggestion.

comment:12 Changed 7 years ago by aphor (Jeremy McMillan)

Resolution: fixed
Status: assignedclosed

In 5268f4c2e5b67103bf4ff88189c3f281805f3de5/macports-ports:

salt: rm /etc/salt symlink to /opt/local/etc/salt

and startupitem dependency
and preactivate/postactivate steps

Closes: #48398

Note: See TracTickets for help on using tickets.