[ https://issues.apache.org/jira/browse/TS-2399?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Carlin updated TS-2399: ----------------------------- Summary: Disk cache rawdevice permissions being bypassed (was: Raw disk cache device permissions being bypassed) > Disk cache rawdevice permissions being bypassed > ----------------------------------------------- > > Key: TS-2399 > URL: https://issues.apache.org/jira/browse/TS-2399 > Project: Traffic Server > Issue Type: Bug > Components: Cache, Core > Reporter: David Carlin > > raw disk cache device permissions: > {noformat}brw-rw---- 1 root disk 253, 4 Nov 26 16:03 /dev/dm-4 > {noformat} > If I run 'traffic_server' by itself, I can't use the cache - I get permission > errors opening it up: > {noformat} > [Nov 26 16:56:42.976] Server {0x2b4e29878540} WARNING: unable to open > '/dev/dm-4': -13, Permission denied > [Nov 26 16:56:42.976] Server {0x2b4e29878540} WARNING: could not initialize > storage "/dev/dm-4" [unable to open] > [Nov 26 16:56:42.976] Server {0x2b4e29878540} NOTE: cache clustering disabled > {noformat} > However, I can I start ATS fine and use the raw disk cache via the > trafficserver startup script. > These docs indicate that I should be setting the owner to the user that ATS > runs as, but I don't need to as long as I start via the script: > https://cwiki.apache.org/confluence/display/TS/FAQ#FAQ-rawdisk > Once I change ownership of /dev/dm-4 to nobody then I can launch > traffic_server by itself. -- This message was sent by Atlassian JIRA (v6.1#6144)