General :: Can't Applypartial Context To Unlabeled File /common?
Apr 26, 2010when 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?
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?
The script "vsftpd_virtualuser_add.sh" from the guide here:
http://wiki.centos.org/HowTos/Chroot_Vsftpd_with_non-system_users
executes the following line: /usr/bin/chcon -t public_content_rw_t $HOMEDIR/$USERNAME
which returns the error: /usr/bin/chcon: couldn't compute security context from unlabeled
Login attempts are unsuccessful on the given username.I followed the instructions on that page verbatim.I can't find anything useful on that error anywhere - even outside of vsftpd context.This is a new CentOS 5.5 server - updated everything with yum.VSFTP worked fine on the last server, which was a CentOS 5.x.
I have installed php 5.3.6-4 on centOS 5.6. When i try to install some modules of php then it gives an error
php53-common-5.3.3-1.el5_6.1.i386 from updates has depsolving problems
--> php53-common conflicts with php-common
Error: php53-common conflicts with php-common
[code]....
I have reinstall it twice but each time i get same error.
I need a definiton of what a symbol is in (symbol table) and or object file context.
View 4 Replies View RelatedHere 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.
/etc/auto.master:
/expanded /etc/auto.iso --ghost
/etc/auto.iso:
centos -fstype=iso9660,loop,ro,context=system_ubject_rublic_content_t:s0 :/isofiles/CentOS-5.5-i386-LiveDVD.iso
[code]....
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 RelatedI'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 stuff.py
150: def foo(bar):
151: """
[code]....
I have received a file in CDF V2 format (.pub file extension).
Is there any software available to read this file in Linux (Ubuntu)?
what is record length of file in common terms ?
View 1 Replies View RelatedI 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?
I have a problem as below:
When i setup pam_wheel.so in /etc/pam.d/su, it runs correctly. But when i set up pam_wheel.so in /etc/pam.d/common-auth (include file), i can't login to anyone via SSH. Details configuration of /etc/pam.d/su and /etc/pam.d/common-auth:
/etc/pam.d/su:
auth include common-auth
account include common-account
password include common-password
session include common-session
[Code]....
I am trying to install gcc in RHEL 5.4
These is the output:
I can not install the glbic-common file cause it give me a conflicting error (the package is already install but it is somehow not recognize by the system)
Code:
sudo apt-get upgrade
Lots of text (Reading database. dpkg: unrecoverable fatal error, aborting: unable to open files list file for package `grub-common': Input/output error E: Sub-process /usr/bin/dpkg returned an error code (2)
Whenever I try to install or remove a program, I get the following error
Code:
dpkg: warning: files list file for package `libavahi-common-data' missing, assuming package has no files currently installed.
dpkg: warning: files list file for package `libgtk2.0-common' missing, assuming package has no files currently installed.
dpkg: warning: files list file for package `libxres1' missing, assuming package has no files currently installed. (Reading database ... 55%dpkg: unrecoverable fatal error, aborting: files list file for package 'ubuntu-mono' is missing final newline E: Sub-process /usr/bin/dpkg returned an error code (2)
I would like to know much will be the context switch time in Linux ?
View 1 Replies View RelatedEverytime I log into Gnome Desktop I get this message :
failed to initialize a HAL context
Here is the exact error message when I look into auth.log
Quote:
gnome-keyring-daemon[22720]: failed to initialize a HAL context: (null)
gnome-keyring-daemon[22720]: Scheduling hal init retry
I'm on a Debian Linux system.
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 RelatedAnyone 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.
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
I have a standalone system which dual-boots Linux and Windows.The trouble is that the Linux filesystem is separate and the Windows filesystem is separate. there a way to have a folder in which I can store files which I can access whenI'm in Linux as well as in Windows?
View 11 Replies View RelatedI am new to linux, I would like to know the commonly used keyboard shortcuts. I want to get familiar from the basics.
View 8 Replies View RelatedThe more context the better. So far it does not look like it has anything to do with memory.
View 4 Replies View Relateddue to perpetual Mandriva worsening by the day I have recently took the plunge into Ubuntu. So far it seems perfect for me, my hardware is supported, I am getting a very pleasant desktop experience from it (so to say, the situation has reversed from 3 years ago when Mandriva 2008 was the better choice over the Ubuntu of those times).
However, it did not occur to me that Kbuntu was the KDE version I am now running Gnome Ubuntu. And hey, it is a nice Mac replica I would like to stay on Gnome! But! although I have mounted the old /home partition right onto its former /dev/sda5, Ubuntu Gnome would not allow me to log in with former Mandriva KDE user. The /home/my_old_user folder is still there...
Any way to keep my old KDE user in new distro on Gnome ? I am just guessing this would be the reason why Gnome does not see it - the old user account (because it comes from a KDE environment). Or ?
EDIT: I am now on kubuntu, and still can not access the old user account. How come ?
Is there a way I can change the security context of only the directories, & only files, recursively, in bash?
View 11 Replies View RelatedI am writing a script to install a program (a GUI interface) and would like to search if the required software is already installed. This made me think of the command whereis. I was curious how the command whereis is working but didn't know where to search. Is it equivalent with a find at the most common locations?
View 6 Replies View RelatedI can no longer update Fedora because it fails and hangs on trying to update package "transmission-gtk" due to a dependency "transmission-common" whose source cannot be found. How do I fix this and how can linux update break itself so badly that it adds dependencies to itself without checking for their sources first?
View 5 Replies View RelatedDoes anyone know if the context is related to the current filesystem, or the one defined in root setting grub.conf.
Code:
title LinuxX
root=/dev/sdb2
kernel=/boot/kernel
title LinuxY
[code]....
On my laptop (Dell Studio 1745) w/500GB HD, I have a common data partition shared by openSUSE. Fedora, FreeBSD, and windoze 7 currently. I would like to encrypt this partition (/Common) and have it accessible from all distros either with a passphrase key in /root or on a flash key. I've been researching on the web and there seem to be several possibilities using eCryptfs, Luks, cryptosetup, or any of several methods.
My question is, what have people here used and how well did it work? Also, what was required for setup (I'll probably have to explain/teach it to my wife who is technology challenged-but I still love her anyway) and my daughter who's just getting into linux. I would like to be able to keep the entire directory on the hard drive but also have the ability to copy it to external USB device for transport.
Recently installed some application which screwed the default common-passwd file and has put some restrictions on the passwords which I could setThe present file looks like this
Code:
#password required pam_passwdqc.so min=disabled,8,8,8,8 passphrase=0 enforce=users
password required pam_passwdqc.so min=1,0,0,0,0 passphrase=0 enforce=none random=0
[code]...
My question is probably better explained by example; I have two files that look like this:
Code:
$ cat file1.txt
mercury
venus
earth
mars
[Code]....
The general stipulations are as you'd expect; both files are of an arbitrary length, generally file1 will be larger than file2 but this is not guaranteed, the common lines (if any) will always be contiguous and only occur at the end of file1 and the start of file2.