Ticket #773 (accepted enhancement)

Opened 4 weeks ago

Last modified 11 days ago

apt tool paths hard-coded in APT.py

Reported by: euth14@… Owned by: desai
Priority: minor Milestone: Bcfg2 1.1.0 Release
Component: bcfg2-server Version: 1.0
Keywords: Cc:

Description

I would suggest the following configuration options:

apt_tools_install_path (default: /usr)

debsums_path (default: $apt_tools_install_path/bin/debsums)

debsums_path (default: $apt_tools_install_path/bin/apt-get)

apt_tools_var_path (default: /var)

apt_tools_etc_path (default: /)

system_etc_path (default: /etc)

etc

##########

execs = ['/usr/bin/debsums', '/usr/bin/apt-get', '/usr/bin/dpkg'] important = ["/etc/apt/sources.list",

"/var/cache/debconf/config.dat", "/var/cache/debconf/templates.dat", '/etc/passwd', '/etc/group', '/etc/apt/apt.conf', '/etc/dpkg/dpkg.cfg']

...

output = self.cmd.run("/usr/bin/debsums -as %s" %

entry.get('name'))[1]

Attachments

Change History

Changed 3 weeks ago by desai

  • status changed from new to accepted
  • milestone changed from Bcfg2 1.0.0 Release to Bcfg2 1.0.1 Release

This needs to be fixed, but won't be for 1.0. I'm retargeting this to 1.0.1

Changed 11 days ago by solj

  • type changed from defect to enhancement
  • milestone changed from Bcfg2 1.0.1 Release to Bcfg2 1.1.0 Release

Add/Change #773 (apt tool paths hard-coded in APT.py)

Author



Change Properties
<Author field>
Action
as accepted
 
Note: See TracTickets for help on using tickets.