summaryrefslogtreecommitdiff
path: root/debian/vyatta-cfg-system.postinst.in
AgeCommit message (Collapse)Author
2012-08-14Add support for network device prefix tableStephen Hemminger
Bug 8279 Put prefix table in /opt/vyatta/etc/netdevice
2012-04-18Use rsyslog to trigger log rotationJames Davidson
The previous implementation of log rotation used an hourly cron job to check log file size and possibly perform a rotation. If the logging rate is high, this interval may allow for root file system space exhustion. Utilizing rsyslog's outchannel mechanism enables log rotation to be initiated as soon as the log file becomes larger than its configured size. Fixes Bug 7807.
2012-02-21Disable reboot on ctrl-alt-delStephen Hemminger
Bug 6526 Disable ctrl-alt-del where all the other system changes happen on installation.
2012-02-03Fix missing space on postinst scriptJohn Southworth
2012-02-03Bugfix 7770John Southworth
2012-01-11Check for existance of postconfig boot up scriptStephen Hemminger
Bug 7720 If post config script does not exist, then silently ignore it. The user may have accidentally deleted the post config script.
2011-12-21install: fix warning message when package is updatedStephen Hemminger
vyatta-cfg-system package installation caused warning: update-rc.d: using dependency based boot sequencing update-rc.d: warning: vyatta-config-reboot-params start runlevel arguments (2 3 4 5) do not match LSB Default-Start values (S) update-rc.d: warning: vyatta-config-reboot-params stop runlevel arguments (0 1 6) do not match LSB Default-Stop values (none)
2011-12-02md: don't start unless neededStephen Hemminger
Don't start RAID (md) unless root device is configured for RAID.
2011-11-29change mode of /etc/sudoers.d/vyattaStephen Hemminger
Needs to be read only
2011-11-23Move vyatta changes to sudoers to separate fileStephen Hemminger
Bug 6916 Rather than editing /etc/sudoers which can lead to package conflicts, put Vyatta specific changes into a separate file.
2011-08-19Fix deprecated use of chownStephen Hemminger
Fix build warning on debian testing (more restrictive) W: vyatta-cfg-system: deprecated-chown-usage postinst:176 'chown -R root.vyattacfg'
2011-07-27Added to make "force" op-mode command accessible to user typeDeepti Kulkarni
operator.
2011-07-15Fix permission problems on /config during initial installJohn Southworth
(cherry picked from commit 9b0151b1d51617e969807d75b00eed998bf8f294)
2011-07-13Bugfix 7326: add /config/support directory by defaultJohn Southworth
(cherry picked from commit 697affbbcbfaf8b8b253b3ce1a5f312db8069238)
2011-05-16Partial fix for 6393: keepalived shutdown too late - can cause lost trafficStig Thormodsrud
Don't call 'update-rc.d vyatta-keepalived remove' since we still need to stop the daemon on shutdown/reboot.
2011-05-11Fix Bug 7012 make /config available with init-floppyMohit Mehta
2011-04-27Remove unsuccessful attempt to blacklist PC speakerStephen Hemminger
The PC speaker driver has changed name, and the sound blacklist file does not exist in Debian Squeeze. Just remove the steps from the package install.
2011-04-20Fix Bug 6811 ENH: add a proper post-configuration boot scriptMohit Mehta
* added /config/scripts/vyatta-postconfig-bootup.script that gets called from /etc/rc.local. Users/Support can put in any workarounds in the script for unfixed bugs and enhancements that are not in Vyatta yet. Placing the script under /config makes sure that changes to the script will be preserved for the new image
2011-04-18* run start-up script vyatta-config-reboot-params very early in boot processMohit Mehta
This script executes scripts lying in the following directory: /opt/vyatta/bin/sudo-users/check-params-on-reboot.d Scripts in check-params-on-reboot.d are intended for parameters that require a reboot to take effect after they are set/changed. Because of the reboot requirement, underlying value and related config paramter value can become out-of-sync in couple of cases: 1. change parameter value, don't save config, reboot. Underlying value is different than the value in config file. 2. install new image; when new image boots, underlying value is the default Vyatta shipped value not the value in config file. More info: http://bugzilla.vyatta.com/show_bug.cgi?id=6915#c1 This check-in also adds ipv6_disable_blacklist script in check-params-on-reboot.d to fix the above mentioned problem for 'system ipv6 disable' and 'system ipv6 blacklist'
2011-04-13* Add help and checks for VRRP transition-script nodesMohit Mehta
to push users towards putting scripts in /config/scripts
2011-03-15Remove rsyslog logrotate fileStephen Hemminger
Bug 6715 Vyatta configures syslog, and does not use the same files as Debian (typically). The logrotate file in the distribution assumes there are files like auth.log etc which Vyatta doesn't have.
2011-01-20Cleanup old net-rules on upgradeStephen Hemminger
Bug 6705 (cherry picked from commit 00466b9a779647047ce432b971bf8329b2255126)
2011-01-04Fix Bug 6599 ha_logd starting up by defaultMohit Mehta
(cherry picked from commit d09218920b376f65c69bda2b8b571a7611731463)
2010-12-17Add path to SSH V1 host key to configStephen Hemminger
SSH config file is based off of Debian distributed version which does not have SSH protocol version 1 key path.
2010-11-24Add cpufrequtils default config fileStephen Hemminger
If cpufrequtils is installed, then want the default to be full performance.
2010-11-16Add option to disable host validation (DNS) for SSHStephen Hemminger
Bug 4970 New CLI control of UseDNS option to sshd_config set service ssh disable-host-validation
2010-11-08Fix path to ethtoolStephen Hemminger
In Debian Squeeze ethtool is in /sbin
2010-10-14Add better control over console screen blankerStephen Hemminger
By default, turn console screenblanking off. If user wants to enable it, they can use: set system console powersave
2010-10-08Convert from syslog to rsyslogStephen Hemminger
Configuration file is /etc/rsyslog.conf and it is supports directory of include parameters so do not need to edit rsyslog.conf directly
2010-10-07Put udev rules in /lib/udevStephen Hemminger
Udev rules have moved from /etc/udev to /lib/udev on Debian Squeeze
2010-10-07Update hwclockfirst fixup for SqueezeStephen Hemminger
2010-09-13rename pre-mendocino ipv6 modprobe files to add .conf suffixMohit Mehta
2010-09-07Update sound blacklist fixStephen Hemminger
The sound blacklist should be in a seprate file, and check for entry before creating
2010-09-07Change modprobe.d files to .confStephen Hemminger
In squeeze, modprobe wants config files named .conf or it will generate warning.
2010-08-17Don't delete existing root passwordStephen Hemminger
For upgrade, don't touch root password. For new installation, root password is reset during build-iso Bug 6066
2010-07-14Enable putting core files /var/coreStephen Hemminger
For serviceablity put core files in /var/core. But core file will still not be created unless process is running with permission to write there, and has ulimit permission.
2010-07-01Touch file before setting capabilityStephen Hemminger
Unionfs should copyup the xattr automatically, but it doesn't so use touch to force a copyup before setting attributes.
2010-06-04Add pam_cap capability configurationStephen Hemminger
2010-06-04Set file capability attributesStephen Hemminger
This sets file capability attributes during package installation (and build) to allow better security models.
2010-05-24Don't enable PAM Radius by defaultStephen Hemminger
The pam-config mechanism will insert Radius pam module if it is in /usr/share/pam-configs. Therefore hold off installing file until Radius really needed.
2010-05-20don't start conntrackd itselfMohit Mehta
2010-04-27Revert "Set capabilities on standard utilities"Stephen Hemminger
This reverts commit 59cae244d055a7b5ba9de460d3ebbb5700d6ab17. Don't want to do this this way.
2010-04-26Set capabilities on standard utilitiesStephen Hemminger
This sets extended capablities on some common utilities
2010-03-20Fix Bug 5386 L2TP will work only the first time Vyatta is bootedMohit Mehta
* move fix to vyatta-ravpn to make sure init script stays modified even if xl2tpd gets installed after vyatta-cfg-sytem during full-upgrade (cherry picked from commit bdc317666828bad9dac2edef20d3919d943a5e9e)
2010-03-05Fixup xl2tpd init during installStephen Hemminger
Bug 5386 Since vyatta-cfg-system is the place where Vyatta does lots of busted package fixups; fix xl2tpd init script there.
2010-02-09Remove vyatta-ofr on upgradeStephen Hemminger
The upgrade process doesn't always remove old vyatta-ofr init script
2010-02-02Fix password-authentication setup in sshdStephen Hemminger
Bug 5301 Need to setup sshd_config during install to allow configure later
2010-01-26Get rid of protected-users fileStephen Hemminger
Instead of white-listing special system users, just go with the Debian policy that all users with uid < 1000 are system accounts
2010-01-25Fix typo in PermitRoot setup.Stephen Hemminger
2010-01-25Remove duplicate crontab and stop munging /etc/crontab.Stig Thormodsrud