Debian Configuration :: Manual / Tmp Part Hangs Unattended-upgrades At Shutdown

Dec 3, 2015

Creating a separate /tmp partition manually during install prevents a clean shutdown.

Setup: Debian 8 minimal server configuration (SSH only) using net install as virtual machine on Windows Server 2012 R2 Hyper-V (Gen 2).
1024 MB RAM, 20 GB VHDX, and 1 Processor, EFI boot
Packages installed: openssh-server, sudo, unattended-upgrades, bsd-mailx postfix
Application: IPv6 gateway using 6in4 tunnel

Symptoms: When shutting down the operating system (poweroff or reboot), the message

A start job is running for Unattended-Upgrades ( xx seconds / no limit ).is displayed on the console and will persist for several minutes before eventually timing out and shutting down.I've tried several different configurations. Any configuration that creates /tmp automatically (whole disk with single partition, or disk with separate /home, /var, and /tmp partitions) works fine and shuts down promptly. When I partition the disk manually (512 MB EFI Boot, 17 GB /, 3 GB /var, 512 MB /tmp, and 512+ swap) the problem occurs. I've narrowed it down to just the /tmp partition by testing and comparing various configurations (including/excluding partitions, placing partitions on a separate disk, changing the partition sizes, matching against automatic configurations, etc.).

I have also compared the /etc/fstab and /etc/default/tmpfs configuration file between working and non-working systems and cannot see any meaningful difference.

View 0 Replies


ADVERTISEMENT

Debian Configuration :: When Shutdown Screen Always Stays On And Then It Hangs

Dec 12, 2015

I'm using Debian Sid xfce on my lenovo laptop. When i try to shutdown, the screen always stays on (the fans turn off). It says "reached target shutdown", then this happens: [URL] .... and then it hangs. I have to press the power button to shut it down. (I have the same problem with reboot). I had the same issues with Jessie.

Things i tried so far and didn't work:

Code: Select allshutdown -h now
shutdown -p now
halt
poweroff
systemctl poweroff
init 0

I edited /etc/default/grub and added the following options at "GRUB_CMDLINE_LINUX_DEFAULT":

acpi=force, acpi=off*, acpi=noirq

*acpi=off: shutdown (not reboot) worked a few times but i didn't have wifi and power manager didn't seem to work

none of them worked..

I have no energy or wake up options at my BIOS.

I found out that i can normally reboot with the Alt + sysrq + REISUB key combination.

View 5 Replies View Related

Ubuntu Installation :: Unattended-upgrades For Non - Security Updates?

May 25, 2010

I've recently installed the unattended-upgrades package on a few Ubuntu 9.04 servers, and it's working great to automatically install security upgrades. However, is there a way to have non-security upgrades automatically installed as well? The README for unattended-upgrades says it'll do security ones only.

My main goal is to have all package upgrades be installed unattended except for kernel and libc upgrades (I want to do those manually on my own time). I guess I could write a script that does 'apt-show-versions -u' to get a list of upgradable packages and then do 'apt-get install' on the packages if their names don't match linux-server, linux-image-server, or libc*, but I was hoping there's an easier way to accomplish this.

I've looked at 'aptitude safe-upgrade -y', but I think that'll install kernel and libc upgrades.

View 3 Replies View Related

Ubuntu Installation :: Unattended Upgrades And 3rd Party Repos

Jul 14, 2010

I have searched on the internet but didn't manage to find out how to flag 3rd party repositories in /etc/apt/sources.list.d/50unattended-upgrades. It installs all updates from the stock Ubuntu repos but none from 3rd party repositories I later added (e.g. Chromium PPA, Skype, etc.). I understand I have to manually add the lines but I'm not sure what's the format for this. How to do this? Here's how my 50unattended-upgrades file looks like:

Code:
// Automatically upgrade packages from these (origin, archive) pairs
Unattended-Upgrade::Allowed-Origins {
"Ubuntu karmic-security";
"Ubuntu karmic-updates"; };

// List of packages to not update
Unattended-Upgrade::Package-Blacklist {
//"vim";
//"libc6";
//"libc6-dev";
//"libc6-i686"; };

// Send email to this address for problems or packages upgrades. If empty or unset then no email is sent, make sure that you have a working mail setup on your system. The package 'mailx' must be installed or anything that provides /usr/bin/mail.
//Unattended-Upgrade::Mail "root@localhost";
// Automatically reboot *WITHOUT CONFIRMATION* if a
// the file /var/run/reboot-required is found after the upgrade
//Unattended-Upgrade::Automatic-Reboot "false";

View 5 Replies View Related

Debian Configuration :: Manual Network Config

Jun 30, 2015

I have just installed Debian Weezy and for some reason it just does not see my router.1) is there a good network config script I can use?if not then what files must be edited to setup the network?When I attempt to ping the router, it does not see it. I have checked the cables etc.

View 6 Replies View Related

Debian Configuration :: Static IP - Says Manual / No DCHP

Apr 25, 2016

I am trying to set up a static IP for the pi.

Code: Select allcat /etc/network/interfaces

this should bring up something like iface eth0 inet dhcp

View 3 Replies View Related

Debian :: 8.2 Hangs On Shutdown

Jan 13, 2016

Working with 8.2 DVD installation for about 5 days, Debian newbie. As subject says, screen goes dark and hangs indefinitely.

This guide: [URL]... similar to others I've read. I've done everything there to section: Status and Logs of Services, and that's as far as I've gotten.

Guide suggested posting some files, so here they are:

Code: Select all#
# Grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

[Code] ....

View 3 Replies View Related

Fedora Networking :: Losing Internet Connection On 12 Assaing The Ip Address Manual In The Configruation Part But No Nothing Happen?

Dec 14, 2009

lost my internet connection on fedora 12 ? i try to assaing the ip address manual in the configruation part but no nothing happen I've tried googling for the problem

View 4 Replies View Related

Ubuntu Installation :: 10.10 To 11.04 - Upgrades Hangs At Configuring Libc6

May 18, 2011

I can not perform the upgrade. Installing upgrades hangs at configuring libc6 xscreensaver and xlockmore must be restarted before upgrading One or more running instances of xscreensaver or xscreensaver have been detected on this system. Because of incompatible library changes, the upgrade of the GNU libc library will leave you unable to authenticate to these programs. You should arrange for these programs to be restarted or stopped before continuing this upgrade, to avoid locking your users out of their current sessions. I've stopped xscreensaver it is the only session running. I will reboot and stop xscreensaver and then run the upgrade.

View 1 Replies View Related

Debian Configuration :: HOW To Wipe RAM At Shutdown

Aug 19, 2011

I search many hours on the web for wipe my ram in a secure way and i find nothing good/secure/work exept URL... and i think it's the best solution for wipe RAM at shutdown!Im a newbie user and i want to implement this solution on my debian system at shutdown, i think its very easy because TAILS is based on debian! Does someone can put the procedures for get that on a debian box please?

View 8 Replies View Related

Debian Configuration :: Erase Memory At Shutdown

Jul 10, 2010

Without being paranoiac, it seems possible to keep the memory content for some minutes after shutdown and dump it accessing directly to the hardware.So how to fill the memory with constant or random pattern before halting? Is there a kernel option that I can give at boot time , or an other tool I can install from Debian/Ubuntu to achieve this ?

View 14 Replies View Related

Debian Configuration :: Run A Script On A Low Battery Shutdown?

Jul 13, 2011

I have looked all over the place but I can't find if this is possible. I am running Debian 6 as a media server (SMB) and it is tied to a UPS, I used gnome power management to set up a low battery shutdown but this UPS also is powering another embedded computer. So, I was wondering if it was possible to have a script run (to log in and shut down the embedded system) before gnome power management shuts down the Debian server. I know I could probably get it to run on every shutdown, but I am looking for low power only.

View 1 Replies View Related

Ubuntu Installation :: Installer Partition 10.10 - Hangs When Select Manual Partitioning

Oct 14, 2010

I've not jumped on the Alpha/Beta upgrade's this time round so have decided to upgrade by doing a fresh install. I'm using the normal desktop install cd via usb. On the drive setup I choose to manually setup the partitions. I deleted the partition which help Lucid. Created a new partition with the root path. All good so far. I selected my home partition and selected use as 'ext2', entered /home as the mount point. Clicking ok to return, showed the /home partition as marked to be formatted, I was unable to change this ... so I decided to quit the installer and reboot ...

1st problem ... the root partition for Lucid was deleted, and a new empty partition created, despite the fact I had not confirmed the actions.

2nd problem ... rebooting with the live cd (which I'm on now) and running the installer, it hangs when I select manual partitioning.

View 7 Replies View Related

Debian Configuration :: Can't Shutdown Cups And Avahi-daemon

Nov 15, 2015

I've been using linux for a few months. Recently I have installed debian jessie and I'm learning how to secure my laptop. I have installed

Code: Select allapt-get install sysv-rc-conf

to shutdown few services that I believe I don't need at boot which I found very useful. Among others I have deselected avahi-daemon, cups, cups-browsed, etc. The problem is that, after rebooting, when running:

Code: Select allnetstat -lntup

I still find 'avahi-daemon: r' and 'cupsd' running. I have tried

Code: Select allsystemctl stop cups
systemctl disable cups
systemctl stop avahi-daemon
systemctl disable avahi-daemon

But after rebooting these services are aklways running. I do not know whta to do.

Output of netstat -lntup

Code: Select all[*]Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 127.0.0.1:631           0.0.0.0:*               LISTEN      250/cupsd       
tcp6       0      0 ::1:631                 :::*                    LISTEN      250/cupsd       
udp        0      0 0.0.0.0:16409           0.0.0.0:*                           526/dhclient   
udp        0      0 0.0.0.0:68              0.0.0.0:*                           526/dhclient   

[Code] ....

I'm aware that cups seems to work just for my printer but I do not understand why I can't just disable it.

View 5 Replies View Related

Debian Configuration :: Shutdown Laptop When AC Plug Is Removed?

Jul 22, 2010

I'm running a Debian on a laptop (actually a netbook: Asus EEE 1001PX) as a cheap homeserver. However I'd like it to automatically "shutdown -h NOW" when I remove the AC plug (switch it off at the wall). Otherwise I have to ssh to it and call it myself, and that just sucks Can I somehow detect the removal of AC power and upon that run a script ?

View 8 Replies View Related

Debian Configuration :: User Cannot Shutdown While Root Is Logged In

Jun 29, 2011

on my netbook I've tried to make possible for my user to shutdown without needing a password. battery could run low when I'm not in front of it. Editing sudoers has allowed my user to shutdown the system, but Gnome still prompts me for the root password whenever root is logged in too. That's usually the case, because to avoid entering the root password multiple times whenever I need elevated privileges and not wanting to cache the root password, I keep a Root Terminal always open.

View 6 Replies View Related

Debian Configuration :: CIFS Mount Causes 90-sec Timeout Delay During Shutdown

Nov 17, 2015

I'm using Debian 8.2 from a very recent download of the latest NetInst (less than 2 weeks). I'm sort of new to Linux - More accurately, I've used Unix and Linux extensively in the past, so most of my knowledge is dated. In particular, the whole systemd / systemctl paradigm is completely new to me.

Problem: I've added an entry to /etc/fstab to mount a NAS drive as CIFS. When I do a system shutdown or reboot, the system hangs for 90 seconds trying to unmount the NAS. If I manually umount the NAS prior to shutdown / reboot everything works fine.

I've done a fair amount of investigation and web searches, but haven't found a fix yet. Apparently several people were encountering similar problems about a year back, and it seems pretty clear that the root cause what ordering of steps in the shutdown process, e.g., WLAN being turned off before unmounting filesystems. This seems to have been resolved for most users (no one is discussing it any more), but I'm now running into the same issue. Ugh.

I tried to add a shell script to /etc/rc0.d to umount the NAS first in the shutdown process. This had no effect. I assume this is because the new systemd / systemctl paradigm supplants the old /etc/rc model of runlevel control, though it is rather baffling (to me, at least) as to why /etc/rc* still exists if the system is no longer using it...?

Here's some things I'd like to try, but how to proceed:

1. In the new systemd / systemctl paradigm, how do I examine and change the ordering of steps in the shutdown process? I've seen a lot of documentation on systemd, but nothing tells me how to do what I used to be able to do with /etc/rc with a simple rename of a symlink. If I knew how to look at the order of shutdown and change that ordering, I'm fairly certain I could identify and resolve this issue.

2. Is there some other way to mount my CIFS NAS other than editing /etc/fstab? Is it possible that my manual edit to /etc/fstab is the cause of this issue? My research into systemd indicates that it IS supposed to be compatible with /etc/fstab. I have not yet found documentation describing how to mount a filesystem at boot WITHOUT editing /etc/fstab ...

View 8 Replies View Related

Debian Configuration :: Shutdown/restart Privileges Under Gnome On Squeeze?

Mar 14, 2011

in configuring a fresh install of Squeeze. I discovered that it is possible to power off the system under gnome simply by pressing the power button or by selecting the "Shut Down" entry on "System" menu.However I need to restrict this option only to root. How can I do that?

View 7 Replies View Related

Debian Configuration :: Tungsten E Sync Hangs - No Connection

Jun 28, 2011

I was trying to sync my Tungsten E with Debian Squeeze and it would just hang as if there was no connection. Trying pilot-link -l resulted in a message saying that it was looking for a new usb connection (or something to that effect) and would never connect. jpilot is set to use "usb:".

I moved to my laptop, which has Ubuntu Lucid, installed jpilot and it synced just fine using "usb:". What is "usb:"? How do I troubleshoot it? It seems to me that is the problem with my debian install.

View 3 Replies View Related

Debian Configuration :: Computer Hangs For 15 Seconds Before Continuing?

Aug 6, 2011

At boot time, my computer hangs for 15 seconds before continuing. This is the message that I receive:Starting the hotplug events dispatcher: udevderror binding udev control socket 1...(warning).Waiting 15 seconds and trying to continue anyway...(warning).

View 1 Replies View Related

Debian :: System Logs Itself Out While Unattended / Stop It To Do So?

Jul 23, 2011

Well it turns out my system has logged out more then once on its own. I had the system updated and upgraded from 7-3-11 and it did this about once a week. On 7-18-11 I did a full update and upgrade and it logged out a few times in a couple of hours. It does it while I am away and the system is in screen saver mode. I used my partition clone and restored the system back to 7-3-11. Has any one else ever had such an issue?

View 2 Replies View Related

OpenSUSE :: Pop-up For Network Manager Hangs / Will Not Go Away Covering Part Of Screen

Jul 20, 2010

I am having an issue that the pop-up for Network Manager hangs and will not go away covering part of my screen. This started after the system locked-up. If I try to edit the pop-up setting in gnome it the dialog box lockup and has to be forced shutdown.I am runnning openSUSE 11.3.

View 4 Replies View Related

Debian Configuration :: Incredibly Slow Shutdown (System Taking 3 - 5 Minutes)

Aug 21, 2015

I am using Debian sid 4.1.3-1 and when i shutdown the system it takes 3 - 5 minutes before actually shutdown, there is only a black screen until the hdd led start flashing and after that the system finally shutdown. The weird part is that sometimes it happen in less than 30 seconds , how can i figure out where the problem is ?

View 8 Replies View Related

Debian Configuration :: Boot Hangs With 4.2.6 Static Kernel And Encrypted LVM

Dec 7, 2015

I use a static compiled kernel and a fully encrypted disk apart from a boot partition. I have recompiled and installed kernels many times. When I tried with the latest kernel from Testing, 4.2.6, the system will not boot. Not only that but the previous kernel now does not boot. However, a stock modular kernel does boot. The static kernel hangs at:

Code: Select allVolume group "dk" not found
Cannot process volume group dk
/run/lvm/lvmetad.socket: connect failed: No such file or directory
WARNING: Failed to connect to lvmetad. Falling back to internal scanning.
Reading all physical volumes. This may take a while...
/run/lvm/lvmetad.socket: connect failed: No such file or directory

[Code] ....

And after giving the password the boot continues successfully. How to diagnose it further?

View 1 Replies View Related

Debian Configuration :: Wheezy32 Boot Hangs - Configuring Network Interfaces

Jan 6, 2016

As above, my wheezy 32bit hangs at boot. the last few lines displayed are

Code: Select allMounting local filesystems...done.
Activating swapfile swap...done.
Cleaning up temporary files...
Setting kernel variables ...done.
Setting up resolvconf...done.
Configuring network interfaces...

[Code] ....

I removed the files from /etc/network/interfaces.d/ just in case. i still can't boot up.

Resolved (I think) as on this post: [URL] ....

View 14 Replies View Related

Debian Configuration :: Laptop Acer Aspire 4551 Hangs Up On Hibernation?

Oct 14, 2010

I have a laptop Acer Aspire 4551-2194. I've installed Debian Squeeze with XFCE and it works great. I have only one problem. I can go through hibernation / suspend, but when I push the power button, the computer hangs. It doesn't come back and I must reboot it.

View 4 Replies View Related

General :: Manual RHEL 6 Network Configuration?

Oct 12, 2010

I installed RHEL 6 Beta 2 on ESX box and found that network is to be manually started through ifup command.

View 6 Replies View Related

Server :: Manual Require For Bind Configuration?

Apr 17, 2010

I really not successed to install Bind, I installed Rhl9, After installation, i want to confirm the name server using dig command also, prob to use dig command with different option

View 1 Replies View Related

Fedora Installation :: Upgrading F11 Computer To F13 - Manual TCP / IP Configuration

Sep 21, 2010

I am in the midst of upgrading my F11 computer to F13. I have run PreUpgrade, and the files have downloaded, it's restarted and now it's asking me to do the Manual TCP/IP Configuration. I have only enabled IPV4. It's asking for the following info (which I can't seem to get right)

[Code]....

The IP I want the computer to have is 192.168.0.5, my router is 192.168.0.1, my subnet is 255.255.255.0 I don't know what the Name server is for. Do I need to put the above into into any of the fields above? I've tried a few times but with no luck.

View 3 Replies View Related

Ubuntu Networking :: Manual Wireless Interface Configuration?

Mar 30, 2011

I am trying to manually configure my wireless interface similar to how I manually configure my wired interfaces on Ubuntu 10.10 (Maverick Meerkat). I have two wired interfaces that use static IP addresses. I set up these interfaces using /etc/network/interface file. I disabled network manager (it was never working correctly to start with). Now, I want to connect my wireless interface (wlan0) to an unsecured wireless private network. I know/can find out all the information about the wireless network (ssid, etc). Also, I need to do this without disconnecting either of my wired interfaces.

I have looked all over the internet/forums for information about how to set up this interface, but nothing I found meets my need. Is there any way I can use iwconfig or the interface file to connect to this wireless connection? Or is there any other tool that will allow me to manually do this?

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved