Server :: Cannot Autofs An Iso File With Public_content_t SE File Context?

Jul 28, 2011

Here what I want to achieve. I have iso file images that I do not want to expand permanently via /etc/fstab, but instead via autofs. Then I want them to be exposed by HTTP and FTP. I am using CentOS 5.5 and below are the relevant part of configuration files.

/expanded /etc/auto.iso --ghost
centos -fstype=iso9660,loop,ro,context=system_ubject_rublic_content_t:s0 :/isofiles/CentOS-5.5-i386-LiveDVD.iso


View 3 Replies


Fedora :: Setfilecon /dev/autofs Failed: No Such File Or Directory

May 5, 2010

on F12 ( autofs/udev generates the following messages at every boot:


May 5 00:28:30 foo udevd-work[679]: setfilecon /dev/autofs failed: No such file or directory
May 5 00:28:30 foo udevd-work[679]: chmod(/dev/autofs, 020660) failed: No such file or directory
May 5 00:28:55 foo automount[1131]: failed to mount /media/.hal-mtab

The configuration is fairly simple:


/media file:/etc/ -browse --timeout=10


View 1 Replies View Related

General :: What Is A Symbol In Object File Context

May 5, 2011

I need a definiton of what a symbol is in (symbol table) and or object file context.

View 4 Replies View Related

General :: Can't Applypartial Context To Unlabeled File /common?

Apr 26, 2010

when i type this command chcon -t samba_share_t /common

error came chcon: can't applypartial context to unlabeled file /common what type of problem is this?

View 1 Replies View Related

Red Hat / Fedora :: Selinux Security Alerts - Change File Context?

Apr 26, 2010

I receive messages such as the below:

SELinux is preventing /usr/sbin/httpd from using potentially mislabeled filesjk-runtime-status. SELinux has denied the httpd access to potentially mislabeled filesjk-runtime-status. This means that SELinux will not allow httpd to use these files. If httpd should be allowed this access to these files you should change the file context to one of the following types, httpd_tmp_t,

I know how to change the owner of a file and the permissions but what does it mean to change the file context?

View 3 Replies View Related

Fedora Security :: Ilesystem Labeled "cgroup" That Goes By The File Context?

Jul 13, 2010

Why do I have an empty directory in the top of my filesystem labeled "cgroup" that goes by the file context above?And why does it apply to all files "/cgroup(/.*)?" as per a fcontext search?Did something break or is this the result of a new update?

View 2 Replies View Related

OpenSUSE :: Dolphin Context Menu "Preview This File" Not Work

Feb 21, 2010

Anyone else seeing Dolphin's Context Menu on a file, Actions -> Preview This File not working for them?

Does anyone know how to fix it to work?

I am using openSUSE KDE 4.

View 1 Replies View Related

General :: In Nautilus Show Context Menu On Focused File When Press Menu Key?

Apr 11, 2011

In Windows Explorer, if a file is focused, press Menu Key on keyboard, context menu will show on top of the file. But in Nautilus, the same action shows context menu where the mouse cursor is. That's a bit annoying. Is there anyway to make it work like Windows?

View 1 Replies View Related

Ubuntu :: Put "Search For Files" Into File Browser Context Menu?

Jun 11, 2010

I can start "Search for files" from menu

Applications->Accessories->Search for files....

and it works fine.

However I would like to put it into the context menu of the Nautilus File Browser.

When I select it e.g. for folder /home/peter

then the start base directory should be obviously set AUTOMATICALLY to /home/peter

View 4 Replies View Related

General :: Command Line Way To View A Line Of A File With Context?

Feb 24, 2011

I'd like show a certain line or lines of a file with context, kind of like a unified diff, on the command line in Linux:

$ (something) -l 154
150: def foo(bar):
151: """


View 5 Replies View Related

Server :: Scp Truncate Text File Busy - Copying File Is Not A Running Binary?

Jun 14, 2010

I am having problems with scp during a backup operationI added a ps -ef before and after the scp operation used during the backup.The backup is a script to backup a Zimbra ServerI am including the code segment that I am having problems

# DRCP Section. To scp newly created archives to a remote system
if [ "$DRCP" = "yes" ]


View 3 Replies View Related

Ubuntu Servers :: Deciding File System For File Server (samba)?

Jan 7, 2011

I'm planning to add 1tb sata disk to my lovely file-server under ubuntu 10.10,what i want is use this disk as additional storage for network user,indows and ubuntu?I mean when my ubuntu server down (worse case) I can easily take out the disk from ubuntu machine and plug in on windows machine

View 2 Replies View Related

General :: Parse File From Remote Server To Caculate Count Of String Existence In That File?

Aug 30, 2010

I need to parse the file of same name which exist on different servers and calculate the count of string existed in both files.Say a file abc.log exist on 2 servers.I want to search for string "test" on both files and calculate the total count of search string's existence.For example if file abc.log on server 1 has string "test" 2 times
and file abc.log on server 2 has string "test" 4 times.then the output will beStringName : Countexampletest : 6 timesNote : I have created the password less connectivity using ssh-keygen.

View 2 Replies View Related

CentOS 5 Server :: Apachewithdocx - Microsoft Documents Wants To Open The File Like A Zip-file Not As Word Document

Jul 13, 2010

I've a webserver with a lot of documentary to serve. Some of the users have problems with the new microsoft documents like docx. Internet explorer 7 want to open the file like a zip-file not as word document. I've googelt around and found a solution that didn't work for me: [URL] I've added at /etc/mime.types


After a restart of httpd , nothing chance, always the same failure with internet explorer 7.

View 4 Replies View Related

Ubuntu :: Samba - Windows Read Files From A Home File Server With An Ext4 File System?

Jan 28, 2011

Can windows read files from a home file server with an ext4 file system? or do I have to partition the drive with the server (ext4) and an ntfs partition with the files on?

View 4 Replies View Related

Server :: Unable To Open New Log File /var/log/samba/ No Such File Or Directory

Mar 8, 2010

CentOS 5.x with AD authentication. My samba servers(3) are all reporting the same error:


Unable to open new log file /var/log/samba/ No such file or directory.

The is the ip address of the station accessing the samba share I assume.

View 4 Replies View Related

Server :: Where Is The Spool File Stored When A File Is Sent To Print In Cups

Oct 28, 2010

I'm trying to setup a print server in Fedora 13. I've made it using CUPS and when I send something to print from a Windows PC it goes ok. My main concern is to know where is the spool file stored when a file is sent to print. I've seen in many forums that it is stored in /var/spools/cups. What I only see here is a file name c000XXX with some information about the printing job. I'm using hold print for this printer and before printing out anything I can't find the spool. I've tried cups-pdf and it stores a pdf file in a route but this is not enough for me. I need to know where the spool data is stored in order to know from who is the job being send.

View 1 Replies View Related

CentOS 5 Server :: Want To Know File Handles / File Names At NFS Client

Nov 16, 2010

In case that NFS client of fedora is set to cache nfs file handle, where is the cache stored such as /var/lib/nfs?If it's stored in memory instead of directory tree, what command can I know the combination of file names and file handles with?OS in my test environment: Fedora Core 6

View 2 Replies View Related

Ubuntu :: Copy The File Via SSH \ Save The File Via SSH To This Server?

Mar 22, 2011

Now i install the Ubuntu 10.4 64 bit on Sunfire X4170I want to save the file via SSH to this server.But i m not sure how to configure.

View 4 Replies View Related

Server :: Multiple File Pointers In A Single File?

Apr 20, 2011

I have files a, b, c and d. They're all relatively large and are served up by a static web server optimized for this purpose. I can get requests that look like this:


Each request is basically a request for a concatenation of the files in the order of the letters. The list of possible requests is finite, but large enough that disk space will run out very quickly and be very expensive if I create all possible files via concatenation.Is there a way to create a pointer file like abcd that is essentially a multi-file symlink that first points to a then to be then to c then to d? So if the contents of the files were as follows:

a: hello
b: there
c: whats


View 3 Replies View Related

Server :: Permissions On Autofs Directory?

May 27, 2011

I'm setting up an automatic mount point on one of my servers. However, for this file I only want certain people (permissions) to access it once it is mounted. I'm figuring I need to place this either on an ACL (via setfacl) or by configuring this in my mount point config file (auto.misc) . Has anyone done this before, restrict use of an auto mounted directory?


View 3 Replies View Related

Server :: Can't Get Autofs To Work On / Home

Apr 12, 2010

Ok, for some reason I can't get autofs to work on /home. I setup a NIS server and wanted to map the /home on the client to the /home on the server with NFS. But I want to use autofs to mount the users' home directories. BUT I get an error every time. Here is my configuration:Turned off firewall and SELinux on both system to rule those out. It works if I use /tmp/home as the autofs mount, but no with /home.

View 4 Replies View Related

Server :: Firefox "Save File" Dialog For .otf Font File On 1 Server And Not On Another

May 25, 2010

I have 2 Linux servers, both Red Hat Enterprise 4.

If I visit a page with links to .otf (Opentype Font) files on a Linux server (prod) and I click on one of them, Firefox renders the font. If I visit the same page on a different Linux server (dev), I get a "Save File" prompt in Firefox.

In Internet Explorer, I get the File Save prompt from either server.

It's probably a package that the prod server has that the dev server doesn't? I'm not sure where to start looking or what to look for.

I do want the Save prompt.

View 4 Replies View Related

Server :: Convert A Hex File To An ASCII File?

Sep 8, 2010

I have a file of 2GB size in hex form. This is a log file from the server which I converted to hex as the file got corrupted.Can anyone tell how to convert this hex file to ASCII?

View 1 Replies View Related

Server :: How To Change File And Update Only One File In Svn

Jan 20, 2010

I have successfull implemented svn. i am able to improt the project. i am able to update the file under svn and also commit the change. but the problem is when i commit the change for one file in project
The hole project version get changed. i just want ot update the changes of one file under svn not of hole file project. how to change file and update only one file. and also find the attchment of the error.

View 1 Replies View Related

Ubuntu :: Using Autofs To Wake Samba Server Over Ethernet

Sep 20, 2010

I'm trying to set autofs up to wake a samba file server whenever I want to use it. I found this page which apparently demonstrates how to do it with NFS. With a bit of modification I've managed to come up with this:

hostsrv=<server ip address>
hostmac=<server mac address>

netcat -w 5 -z $hostsrv 445
if [ $status -ne 0 ]
/usr/sbin/etherwake -i $hostsrv $hostmac
sleep 60

/bin/echo -n "share"
/bin/echo -n -e " "
/bin/echo -n "$opts"
/bin/echo -n -e " "
/bin/echo "://$hostsrv/share"

Now, I've added this line to auto.master

/server /etc/auto.wake --timeout=60 --ghost
and restarted autofs
sudo service autofs restart
It wakes up the server successfully but then when I wait 60 seconds and browse the /server directory on the client the share doesn't appear at all.

View 1 Replies View Related

Server :: Autofs Hostname Lookup Failed: Name Or Service Not Known

Oct 25, 2010

I am running a debian squeeze server, and have autofs 5.0.4 installed. One of my scripts (autofs executable files) is trying to mount some of my LAN hosts.The host mount fine at start, but when unmounted automatically, it will not mount again. (At least unless I wait for 2-3 minutes).The problem is, maybe, that I get these messages in the log:

add_host_addrs: hostname lookup failed: Name or service not known
mount(nfs): no hosts available
failed to mount {myshare}

If I wait a couple of minutes, the share is mounting fine, but that is not an option.The mount command issued by my script is mounting just fine on the command line after all these error messages, but autofs seems to have a problem with it anyhow.I have searched all over the web trying to get a reasonable explanation to any of these messages without luck.I don't think that I can upgrade automount, since this is an embedded device (SheevaPlug), so what is my options?

View 2 Replies View Related

Server :: Use Autofs To Mount CIFS Share And Busy Files?

Apr 29, 2010

We have a homegrown process that runs on a windows box and produces a csv file. We mount the directory these are output to using autofs/cifs and then process them using a program on our linux database servers.

Is there a way from linux, looking at the cifs share, to tell if the target file is currently in use by a process on the windows box? We are having issues where an incomplete file is being processed occasionally.

View 5 Replies View Related

Ubuntu Installation :: Lib_apt - Server Upgrade 10.10 To 11.04 - Error "cannot Open Shared Object File: No Such File Or Directory"

May 9, 2011

Attempt to upgrade 10.10 to 11.04 server installation (more or less plain vanilla) gives:


Tried reinstalling the obvious packages related to this, no change. Aptitude updates to 10.10 function without problems.

View 2 Replies View Related

Server :: Install Symantec Endpoint - Error: Unpacking Of Archive Failed On File - Cpio: Mkdir Failed - No Such File Or Directory

Nov 23, 2010

i am trying to install symantec endpoint on a linux server by this command rpm -ivh sav-1.0.3-8.i386.rpm but it gives me the following error error: unpacking of archive failed on file /opt/Symantec/bin/navdefutil;4ceb8d6b: cpio: mkdir failed - No such file or directory

View 3 Replies View Related

Copyrights 2005-15, All rights reserved