Re: rights messed up after moving installation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 11/05/2012 06:07 PM, lee wrote:
> lee <lee@xxxxxxxxxxxxxxx> writes:
> 
>> Daniel J Walsh <dwalsh@xxxxxxxxxx> writes:
>> 
>>> On 11/05/2012 05:07 PM, lee wrote:
>>>> Steven Stern <subscribed-lists@xxxxxxxxxxxxx> writes:
>>>> 
>>>>> From the man page:
>>>>> 
>>>>> -a, --archive               archive mode; equals -rlptgoD (no
>>>>> -H,-A,-X)
>>>>> 
>>>>> So, you need to use "--archive -X" to transfer selinux context info
>>>>> as well as the other attributes.
>>>> 
>>>> Ugh ... darn ... What do I do now?  Files on /var have been modified
>>>> in the meantime; I could run rsync on / again.  That should be
>>>> possible while it's mounted.
>>>> 
>>>> What will rsync do?  Only change the info because the file content
>>>> hasn't changed?
>>>> 
>>>> Isn't there a better way to fix this?
>>>> 
>>> 
>>> I have not got the full information, but running restorecon on the data
>>> will probably fix the file contexts.
>> 
>> The context is that I moved the root file system and /var from one disk 
>> to another with insufficient options to rsync.  I have already run 
>> restorecon which enabled me to log in again.  Something is still wrong 
>> because pulseaudio doesn't run anymore and the "users" command produces 
>> no output.
>> 
>> What if I run "yum reinstall *"?  Re-installing all packages should fix 
>> the rights, shouldn't it?
> 
> A "touch /.autorelabel ; reboot" fixed this :))
> 
> 
> Now I'm used to login on the console and to run "startx & logout", and when
> I do that, I don't have sound in the X-session.  When I only do "startx &"
> without logging out, I do have sound.
> 
> Is there a way to fix that so that I can still have sound in the X-session
> while I'm logged out from the console?
> 
Do you have sound if you do this in permissive mode?

# setenforce 0

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iEYEARECAAYFAlCY7AIACgkQrlYvE4MpobP33wCeOu+RVO0YIzS+RQ7rgykcV3ov
ifUAnRLUr5we6dYH/d3NYyUdtfS1U2Xr
=hHcp
-----END PGP SIGNATURE-----
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux