View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 3 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject: very odd ls behavior
PostPosted: Mon Aug 14, 2006 7:58 pm 
Offline
Joined: Fri Aug 11, 2006 8:03 pm
Posts: 11
so I cd'd to /etc/ trying to find the log folder, and when I did an ls, I saw something weird:

Code:
root@mythtv:/etc# ls
EPOCH              elinks                lircd.conf.backup   perl
KnoppMyth-version  emacs                 lircd.conf.backup1  php4
LCDd.conf          email-addresses       lircmd.conf         ppp
X11                esound                locale.alias        profile
Xprint             exim4                 locale.gen          protocols
adduser.conf       exports               localtime           python2.3
adjtime            fb.modes              logcheck            qt3
aliases            fdmount.conf          login.defs          raid
alsa               festival.scm          logrotate.conf      rc.boot
alternatives       fonts                 logrotate.d         rc0.d
apache             fstab                 lvm                 rc1.d
apache-perl        fstab.pre_cdlink      lvmconf             rc2.d
apm                gconf                 lvmtab              rc3.d
apt                gdm                   lvmtab.d            rc4.d
at.deny            gksu.conf             lynx.cfg            rc5.d
auto.master        gnome-vfs-2.0         magic               rc6.d
auto.misc          gnome-vfs-mime-magic  mail.rc             rcS.d
auto.mnt           groff                 mailcap             resolv.conf
auto.net           group                 mailcap.order       resolv.conf.chw
auto.usb           group.org             mailname            resolvconf
autoconf2.13       gssapi_mech.conf      manpath.config      rmt
automount.sh       gtk                   mediaprm            rpc
bash.bashrc        gtk-2.0               menu                samba
bash_completion    hddtemp.db            menu-methods        scrollkeeper.conf
bash_completion.d  hdparm.conf           mime.types          securetty
bonobo-activation  hibernate             mkinitrd            security
bootsplash         host.conf             modprobe.d          sensors.conf
calendar           hostname              modules             services
cdrecord           hosts                 modules.conf        sgml
chatscripts        hosts.allow           modules.conf.old    shadow
checkinstall       hosts.deny            modules.orig        shadow-
console            hotplug               modutils            shells
console-tools      hotplug.d             motd                skel
cron.d             idmapd.conf           motion              smartd.conf
cron.daily         inetd.conf            mplayer             sound
cron.hourly        init                  mtab                ssh
cron.monthly       init.d                mtools.conf         ssl
cron.weekly        inittab               mysql               subversion
crontab            inputrc               mythtv              sudoers
cups               interfaces            mythtv-version      sysconfig
cvs-cron.conf      ioctl.save            nanorc              sysctl.conf
debconf.conf       irblaster             network             syslog.conf
debian_version     isdn                  nsswitch.conf       terminfo
default            issue                 ntp.conf            timezone
defoma             issue.net             nuvexportrc         ucf.conf
deluser.conf       kde3                  nuvexportrc.dist    udev
dev.d              kernel-img.conf       nvram-wakeup.conf   updatedb.conf
devfs              kernel-pkg.conf       nxserver            vdr
dhclient-script    knoppix-version       opt                 vga
dhclient.conf      laptop-net            pam.conf            webmin
dhcp3              ld.so.cache           pam.d               wgetrc
dhcpc              ld.so.conf            pango               wlan
discover.conf.d    ld.so.hwcappkgs       passwd              xdg
discover.d         ldap                  passwd-             xmame
dm                 lilo.conf             passwd.org          xml
dpkg               lirc                  pcmcia
drdsl              lircd.conf            pdnsd.conf
root@mythtv:/etc# mv lircd.conf lircd.conf.real
root@mythtv:/etc# pico lircd.conf

cron.daily         inetd.conf            mplayer             soundcron.hourly        init                  mtab                sshcron.monthly       init.d                mtools.conf         sslcron.weekly        inittab               mysql               subversioncrontab            inputrc               mythtv              sudoerscups               interfaces            mythtv-version      sysconfigcvs-cron.conf      ioctl.save            nanorc              sysctl.confdebconf.conf       irblaster             network             syslog.confdebian_version     isdn                  nsswitch.conf       terminfodefault            issue                 ntp.conf            timezonedefoma             issue.net             nuvexportrc         ucf.confdeluser.conf       kde3                  nuvexportrc.dist    udevdev.d              kernel-img.conf       nvram-wakeup.conf   updatedb.confdevfs              kernel-pkg.conf       nxserver            vdrdhclient-script    knoppix-version       opt                 vgadhclient.conf      laptop-net            pam.conf            webmindhcp3              ld.so.cache           pam.d               wgetrcdhcpc              ld.so.conf            pango               wlandiscover.conf.d    ld.so.hwcappkgs       passwd              xdgdiscover.d         ldap                  passwd-             xmamedm                 lilo.conf             passwd.org          xmldpkg               lirc                  pcmciadrdsl              lircd.conf            pdnsd.conf
mythtv@mythtv:/etc#


I'm logged in as mythtv.. but in the middle of the ls, it shows 2 commands I've previously run as root, and then re-lists some of the files. Even the formatting of the 2nd half is messed up (it looks fine in terminal, but this was a direct copy-paste, so the carraige returns obviously aren't present in the 2nd half) I've never seen something like that before in my 5 years of toying with OS X and other *nix's, and was wondering if anyone has an idea of what wouls cause something like that?


and to make it weirder, I just cd'd to /dev, and did an ls.. everythign was the same up to the root@mythtv lines, and then it listed the contents of /dev...


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 15, 2006 7:32 am 
Offline
Joined: Tue Apr 13, 2004 6:51 pm
Posts: 890
Location: Groton, MA
was this a one time thing, or does it reoccur withing new terminal windows?

did you login as root then su to mythtv? was the root shell running any commands before the su?

is root running any scripts in other shells? I assume you havent dont any weird redirection of shell output in other windows?

Try creating a new xterm window and see if you see the same issues.

what are the outputs of the following commands:

Code:
id
who
alias

_________________
R5F1 - Dell P4 2.4Ghz 500MB - PVR250 x 2 - GeForce FX 5200 - Onboard sound/NIC 80GB ATA/250GB ATA/400GB SATA


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 15, 2006 12:45 pm 
Offline
Joined: Fri Aug 11, 2006 8:03 pm
Posts: 11
khrusher wrote:
was this a one time thing, or does it reoccur withing new terminal windows?

did you login as root then su to mythtv? was the root shell running any commands before the su?

is root running any scripts in other shells? I assume you havent dont any weird redirection of shell output in other windows?

Try creating a new xterm window and see if you see the same issues.

what are the outputs of the following commands:

Code:
id
who
alias


I only tried the one terminal window, but I had tried the command multiple times (other directories gave no trouble)

I had logged in as mythtv from that user and hadn't su'd at all

the machine has since been restarted and I just checked again and its behaving normally.. so not sure why it was doing what it did. I seem to be having a few weird quirks with my box.. but dont' really want to try another fresh install since I had to install some other updates afterwards


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 19 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu