[Bug 934469] Re: Virtual terminals resets Bash history to last 500 entries even when it is set to more entries
TomasHnyk
tomashnyk at gmail.com
Wed Dec 5 21:33:02 UTC 2012
Seems to be a bug in package shadow, to which command /bin/login
belongs. New steps to reproduce is to run `sudo login` and then login.
** Project changed: linux => ubuntu
** Package changed: ubuntu => linux
** Package changed: linux (Ubuntu) => shadow (Ubuntu)
** Description changed:
- Whenever I log in to a virtual terminal it somehow forces $HISTSIZE and
- $HISTFILESIZE to 500 even though I've set them in ~/.bashrc to 10000 and
- 100000, respectively. This means that a whole lot of the history is lost
- immediately after logging it on a virtual terminal.
+
+ Whenever I log in to a virtual terminal or I run
+ sudo login
+ and then I log in, it somehow forces $HISTSIZE and $HISTFILESIZE to 500 even though I've set them in ~/.bashrc to 10000 and 100000, respectively. This means that a whole lot of the history is lost immediately after logging it on a virtual terminal.
ProblemType: Bug
DistroRelease: LinuxMint 12
Package: gnome-shell 3.2.1-0ubuntu1.1
ProcVersionSignature: Ubuntu 3.0.0-15.26-generic 3.0.13
Uname: Linux 3.0.0-15-generic x86_64
NonfreeKernelModules: fglrx
ApportVersion: 1.23-0ubuntu4
Architecture: amd64
Date: Fri Feb 17 21:16:47 2012
InstallationMedia: Linux Mint 12 "Lisa" - Release amd64 (20111120)
SourcePackage: gnome-shell
UpgradeStatus: No upgrade log present (probably fresh install)
- ---
+ ---
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
ApportVersion: 2.0.1-0ubuntu7
Architecture: amd64
AudioDevicesInUse:
- USER PID ACCESS COMMAND
- /dev/snd/controlC2: victor 2195 F.... pulseaudio
- /dev/snd/controlC1: victor 2195 F.... pulseaudio
- /dev/snd/controlC0: victor 2195 F.... pulseaudio
+ USER PID ACCESS COMMAND
+ /dev/snd/controlC2: victor 2195 F.... pulseaudio
+ /dev/snd/controlC1: victor 2195 F.... pulseaudio
+ /dev/snd/controlC0: victor 2195 F.... pulseaudio
CRDA: Error: command ['iw', 'reg', 'get'] failed with exit code 1: nl80211 not found.
Card0.Amixer.info:
- Card hw:0 'Intel'/'HDA Intel at 0xfb9f8000 irq 76'
- Mixer name : 'Realtek ALC889'
- Components : 'HDA:10ec0889,104383c0,00100004'
- Controls : 46
- Simple ctrls : 22
+ Card hw:0 'Intel'/'HDA Intel at 0xfb9f8000 irq 76'
+ Mixer name : 'Realtek ALC889'
+ Components : 'HDA:10ec0889,104383c0,00100004'
+ Controls : 46
+ Simple ctrls : 22
Card1.Amixer.info:
- Card hw:1 'Generic'/'HD-Audio Generic at 0xfbcfc000 irq 77'
- Mixer name : 'ATI R6xx HDMI'
- Components : 'HDA:1002aa01,00aa0100,00100200'
- Controls : 6
- Simple ctrls : 1
+ Card hw:1 'Generic'/'HD-Audio Generic at 0xfbcfc000 irq 77'
+ Mixer name : 'ATI R6xx HDMI'
+ Components : 'HDA:1002aa01,00aa0100,00100200'
+ Controls : 6
+ Simple ctrls : 1
Card1.Amixer.values:
- Simple mixer control 'IEC958',0
- Capabilities: pswitch pswitch-joined penum
- Playback channels: Mono
- Mono: Playback [on]
+ Simple mixer control 'IEC958',0
+ Capabilities: pswitch pswitch-joined penum
+ Playback channels: Mono
+ Mono: Playback [on]
Card2.Amixer.info:
- Card hw:2 'U0x46d0x821'/'USB Device 0x46d:0x821 at usb-0000:00:1a.7-4, high speed'
- Mixer name : 'USB Mixer'
- Components : 'USB046d:0821'
- Controls : 2
- Simple ctrls : 1
+ Card hw:2 'U0x46d0x821'/'USB Device 0x46d:0x821 at usb-0000:00:1a.7-4, high speed'
+ Mixer name : 'USB Mixer'
+ Components : 'USB046d:0821'
+ Controls : 2
+ Simple ctrls : 1
Card2.Amixer.values:
- Simple mixer control 'Mic',0
- Capabilities: cvolume cvolume-joined cswitch cswitch-joined penum
- Capture channels: Mono
- Limits: Capture 0 - 52
- Mono: Capture 52 [100%] [-19.00dB] [on]
+ Simple mixer control 'Mic',0
+ Capabilities: cvolume cvolume-joined cswitch cswitch-joined penum
+ Capture channels: Mono
+ Limits: Capture 0 - 52
+ Mono: Capture 52 [100%] [-19.00dB] [on]
DistroRelease: Ubuntu 12.04
HibernationDevice: RESUME=UUID=f2eb005b-3efe-450b-8edf-e36f28f4b75c
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
IwConfig:
- lo no wireless extensions.
-
- eth0 no wireless extensions.
+ lo no wireless extensions.
+
+ eth0 no wireless extensions.
MachineType: System manufacturer System Product Name
NonfreeKernelModules: fglrx
Package: linux (not installed)
ProcFB: 0 VESA VGA
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-24-generic root=UUID=5d8c4012-b426-4b0e-8f37-cbdf2678cf96 ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 3.2.0-24.37-generic 3.2.14
RelatedPackageVersions:
- linux-restricted-modules-3.2.0-24-generic N/A
- linux-backports-modules-3.2.0-24-generic N/A
- linux-firmware 1.79
+ linux-restricted-modules-3.2.0-24-generic N/A
+ linux-backports-modules-3.2.0-24-generic N/A
+ linux-firmware 1.79
RfKill:
-
+
SourcePackage: linux
Tags: precise precise
Uname: Linux 3.2.0-24-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
dmi.bios.date: 05/10/2011
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 0701
dmi.board.asset.tag: To Be Filled By O.E.M.
dmi.board.name: P6X58D-E
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: Rev 1.xx
dmi.chassis.asset.tag: Asset-1234567890
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr0701:bd05/10/2011:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKComputerINC.:rnP6X58D-E:rvrRev1.xx:cvnChassisManufacture:ct3:cvrChassisVersion:
dmi.product.name: System Product Name
dmi.product.version: System Version
dmi.sys.vendor: System manufacturer
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to shadow in Ubuntu.
https://bugs.launchpad.net/bugs/934469
Title:
Virtual terminals resets Bash history to last 500 entries even when it
is set to more entries
Status in The Linux Kernel:
Invalid
Status in “shadow” package in Ubuntu:
Confirmed
Bug description:
Whenever I log in to a virtual terminal or I run
sudo login
and then I log in, it somehow forces $HISTSIZE and $HISTFILESIZE to 500 even though I've set them in ~/.bashrc to 10000 and 100000, respectively. This means that a whole lot of the history is lost immediately after logging it on a virtual terminal.
ProblemType: Bug
DistroRelease: LinuxMint 12
Package: gnome-shell 3.2.1-0ubuntu1.1
ProcVersionSignature: Ubuntu 3.0.0-15.26-generic 3.0.13
Uname: Linux 3.0.0-15-generic x86_64
NonfreeKernelModules: fglrx
ApportVersion: 1.23-0ubuntu4
Architecture: amd64
Date: Fri Feb 17 21:16:47 2012
InstallationMedia: Linux Mint 12 "Lisa" - Release amd64 (20111120)
SourcePackage: gnome-shell
UpgradeStatus: No upgrade log present (probably fresh install)
---
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
ApportVersion: 2.0.1-0ubuntu7
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/controlC2: victor 2195 F.... pulseaudio
/dev/snd/controlC1: victor 2195 F.... pulseaudio
/dev/snd/controlC0: victor 2195 F.... pulseaudio
CRDA: Error: command ['iw', 'reg', 'get'] failed with exit code 1: nl80211 not found.
Card0.Amixer.info:
Card hw:0 'Intel'/'HDA Intel at 0xfb9f8000 irq 76'
Mixer name : 'Realtek ALC889'
Components : 'HDA:10ec0889,104383c0,00100004'
Controls : 46
Simple ctrls : 22
Card1.Amixer.info:
Card hw:1 'Generic'/'HD-Audio Generic at 0xfbcfc000 irq 77'
Mixer name : 'ATI R6xx HDMI'
Components : 'HDA:1002aa01,00aa0100,00100200'
Controls : 6
Simple ctrls : 1
Card1.Amixer.values:
Simple mixer control 'IEC958',0
Capabilities: pswitch pswitch-joined penum
Playback channels: Mono
Mono: Playback [on]
Card2.Amixer.info:
Card hw:2 'U0x46d0x821'/'USB Device 0x46d:0x821 at usb-0000:00:1a.7-4, high speed'
Mixer name : 'USB Mixer'
Components : 'USB046d:0821'
Controls : 2
Simple ctrls : 1
Card2.Amixer.values:
Simple mixer control 'Mic',0
Capabilities: cvolume cvolume-joined cswitch cswitch-joined penum
Capture channels: Mono
Limits: Capture 0 - 52
Mono: Capture 52 [100%] [-19.00dB] [on]
DistroRelease: Ubuntu 12.04
HibernationDevice: RESUME=UUID=f2eb005b-3efe-450b-8edf-e36f28f4b75c
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
IwConfig:
lo no wireless extensions.
eth0 no wireless extensions.
MachineType: System manufacturer System Product Name
NonfreeKernelModules: fglrx
Package: linux (not installed)
ProcFB: 0 VESA VGA
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-24-generic root=UUID=5d8c4012-b426-4b0e-8f37-cbdf2678cf96 ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 3.2.0-24.37-generic 3.2.14
RelatedPackageVersions:
linux-restricted-modules-3.2.0-24-generic N/A
linux-backports-modules-3.2.0-24-generic N/A
linux-firmware 1.79
RfKill:
SourcePackage: linux
Tags: precise precise
Uname: Linux 3.2.0-24-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
dmi.bios.date: 05/10/2011
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 0701
dmi.board.asset.tag: To Be Filled By O.E.M.
dmi.board.name: P6X58D-E
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: Rev 1.xx
dmi.chassis.asset.tag: Asset-1234567890
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr0701:bd05/10/2011:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKComputerINC.:rnP6X58D-E:rvrRev1.xx:cvnChassisManufacture:ct3:cvrChassisVersion:
dmi.product.name: System Product Name
dmi.product.version: System Version
dmi.sys.vendor: System manufacturer
To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/934469/+subscriptions
More information about the foundations-bugs
mailing list