summaryrefslogtreecommitdiff
path: root/debian/vyatta-cfg-system.postinst.in
AgeCommit message (Collapse)Author
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
2010-01-24Fix allow-root for telnet/sshStephen Hemminger
Bug 5252 The boot script needs to restore default settings, and the templates are then used to enable root access.
2010-01-19Change how IPV4/IPV6 configuration values are doneStephen Hemminger
1. Move vyatta-sysctl.conf from rl-system.init to procps This makes configuration happen early (before networking) 2. Do IPV6 configuration for address_flush in rl-system.init (after IPV6 is loaded) 3. Cleanup shell code for ipv6_params: * no sudo needed in startup scripts * use cleaner iteration
2009-12-21Fix command-with-path-in-maintainer-script postinst:158 ↵Stephen Hemminger
/usr/sbin/dpkg-reconfigure
2009-12-18Block passwd command for non-root userStephen Hemminger
The vyatta administrator needs to use Vyatta tools to change account password. Bug 4927
2009-12-09The protected-users file does not need to be made during installStephen Hemminger
The file is protected-user (not protected-users) and it is already installed.
2009-12-08Force root account to have disabled passwordStephen Hemminger
This makes sure there is no working password for user root in ISO.
2009-12-07don't block passwd with pamStephen Hemminger
Breaks setup of account during install. Useradd calls passwd.
2009-12-04Block user from changing name or passwordStephen Hemminger
Bug 4927 This blocks user from changing fields in password file. Note: adding removing users is not allowed unless user is root, but then all bets are off anyway.
2009-12-01Get rid of warning on package updateStephen Hemminger
Warning: cp '/opt/vyatta/etc/level' and '/opt/vyatta/etc/level' are the same file
2009-11-19Add user tss for udevStephen Hemminger
See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=412989 The udev scripts expect user tss, but it isn't there. For Vyatta, just create it; debian developers can't agree on proper fix!