Debian Configuration :: Update - /tmp Permission Changed?
Dec 14, 2010This morning's update
root@squeeze:/home/me# aptitude update
[Code].....
This morning's update
root@squeeze:/home/me# aptitude update
[Code].....
We had a server failure this morning because grub was throwing error 15 (file not found). We discovered that the disk had changed names from hd0,0 to hd1,0. Making the appropriate replacements in menu.lst fixed the problem, but I'm still wondering what could have caused the spontaneous name change.
here are some other possibly related tidbits: * the server had been down because of a power loss, but it is behind a UPS so i doubt there is any electrical damage * eth0 also temporarily failed but the system failed over to eth1
My current theory is that when the bios was configuring the hardware the loss of eth0 shuffled around the addresses of the remaining hardware on the pci bus, which somehow caused the hd0/hd1 confusion. The problem is that everything i've read [URL] says that the drive assignment should be based on the way the disk is connected to the motherboard (which in this case didn't change)
I use Debian Stretch and I've installed it twice with the same ISO on the same laptop. First just to test a few things, then freshly installed it again.
The first time the wireless card was named wlan0 (as always for me, I've never had another name), the second time though it was suddenly named wlp3s0.
How did this occur and may I change it back to wlan0?
I've been using dhcpd for address assignments to PCs for a very long time with no issues. I recently upgraded from lenny to squeeze and now dhcpd seems to have new behavior which I can't seem to change. Here's what I want to do. First, I have a simple situation and don't want to get involved with dynamic DNS updates. I have host statements for each of my PCs and a range statement for cases where I install a new device and don't yet have a host statement for it. Previously, I could discover the ethernet address for the new device from the dhcpd log and add a host statement with an address of my choosing for the new device.
I'd then restart dhcpd and do something like reboot the device or issue an ipconfig /renew statement on the new PC. What would happen is that the old dynamically assigned IP address would be NAKed and the device would do a DHCPDISCOVER, etc. and get the new IP address I specified in the dhcpd.conf host statement. In squeeze, this no longer works. The client asks for the old address it got dynamically and the server just says yes. I can't seem to find a way to get it to NAK the dynamic address and use the new address I've specified in the host statement. I'd appreciate any enlightenment on how this is now supposed to be done. Here's my simplified dhcpd.conf file:
authoritative;
log-facility daemon;
ddns-update-style none;
[code]....
Note that the address here was assigned based on a previous range statement and isn't consistent with the above config file.
jeff@optiplex:/media$ ls -l
total 124
lrwxrwxrwx 1 root root 6 Apr 7 14:46 cdrom -> cdrom0
drwxrwxr-x 2 root root 4096 Apr 7 14:46 cdrom0
[code]....
I installed Debian Kit on my Asus Nexus 7 tablet, and after following the installation tutorial I got it running except for I'm stuck on the step to create a new user. (btw link: [URL] .... )
Here's how it went (I can't copy&paste from my tablet so I have to type out everything...):
Code: Select allroot@android-6c40984c21c156ae:/# adduser paul374
Adding user `paul374' ...
Adding new group `paul374' (5000) ...
Adding new user `paul374' (5000) with group `paul374' ...
Creating home directory `/home/paul374' ...
[Code] ....
So since I read somewhere that selinux had some permission problem, so I did a few chcons:
Code: Select allchcon --user=u --role=r --type=init --range=s0 /etc/passwd
chcon --user=u --role=r --type=init --range=s0 /etc/shadow
chcon --user=u --role=r --type=init --range=s0 /etc/gshadow
And it did take effect:
Code: Select allroot@android-6c40984c21c156ae:/# ls -Z | grep passwd
      u:r:init:s0 passwd
u:object_r:unlabeled:s0 passwd-
root@android-6c40984c21c156ae:/# ls -Z | grep shadow
      u:r:init:s0 gshadow
u:object_r:unlabeled:s0 gshadow-
      u:r:init:s0 shadow
u:object_r:unlabeled:s0 shadow-
...but still same thing as what happened in the beginning...
Anyway my goal is to create and be able to log in to another user so that I'm not stuck running root all the time. (Which, as we all know, is a bad idea.)
If there's a way to manually create the user by editing a few files, and root still won't be able to change passwords, I'm fine with that, as long as I have another user. Whatever it takes to just get a non-root user log-in-able...
I forgot to mention that since this is the Asus Nexus 7, there is no removable media, so chrooting from another Linux machine isn't an option, and neither is removing an SD card to use a LiveCD on it.
I have an apache installation with /var/www/bob as the document root and the only site served up. I have bob as the directory's owner, and he is able to upload his files to that folder via ftp (vsftpd on the server). When a browser tries to access the pages, it simply gets a 403 forbidden. The problem occurs when apache2 tries to access the files bob uploads. The www-data user (Apache daemon) gets permission denied when I try to cat bob's files in the shell, so it's purely a permissions issue. What I can't figure out is how to give the Apache daemon the ability to read bob's files while also making certain it does not have the ability to modify any of them.
View 1 Replies View RelatedTryin to update guest additions to match new host. Change fstab to allow exec. Still get permission denied.
debian:/home/bill# cd /cdrom
debian:/cdrom# ls -lh
total 30M
dr-xr-xr-x 3 root root 2.0K 2009-12-17 07:37 32Bit
dr-xr-xr-x 2 root root 2.0K 2009-12-17 07:37 64Bit
-r-xr-xr-x 1 root root 217 2009-12-04 04:06 AUTORUN.INF
[Code]...
Here is a copy of my fstab # /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
[code]...
Ok for some reason my login background changed on its own without my permission or anything, I find it to be a little suspicious but im going to let it slide. Can anybody tell me how to change my Login Background in 10.04? I have no idea how it happened the first time, might have been a glitch or something.
View 3 Replies View RelatedToday, after postfix security upgrade, /tmp permissions changed from 777 to 755 on my Ubuntu Server 10.04.2
View 1 Replies View RelatedI recently installed virtual box on debian and after it had finished my terminal informed me that I could remove some "unnecessary" software by use of sudo apt-get autoremove. When I did this, some of the icons on the desktop changed and all of the icons in the drop down menu on the bar at the top of the screen also changed to ordinary folder symbols. The theme that I was using also went away. I restarted the computer and it booted back into a shell prompt with no GUI. I tried to get back to the GUI using alt+f7 but it didn't seem to exist
View 2 Replies View RelatedI did an upgrade a while back to lenny, but still get these errors..
Here's what I get when O do apt-get update:
i have download debian 6.0.1 DVD, and installed corectly,i am using internet behind proxy, but i configure all the things thier and i still can ping to google from CLI bt i could nt update my system
View 2 Replies View RelatedMy probles consists in that i have no idea on how update the clamav. I downloaded it throu center of software. Butt when i try to upgrade it from the gui the upgrading bar reaches only 15% and desapears. I tried do type freshclam from root command line but it just writes that there is not such command. May be i use incorrectly the command line.
View 4 Replies View RelatedFrom the securing-debian-howto [URL] ...
"4.2.2 Security update of the kernel
First, make sure your kernel is being managed through the packaging system."
which suggests...
Code: Select all$ dpkg -S ‘readlink -f /vmlinuz‘
When I try to confirm by running the above, I get a lot of characters of output but the last line reads...
Code: Select alldpkg-query: no path found matching pattern /vmlinuz‘
How do I make sure my kernel is being managed through a packaging system?
I have Jessie in a VM. For some days I have been consistently getting errors with apt-get update, no matter if I use httpredir of ftp.us. These are the errors:
Code:
Select allErr http://ftp.us.debian.org jessie/updates/main amd64 Packages
 404 Not Found [IP: 64.50.236.52 80]
Err http://ftp.us.debian.org jessie/updates/contrib amd64 Packages
 404 Not Found [IP: 64.50.236.52 80]
Err http://ftp.us.debian.org jessie/updates/non-free amd64 Packages
[Code] ....
E: Some index files failed to download. They have been ignored, or old ones used instead.
And this is the syntax in my /etc/apt/sources.list
Code:
Select alldeb http://ftp.us.debian.org/debian/ jessie main non-free contrib
# deb-src http://ftp.us.debian.org/debian/ jessie main non-free contrib
deb http://ftp.us.debian.org/ jessie/updates main contrib non-free
# deb-src http://ftp.us.debian.org/ jessie/updates main contrib non-free
# wheezy-updates, previously known as 'volatile'
deb http://ftp.us.debian.org/debian/ jessie-updates main contrib non-free
# deb-src http://ftp.us.debian.org/debian/ jessie-updates main contrib non-free
# Jessie Backports
deb http://http.debian.net/debian jessie-backports main contrib non-free
Mirrors cannot be down for so long, so what is going on?
Is it mandatory to reboot a public server after upgrading openssl? Or is it sufficient to restart the services?
View 2 Replies View RelatedI've just installed debian sid and see that I've the kernel 2.6.32. I was a bit surprise as on ubuntu I had the 2.6.35 and debian sid is supposed to be more up to date that ubuntu (maybe I'm wrong).So I checked what were the packages available :
mart@mart-laptop:~$ uname -a
Linux mart-laptop 2.6.32-5-686-bigmem #1 SMP Sat Oct 30 23:25:58 UTC 2010 i686 GNU/Linux
mart@mart-laptop:~$ sudo aptitude search ^linux-image
[code]...
I have a PC that have a new Ethernet card that is not yet supported by Debian/Lenny.I downloaded the latests driver from the manufacturer and after a make;make install everything works like a charm.My problem is that one day after a probable update, Debian overrided my new driver by an other one causing my Ethernet card to shut down.After an other make install, everything work again like it should..But how do i do to prevent Debian to update my driver ?
View 1 Replies View RelatedI have squeeze using the default setup with 5 seperate partitions on hard drive. All other updates are fine but it will not install the Linux-Image-2.6.32-5-amd64. I get message that not enough room. I think this is the kernal update. I use update manager. Is there a fix for this short of resizing the partition. This is a one computer/user setup. I had this problem on a previous install of stable and ignored it thinking that it was a glitch. That install was an experimental setup and I liked it but it didn't work on the internet very well so went to testing.
View 5 Replies View Relatedthere seems to be a very important bug with php 5.2.6 (mb_send_mail, [URL]). Unfortunately this affects my php applications greatly. I am currently running debian 5.0.7, with the latest updates. how to upgrade my php.
View 1 Replies View RelatedI updated squeeze last night for the first time. It worked fine after 1st reboot last night. There was one reboot stalled at "hald" so I shut down and restarted. Worked ok 2nd time around
Today,upon login I got a string of taskbar notification (which I couldnt read as they all overlapped . I was able to see a kernel error message but couldnt report it (network was down) or save it (USB stick not recognised) Some programs worked, others didnt
I have the partedmagic rescue distro on USB stick so have those programs to use in order to fix the problem. Any idea how I can repair this? I tried fdisk for the hell of it. reported clean partition as predicted. I am using debian-testing-amd64-kde.
About an hour ago i did an update on my Debian Squeeze. After the update was completed my LAN connection stopped working.. now i have to connect my computer to my router with a usb cable instead with my ethernet cable.. also, on the network connection, on the wired network section it says that the device(ethernet) has not been managed..
View 1 Replies View Relatedafter a long time I did a little upgrading of the packages...
bind9-host:amd64 (9.7.3.dfsg-1~squeeze1, 9.7.3.dfsg-1~squeeze2), linux-image-2.6.32-5-d64 (2.6.32-31.6.32-34squeeze1), dnsutils:amd64 (9.7.3.dfsg-1~squeeze1, 9.7.3.dfsg-1~squeeze2), linux-headers-2.6.32-5-common:amd64 (2.6.32-31, 2.6.32-34squeeze1),
[code]...
When trying to do a system update, I'm facing following error:
Code: Select allroot@machine: apt-get upgrade
Reading package lists... Done
Building dependency tree   Â
Reading state information... Done
The following packages have been kept back:
 libdevmapper1.02.1
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
1 not fully installed or removed.
[Code] ....
No such file or directory of an older and unused kernel? What's wrong with my system?
More about my machine, which runs Debian 6:
Code: Select allroot@machine: uname -a
Linux machine 2.6.32-5-686 #1 SMP Sat Jul 12 22:59:16 UTC 2014 i686 GNU/Linux
Code: Select allroot@machine: cat /etc/apt/sources.list
deb http://http.debian.net/debian/ squeeze main contrib non-free
deb-src http://http.debian.net/debian/ squeeze main contrib non-free
deb http://security.debian.org/ squeeze/updates main contrib non-free
deb-src http://security.debian.org/ squeeze/updates main contrib non-free
deb http://http.debian.net/debian squeeze-lts main contrib non-free
deb-src http://http.debian.net/debian squeeze-lts main contrib non-free
Yesterday I installed some updates on my Jessie system (I don't remember if the kernel was also updated). After rebooting the system nothing happens after the "Loading intial ramdisk"-message. If I boot in recovery mode the boot stops at the message:
Code: Select allfb: switching to nouveaufb from simple
If I add "nouveau.modeset=0" temporary to the GRUB-entry for the recovery mode, it will boot up in the console-mode.
I was able to get an ethernet connection with "dhclient eth0" and removed the "xserver-xorg-video-nouveau" package. Then I installed it and the removed gnome-desktop again. Before removing it, aptitude said the following to the package:
Code: Select alli A xserver-xorg-video-nouveau
Now it only says:
Code: Select alli  xserver-xorg-video-nouveau
But this didn't change my problem. I found a similar case in the internet, but there were no solutions for it: [URL] ....
The next thing I would do, is to install the proprietary nvidia-drivers, but since I have a GTX 960 video card, I would have to use experimental drivers. So I'm afraid to make it more worse trying to install this drivers.
Also I'm not sure if it really is a driver-specific of kernel-specific problem. My kernel is version 3.16.0-4-amd64.
I updated today and naturally removed the old nVidia driver, compiled it again after a reboot, and then rebooted again for good measure. I can log into KDE4, but all I get is a cursor and a solid black background. I deleted the ~/.kde, ~/.local, and quite a few other directories from my normal user account using the shell so KDE would reconfigure my settings when I logged in again, but it's the same problem. I went into ~/.kde/share/config/kwinrc and added the "Compositing" section with "Enabled=false" to rule out compositing. Now when I log into the system I get the default KDE4 wallpaper and a mouse cursor, but nothing else. I believe the latest update broke KDE4, or am I missing something? I have recreated my xorg.conf as well, and only set it to use the nVidia driver. So what can I do now?
View 3 Replies View RelatedI have the latest version of Debian installed on a Poweredge 1600SC. Everything is working ok, but the Adaptec AAR 2410sa PCI SATA card has started being a bit weird. I have a 1TB drive connected to it and noticed that occasionally it was unmounting the drive and messages appeared in the /var/log/messages like the following:
Jun 10 23:50:57 servertron kernel: [11246.006500] sd 1:0:2:0: [sdd] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE,SUGGEST_OK
Jun 10 23:50:57 servertron kernel: [11246.006500] sd 1:0:2:0: [sdd] Sense Key : Hardware Error [current]
Jun 10 23:50:57 servertron kernel: [11246.006500] sd 1:0:2:0: [sdd] Add. Sense: Internal target failure
After a reboot everything would be fine. I did some research and heard that it could be the drive failing, so after running a disk check etc I connected up a new 1TB drive (was getting low anyway) to another SATA interface on the card and started trying to copy from one drive to another. Lo and behold, it happened on the new drive as well. Bugger.
I haven't had time to open it up and check the connections and will be doing this shortly, but thought I would check to see if it was using the best/newest driver, but am a bit stuck as to where to start. I've looked through some docs and help but can't really see how to update and check hardware drivers in debian.
lspci shows the following:
00:00.0 Host bridge: Broadcom GCNB-LE Host Bridge (rev 01)
00:00.1 Host bridge: Broadcom GCNB-LE Host Bridge
00:02.0 Ethernet controller: Intel Corporation 82540EM Gigabit Ethernet Controller (rev 02)
[code]....
Is there a newer version of accraid I can use? Even if there isn't, how would I go about identifying which driver the card is using and installing an update?
So I just installed Debian Lenny on my PC (the install went fine). After installing, I went into aptitude and noticed that most of the packages available in the repository are out of date (python 2.5, GCC 4.3). System Update tells me that I am up to date, and when I tell synaptic/aptitude to mark all updatable packages, it does nothing. I have tried typing apt-get update as root aswell. Nothing worked.
I installed Debian with the first DVD from [URL]. During the installation, I told it to download anything that wasn't on the DVD. Shortly after installing, I had manually edited my /etc/apt/sources.list and commented out the CD line. Could any of this have messed up APT?